/* =========================================================
   HAWKINS CONSTRUCTION AND GENERAL SUPPLIES LTD
   Shared design system - Plus Jakarta Sans - navy + orange
   Palette: orange #EE3F23 + black/white + grey
   ========================================================= */

:root {
  /* Brand */
  --primary: #ee3f23;
  --primary-600: #d6351b;
  --navy: #1d3f93;
  --navy-700: #16336f;
  --grey: #7d807d;

  /* Spacing (8px rhythm) */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;

  /* Radius */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;

  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1240px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* ---- Light theme ---- */
  --bg: #ffffff;
  --soft: #f7f7f7;
  --surface: #ffffff;
  --heading: #1d3f93;
  --text: #555a63;
  --text-strong: #1b2230;
  --border: #e6e6e6;
  --border-strong: #d8d8d8;
  --band: #1d3f93;          /* navy feature bands */
  --band-deep: #16336f;
  --ink: #1b2230;           /* logo dark element */
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .05), 0 6px 18px rgba(17, 17, 17, .05);
  --shadow-md: 0 14px 38px rgba(17, 17, 17, .12);
  --shadow-lg: 0 26px 70px rgba(17, 17, 17, .16);
}

[data-theme="dark"] {
  --bg: #0f0f10;
  --soft: #141416;
  --surface: #1a1a1c;
  --heading: #e9eefc;
  --text: #a0a0a0;
  --text-strong: #ededed;
  --border: #262629;
  --border-strong: #34343a;
  --band: #14203f;
  --band-deep: #0e1730;
  --ink: #ededed;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45), 0 6px 20px rgba(0, 0, 0, .4);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, .55);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .65);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  font-size: 16px;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }

.site-header, .section-soft, .vm-card, .value-card, .service-card, .num-card,
.project-card, .team-card, .contact-form, input, select, textarea, .btn,
.hse, .site-footer, .cta-final, .page-header, .faq-item {
  transition: background-color .35s var(--ease), color .35s var(--ease),
    border-color .35s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-3); }
.section { padding: var(--s-7) 0; }
.section-soft { background: var(--soft); }

h1, h2, h3, h4 { color: var(--heading); font-weight: 600; line-height: 1.1; letter-spacing: -.022em; }

.eyebrow {
  display: inline-flex; align-items: center;
  background: var(--surface); color: var(--text-strong);
  font-weight: 600; font-size: .82rem; letter-spacing: .01em;
  padding: 8px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  margin-bottom: var(--s-3); text-transform: none;
}
.eyebrow-onband { background: #fff; color: var(--text-strong); border-color: transparent; }

.section-title { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.section-title-light { color: #fff; }
.section-sub { color: var(--text); margin-top: var(--s-3); font-size: 1.0625rem; line-height: 1.55; max-width: 680px; }
.section-sub-light { color: rgba(255, 255, 255, .8); }

.section-head { max-width: 760px; margin-bottom: var(--s-6); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-head.between { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); max-width: none; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 1rem; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn .arrow { width: 16px; height: 16px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { padding: 11px 18px; font-size: .92rem; gap: 10px; }
.btn-block { width: 100%; justify-content: center; }

.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-white .arrow { stroke: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-orange { background: var(--primary); color: #fff; }
.btn-orange .arrow { stroke: #fff; }
.btn-orange:hover { background: var(--primary-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(238, 63, 35, .35); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline .arrow { stroke: var(--primary); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-2px); }

.btn-dark { background: #111; color: #fff; }
.btn-dark .arrow { stroke: var(--primary); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* New CTA style (reference): the arrow sits in a circular badge on the right */
.btn-orange:not(.btn-sm), .btn-white:not(.btn-sm),
.btn-outline:not(.btn-sm), .btn-dark:not(.btn-sm) { padding: 7px 8px 7px 26px; gap: 16px; }
.btn-orange:not(.btn-sm) .arrow, .btn-white:not(.btn-sm) .arrow,
.btn-outline:not(.btn-sm) .arrow, .btn-dark:not(.btn-sm) .arrow {
  width: 38px; height: 38px; padding: 11px; border-radius: 50%; flex: none; box-sizing: border-box;
}
.btn-orange:not(.btn-sm) .arrow { background: #fff; stroke: var(--primary); }
.btn-white:not(.btn-sm) .arrow { background: var(--navy); stroke: #fff; }
.btn-outline:not(.btn-sm) .arrow { background: #fff; stroke: var(--primary); }
.btn-dark:not(.btn-sm) .arrow { background: var(--primary); stroke: #fff; }

.btn-whatsapp { background: #1fae54; color: #fff; }
.btn-whatsapp:hover { background: #178c43; transform: translateY(-2px); }
.btn-whatsapp .wa { width: 20px; height: 20px; fill: currentColor; }

/* Underline arrow link */
.arrow-link {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); min-width: 150px;
  color: var(--heading); font-weight: 600; font-size: .98rem;
  padding-bottom: 10px; border-bottom: 1.5px solid var(--border-strong);
}
.arrow-link .arrow { width: 16px; height: 16px; fill: none; stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.arrow-link:hover { border-color: var(--primary); }
.arrow-link:hover .arrow { transform: translateX(5px); }
.arrow-link-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.arrow-link-light .arrow { stroke: #fff; }
.arrow-link-light:hover { border-color: #fff; }

.scroll-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; font-size: .98rem; padding-bottom: 8px; border-bottom: 1.5px solid rgba(255, 255, 255, .55); }
.scroll-link .chev { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.scroll-link:hover .chev { transform: translateY(3px); }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
/* Desktop: floating pill nav that overlays the hero (transparent at the top,
   solid once scrolled). Mobile rules below reset this to a plain bar. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; }
.nav-inner {
  display: flex; align-items: center; gap: var(--s-3); height: 64px;
  margin: 14px auto; padding: 8px 10px 8px 22px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

@media (min-width: 861px) {
  /* Solid pill: scrolled, or any page without a hero */
  .site-header.nav-solid .nav-inner {
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
  }
  /* Transparent frosted pill over the hero */
  .site-header.nav-transparent .nav-inner {
    background: rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .2);
  }
  .site-header.nav-transparent .nav-link { color: #fff; }
  .site-header.nav-transparent .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .16); }
  .site-header.nav-transparent .nav-link.is-active { color: var(--navy); background: rgba(255, 255, 255, .92); }
  .site-header.nav-transparent .brand-name { color: #fff; }
  .site-header.nav-transparent .brand-sub { color: rgba(255, 255, 255, .72); }
  .site-header.nav-transparent .brand-mark .ink { fill: #fff; }
  .site-header.nav-transparent .theme-toggle { color: #fff; border-color: rgba(255, 255, 255, .4); }
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 38px; flex: none; }
.brand-mark .ink { fill: var(--ink); }
.brand-mark .accent { fill: var(--primary); }
.brand-mark .muted { fill: var(--grey); }
.brand-mark--onorange .ink { fill: #fff; }
.brand-mark--onorange .accent { fill: var(--navy); }
.brand-mark--onorange .muted { fill: rgba(255, 255, 255, .55); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { color: var(--text-strong); font-weight: 700; letter-spacing: .04em; font-size: 1.06rem; }
.brand-sub { font-size: .68rem; color: var(--grey); letter-spacing: .02em; margin-top: 3px; }

.primary-nav { margin: 0 auto; }
.primary-nav ul { display: flex; gap: 2px; }
.nav-link { display: inline-block; padding: 9px 15px; border-radius: var(--r-pill); font-size: .95rem; color: var(--text-strong); font-weight: 500; }
.nav-link:hover { color: var(--primary); background: var(--soft); }
.nav-link.is-active { color: var(--heading); background: var(--soft); }

.nav-actions { display: flex; align-items: center; gap: var(--s-2); }
.theme-toggle { width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-strong); position: relative; }
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; position: absolute; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.theme-toggle .icon-moon { fill: currentColor; stroke: none; }
.icon-moon { opacity: 0; transform: rotate(-40deg) scale(.6); }
[data-theme="dark"] .icon-moon { opacity: 1; transform: none; }
[data-theme="dark"] .icon-sun { opacity: 0; transform: rotate(40deg) scale(.6); }

.hamburger { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.hamburger span { width: 22px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 990; opacity: 0; transition: opacity .3s var(--ease); }
.nav-scrim.show { opacity: 1; }

/* =========================================================
   HERO (left aligned)
   ========================================================= */
.hero { position: relative; min-height: clamp(560px, 88vh, 840px); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8, 8, 10, .9) 0%, rgba(8, 8, 10, .62) 40%, rgba(8, 8, 10, .18) 74%, rgba(8, 8, 10, .05) 100%),
  linear-gradient(180deg, rgba(8, 8, 10, .35) 0%, rgba(8, 8, 10, 0) 30%, rgba(8, 8, 10, .25) 100%); }
/* Top padding clears the fixed nav; slightly larger than the bottom so the
   content reads a touch lower without ever overflowing/clipping on short screens. */
.hero-content { position: relative; z-index: 1; color: #fff; width: 100%; padding-top: calc(var(--header-h) + var(--s-5)); padding-bottom: var(--s-5); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .78); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--s-3); }
.hero-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--primary); }
.hero-title { color: #fff; max-width: 24ch; font-size: clamp(1.7rem, 3.2vw, 2.85rem); line-height: 1.14; font-weight: 600; letter-spacing: -.02em; }
.hero-lead { font-size: clamp(.98rem, 1.3vw, 1.0625rem); line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 480px; margin-top: var(--s-3); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }

/* ---------- Hero slider ---------- */
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero .hero-overlay { z-index: 1; }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(20px, 4vh, 40px); display: flex; gap: 10px; justify-content: center; }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; transition: background .3s var(--ease), width .3s var(--ease), border-radius .3s var(--ease); }
.hero-dot:hover { background: rgba(255, 255, 255, .8); }
.hero-dot.is-active { background: var(--primary); width: 26px; border-radius: 6px; }

/* =========================================================
   ABOUT BAND (home)
   ========================================================= */
.about-band { background: var(--band); color: #fff; padding-bottom: var(--s-7); }
.about-band-inner { display: grid; grid-template-columns: 380px 1fr; gap: var(--s-6); align-items: center; }
.about-card { background: var(--primary); border-radius: 2px; padding: var(--s-4); margin-top: -120px; min-height: 440px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.about-card-label { color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 500; }
.about-card .brand-mark { width: 132px; height: 150px; margin: var(--s-3) 0 auto; }
.about-card-words { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.16; letter-spacing: -.02em; }
.about-band-text { padding: var(--s-4) 0; }
.about-band-text h2 { color: #fff; font-size: clamp(1.65rem, 3.4vw, 2.5rem); line-height: 1.17; max-width: 640px; }
.about-band-text p { color: rgba(255, 255, 255, .82); margin-top: var(--s-3); line-height: 1.6; max-width: 560px; }
.about-band-text .btn { margin-top: var(--s-4); }

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-header { position: relative; background: #0f1729; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: calc(var(--header-h) + var(--s-6)) 0 var(--s-7); overflow: hidden; }
.page-header::before { content: ""; position: absolute; right: -60px; top: -60px; width: 420px; height: 420px; background: radial-gradient(circle at center, rgba(238, 63, 35, .28), transparent 62%); pointer-events: none; }
.page-header::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--primary); }
.page-header .container { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .55); margin-bottom: var(--s-3); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: rgba(255, 255, 255, .3); }
.breadcrumb [aria-current] { color: #ff7a52; }
.page-title { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.4rem); }
.page-header-sub { color: rgba(255, 255, 255, .75); margin-top: var(--s-3); font-size: 1.0625rem; line-height: 1.55; max-width: 620px; }

/* =========================================================
   VISION & MISSION
   ========================================================= */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.vm-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.vm-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary); }
.vm-tag { display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 5px 14px; margin-bottom: var(--s-3); font-weight: 500; }
.vm-card h3 { font-size: 1.4rem; }
.vm-card p { color: var(--text); margin-top: var(--s-2); }

/* =========================================================
   CORE VALUES
   ========================================================= */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-4); box-shadow: var(--shadow-sm); }
.value-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.value-icon, .hse-icon, .contact-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--soft); margin-bottom: var(--s-3); }
.value-icon svg, .hse-icon svg { width: 26px; height: 26px; fill: var(--primary); }
.value-icon .ic-line, .hse-icon .ic-line, .contact-icon .ic-line { fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value-icon .ic-dot { fill: #fff; }
.value-card h3 { font-size: 1.18rem; }
.value-card p { color: var(--text); margin-top: 8px; font-size: .95rem; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-head { display: grid; grid-template-columns: 230px 1fr; gap: var(--s-4); align-items: start; margin-bottom: var(--s-6); }
.services-note { color: var(--primary); font-weight: 500; font-size: .98rem; line-height: 1.5; }
.services-center { text-align: center; max-width: 720px; margin: 0 auto; }
.services-center .section-sub { margin-left: auto; margin-right: auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4) var(--s-3); }
.service-card { display: flex; flex-direction: column; }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); margin-bottom: var(--s-3); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--text); margin: 8px 0 var(--s-3); font-size: .96rem; flex: 1; }
.service-card .arrow-link { align-self: flex-start; }
.service-card-cta { background: var(--band); border-radius: var(--r-md); padding: var(--s-5); justify-content: center; }
.service-card-cta h3 { color: #fff; }
.service-card-cta p { color: rgba(255, 255, 255, .8); flex: 0; }

/* =========================================================
   NUMBERED GRID (capabilities / why choose)
   ========================================================= */
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.num-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-5) var(--s-4); box-shadow: var(--shadow-sm); }
.section-soft .num-card { background: var(--bg); }
.num-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.num { display: block; font-size: 2.3rem; font-weight: 600; color: var(--primary); letter-spacing: -.02em; }
.num-card h3 { font-size: 1.22rem; margin: var(--s-3) 0 0; padding-top: var(--s-3); border-top: 2px solid var(--primary); display: block; }
.num-card p { color: var(--text); margin-top: 10px; font-size: .96rem; }

/* =========================================================
   HSE
   ========================================================= */
.hse { background: var(--band-deep); color: #fff; }
.hse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.hse-item { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-md); padding: var(--s-4); }
.hse-item:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 122, 99, .5); transform: translateY(-4px); }
.hse-icon { background: rgba(238, 63, 35, .16); }
.hse-icon .ic-line { stroke: #ff7a63; }
.hse-item h3 { color: #fff; font-size: 1.14rem; }
.hse-item p { color: rgba(255, 255, 255, .74); margin-top: 8px; font-size: .95rem; }

/* =========================================================
   PROJECTS / PORTFOLIO
   ========================================================= */
.project-filters { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-bottom: var(--s-5); }
.filter-btn { padding: 9px 20px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); color: var(--text); font-weight: 500; font-size: .9rem; }
.filter-btn:hover { color: var(--text-strong); border-color: var(--grey); }
.filter-btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.portfolio { display: grid; gap: var(--s-4) var(--s-3); }
.portfolio-feature { grid-template-columns: 1fr 1fr 2fr; margin-bottom: var(--s-4); }
.portfolio-row { grid-template-columns: repeat(3, 1fr); }
.project-card { display: flex; flex-direction: column; }
.project-card.is-hidden { display: none; }
.project-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); margin-bottom: var(--s-3); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-cat { color: var(--primary); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.project-cat-light { color: #ffb3a5; }
.project-card h3 { font-size: 1.24rem; margin: 8px 0; }
.project-card p { color: var(--text); font-size: .95rem; margin-bottom: var(--s-3); flex: 1; }
.project-card .arrow-link { align-self: flex-start; }
.project-feature { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 100%; }
.project-feature .project-media { aspect-ratio: auto; height: 100%; min-height: 360px; margin: 0; border-radius: 0; }
.project-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 22, 46, .1) 0%, rgba(13, 22, 46, .55) 55%, rgba(13, 22, 46, .92) 100%); }
.project-feature-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: var(--s-5); }
.project-feature-body h3 { color: #fff; font-size: 1.5rem; }
.project-feature-body p { color: rgba(255, 255, 255, .82); }

/* =========================================================
   LEADERSHIP (premium)
   ========================================================= */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.team-portrait { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(150deg, #1a1a1c 0%, #2a2a2d 100%); overflow: hidden; }
.team-portrait::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(238, 63, 35, .35), transparent 55%); }
.team-monogram { position: relative; font-size: 3.4rem; font-weight: 700; color: #fff; letter-spacing: .05em; }
.team-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-portrait .tag { position: absolute; z-index: 2; top: var(--s-3); left: var(--s-3); background: var(--primary); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); }
.team-body { padding: var(--s-4); border-top: 3px solid var(--primary); }
.team-body h3 { font-size: 1.25rem; }
.team-body .role { color: var(--primary); font-weight: 500; font-size: .95rem; margin-top: 4px; }
.team-body p { color: var(--text); font-size: .92rem; margin-top: var(--s-2); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-6); align-items: start; }

/* Left column */
.contact-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--text-strong); color: #fff; font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: var(--r-sm); margin-bottom: var(--s-3); }
.contact-chip svg { width: 18px; height: 18px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-heading { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.contact-intro { color: var(--text); margin-top: var(--s-2); max-width: 420px; line-height: 1.6; }
.contact-list { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.contact-list li { display: flex; align-items: center; gap: var(--s-2); }
.contact-icon { margin: 0; flex: none; }
.contact-icon svg { width: 24px; height: 24px; fill: none; }
/* Contact page left column only: orange squares with white icons */
.contact-details .contact-icon { width: 54px; height: 54px; background: var(--primary); }
.contact-details .contact-icon .ic-line { stroke: #fff; }
.contact-vals { display: grid; gap: 2px; }
.contact-vals a, .contact-vals span { display: block; color: var(--text-strong); font-weight: 500; }
.contact-vals a:hover { color: var(--primary); }
.contact-details .btn-whatsapp { margin-top: var(--s-4); width: 100%; justify-content: center; }

/* Right column form card with offset orange block */
.contact-form-wrap { position: relative; }
.contact-form-wrap::before { content: ""; position: absolute; z-index: 0; top: -18px; right: -18px; bottom: 18px; left: 38px; background: var(--primary); }
.contact-form { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 0; padding: var(--s-5); box-shadow: var(--shadow-md); }
.field { margin-bottom: var(--s-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field label { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: var(--text-strong); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 0; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text-strong); }
.field input::placeholder, .field textarea::placeholder { color: var(--grey); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(238, 63, 35, .15); }
.btn-submit { margin-top: var(--s-1); background: var(--text-strong); color: #fff; font-weight: 600; font-size: 1rem; padding: 15px 42px; border-radius: 0; }
.btn-submit:hover { background: var(--primary); }
.form-status { margin-top: var(--s-2); font-size: .92rem; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #1fae54; }
.form-status.err { color: var(--primary); }
.map-wrap { margin-top: var(--s-6); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(.25); }
[data-theme="dark"] .map-wrap iframe { filter: grayscale(.6) brightness(.8) contrast(1.1); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) 0; text-align: left; font-weight: 600; color: var(--heading); font-size: 1.05rem; }
.faq-q .chev { width: 18px; height: 18px; fill: none; stroke: var(--primary); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { color: var(--text); padding: 0 0 var(--s-3); font-size: .96rem; }
.faq-item.open .faq-a { max-height: 240px; }

/* =========================================================
   FINAL CTA (before footer)
   ========================================================= */
.cta-final { background: var(--band); color: #fff; padding: var(--s-7) 0; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; right: -60px; bottom: -120px; width: 380px; height: 380px; background: radial-gradient(circle at center, rgba(238, 63, 35, .22), transparent 62%); }
.cta-final .container { position: relative; text-align: center; max-width: 820px; }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.cta-final p { color: rgba(255, 255, 255, .8); margin: var(--s-3) auto var(--s-5); max-width: 560px; }
.cta-final-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding-top: var(--s-7); }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.7fr; gap: var(--s-4); padding-bottom: var(--s-6); }
.footer-brand .brand { margin-bottom: var(--s-2); }
.footer-brand p { color: var(--text); max-width: 300px; font-size: .94rem; }
.footer-col h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: var(--s-2); font-weight: 600; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text); font-size: .95rem; }
.footer-col a:hover { color: var(--primary); }
.footer-contact { display: grid; gap: 0; }
.footer-contact-row { display: flex; align-items: center; gap: 14px; padding: var(--s-2) 0; color: var(--text-strong); font-size: .92rem; border-bottom: 1px solid var(--border); }
.footer-contact-row:first-child { padding-top: 0; }
.footer-contact-row .contact-icon { width: 40px; height: 40px; background: var(--soft); }
.footer-contact-row:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-1); padding-top: var(--s-3); padding-bottom: var(--s-5); border-top: 1px solid var(--border); color: var(--grey); font-size: .88rem; }
.footer-bottom a { color: var(--text-strong); }
.footer-bottom a:hover { color: var(--primary); }

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 950; width: 56px; height: 56px; border-radius: var(--r-pill); background: #1fae54; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(31, 174, 84, .45); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.07); box-shadow: 0 14px 32px rgba(31, 174, 84, .55); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 174, 84, .5); animation: wa-pulse 2.4s infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 84, .45); } 70% { box-shadow: 0 0 0 16px rgba(31, 174, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 174, 84, 0); } }

.back-to-top { position: fixed; right: 26px; bottom: 90px; z-index: 940; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s; }
.back-to-top svg { width: 22px; height: 22px; fill: #fff; }
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-600); }

@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .values-grid, .services-grid, .hse-grid, .team-grid, .num-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-feature, .portfolio-row { grid-template-columns: repeat(2, 1fr); }
  .project-feature { grid-column: span 2; }
  .project-feature .project-media { min-height: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .about-band-inner { grid-template-columns: 300px 1fr; gap: var(--s-4); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  /* Reset desktop pill back to a plain solid bar (no backdrop-filter so the
     fixed drawer is positioned against the viewport, not trapped in the header) */
  .site-header { background: var(--bg); border-bottom: 1px solid var(--border); }
  .nav-inner { height: var(--header-h); margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-actions { margin-left: auto; }
  .primary-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 320px); background: var(--bg); border-left: 1px solid var(--border); margin: 0; padding: calc(var(--header-h) + 24px) var(--s-3) var(--s-3); transform: translateX(101%); transition: transform .35s var(--ease); z-index: 995; overflow-y: auto; }
  .primary-nav.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .primary-nav ul { flex-direction: column; gap: 6px; }
  .nav-link { display: block; padding: 14px 16px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav-link.is-active { background: var(--soft); }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .hide-mobile { display: none !important; }
  .section-head.between { flex-direction: column; align-items: flex-start; }
  .services-head { grid-template-columns: 1fr; gap: var(--s-2); }
  .services-center { text-align: left; margin: 0; }
  .services-center .section-sub { margin: var(--s-3) 0 0; }
  .vm-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: var(--s-4); }
  .faq-grid { grid-template-columns: 1fr; }
  .about-band-inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .about-card { margin-top: -90px; max-width: 360px; min-height: 380px; }

  /* Hero stacks on mobile (like the reference): text on a light surface first,
     then the photo as a block below, with the orange About card overlapping it. */
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; overflow: visible; }
  .hero-content { order: 1; max-width: var(--maxw); padding-top: calc(var(--header-h) + var(--s-4)); padding-bottom: var(--s-5); }
  .hero-media { position: relative; inset: auto; order: 2; width: 100%; height: clamp(260px, 46vh, 380px); }
  .hero-overlay { display: none; }
  .hero-eyebrow { color: var(--text); }
  .hero-title { color: var(--heading); max-width: 100%; }
  .hero-lead { color: var(--text); max-width: 100%; }
  .hero .btn-white { border-color: var(--border-strong); }
}

@media (max-width: 560px) {
  .section { padding: var(--s-6) 0; }
  .values-grid, .services-grid, .hse-grid, .team-grid, .num-grid,
  .portfolio-feature, .portfolio-row { grid-template-columns: 1fr; }
  .project-feature { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .brand-sub { display: none; }
  .footer-bottom { flex-direction: column; }
  /* Contact form stacks cleanly on phones */
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: var(--s-4); }
  .contact-form-wrap::before { top: -8px; right: -8px; bottom: 8px; left: 22px; }
  .btn-submit { width: 100%; }
}

/* ---------- Contact form: honeypot + inline errors (MVC) ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.field-error { display: block; margin-top: 6px; font-size: .82rem; font-weight: 500; color: var(--primary); }
.field input:where([aria-invalid="true"]) { border-color: var(--primary); }

/* ---------- Partners / clients auto-scrolling marquee ---------- */
.partners { padding: var(--s-5) 0 var(--s-2); }
#services-preview { padding-top: var(--s-5); }
.partners-title { text-align: center; color: var(--grey); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--s-4); }
.partners-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
/* No flex `gap`: every logo carries the same right margin (incl. the last of
   each set) so the two identical sets tile at exactly -50% with no seam. */
.partners-track { display: flex; align-items: center; width: max-content; animation: partners-scroll 34s linear infinite; }
.partners-track img { height: clamp(26px, 3.6vw, 42px); width: auto; flex: none; margin-right: clamp(40px, 6vw, 88px); }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
@keyframes partners-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .partners-track img { margin: 14px clamp(20px, 4vw, 36px); }
}
