:root {
  --navy: #1d3557;
  --navy-dark: #142740;
  --green: #3d7a1e;
  --green-light: #e8f1e1;
  --sky: #f3f3f2;           /* matches the sky in the card illustration */
  --bg: #ffffff;
  --bg-alt: #f6f7f5;
  --text: #1c2430;
  --muted: #5b6573;
  --line: #e3e6e1;
  --radius: 18px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-weight: 900; font-size: 26px; letter-spacing: .08em; color: var(--navy); text-decoration: none; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--navy); transition: background .15s, transform .15s; }
.btn:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: #25a35a; border-color: #25a35a; }
.btn-whatsapp:hover { background: #1d8a4b; }

/* Hero */
.hero { padding: 28px 0 0; }
.hero-card { background: var(--sky); border-radius: 28px; overflow: hidden; position: relative; }
.hero-text { padding: 56px 56px 0; max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-brand { margin: 0 0 18px; font-weight: 900; font-size: clamp(44px, 7vw, 80px); line-height: 1; letter-spacing: .08em; color: var(--navy); }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: var(--green-light); color: var(--green); font-weight: 700; font-size: 14px; }
h1 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.08; margin: 0 0 16px; color: var(--navy); letter-spacing: -.02em; font-weight: 850; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin: 0 auto 26px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-img { width: 100%; height: auto; margin-top: -40px; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
h2 { font-size: clamp(26px, 3.2vw, 38px); color: var(--navy); margin: 0 0 10px; letter-spacing: -.01em; line-height: 1.15; }
.section-intro { color: var(--muted); margin: 0 0 36px; max-width: 640px; font-size: 17px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.service h3 { margin: 16px 0 8px; font-size: 19px; color: var(--navy); }
.service p { margin: 0; color: var(--muted); font-size: 15px; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green-light); display: grid; place-items: center; }
.service-icon svg, .ci svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Filters + gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #ddd; aspect-ratio: 4 / 5; }
.gallery figure.is-hidden { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-weight: 600; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }

/* Before / after */
.compare-grid { display: grid; grid-template-columns: minmax(0, 560px); gap: 24px; }
.compare { margin: 0; }
.compare figcaption { margin-top: 10px; font-weight: 700; color: var(--navy); }
.compare-box { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: #ddd; }
.compare-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-box::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.35); pointer-events: none; }
.compare-box input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.tag { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 700; pointer-events: none; }
.tag-l { left: 14px; } .tag-r { right: 14px; }

/* Contact */
.section-contact { background: var(--navy); color: #fff; }
.section-contact h2 { color: #fff; }
.section-contact .section-intro { color: #c9d3e0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list small { display: block; color: #9fb0c6; font-size: 13px; }
.contact-list a { text-decoration: none; font-weight: 700; font-size: 18px; }
.contact-list a:hover { text-decoration: underline; }
.ci { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.ci svg { stroke: #9fdc7c; }
.section-contact .hero-actions { justify-content: flex-start; }
.section-contact .btn { background: #fff; color: var(--navy); border-color: #fff; }
.section-contact .btn-whatsapp { background: #25a35a; border-color: #25a35a; color: #fff; }
.section-contact .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* Footer */
.site-footer { background: var(--navy-dark); color: #9fb0c6; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding: 22px 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,15,25,.94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Legal pages */
.legal { max-width: 760px; padding: 60px 20px 80px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin-top: 32px; }

/* Responsive */
@media (max-width: 980px) {
  .services { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  }
@media (max-width: 720px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero { padding-top: 16px; }
  .hero-card { border-radius: 20px; }
  .hero-text { padding: 36px 20px 0; }
  .hero-img { margin-top: 0; }
  .section { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}
