:root {
  --bg: #f5f9fd;
  --surface: #ffffff;
  --surface-2: #eaf4fb;
  --text: #172136;
  --muted: #65758c;
  --brand: #1875bc;
  --brand-dark: #1f2447;
  --brand-soft: #dceeff;
  --accent: #e6a21a;
  --accent-soft: #fff2cf;
  --line: rgba(23, 33, 54, 0.12);
  --shadow: 0 22px 60px rgba(31, 36, 71, 0.16);
  --radius: 24px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 249, 253, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img { width: min(300px, 56vw); height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav-links a:not(.btn):hover { color: var(--brand); }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(23, 33, 54, 0.08);
}
.lang-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-dark);
  font-weight: 800;
  cursor: pointer;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(24, 117, 188, 0.24);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--brand-dark); box-shadow: 0 20px 40px rgba(31, 36, 71, 0.26); }
.btn-outline { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.56); box-shadow: none; }
.btn-outline:hover { background: white; color: var(--brand-dark); }
.btn-small { min-height: 42px; padding: 0 18px; box-shadow: none; }
.text-link { color: var(--brand); font-weight: 900; }
.text-link:hover { text-decoration: underline; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  background:
    radial-gradient(circle at 18% 48%, rgba(24, 117, 188, 0.74), transparent 45%),
    linear-gradient(90deg, rgba(31, 36, 71, 0.90), rgba(31, 36, 71, 0.58) 45%, rgba(31, 36, 71, 0.16));
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding-block: 110px 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.eyebrow {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  margin: 0 0 12px;
}
.hero .eyebrow { color: #bfe3ff; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.04em; }
h1 { max-width: 780px; font-size: clamp(2.65rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.hero-text {
  max-width: 690px;
  margin-top: 22px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}
.hero-stats span {
  min-width: 178px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.86);
}
.hero-stats strong { display: block; font-size: 1.25rem; color: white; }
.hero-stats em { font-style: normal; display: block; }
.hero-card {
  background: rgba(255,255,255,.95);
  color: var(--text);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.5);
}
.hero-card img { border-radius: 18px; margin-bottom: 18px; }
.hero-card p { color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.contact-lines { display: grid; gap: 10px; }
.contact-lines a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
}
.contact-lines a:first-child { background: var(--accent-soft); color: #7a4f00; font-size: 1.16rem; }

.section { padding: 92px 0; }
.section-alt { background: var(--surface-2); }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading p:not(.eyebrow), .muted { color: var(--muted); font-size: 1.06rem; }
.trust-bar { padding: 34px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-grid > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: start;
  padding: 20px;
  border-radius: 20px;
  background: #f9fcff;
  border: 1px solid var(--line);
}
.icon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}
.trust-grid p { color: var(--muted); font-size: .95rem; }
.cards, .service-grid { display: grid; gap: 18px; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(23, 33, 54, 0.06);
}
.service-card {
  padding: 28px;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card p { color: var(--muted); }
.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--brand-soft);
  font-size: 1.5rem;
}
.cta-card {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: white;
}
.cta-card p { color: rgba(255,255,255,.82); }
.cta-card .text-link { color: white; }

.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.compare-card { overflow: hidden; }
.compare {
  --compare-position: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9e4e9;
  cursor: ew-resize;
  touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.compare-before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(31, 36, 71, .18), 0 0 22px rgba(0,0,0,.25);
  pointer-events: none;
  z-index: 4;
}
.compare-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
  box-shadow: var(--shadow);
}
.compare-range {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  width: calc(100% - 36px);
  accent-color: var(--accent);
  z-index: 5;
  cursor: ew-resize;
}
.label {
  position: absolute;
  top: 16px;
  z-index: 6;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 36, 71, .78);
  color: white;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.label-before { left: 16px; }
.label-after { right: 16px; background: rgba(24, 117, 188, .86); }
.compare-copy { padding: 24px; }
.compare-copy p { margin-top: 8px; color: var(--muted); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  background: #d8e4e9;
  box-shadow: 0 12px 34px rgba(23, 33, 54, 0.08);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: white;
  background: rgba(31, 36, 71, .72);
  backdrop-filter: blur(10px);
  font-size: .82rem;
  font-weight: 900;
}

.process-section { background: var(--brand-dark); color: white; }
.process-section .eyebrow { color: #bfe3ff; }
.process-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: start;
}
.process-layout .muted { color: rgba(255,255,255,.72); margin-top: 16px; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.steps li {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}
.steps strong { display: block; margin-bottom: 8px; font-size: 1.08rem; }
.steps span { color: rgba(255,255,255,.74); }

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; margin-top: 16px; }
.contact-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.contact-card a { color: var(--brand); font-weight: 900; }
.quote-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.quote-form label { display: grid; gap: 8px; color: var(--brand-dark); font-weight: 800; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(24, 117, 188, .12);
}
.form-note { color: var(--muted); font-size: .92rem; }

.footer {
  background: #111827;
  color: white;
  padding: 42px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px;
  align-items: center;
}
.footer-logo { width: 240px; border-radius: 18px; margin-bottom: 12px; }
.footer p, .footer small { color: rgba(255,255,255,.68); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 20px; color: rgba(255,255,255,.76); font-weight: 800; }
.footer-links a:hover { color: white; }
.footer small { grid-column: 1 / -1; }
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #25D366;
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(37, 211, 102, .34);
}

@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a, .nav-links .btn, .nav-links .lang-toggle { justify-content: center; text-align: center; width: 100%; }
  .hero-content, .process-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .trust-grid, .service-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand img { width: 230px; }
  .hero { min-height: auto; }
  .hero-content { padding-block: 86px 54px; }
  .hero-card { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-stats span { width: 100%; }
  .section { padding: 66px 0; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: auto; grid-row: auto; }
  .quote-form { grid-template-columns: 1fr; padding: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .whatsapp-float { left: 18px; right: 18px; }
}
