/* =====================================================================
   BuildRent — Construction Equipment Rental & Repair
   Premium Frontend Theme  |  Yellow · Black · White
   ===================================================================== */

/* ----------  DESIGN TOKENS  ---------- */
:root {
  --yellow:        #FFC107;
  --yellow-bright: #FFD227;
  --yellow-dark:   #E0A200;
  --black:         #0B0B0D;
  --ink:           #16171B;
  --ink-2:         #1F2126;
  --gray:          #8A8F98;
  --gray-light:    #C7CCD4;
  --line:          rgba(255, 255, 255, .08);
  --white:         #FFFFFF;
  --paper:         #F5F6F8;

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-sm: 0 6px 20px rgba(0,0,0,.08);
  --shadow:    0 18px 45px rgba(0,0,0,.14);
  --shadow-lg: 0 34px 80px rgba(0,0,0,.22);
  --glow:      0 10px 40px rgba(255,193,7,.35);

  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Sora', 'Plus Jakarta Sans', sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
}

/* ----------  RESET / BASE  ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
section { position: relative; }

.container-x { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ----------  TYPE HELPERS  ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font); font-weight: 700; font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--yellow-dark);
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--yellow); border-radius: 2px; }
.eyebrow.on-dark { color: var(--yellow); }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-lead { color: var(--gray); font-size: 1.06rem; max-width: 620px; }
.text-accent { color: var(--yellow-dark); }
.mono-num { font-variant-numeric: tabular-nums; }

.section-pad { padding-block: clamp(64px, 9vw, 120px); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--black); color: var(--white); }
.bg-ink .section-lead { color: var(--gray-light); }

/* ----------  BUTTONS  ---------- */
.btn-x {
  --bg: var(--yellow);
  --fg: var(--black);
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: 15px 30px; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: .95rem;
  color: var(--fg); background: var(--bg);
  border-radius: 100px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  z-index: 1; white-space: nowrap;
}
.btn-x i { transition: transform .35s var(--ease); }
.btn-x::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--black); transform: translateY(101%);
  transition: transform .45s var(--ease); border-radius: 100px;
}
.btn-x:hover { color: var(--white); box-shadow: var(--glow); transform: translateY(-3px); }
.btn-x:hover::after { transform: translateY(0); }
.btn-x:hover i { transform: translateX(4px); }

.btn-x.ghost { --bg: transparent; --fg: var(--white); border: 1.6px solid rgba(255,255,255,.28); }
.btn-x.ghost::after { background: var(--yellow); }
.btn-x.ghost:hover { color: var(--black); border-color: var(--yellow); }

.btn-x.dark { --bg: var(--black); --fg: var(--white); }
.btn-x.dark::after { background: var(--yellow); }
.btn-x.dark:hover { color: var(--black); }

.btn-x.outline-dark { --bg: transparent; --fg: var(--black); border: 1.6px solid rgba(0,0,0,.16); }
.btn-x.outline-dark::after { background: var(--black); }
.btn-x.outline-dark:hover { color: var(--white); border-color: var(--black); }

.btn-sm { padding: 11px 22px; font-size: .86rem; }

/* ----------  NAVBAR  ---------- */
.nav-x {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 11px 0; transition: top .4s var(--ease), padding .4s var(--ease), background .4s var(--ease);
}
.nav-x .nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
/* On desktop the topbar (48px) sits above; drop the fixed navbar below it
   until the user scrolls, then snap it to the very top. */
@media (min-width: 992px) {
  .nav-x { top: 0; }
  .nav-x.scrolled { top: 0; }
}
.nav-x.scrolled {
  top: 0;
  padding: 10px 0;
  background: rgba(11,11,13,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff; letter-spacing: -.02em; }
.brand-mark {
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--yellow); color: var(--black); border-radius: 13px;
  font-size: 1.45rem; box-shadow: var(--glow);
  transform: rotate(-6deg); transition: transform .4s var(--ease);
}
/* uploaded logo image — capped by inline max-height (cache-proof), sized here */
.brand-logo-img { height: 74px; width: auto; display: block; transition: height .3s var(--ease); }
.nav-x.scrolled .brand-logo-img { height: 58px; }
.nav-x.scrolled .brand-mark { width: 44px; height: 44px; font-size: 1.25rem; }
.footer .brand-logo-img { height: 60px; }
.brand:hover .brand-mark { transform: rotate(0deg) scale(1.05); }
.brand span b { color: var(--yellow); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a {
  position: relative; display: block; padding: 10px 16px;
  color: rgba(255,255,255,.82); font-weight: 600; font-size: .94rem;
  border-radius: 10px; transition: color .3s, background .3s;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: #fff; }
.nav-menu > li > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease); border-radius: 2px;
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { transform: scaleX(1); }

.nav-drop { position: relative; }
.nav-drop > a .caret { font-size: .7rem; margin-left: 3px; transition: transform .3s; }
.nav-drop:hover > a .caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 250px; background: rgba(20,21,26,.96);
  backdrop-filter: blur(20px); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .35s var(--ease);
}
.nav-drop:hover .drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.drop-menu a {
  display: flex; align-items: center; gap: .8rem; padding: 13px 14px;
  border-radius: 12px; color: rgba(255,255,255,.85); font-weight: 600; font-size: .92rem;
  transition: background .3s, color .3s, transform .3s;
}
.drop-menu a i { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255,193,7,.14); color: var(--yellow); border-radius: 10px; font-size: .95rem; }
.drop-menu a small { display: block; color: var(--gray); font-weight: 500; font-size: .78rem; }
.drop-menu a:hover { background: rgba(255,255,255,.06); transform: translateX(4px); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: rgba(255,255,255,.06); border-radius: 12px; color: #fff; font-size: 1.2rem; cursor: pointer; }

/* mobile drawer */
.mobile-panel {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 1200;
  background: var(--black); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .5s var(--ease);
  padding: 26px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel a { color: #fff; padding: 15px 12px; border-radius: 12px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-panel a:hover { background: rgba(255,193,7,.1); color: var(--yellow); }
.mobile-panel .sub { padding-left: 26px; font-size: .9rem; color: var(--gray-light); }
.mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); z-index: 1100; opacity: 0; visibility: hidden; transition: .4s; }
.overlay.show { opacity: 1; visibility: visible; }

/* ----------  HERO  ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(11,11,13,.95) 0%, rgba(11,11,13,.72) 42%, rgba(11,11,13,.25) 100%),
    linear-gradient(0deg, rgba(11,11,13,.9), transparent 45%);
}
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 30% 40%, #000, transparent 75%); }
.hero-inner { max-width: 760px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem; padding: 8px 16px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  border-radius: 100px; font-size: .82rem; font-weight: 600; margin-bottom: 26px;
  backdrop-filter: blur(10px);
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 4px rgba(53,208,127,.25); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; margin-bottom: 22px; }
.hero h1 .hl { color: var(--yellow); position: relative; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--gray-light); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

/* hero stats */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 720px; }
.stat-card {
  padding: 16px 16px 15px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .4s var(--ease), background .4s;
}
.stat-card:hover { transform: translateY(-6px); background: rgba(255,193,7,.1); border-color: rgba(255,193,7,.35); }
.stat-card .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.1vw, 2.3rem); color: var(--yellow); line-height: 1; white-space: nowrap; }
.stat-card .num small { font-size: .55em; margin-left: 2px; }
.stat-card .lbl { font-size: .82rem; color: var(--gray-light); margin-top: 6px; font-weight: 600; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-light); }
.scroll-hint .mouse { width: 24px; height: 40px; border: 2px solid var(--gray); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--yellow); border-radius: 4px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:1;top:7px} 70%{opacity:0;top:20px} 100%{opacity:0} }

/* hero slider (multiple banners) */
.hero-swiper { width: 100%; }
.hero-swiper .swiper-slide { height: auto; }
.hero-swiper .hero-slide { min-height: 100vh; }
.hero-pagination { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; gap: 9px; }
.hero-pagination .swiper-pagination-bullet { width: 32px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); opacity: 1; margin: 0 !important; cursor: pointer; transition: width .3s, background .3s; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--yellow); width: 46px; }
@media (max-width: 768px){ .hero-swiper .hero-slide { min-height: auto; } .hero-pagination { bottom: 16px; } }

/* marquee */
.marquee { background: var(--yellow); color: var(--black); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 48px; text-transform: uppercase; letter-spacing: .02em; }
.marquee span i { color: rgba(0,0,0,.5); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------  WHY CHOOSE  ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative; padding: 34px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feature-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--yellow), var(--yellow-dark)); opacity: 0; transition: opacity .45s; z-index: 0; }
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover .fc-icon { background: var(--black); color: var(--yellow); }
.feature-card:hover .fc-title,
.feature-card:hover .fc-text { color: var(--black); }
.feature-card:hover .fc-num { color: rgba(0,0,0,.12); }
.fc-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,193,7,.16); color: var(--yellow-dark); font-size: 1.5rem; margin-bottom: 22px; transition: .45s; }
.fc-title { font-size: 1.25rem; margin-bottom: 10px; transition: .45s; }
.fc-text { color: var(--gray); font-size: .96rem; transition: .45s; }
.fc-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: rgba(0,0,0,.05); z-index: 0; transition: .45s; }

/* ----------  SERVICE / EQUIPMENT CARDS  ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.svc-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(0,0,0,.06); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.svc-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.1); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,13,.55), transparent 55%); }
.svc-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 7px 14px; border-radius: 100px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--yellow); color: var(--black); }
.svc-badge.repair { background: #16171B; color: var(--yellow); }
.svc-tag-avail { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 100px; font-size: .74rem; font-weight: 700; background: rgba(255,255,255,.9); color: #147a3d; backdrop-filter: blur(6px); }
.svc-tag-avail .d { width: 7px; height: 7px; border-radius: 50%; background: #21ad55; }
.svc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.28rem; margin-bottom: 10px; }
.svc-meta { display: flex; align-items: center; gap: 6px; color: var(--gray); font-size: .86rem; margin-bottom: 12px; }
.svc-meta i { color: var(--yellow-dark); }
.svc-body p { color: var(--gray); font-size: .93rem; margin-bottom: 18px; flex: 1; }
.svc-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.svc-price .amt { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }
.svc-price .per { color: var(--gray); font-size: .85rem; }
.svc-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.svc-foot .link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.svc-foot .link-more i { transition: transform .3s; }
.svc-foot .link-more:hover i { transform: translateX(4px); }
.svc-body ul.spec { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.svc-body ul.spec li { font-size: .78rem; font-weight: 600; color: var(--gray); background: var(--paper); padding: 5px 11px; border-radius: 100px; }

/* ----------  EXCAVATOR SPEC CARDS  ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin: 2px 0 4px; font-size: .88rem; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.07); vertical-align: top; }
.spec-table th { color: var(--gray); font-weight: 600; width: 50%; }
.spec-table td { font-weight: 700; color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.exc-details { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.exc-details.open { max-height: 500px; }
.exc-apps { padding: 16px 0 4px; border-top: 1px dashed rgba(0,0,0,.12); margin-top: 12px; }
.exc-apps h5 { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow-dark); margin-bottom: 12px; }
.exc-apps ul { display: grid; gap: 9px; }
.exc-apps li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--gray); }
.exc-apps li i { color: var(--yellow-dark); font-size: .68rem; margin-top: 6px; flex: none; }
.exc-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: .86rem; color: var(--ink); padding: 0; }
.exc-toggle i { transition: transform .45s var(--ease); color: var(--yellow-dark); }
.exc-toggle.open i { transform: rotate(180deg); }
.exc-book { flex: none; }

/* ----------  EQUIPMENT SEARCH + FILTER (rental page)  ---------- */
.eq-search-wrap { position: relative; max-width: 560px; margin: 0 auto 18px; }
.eq-search-wrap > i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--gray); pointer-events: none; }
.eq-search { width: 100%; padding: 15px 46px; border-radius: 100px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font); font-size: .98rem; transition: border .3s, box-shadow .3s, background .3s; }
.eq-search::placeholder { color: rgba(255,255,255,.5); }
.eq-search:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,193,7,.15); background: rgba(255,255,255,.09); }
.eq-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: .3s; }
.eq-clear:hover { background: var(--yellow); color: #000; }
.eq-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.eq-chip { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); background: transparent; color: rgba(255,255,255,.8); font-family: var(--font); font-weight: 600; font-size: .86rem; cursor: pointer; transition: .25s; }
.eq-chip:hover { border-color: var(--yellow); color: #fff; }
.eq-chip.active { background: var(--yellow); color: #000; border-color: var(--yellow); }

/* excavator detail page — quick spec highlights */
.det-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.det-stat { padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid rgba(0,0,0,.06); }
.det-stat .l { display: block; font-size: .74rem; color: var(--gray); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.det-stat .v { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); margin-top: 5px; }

/* booking popup shares the modal look */
.book-modal { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .4s; }
.book-modal.open { opacity: 1; visibility: visible; }
.book-modal .backdrop { position: absolute; inset: 0; background: rgba(11,11,13,.7); backdrop-filter: blur(6px); }
.book-modal .modal-card { position: relative; width: min(540px, 100%); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.97); transition: .45s var(--ease); }
.book-modal.open .modal-card { transform: translateY(0) scale(1); }
.bk-machine-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid rgba(0,0,0,.08); border-radius: 100px; padding: 8px 14px; font-weight: 700; font-size: .84rem; margin-bottom: 18px; }
.bk-machine-chip i { color: var(--yellow-dark); }
.bk-wa-note { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 14px; color: var(--gray); font-size: .82rem; }
.bk-wa-note i { color: #25D366; }

/* ----------  SPLIT / ABOUT  ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1.05fr 1fr; }
/* Zig-zag showcase: on desktop, .rev rows put the IMAGE on the left and
   the TEXT on the right (true left/right alternation, markup order stays
   the same so it still stacks correctly on mobile). Scoped to #showcase
   so other .split.rev blocks are unaffected. */
@media (min-width: 941px) {
  #showcase .split.rev > :first-child { order: 2; }
  #showcase .split.rev > :last-child  { order: 1; }
}
.media-stack { position: relative; }
.media-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.media-badge {
  position: absolute; bottom: -26px; right: -10px; background: var(--yellow); color: var(--black);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.media-badge .big { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.media-badge .sm { font-weight: 700; font-size: .84rem; }
.check-list { display: grid; gap: 14px; margin: 26px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list li i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,193,7,.18); color: var(--yellow-dark); font-size: .7rem; margin-top: 3px; }

/* mission / vision / values */
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mvv-card { padding: 34px 30px; border-radius: var(--radius-lg); background: var(--ink); border: 1px solid var(--line); transition: .45s var(--ease); }
.mvv-card:hover { transform: translateY(-8px); border-color: rgba(255,193,7,.4); }
.mvv-card .ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,193,7,.14); color: var(--yellow); font-size: 1.4rem; margin-bottom: 20px; }
.mvv-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 12px; }
.mvv-card p { color: var(--gray-light); font-size: .95rem; }

/* timeline */
.timeline { position: relative; max-width: 860px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 20px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item .tl-dot { position: absolute; top: 28px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--black); box-shadow: 0 0 0 4px rgba(255,193,7,.25); }
.tl-item:nth-child(odd) .tl-dot { right: -9px; }
.tl-item:nth-child(even) .tl-dot { left: -9px; }
.tl-card { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: .4s; }
.tl-card:hover { border-color: rgba(255,193,7,.4); transform: translateY(-4px); }
.tl-year { font-family: var(--font-display); font-weight: 800; color: var(--yellow); font-size: 1.3rem; margin-bottom: 6px; }
.tl-card h4 { color: #fff; margin-bottom: 6px; }
.tl-card p { color: var(--gray-light); font-size: .9rem; }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-band .item { text-align: center; padding: 20px; }
.stat-band .item .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem,4vw,3.4rem); color: var(--yellow); line-height: 1; }
.stat-band .item .t { color: var(--gray-light); font-weight: 600; margin-top: 8px; }
.stat-band.on-light .item .t { color: var(--gray); }
.stat-band.on-light .item .n { color: var(--ink); }
.stat-band.on-light .item .n span { color: var(--yellow-dark); }

/* team */
.team-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.team-card img { aspect-ratio: 3/3.4; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.team-card:hover img { transform: scale(1.07); }
.team-info { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 18px; border-radius: var(--radius); background: rgba(11,11,13,.55); backdrop-filter: blur(12px); border: 1px solid var(--line); color: #fff; transform: translateY(8px); opacity: .95; transition: .4s var(--ease); }
.team-card:hover .team-info { transform: translateY(0); }
.team-info h4 { font-size: 1.1rem; }
.team-info span { color: var(--yellow); font-size: .84rem; font-weight: 600; }
.team-social { display: flex; gap: 8px; margin-top: 10px; }
.team-social a { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; font-size: .8rem; transition: .3s; }
.team-social a:hover { background: var(--yellow); color: var(--black); }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.gallery-grid a { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.1); }
.gallery-grid a::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(11,11,13,.4); opacity: 0; transition: .4s; }
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid a.tall { grid-row: span 2; }
.gallery-grid a.wide { grid-column: span 2; }

/* testimonials */
.testi-card { background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); height: 100%; }
.testi-stars { color: var(--yellow); margin-bottom: 16px; font-size: .95rem; }
.testi-card p { font-size: 1.05rem; color: var(--ink); margin-bottom: 22px; font-weight: 500; }
.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi-who h5 { font-size: 1rem; }
.testi-who span { color: var(--gray); font-size: .84rem; }
.quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: .5; color: var(--yellow); opacity: .4; }

/* logos */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 46px; }
.logo-strip span { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--gray); opacity: .55; transition: .3s; letter-spacing: -.02em; }
.logo-strip span:hover { opacity: 1; color: var(--ink); }

/* ----------  PAGE HEADER  ---------- */
.page-head { position: relative; padding: 180px 0 90px; color: #fff; overflow: hidden; }
.page-head .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-head .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,11,13,.94), rgba(11,11,13,.6)); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 16px; }
.page-head p { color: var(--gray-light); max-width: 560px; font-size: 1.05rem; }
.crumb { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; color: var(--gray-light); }
.crumb a { color: var(--yellow); }
.crumb i { font-size: .6rem; opacity: .6; }

/* ----------  FORMS  ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 46px); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,.05);
}
.form-glass {
  background: rgba(255,255,255,.06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); color: #fff;
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-weight: 600; font-size: .88rem; }
.form-label .req { color: #e8563f; }
.form-control-x, .form-select-x, textarea.form-control-x {
  width: 100%; padding: 14px 16px; font-family: var(--font); font-size: .95rem;
  border: 1.6px solid rgba(0,0,0,.12); border-radius: 14px; background: #fff; color: var(--ink);
  transition: border .3s, box-shadow .3s, background .3s;
}
.form-glass .form-control-x, .form-glass .form-select-x {
  background: rgba(255,255,255,.06); border-color: var(--line); color: #fff;
}
.form-glass .form-control-x::placeholder { color: rgba(255,255,255,.5); }
.form-control-x:focus, .form-select-x:focus, textarea.form-control-x:focus {
  outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,193,7,.18);
}
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--gray); font-size: .9rem; }
.input-icon .form-control-x { padding-left: 42px; }
.upload-drop {
  border: 2px dashed rgba(0,0,0,.16); border-radius: 16px; padding: 34px; text-align: center;
  cursor: pointer; transition: .3s; background: var(--paper);
}
.upload-drop:hover { border-color: var(--yellow); background: rgba(255,193,7,.06); }
.upload-drop i { font-size: 2rem; color: var(--yellow-dark); margin-bottom: 10px; }
.upload-drop b { display: block; }
.upload-drop small { color: var(--gray); }

/* ----------  CAREER  ---------- */
.job-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  background: var(--white); border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius-lg);
  padding: 24px 28px; box-shadow: var(--shadow-sm); transition: .4s var(--ease);
}
.job-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(255,193,7,.5); }
.job-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,193,7,.14); color: var(--yellow-dark); font-size: 1.4rem; }
.job-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tags span { font-size: .78rem; font-weight: 600; color: var(--gray); background: var(--paper); padding: 5px 12px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px){ .job-card { grid-template-columns: 1fr; text-align: left; } }

/* value chips */
.perk-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.perk { padding: 26px 22px; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); text-align: center; transition: .4s; }
.perk:hover { transform: translateY(-6px); border-color: rgba(255,193,7,.4); }
.perk i { font-size: 1.6rem; color: var(--yellow); margin-bottom: 12px; }
.perk h4 { color: #fff; font-size: 1.02rem; margin-bottom: 6px; }
.perk p { color: var(--gray-light); font-size: .84rem; }

/* ----------  CONTACT  ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.info-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid rgba(0,0,0,.06); box-shadow: var(--shadow-sm); margin-bottom: 16px; transition: .4s; }
.info-card:hover { transform: translateX(6px); border-color: rgba(255,193,7,.5); }
.info-card .ic { flex: none; width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,193,7,.14); color: var(--yellow-dark); font-size: 1.25rem; }
.info-card h4 { margin-bottom: 4px; font-size: 1.05rem; }
.info-card p, .info-card a { color: var(--gray); font-size: .94rem; }
.info-card a:hover { color: var(--yellow-dark); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.06); position: relative; }
.map-placeholder { aspect-ratio: 16/7; background: linear-gradient(135deg,#e8ebef,#d6dbe2); display: grid; place-items: center; position: relative; }
.map-placeholder .pin { width: 62px; height: 62px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; color: var(--black); font-size: 1.4rem; box-shadow: var(--glow); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.map-placeholder .roads { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(#fff 3px, transparent 3px), linear-gradient(90deg,#fff 3px, transparent 3px); background-size: 70px 70px; }

/* ----------  CTA BAND  ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px); background: linear-gradient(120deg, var(--yellow), var(--yellow-dark)); color: var(--black); }
.cta-band::after { content: "\f0b1"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -20px; bottom: -40px; font-size: 16rem; opacity: .12; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 14px; max-width: 640px; }
.cta-band p { max-width: 540px; font-size: 1.06rem; margin-bottom: 26px; font-weight: 500; }

/* ----------  FOOTER  ---------- */
.footer { background: var(--black); color: var(--gray-light); padding-top: 80px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid var(--line); }
.footer .brand { margin-bottom: 18px; }
.footer p.about { font-size: .94rem; max-width: 320px; margin-bottom: 18px; }
.footer-contact { margin: 0 0 18px; display: grid; gap: 10px; max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--gray-light); }
.footer-contact li i { color: var(--yellow); margin-top: 4px; flex: none; width: 16px; text-align: center; }
.footer-contact a { transition: color .3s; word-break: break-word; }
.footer-contact a:hover { color: var(--yellow); }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 22px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .93rem; transition: .3s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; color: var(--yellow); opacity: 0; transform: translateX(-6px); transition: .3s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.news-form { display: flex; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 100px; padding: 6px; margin-top: 6px; }
.news-form input { flex: 1; background: transparent; border: 0; outline: none; color: #fff; padding: 10px 16px; font-family: var(--font); }
.news-form input::placeholder { color: var(--gray); }
.news-form button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--black); cursor: pointer; font-size: .95rem; transition: .3s; }
.news-form button:hover { transform: scale(1.08); }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #fff; transition: .3s; }
.social-row a:hover { background: var(--yellow); color: var(--black); transform: translateY(-4px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; flex-wrap: wrap; }
.footer-bottom p { font-size: .86rem; }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-links a { font-size: .86rem; }
.footer-bottom .fb-links a:hover { color: var(--yellow); }

/* contact bar (top) */
.topbar { background: var(--ink); color: var(--gray-light); font-size: .84rem; border-bottom: 1px solid var(--line); }
.topbar .container-x { display: flex; align-items: center; justify-content: space-between; padding-block: 9px; }
.topbar a { color: var(--gray-light); transition: .3s; }
.topbar a:hover { color: var(--yellow); }
.topbar .tb-left { display: flex; gap: 22px; }
.topbar .tb-left span i { color: var(--yellow); margin-right: 7px; }
.topbar .tb-right { display: flex; gap: 14px; align-items: center; }
.topbar .tb-right a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.05); }
.topbar .tb-right a:hover { background: var(--yellow); color: var(--black); }

/* ----------  MODAL (Get Quote)  ---------- */
.modal-x { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .4s; }
.modal-x.open { opacity: 1; visibility: visible; }
.modal-x .backdrop { position: absolute; inset: 0; background: rgba(11,11,13,.7); backdrop-filter: blur(6px); }
.modal-card { position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; background: #fff; border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.97); transition: .45s var(--ease); }
.modal-x.open .modal-card { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(0,0,0,.1); background: #fff; cursor: pointer; font-size: 1rem; transition: .3s; }
.modal-close:hover { background: var(--black); color: #fff; }

/* success toast */
.toast-x { position: fixed; bottom: 26px; right: 26px; z-index: 1400; background: var(--ink); color: #fff; border: 1px solid var(--line); border-left: 4px solid #21ad55; border-radius: 14px; padding: 16px 20px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); transform: translateY(120%); transition: .5s var(--ease); }
.toast-x.show { transform: translateY(0); }
.toast-x i { color: #21ad55; font-size: 1.2rem; }

/* section heading block */
.head-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.head-block .left { max-width: 640px; }
.head-block .eyebrow { margin-bottom: 16px; }

/* reveal helper (fallback if AOS off) */
[data-aos] { pointer-events: auto; }

/* ----------  PROJECT / PORTFOLIO GALLERY  ---------- */
.glx { columns: 4 260px; column-gap: 18px; }
.glx-item { display: block; position: relative; margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.glx-item img { width: 100%; display: block; transition: transform .7s var(--ease); }
.glx-item:hover img { transform: scale(1.06); }
.glx-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,13,.6), transparent 58%); opacity: 0; transition: .4s; }
.glx-item:hover::after { opacity: 1; }
.glx-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff; transform: translateY(10px); opacity: 0; transition: .4s var(--ease); display: flex; align-items: center; gap: 11px; }
.glx-item:hover .glx-cap { transform: translateY(0); opacity: 1; }
.glx-cap .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--yellow); color: #000; display: grid; place-items: center; flex: none; font-size: .9rem; }
.glx-cap b { font-family: var(--font-display); font-size: .96rem; display: block; }
.glx-cap small { display: block; color: var(--gray-light); font-size: .76rem; }

.glx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.glx-grid .glx-item { margin: 0; aspect-ratio: 4/3; }
.glx-grid .glx-item img { height: 100%; object-fit: cover; }
.glx-grid .glx-item.tall { aspect-ratio: 3/4; grid-row: span 2; }

/* filter chips */
.glx-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.glx-hidden { display: none !important; }

/* lightbox */
.lbx { position: fixed; inset: 0; z-index: 1600; display: grid; place-items: center; padding: 24px; background: rgba(8,8,10,.93); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: .35s; }
.lbx.open { opacity: 1; visibility: visible; }
.lbx img { max-width: min(1100px, 94vw); max-height: 84vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: scale(.95); transition: transform .35s var(--ease); }
.lbx.open img { transform: scale(1); }
.lbx-close, .lbx-nav { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; display: grid; place-items: center; transition: .3s; z-index: 2; }
.lbx-close:hover, .lbx-nav:hover { background: var(--yellow); color: #000; transform: scale(1.06); }
.lbx-close { top: 24px; right: 24px; }
.lbx-nav.prev { left: 24px; top: 50%; margin-top: -26px; }
.lbx-nav.next { right: 24px; top: 50%; margin-top: -26px; }
.lbx-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; font-size: .88rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 8px 18px; border-radius: 100px; }
@media (max-width: 768px) { .lbx-nav { width: 44px; height: 44px; } .glx-grid { grid-template-columns: repeat(2, 1fr); } .glx-grid .glx-item.tall { grid-row: span 1; aspect-ratio: 4/3; } }
@media (max-width: 520px) { .glx { columns: 2 140px; } }

/* ----------  BLOG POST BODY  ---------- */
.post-body { font-size: 1.08rem; color: var(--ink); line-height: 1.85; }
.post-body > *:first-child { margin-top: 0; }
.post-body p { margin: 0 0 1.3rem; }
.post-body h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 2.2rem 0 1rem; }
.post-body h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 2.5vw, 1.45rem); margin: 1.8rem 0 .8rem; }
.post-body h4 { font-family: var(--font-display); font-size: 1.15rem; margin: 1.5rem 0 .7rem; }
.post-body ul, .post-body ol { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.post-body li { margin-bottom: .55rem; }
.post-body a { color: var(--yellow-dark); font-weight: 600; text-decoration: underline; }
.post-body a:hover { color: var(--black); }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.6rem 0; box-shadow: var(--shadow-sm); }
.post-body blockquote { border-left: 4px solid var(--yellow); background: var(--paper); padding: 16px 22px; border-radius: 0 12px 12px 0; margin: 1.6rem 0; color: var(--gray); font-style: italic; }
.post-body strong, .post-body b { color: var(--ink); font-weight: 700; }
.post-body hr { border: 0; border-top: 1px solid rgba(0,0,0,.1); margin: 2rem 0; }
.post-body code { background: var(--paper); padding: 2px 7px; border-radius: 6px; font-size: .9em; }

/* scroll progress */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--yellow), var(--yellow-dark)); z-index: 1500; }

/* back to top */
.to-top { position: fixed; bottom: 26px; left: 26px; width: 50px; height: 50px; border-radius: 14px; background: var(--yellow); color: var(--black); display: grid; place-items: center; font-size: 1rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s; z-index: 900; border: 0; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* whatsapp float */
/* floating contact — Call + WhatsApp, bottom-right, attention-grabbing */
.float-contact { position: fixed; right: 22px; bottom: 24px; z-index: 950; display: flex; flex-direction: column; gap: 14px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.55rem; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.28); transition: transform .3s var(--ease); }
.float-btn:hover { transform: scale(1.12) rotate(-4deg); color: #fff; }
.wa-float  { background: #25D366; animation: fBeat 2.4s ease-in-out infinite, waRing 2s infinite; }
.call-float{ background: #0B0B0D; color: var(--yellow); animation: fBeat 2.4s ease-in-out infinite .3s, callRing 2s infinite; }
.call-float:hover { color: var(--yellow); }
@keyframes fBeat { 0%,88%,100% { transform: scale(1); } 92% { transform: scale(1.14); } 96% { transform: scale(.98); } }
@keyframes waRing   { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.55)}  70%{box-shadow:0 0 0 16px rgba(37,211,102,0)}  100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }
@keyframes callRing { 0%{box-shadow:0 0 0 0 rgba(255,193,7,.55)}   70%{box-shadow:0 0 0 16px rgba(255,193,7,0)}   100%{box-shadow:0 0 0 0 rgba(255,193,7,0)} }
@media (max-width: 520px){ .float-contact { right: 16px; bottom: 16px; gap: 12px; } .float-btn { width: 50px; height: 50px; font-size: 1.4rem; } }

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 1080px){
  .feature-grid, .card-grid, .mvv-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .perk-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 940px){
  .nav-menu, .nav-cta .btn-x { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .split, .split.rev, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .media-stack { order: -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2,1fr); }
  .timeline::before { left: 8px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 40px; padding-right: 0; }
  .tl-item .tl-dot { left: 0 !important; right: auto !important; }
  .topbar .tb-left span:nth-child(2) { display: none; }
}
@media (max-width: 620px){
  .feature-grid, .card-grid, .mvv-grid, .card-grid.cols-4, .stat-band, .perk-grid, .footer-top, .form-row, .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 16px; }
  .topbar { display: none; }
  .cta-band { text-align: center; }
}

/* ==========  MOBILE POLISH  ========== */
@media (max-width: 768px){
  /* Hero: stop centering/clipping tall content on small screens */
  .hero { min-height: auto; align-items: flex-start; padding-top: 108px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .hero p.lead { font-size: 1rem; }
  .scroll-hint { display: none; }
  .section-pad { padding-block: 56px; }
  .head-block { gap: 18px; margin-bottom: 32px; }
  .section-title { font-size: clamp(1.7rem, 6.5vw, 2.2rem); }
  .cta-band::after { display: none; }
}
@media (max-width: 520px){
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-x { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card .num { font-size: 1.55rem; }
  .container-x { padding-inline: 18px; }
  .page-head { padding-top: 130px; }
  .head-block .btn-x, .head-block > a { width: 100%; text-align: center; justify-content: center; }
  .det-stats { grid-template-columns: 1fr 1fr; }
}

/* ==========  FOOTER ACCORDION (mobile)  ========== */
@media (max-width: 640px){
  .footer { padding-top: 54px; }
  .footer-top { grid-template-columns: 1fr; gap: 0; padding-bottom: 20px; }
  .footer-top > div:first-child { margin-bottom: 8px; }
  .footer-col { border-top: 1px solid var(--line); }
  .footer-col h5 { cursor: pointer; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 16px 2px; user-select: none; }
  .footer-col h5::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .72rem; color: var(--yellow); transition: transform .3s var(--ease); }
  .footer-col.open h5::after { transform: rotate(180deg); }
  .footer-col .footer-links { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
  .footer-col.open .footer-links { max-height: 340px; padding-bottom: 14px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}
