@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/source-sans-3-500.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-700.woff2") format("woff2");
}

:root {
  --bg: #f4f1ea;
  --surface: #fffcf8;
  --ink: #142033;
  --muted: #3e5066;
  --navy: #0c1e36;
  --navy-2: #163154;
  --brand: #0e5f96;
  --brand-bright: #1a7ec4;
  --line: #e3d9cc;
  --sand: #efe6d8;
  --header: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Source Sans 3", "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}
.skip:focus { top: 12px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: #fff;
  padding-top: env(safe-area-inset-top, 0px);
}
.bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}
.brand-name {
  display: block;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 14px;
  line-height: 1.15;
}
.brand-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #c9d7ea;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 14px/1 "Source Sans 3", sans-serif;
  cursor: pointer;
}
.bars { display: flex; flex-direction: column; gap: 4px; }
.bars span { display: block; width: 16px; height: 2px; background: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-bright);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 600 16px/1 "Source Sans 3", sans-serif;
}
.btn:hover { background: #1590de; }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-2); }

.hero {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(26, 126, 196, 0.35), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 48px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: end;
}
.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ec8ee;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 74px);
  font-weight: 700;
  max-width: 11ch;
}
.lede {
  max-width: 46ch;
  margin: 18px 0 0;
  color: #d5e2f2;
  font-size: 18.5px;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.route {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
}
.route span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.route i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 4px rgba(26, 126, 196, 0.28);
}
.route .line {
  flex: 1;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.35);
  margin: 0 14px;
  min-width: 18px;
}

.office-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.office-card h2 { font-size: 30px; margin-bottom: 8px; }
.office-card address { font-style: normal; margin-bottom: 18px; }
.office-card address a { color: var(--brand); font-weight: 600; }
.contact-line { display: block; padding-top: 14px; border-top: 1px solid var(--line); text-decoration: none; }
.contact-line + .contact-line { margin-top: 12px; }
.contact-line small { display: block; color: var(--muted); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.contact-line strong { display: block; font-size: 20px; font-weight: 600; margin-top: 2px; }
.contact-line:hover strong { color: var(--brand); }

section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2, .prose h1 { font-size: clamp(34px, 4vw, 52px); }
.section-head p, .intro { margin: 12px 0 0; color: var(--muted); }

.service-grid, .reason-grid, .steps, .value-grid, .contact-grid, .listing-grid {
  display: grid;
  gap: 18px;
}
.service-grid { grid-template-columns: 1fr 1fr; }
.card, .reason, .step, .value, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.card { display: flex; flex-direction: column; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card h3, .reason h3, .value h3 { font-size: 28px; margin-bottom: 8px; }
.card p, .reason p, .step p, .value p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 20px; list-style: none; }
.tags li {
  background: var(--sand);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 600;
}
.card .btn { align-self: flex-start; }

.band { background: #e7f1f8; }
.listing-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.listing {
  display: grid;
  grid-template-columns: 210px 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  min-height: 100%;
}
.listing-visual {
  background: var(--navy);
  color: #fff;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.listing-visual p { margin: 0; }
.listing-status {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ec8ee;
}
.listing-area {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.listing-place { color: #d5e2f2; font-size: 14px; }
.listing-body { padding: 22px 22px 20px; display: flex; flex-direction: column; }
.listing-body h3 { font-size: 28px; margin-bottom: 8px; }
.listing-body p { margin: 0 0 14px; color: var(--muted); }
.listing-body .btn { margin-top: auto; align-self: flex-start; }
.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.banner-section { padding: 36px 0 12px; }
.banner { margin: 0; }
.banner-scroll {
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 18px 46px rgba(12, 30, 54, 0.16);
  line-height: 0;
}
.banner-scroll img { width: 100%; height: auto; display: block; }
.banner-hint {
  display: none;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 14px;
  margin-top: 14px;
}
.gallery a {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 18px;
}
.gallery figure {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  background: var(--navy);
}
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.gallery a:first-child img { object-position: center 30%; }
.gallery a:nth-child(2) img { object-position: center 42%; }
.gallery a:nth-child(3) img { object-position: center 45%; }
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 16px 14px;
  background: linear-gradient(transparent, rgba(8, 22, 40, 0.88));
  color: #fff;
}
.gallery figcaption strong {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}
.gallery figcaption span { font-size: 13px; letter-spacing: 0.03em; color: #d5e2f2; }
.gallery a:hover img { transform: scale(1.03); }
.gallery img { transition: transform 0.35s ease; }

.reason-grid { grid-template-columns: repeat(4, 1fr); }
.reason span {
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.steps { grid-template-columns: repeat(3, 1fr); }
.step-num {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  color: var(--brand);
  margin-bottom: 8px;
}
.step h3 { font-size: 24px; margin-bottom: 8px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.value-grid { grid-template-columns: 1fr; }
.value { padding: 20px 22px; }
.value h3 { font-size: 22px; }

.contact { background: var(--navy); color: #fff; }
.contact .section-head p, .contact .intro { color: #d5e2f2; }
.contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }
.contact dt { margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9ec8ee; }
.contact dd { margin: 2px 0 0; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.qr {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 10px 14px 10px 10px;
  max-width: 360px;
}
.qr img { width: 96px; height: auto; border-radius: 8px; }
.qr p { margin: 0; font-size: 14px; font-weight: 600; }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  font: 400 16px/1.4 "Source Sans 3", sans-serif;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9d3e0;
  border-radius: 12px;
  padding: 12px 14px;
}
textarea { min-height: 110px; resize: vertical; }
.fine { margin: 0; font-size: 14px; font-weight: 400; color: #d5e2f2; }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
#form-estado { min-height: 1.4em; margin: 0; font-weight: 600; }

.site-footer {
  background: #081628;
  color: #c5d3e6;
  padding: 28px 0 calc(96px + env(safe-area-inset-bottom, 0px));
  font-size: 14px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-footer a { color: #fff; }
.wa {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 15;
  background: #1faa59;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wa:hover { background: #18964e; }
.wa.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }

.page-hero { padding: 48px 0 10px; }
.prose { width: min(740px, 100%); margin-inline: auto; padding-bottom: 72px; }
.prose h1 { margin-bottom: 12px; }
.prose h2 { font-size: 30px; margin: 32px 0 8px; }
.prose p, .prose li { font-size: 17px; }
.prose ul { margin: 8px 0 0; padding-left: 20px; }
.prose a { color: var(--brand); }

@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .reason-grid { grid-template-columns: 1fr 1fr; }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: 14ch; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 20px 18px;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav.is-open {
    display: flex;
    min-height: calc(100dvh - var(--header) - env(safe-area-inset-top, 0px));
    background: #102743;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  }
  .nav a { padding: 12px 0; }
  .nav .btn { margin-top: 6px; }
  .hero-grid, .service-grid, .listing-grid, .steps, .split, .contact-grid, .reason-grid {
    grid-template-columns: 1fr;
  }
  .listing { grid-template-columns: 1fr; }
  .listing-visual { min-height: 120px; }
  section { padding: 56px 0; }
  .brand-sub { display: none; }
  .banner-section { padding: 20px 0 8px; }
  form { margin-bottom: 12px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 220px; }
  .banner-hint { display: block; }
  .banner-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .banner-scroll img { width: 880px; max-width: none; }
}
@media (max-width: 520px) {
  .route { font-size: 14px; }
  .hero { padding-top: 28px; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}
