:root {
  --navy: #0b1d3a;
  --navy-2: #0a1e4a;
  --blue: #0a3dae;
  --blue-deep: #072c7a;
  --cyan: #06b6d4;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --white: #ffffff;
  --bg: #f8fafc;
  --soft: #eff4ff;
  --soft-2: #f0f9ff;
  --text: #1e293b;
  --muted: #475569;
  --line: #dbe4f0;
  --shadow: 0 10px 30px rgba(11, 29, 58, 0.08);
  --shadow-lg: 0 18px 50px rgba(11, 29, 58, 0.14);
  --radius: 14px;
  --header: 82px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: Outfit, Inter, sans-serif;
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; color: var(--muted); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10000;
}
.skip:focus { left: 8px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(11, 29, 58, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  color: var(--navy);
  font-family: Outfit, sans-serif;
  font-size: 1.05rem;
}
.logo-text span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 8px;
  font-size: 0.95rem;
}
.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: var(--soft);
}

.has-dropdown {
  position: relative;
}
.has-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(720px, 92vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
}
.dropdown a:hover {
  background: var(--soft);
}
.dropdown .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.dropdown strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}
.dropdown small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 0.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: 0.18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #0f4ad0, var(--blue));
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 61, 174, 0.28);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-call { background: var(--navy); color: #fff; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 4px auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,29,58,.88) 0%, rgba(11,29,58,.72) 48%, rgba(10,30,74,.45) 100%),
    radial-gradient(circle at 80% 20%, rgba(6,182,212,.18), transparent 34%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 760px;
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.08rem; max-width: 640px; }
.eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 1.6rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  color: var(--bg);
}

/* Sections */
.section { padding: 4.2rem 0; }
.section-alt { background: var(--bg); }
.section-soft { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.center { text-align: center; }
.lede {
  max-width: 720px;
  margin-inline: auto;
  font-size: 1.05rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.4rem;
  position: relative;
  z-index: 2;
}
.stat-card,
.card,
.benefit,
.step,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-card {
  padding: 1.3rem 1.1rem;
  text-align: center;
  transition: 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stat-card .ico {
  width: 46px;
  height: 46px;
  margin: 0 auto 0.6rem;
  border-radius: 12px;
  background: var(--soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.stat-card strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 1.7rem;
  color: var(--navy);
}
.stat-card span { color: var(--muted); font-size: 0.9rem; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}
.intro-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 320px;
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.service-grid,
.benefit-grid,
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}
.card {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  border-radius: 12px;
  overflow: hidden;
  height: 140px;
  margin-bottom: 0.9rem;
  background: var(--soft);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card p { flex: 1; font-size: 0.92rem; }
.learn {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.benefit {
  padding: 1.15rem;
}
.benefit .ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--soft-2);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
}

.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.problem-box {
  padding: 1.6rem;
  border-radius: 18px;
}
.problem-box.dark {
  background: var(--navy);
  color: #fff;
}
.problem-box.dark h2,
.problem-box.dark p,
.problem-box.dark li { color: #fff; }
.problem-box.light {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.problem-box ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.problem-box li { margin: 0.35rem 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}
.step {
  padding: 1.25rem;
  position: relative;
}
.step .num {
  font-family: Outfit, sans-serif;
  font-size: 1.8rem;
  color: var(--cyan);
  font-weight: 800;
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}
.area {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.cta-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(6,182,212,.18), transparent 28%),
    linear-gradient(135deg, var(--navy), var(--navy-2) 55%, #06142b);
  color: #fff;
  padding: 3.4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band h2,
.cta-band p { color: #fff; }
.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.drops {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(circle at 20% 30%, #06b6d4 0 6px, transparent 7px),
    radial-gradient(circle at 80% 70%, #06b6d4 0 8px, transparent 9px),
    radial-gradient(circle at 60% 20%, #fff 0 4px, transparent 5px);
}

/* Page hero */
.page-hero {
  background:
    linear-gradient(90deg, rgba(11,29,58,.92), rgba(10,30,74,.78)),
    url("../images/site-inspection.jpg") center/cover;
  color: #fff;
  padding: 4.2rem 0 3.4rem;
}
.page-hero h1,
.page-hero p { color: #fff; }
.crumbs {
  color: rgba(255,255,255,.8);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}
.crumbs a { color: var(--cyan); }

/* About */
.mission {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}
.mission article { padding: 1.3rem; }

.service-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.service-detail img {
  width: 100%;
  border-radius: 16px;
  min-height: 280px;
  object-fit: cover;
}
.detail-block { margin: 1.6rem 0; }
.detail-block ul { color: var(--muted); }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0.55rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
.faq p { margin: 0.6rem 0 0; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.4rem;
  align-items: start;
}
.contact-card {
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}
.contact-card .ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.contact-card a { color: var(--blue); font-weight: 700; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1.3rem;
}
.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.mode-tabs button {
  min-height: 48px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.mode-tabs button.active[data-mode="whatsapp"],
.mode-tabs .wa.active {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.mode-tabs button.active[data-mode="email"],
.mode-tabs .em.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.88rem;
  margin: 0.7rem 0 0.3rem;
}
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(10,61,174,.25);
  border-color: var(--blue);
}
.error {
  color: #b42318;
  font-size: 0.8rem;
  min-height: 1em;
}
.success {
  display: none;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.success.show { display: block; }
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.map-wrap {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.86);
  padding: 3rem 0 1.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 1.5rem;
}
.footer h3 { color: #fff; font-size: 1.05rem; }
.footer a { color: rgba(255,255,255,.82); }
.footer a:hover { color: var(--cyan); }
.footer p { color: rgba(255,255,255,.75); }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}
.footer-logo img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; }
.tagline { color: var(--cyan) !important; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0.35rem 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.float-wa,
.float-call {
  position: fixed;
  z-index: 1100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  color: #fff;
  bottom: 22px;
}
.float-wa { right: 18px; background: var(--whatsapp); }
.float-call { left: 18px; background: var(--navy); display: none; }

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,29,58,.45);
  z-index: 900;
}

@media (max-width: 1024px) {
  .service-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps, .mission, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .problem, .service-detail, .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav {
    position: fixed;
    inset: var(--header) 0 auto 0;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1.2rem;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .nav.open { display: flex; }
  .dropdown {
    position: static;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    grid-template-columns: 1fr;
    padding: 0.2rem 0 0.6rem;
  }
  .has-dropdown.open .dropdown { display: grid; }
  .header-cta { display: none; }
  .nav .btn { width: 100%; margin-top: 0.4rem; }
  .float-call { display: grid; }
  .hero { min-height: auto; }
  .hero-content { padding: 3.2rem 0 2.6rem; }
}

@media (max-width: 640px) {
  .stats, .service-grid, .benefit-grid, .steps, .mission, .footer-grid {
    grid-template-columns: 1fr;
  }
  .logo-text { display: none; }
  .hero-actions .btn { width: 100%; }
}

@media (min-width: 1440px) {
  :root { --max: 1240px; }
}
.nav-list{display:flex;align-items:center;gap:.35rem;list-style:none;padding:0;margin:0}.nav-list>li{position:relative}.nav-list .has-dropdown{position:relative}.nav-list .dropdown{right:0}.header-inner>.nav{margin-left:auto}.nav-list>li>a{display:block}
.footer-grid ul{padding-left:1rem}@media(max-width:860px){.nav-list{flex-direction:column;align-items:stretch;width:100%}.nav-list>li{width:100%}.nav-list .nav-link{width:100%;text-align:left}.nav-list .dropdown{right:auto}}

/* Keep the hero copy anchored to the site grid on every viewport. */
.hero-content {
  text-align: left;
  justify-self: start;
  margin-left: max(1rem, calc((100vw - var(--max)) / 2));
  margin-right: 0;
  width: min(760px, calc(100vw - 2rem));
  max-width: 760px;
}/* Force the hero copy to the left side of the hero grid. */
.hero > .hero-content.container {
  justify-self: start !important;
  margin-left: max(1rem, calc((100vw - var(--max)) / 2)) !important;
  margin-right: 0 !important;
  width: min(760px, calc(100vw - 2rem)) !important;
  max-width: 760px !important;
  text-align: left !important;
}
.hero > .hero-content .hero-actions,
.hero > .hero-content .trust-row {
  justify-content: flex-start !important;
  text-align: left !important;
}
@media (max-width: 860px) {
  .hero > .hero-content.container {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    width: auto !important;
  }
}
