/* Global variables, base styles, navigation and hero. */

:root {
  --navy: #0e2742;
  --green: #137344;
  --bright-green: #3a9f34;
  --blue: #0c4987;
  --mint: #e9f5f1;
  --red: #d1291d;
  --grey-blue: #7c91a3;
  --white: #ffffff;
  --ink: #17283a;
  --muted: #617080;
  --border: #dce7e4;
  --shadow: 0 18px 45px rgba(14, 39, 66, 0.12);
  --radius: 22px;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-180%); background: var(--navy); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

/* ---------- Header and navigation ---------- */

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(14,39,66,.07); transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 35px rgba(14,39,66,.09); background: rgba(255,255,255,.985); }
.nav-shell { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 205px; flex: 0 0 auto; }
.brand-wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name { color: var(--navy); font-size: 1.28rem; font-weight: 800; letter-spacing: .06em; }
.brand-subname { margin-top: 5px; color: var(--green); font-size: .58rem; font-weight: 800; letter-spacing: .44em; padding-left: 2px; }
.primary-nav { display: flex; align-items: center; gap: 27px; }
.nav-link { position: relative; color: #3b4c5d; font-weight: 600; font-size: .94rem; transition: color .2s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 100%; height: 2px; border-radius: 20px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 10px; font-weight: 700; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--green); box-shadow: 0 12px 24px rgba(19,115,68,.19); }
.btn-primary:hover { background: #0e6339; box-shadow: 0 16px 30px rgba(19,115,68,.25); }
.btn-secondary { color: var(--navy); border-color: #bdcdca; background: rgba(255,255,255,.74); }
.btn-secondary:hover { border-color: var(--green); background: white; }
.nav-cta { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; padding: 8px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--navy); margin: 6px 0; border-radius: 5px; transition: .2s ease; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(var(--header-height) + 760px);
  padding: var(--header-height) 0 0;
  background: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  left: -150px;
  top: calc(var(--header-height) - 40px);
  border: 34px solid rgba(19, 115, 68, .055);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-one {
  display: none;
}

.hero-orb-two {
  width: 250px;
  height: 250px;
  left: -105px;
  bottom: -78px;
  background: rgba(58, 159, 52, .055);
}

.hero .hero-grid {
  width: 100%;
  max-width: none;
  min-height: 760px;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 49%) minmax(0, 51%);
  align-items: stretch;
  gap: 0;
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 44px 50px clamp(34px, 8vw, 128px);
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 86%, rgba(255,255,255,.88) 100%);
}

h1 {
  margin: 0;
  max-width: 610px;
  color: var(--navy);
  font-size: clamp(3rem, 4.1vw, 3.9rem);
  line-height: .96;
  letter-spacing: -.052em;
  font-weight: 800;
}

.hero-services-title span {
  display: block;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.hero-intro {
  max-width: 570px;
  margin: 22px 0 0;
  color: #566777;
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.coverage-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.coverage-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--mint);
  color: var(--green);
  font-size: 1.4rem;
}

.coverage-icon i {
  font-size: 1.1rem;
  line-height: 1;
}

.coverage-note p {
  margin: 0;
}

.coverage-note strong,
.coverage-note span {
  display: block;
}

.coverage-note strong {
  color: var(--navy);
  font-size: .9rem;
}

.coverage-note span {
  margin-top: 2px;
  color: var(--muted);
  font-size: .8rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 760px;
}

.visual-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #edf3f1;
}

.hero-service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.visual-frame::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,.96) 8%, rgba(255,255,255,.78) 18%, rgba(255,255,255,.42) 29%, rgba(255,255,255,.12) 38%, rgba(255,255,255,0) 48%);
  pointer-events: none;
}

.visual-frame::after {
  display: none;
}


.placeholder-section { min-height: 65vh; display: flex; align-items: center; padding: 110px 0; }
.placeholder-section.alt { background: #f7faf9; }
.placeholder-section .container { max-width: 860px; }
.section-label { display: inline-block; margin-bottom: 14px; color: var(--green); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.placeholder-section h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -.035em; }
.placeholder-section p { max-width: 700px; color: var(--muted); font-size: 1.05rem; }
/* ---------- Floating WhatsApp action ---------- */

.whatsapp-float { position: fixed; z-index: 90; right: 25px; bottom: 24px; display: flex; align-items: center; gap: 9px; }
.whatsapp-label { padding: 8px 12px; border-radius: 9px; color: var(--navy); background: white; font-size: .78rem; font-weight: 700; box-shadow: 0 9px 24px rgba(14,39,66,.13); opacity: 0; transform: translateX(6px); transition: .2s ease; }
.whatsapp-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: white; background: #25D366; font-size: 1.5rem; box-shadow: 0 14px 28px rgba(37,211,102,.26); }
.whatsapp-icon i { font-size: 1.65rem; line-height: 1; }
.whatsapp-float:hover .whatsapp-label { opacity: 1; transform: translateX(0); }
.reveal { opacity: 0; transform: translateY(15px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive layout ---------- */

@media (max-width: 1020px) {
  :root { --header-height: 78px; }
  .brand { width: 176px; }
  .primary-nav { position: fixed; top: var(--header-height); right: 20px; left: 20px; display: grid; gap: 0; padding: 12px; border: 1px solid var(--border); border-radius: 16px; background: white; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-9px); transition: .22s ease; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { padding: 13px 12px; border-radius: 9px; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { background: var(--mint); color: var(--green); }
  .nav-cta { margin-top: 7px; }
  .menu-toggle { display: block; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 52px) 0 58px;
  }

  .hero .hero-grid {
    width: min(100% - 40px, 1180px);
    min-height: 0;
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 780px;
    padding: 0;
    background: transparent;
  }

  h1 {
    max-width: 720px;
  }

  .hero-visual {
    width: 100%;
    min-height: 480px;
    max-width: 800px;
  }

  .visual-frame {
    position: absolute;
    border-radius: 28px;
    box-shadow: 0 24px 58px rgba(14,39,66,.15);
  }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero {
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero::before {
    display: none;
  }

  .hero .hero-grid {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.65rem);
  }

  .hero-intro {
    margin-top: 20px;
    font-size: .98rem;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .coverage-note {
    align-items: flex-start;
  }

  .hero-visual {
    min-height: 400px;
  }

  .visual-frame {
    border-radius: 22px;
  }

  .hero-service-photo {
    object-position: 47% center;
  }

  .placeholder-section { min-height: 56vh; padding: 85px 0; }
  .whatsapp-float { right: 15px; bottom: 15px; }
  .whatsapp-label { display: none; }
  .whatsapp-icon { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
