:root {
  --primary: #064f9e;
  --primary-dark: #043a78;
  --primary-glow: #31a7ff;
  --accent: #dff1ff;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #64748b;
  --secondary: #f3f8fc;
  --border: #dde8f2;
  --card: #ffffff;
  --whatsapp: #22c55e;
  --whatsapp-hover: #16a34a;
  --shadow-brand: 0 24px 60px rgba(6, 79, 158, 0.18);
  --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.08);
  --gradient-hero: linear-gradient(135deg, #043a78 0%, #0675d8 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--foreground); background: var(--background); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(100% - 32px, 1180px); margin-inline: auto; }

.topbar { background: var(--primary); color: #fff; }
.topbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
.topbar a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; }
.brand img, .footer-brand img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px rgba(6,79,158,.18); }
.brand strong, .footer-brand strong { display: block; color: var(--primary); font-size: 19px; line-height: 1; }
.brand small, .footer-brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 25px; color: rgba(15,23,42,.78); font-size: 14px; font-weight: 700; }
.main-nav a:hover { color: var(--primary); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 999px; background: #fff; place-items: center; gap: 3px; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 999px; background: var(--primary); }

.wa-button, .ghost-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border: 0; border-radius: 999px; padding: 12px 24px; font-weight: 800; line-height: 1; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; }
.wa-button { background: var(--whatsapp); color: #fff; box-shadow: 0 14px 32px rgba(34,197,94,.26); }
.wa-button:hover { background: var(--whatsapp-hover); transform: translateY(-1px) scale(1.015); }
.wa-button--small { min-height: 40px; padding: 10px 16px; font-size: 14px; }
.wa-button--large { min-height: 56px; padding: 16px 28px; font-size: 16px; }
.wa-button--outline { border: 2px solid var(--whatsapp); background: #fff; color: var(--whatsapp); box-shadow: none; }
.wa-button--outline:hover { color: #fff; }
.ghost-button { border: 2px solid rgba(255,255,255,.38); background: rgba(255,255,255,.06); color: #fff; backdrop-filter: blur(12px); }
.ghost-button:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.wa-icon { width: 1.15em; height: 1.15em; background: currentColor; mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.816 9.816 0 0 0 12.04 2zm.01 1.75c2.2 0 4.26.86 5.81 2.41a8.065 8.065 0 0 1 2.37 5.75c0 4.5-3.66 8.16-8.16 8.16-1.43 0-2.82-.37-4.05-1.07l-.29-.17-3.12.82.83-3.04-.2-.31a8.15 8.15 0 0 1-1.26-4.4c0-4.5 3.66-8.16 8.16-8.16zM8.53 7.33c-.16 0-.43.06-.66.29-.22.22-.87.85-.87 2.04 0 1.2.87 2.36 1 2.53.12.17 1.71 2.65 4.17 3.71.58.25 1.03.4 1.38.5.59.19 1.13.16 1.55.1.47-.07 1.45-.59 1.65-1.16.2-.58.2-1.07.14-1.18-.06-.1-.22-.16-.46-.27-.23-.11-1.37-.68-1.58-.75-.21-.08-.36-.12-.51.12-.15.24-.58.75-.71.9-.13.15-.26.17-.49.06-.23-.11-.98-.36-1.87-1.15-.69-.62-1.16-1.38-1.29-1.61-.13-.23-.01-.36.1-.47.1-.1.23-.26.35-.39.12-.13.16-.22.24-.37.08-.15.04-.28-.02-.39-.06-.1-.51-1.23-.71-1.69-.18-.44-.37-.38-.51-.39-.13 0-.27 0-.41 0z'/%3E%3C/svg%3E") center / contain no-repeat; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--primary); }
.hero__bg { position: absolute; inset: 0; z-index: -3; background: url("assets/hero-main.jpeg") center / cover; filter: blur(4px) brightness(.78) contrast(1.05); transform: scale(1.08); }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at center, rgba(6,16,38,.18), rgba(4,20,52,.7) 78%), linear-gradient(135deg, rgba(3,30,69,.82), rgba(7,84,158,.5)); }
.hero__content { max-width: 980px; padding-block: clamp(90px, 13vw, 155px); text-align: center; color: #fff; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent); color: var(--primary); padding: 6px 15px; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pill--light { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(10px); }
.hero h1 { margin: 24px 0 0; font-size: clamp(42px, 6vw, 68px); line-height: 1.04; letter-spacing: 0; text-shadow: 0 4px 24px rgba(0,0,0,.58); }
.hero h1 span { color: var(--primary-glow); }
.hero p { max-width: 760px; margin: 22px auto 0; color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.65; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 48px; margin-top: 46px; }
.hero__stats strong { display: block; font-size: 32px; line-height: 1; }
.hero__stats span { display: block; margin-top: 8px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.brand-strip { border-block: 1px solid var(--border); background: rgba(243,248,252,.72); padding-block: 38px; }
.section-kicker { margin: 0 0 22px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.section-kicker--center { text-align: center; }
.marquee-mask { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-marquee { display: flex; width: max-content; gap: 48px; animation: marquee 35s linear infinite; }
.brand-card { display: grid; width: 176px; height: 86px; flex: 0 0 auto; place-items: center; border: 1px solid var(--border); border-radius: 14px; background: #fff; padding: 18px; box-shadow: var(--shadow-soft); }
.brand-card img { max-height: 52px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section, .iso-section, .reviews-section { padding-block: clamp(70px, 8vw, 92px); }
.section-soft, .reviews-section { background: var(--secondary); }
.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-heading--left { margin-inline: 0; text-align: left; }
.section-heading h2, .about-grid h2, .cta-card h2 { margin: 16px 0 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: 0; }
.section-heading p, .about-grid p, .cta-card p { margin: 14px 0 0; color: var(--muted); line-height: 1.72; }

.iso-panel { position: relative; overflow: hidden; max-width: 880px; margin-inline: auto; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-brand); }
.iso-panel > img, .iso-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iso-overlay { background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.84), rgba(255,255,255,.7)); }
.iso-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; padding: 20px; }
.iso-grid article { display: flex; align-items: center; gap: 16px; border: 1px solid rgba(221,232,242,.72); border-radius: 18px; background: rgba(255,255,255,.82); padding: 20px; backdrop-filter: blur(8px); box-shadow: var(--shadow-soft); }
.iso-grid article > span { display: grid; width: 66px; height: 66px; flex: 0 0 auto; place-items: center; border: 2px solid rgba(6,79,158,.28); border-radius: 999px; background: rgba(6,79,158,.08); color: var(--primary); text-align: center; font-size: 10px; font-weight: 900; line-height: 1.1; }
.iso-grid strong { font-size: 15px; }
.iso-grid h3 { margin: 0; font-size: 18px; }
.iso-grid p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.reviews-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); align-items: center; gap: 28px; }
.reviews-summary { border: 1px solid var(--border); border-radius: 22px; background: #fff; padding: 28px; text-align: center; box-shadow: var(--shadow-soft); }
.reviews-summary > strong { font-size: 22px; }
.stars { margin-top: 10px; color: #fbbc05; letter-spacing: 2px; }
.reviews-summary p { color: var(--muted); }
.google-word { color: #4285f4; font-size: 24px; font-weight: 850; }
.reviews-area { min-width: 0; }
.review-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 3px; }
.review-carousel::-webkit-scrollbar { display: none; }
.review-card { min-height: 285px; scroll-snap-align: start; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,.72); padding: 20px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 999px; color: #fff; font-weight: 800; }
.review-head h3 { margin: 0; font-size: 14px; }
.review-head small { color: var(--muted); }
.google-dot { margin-left: auto; color: #4285f4; font-weight: 900; }
.review-card blockquote { margin: 12px 0 0; color: rgba(15,23,42,.84); font-size: 14px; line-height: 1.65; }
.review-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.review-controls button { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--primary); cursor: pointer; font-size: 25px; line-height: 1; }
.review-controls span { border-radius: 5px; background: #dff3e4; color: #0f5132; padding: 7px 11px; font-size: 12px; font-weight: 800; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.service-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-brand); }
.service-card figure { aspect-ratio: 16 / 10; margin: 0; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.service-card h3 { margin: 0; font-size: 19px; }
.service-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.service-card ul { display: grid; gap: 6px; margin: 18px 0 22px; padding: 0; list-style: none; color: rgba(15,23,42,.8); font-size: 14px; }
.service-card li { display: flex; align-items: center; gap: 9px; }
.service-card li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--primary); }
.service-card .wa-button { align-self: flex-start; margin-top: auto; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; aspect-ratio: 1; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow-soft); transition: transform .45s ease; }
.gallery-grid img:hover { transform: scale(1.025); }

.about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,1fr); align-items: center; gap: 50px; }
.about-grid .pill { margin-bottom: 14px; }
.reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; margin: 30px 0; }
.reason-grid h3 { margin: 0; font-size: 16px; }
.reason-grid p { margin: 6px 0 0; font-size: 14px; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos img { width: 100%; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow-soft); }
.about-photos .tall { height: 100%; aspect-ratio: 3 / 4; }
.about-photos div { display: grid; gap: 12px; }
.about-photos div img { aspect-ratio: 1; }

.cta-section { padding-block: 64px; }
.cta-card { border-radius: 26px; background: var(--gradient-hero); padding: clamp(36px, 6vw, 58px); color: #fff; text-align: center; box-shadow: var(--shadow-brand); }
.cta-card p { max-width: 650px; margin-inline: auto; color: rgba(255,255,255,.86); }
.cta-card .wa-button { margin-top: 28px; }

.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,1fr); gap: 38px; }
.contact-list { display: grid; gap: 19px; }
.contact-list small { display: block; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.contact-list a:not(.wa-button) { color: var(--primary); font-size: 20px; font-weight: 850; }
.contact-list p { margin: 4px 0 0; color: rgba(15,23,42,.8); }
.areas-card { border: 1px solid var(--border); border-radius: 26px; background: #fff; padding: 30px; box-shadow: var(--shadow-soft); }
.areas-card h3 { margin: 0; font-size: 22px; }
.areas-card p { color: var(--muted); line-height: 1.65; }
.areas-card ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 16px; margin: 20px 0 24px; padding: 0; list-style: none; font-size: 14px; }
.areas-card li { display: flex; align-items: center; gap: 8px; }
.areas-card li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--primary); }

.site-footer { background: var(--primary); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr; gap: 38px; padding-block: 44px; }
.site-footer p, .site-footer li, .footer-brand small { color: rgba(255,255,255,.75); }
.site-footer h4 { margin: 0; color: rgba(255,255,255,.85); font-size: 13px; letter-spacing: .13em; text-transform: uppercase; }
.site-footer ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14px; }
.footer-brand strong { color: #fff; }
.footer-brand img { box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.iso-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.iso-tags span { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.12); padding: 6px 10px; color: rgba(255,255,255,.9); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding: 16px; color: rgba(255,255,255,.65); text-align: center; font-size: 12px; }

.floating-wa { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: grid; width: 64px; height: 64px; place-items: center; border-radius: 999px; background: var(--whatsapp); color: #fff; box-shadow: 0 18px 42px rgba(34,197,94,.34); }
.floating-wa::before { content: ""; position: absolute; inset: -5px; z-index: -1; border-radius: inherit; background: var(--whatsapp); opacity: .28; animation: pulse 1.8s infinite; }
.floating-wa .wa-icon { width: 31px; height: 31px; }
@keyframes pulse { 50% { transform: scale(1.18); opacity: 0; } 100% { opacity: 0; } }

.lead-popup[hidden] { display: none; }
.lead-popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.lead-popup__backdrop { position: absolute; inset: 0; background: rgba(2,8,23,.55); backdrop-filter: blur(4px); }
.lead-popup__card { position: relative; width: min(100%, 430px); overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 30px 90px rgba(2,8,23,.38); }
.lead-popup__head { background: var(--primary); color: #fff; padding: 24px; }
.lead-popup__head span { display: inline-block; border-radius: 999px; background: rgba(255,255,255,.15); padding: 6px 11px; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.lead-popup__head h2 { margin: 14px 0 0; font-size: 25px; line-height: 1.12; }
.lead-popup__head p { margin: 10px 0 0; color: rgba(255,255,255,.85); line-height: 1.55; }
.lead-popup__body { padding: 24px; }
.lead-popup__body ul { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; color: rgba(15,23,42,.85); }
.lead-popup__body li { display: flex; gap: 9px; }
.lead-popup__body li::before { content: ""; width: 6px; height: 6px; margin-top: 7px; flex: 0 0 auto; border-radius: 999px; background: var(--primary); }
.lead-popup__body .wa-button { width: 100%; }
.lead-popup__body button { width: 100%; margin-top: 14px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; }

@media (max-width: 920px) {
  .header__inner > .wa-button { display: none; }
  .menu-toggle { display: grid; }
  .main-nav { position: fixed; inset: 119px 16px auto; z-index: 45; display: grid; gap: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-brand); transform: translateY(-14px); opacity: 0; pointer-events: none; transition: .2s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .reviews-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .reviews-summary { max-width: 360px; margin-inline: auto; }
  .card-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .iso-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar a { display: none; }
  .brand img { width: 48px; height: 48px; }
  .hero__content { padding-block: 72px 82px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions a { width: 100%; }
  .hero__stats { gap: 24px; }
  .brand-marquee { gap: 22px; }
  .brand-card { width: 132px; height: 72px; }
  .card-grid, .gallery-grid, .reason-grid, .footer-grid { grid-template-columns: 1fr; }
  .review-carousel { grid-auto-columns: 88%; }
  .about-photos { grid-template-columns: 1fr; }
  .areas-card ul { grid-template-columns: 1fr; }
  .floating-wa { width: 58px; height: 58px; right: 18px; bottom: 18px; }
}

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