/* ============================================================
   Build to Rent — Sistema de diseño
   Paleta: azul marino (#163a5f) + oro (#c19a5b) sobre blanco
   Tipografía: Georgia (display) + system-ui (body)
   ============================================================ */

:root {
  --primary: #163a5f;
  --primary-dark: #0f2942;
  --primary-700: #12325a;
  --accent: #c19a5b;
  --accent-dark: #a67f42;
  --ink: #1b2733;
  --ink-soft: #435160;
  --muted: #6a7683;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-tint: #eef2f7;
  --gold-tint: #f7f1e6;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(22, 58, 95, .06);
  --shadow-md: 0 12px 34px rgba(22, 58, 95, .12);
  --shadow-lg: 0 26px 60px rgba(15, 41, 66, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 78px;
  --ff-display: Georgia, "Times New Roman", "PT Serif", serif;
  --ff-body: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--primary);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.4rem);
}
.prose { max-width: 72ch; margin-inline: auto; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--primary); }
.prose strong { color: var(--ink); }

section { position: relative; }
.section { padding: clamp(3.4rem, 8vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%); }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .9rem;
}
.section-head { max-width: 66ch; margin-bottom: 2.6rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.55rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--accent); color: #22160a; }
.btn-gold:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--primary); border-color: var(--primary); background: transparent; }
.btn-ghost:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }
/* Variantes sobre fondo oscuro */
.section-dark .btn-ghost, .cta-final .btn-ghost, .cta-band .btn-ghost, .hero-dark .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.5);
}
.section-dark .btn-ghost:hover, .cta-final .btn-ghost:hover, .cta-band .btn-ghost:hover {
  background: rgba(255,255,255,.12); border-color: #fff; color:#fff;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--primary); color: #fff; padding: .7rem 1.1rem; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(22,58,95,.07); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: grid; place-items: center; color: #fff;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem;
  border: 1px solid rgba(193,154,91,.5);
}
.brand__mark span { background: linear-gradient(180deg,#f2d9a8,#c19a5b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name b { font-family: var(--ff-display); font-size: 1.18rem; color: var(--primary); letter-spacing: -.01em; }
.brand__name small { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu a, .nav-dropdown__toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .85rem; border-radius: 8px; font-weight: 600; font-size: .97rem;
  color: var(--ink); white-space: nowrap; border: none; background: none; cursor: pointer;
  font-family: var(--ff-body);
  transition: color .18s ease, background .18s ease;
}
.nav-menu a:hover, .nav-dropdown__toggle:hover, .nav-menu a[aria-current="page"] { color: var(--primary); background: var(--bg-tint); }
.nav-dropdown__toggle svg { width: .8em; height: .8em; transition: transform .2s ease; }
.nav-dropdown.is-open .nav-dropdown__toggle svg { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .6rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { display: flex; flex-direction: column; gap: .15rem; padding: .6rem .8rem; border-radius: 9px; }
.dropdown-panel a b { font-family: var(--ff-body); font-size: .96rem; color: var(--primary); }
.dropdown-panel a span { font-size: .82rem; color: var(--muted); font-weight: 400; }

.nav-actions { display: flex; align-items: center; gap: .7rem; flex: none; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--primary); font-size: .97rem; }
.nav-phone svg { width: 1.05em; height: 1.05em; color: var(--accent-dark); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); margin-inline: auto; transition: transform .28s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { display: none; }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-panel {
    position: fixed; top: var(--header-h); right: 0;
    width: min(360px, 88vw); height: calc(100vh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    background: #fff; border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; padding: 1.2rem 1.2rem 3rem; z-index: 120;
  }
  .nav-panel.is-open { transform: translateX(0); }
  .nav-menu { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-menu a, .nav-dropdown__toggle { width: 100%; justify-content: space-between; padding: .85rem .7rem; font-size: 1.05rem; }
  .nav-menu > li { border-bottom: 1px solid var(--bg-soft); }
  .dropdown-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; min-width: 0; padding: 0 0 .4rem .6rem;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-dropdown.is-open .dropdown-panel { max-height: 640px; }
  .nav-dropdown:hover .dropdown-panel:not(.is-forced) { opacity: 1; }
  .nav-actions .nav-phone { display: none; }
  .nav-menu a[aria-current="page"], .nav-dropdown__toggle[aria-current="page"] { color: var(--primary); background: var(--bg-tint); }
  .nav-backdrop.is-open {
    display: block; position: fixed; inset: var(--header-h) 0 0 0;
    background: rgba(15,41,66,.4); z-index: 110; backdrop-filter: blur(2px);
  }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding: 1.1rem 0 .2rem; font-size: .88rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; gap: .4rem; }
.breadcrumb li::after { content: "›"; color: var(--line); margin-left: .4rem; }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--ink-soft); font-weight: 600; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(2.4rem, 5vw, 4.2rem) 0 clamp(3rem, 6vw, 5rem); background:
    radial-gradient(1200px 500px at 88% -8%, #eef3f9 0%, rgba(238,243,249,0) 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--gold-tint);
  color: var(--accent-dark); font-weight: 600; font-size: .84rem; padding: .45rem .9rem;
  border-radius: 50px; border: 1px solid rgba(193,154,91,.35); margin-bottom: 1.3rem;
}
.hero__badge b { color: var(--primary); }
.hero h1 { margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero__lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 40ch; }
.hero__entity { font-size: 1rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 1rem; margin: 1.4rem 0 1.8rem; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.hero-rating { display: flex; align-items: center; gap: .7rem; font-size: .95rem; color: var(--ink-soft); }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-figure__stat {
  position: absolute; left: -18px; bottom: -22px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 1rem 1.3rem; border: 1px solid var(--line);
  display: flex; align-items: center; gap: .85rem;
}
.hero-figure__stat b { font-family: var(--ff-display); font-size: 1.9rem; color: var(--primary); line-height: 1; }
.hero-figure__stat span { font-size: .82rem; color: var(--muted); max-width: 14ch; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-figure { order: -1; }
  .hero-figure__stat { left: auto; right: 12px; bottom: -18px; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar { background: var(--primary); color: #fff; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2.2rem 0; }
.trust-item { display: flex; align-items: center; gap: .9rem; }
.trust-item svg { width: 34px; height: 34px; color: var(--accent); flex: none; }
.trust-item b { display: block; font-family: var(--ff-display); font-size: 1.6rem; line-height: 1; color: #fff; }
.trust-item span { font-size: .86rem; color: #bcd0e2; }
@media (max-width: 760px) { .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; } }

/* ============================================================
   SERVICIOS
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards-grid, .cards-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards-grid, .cards-grid--2 { grid-template-columns: 1fr; } }

.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(193,154,91,.5); }
.service-card__icon {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--primary); margin-bottom: 1.1rem;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.service-card__link { margin-top: 1.1rem; font-weight: 700; color: var(--accent-dark); display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; }
.service-card__link svg { width: 1em; height: 1em; transition: transform .2s ease; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }
.service-card--star {
  background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff;
  border-color: transparent;
}
.service-card--star h3, .service-card--star .service-card__icon { color: #fff; }
.service-card--star .service-card__icon { background: rgba(255,255,255,.12); }
.service-card--star p { color: #cddbe8; }
.service-card--star .service-card__link { color: var(--accent); }
.service-card__tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: #22160a; padding: .3rem .7rem; border-radius: 50px; margin-bottom: 1rem; }

/* ---------- Tarjetas de acceso (imagen + overlay) ---------- */
.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .access-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .access-grid { grid-template-columns: 1fr; } }
.access-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.access-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.access-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(15,41,66,.92) 0%, rgba(15,41,66,.5) 45%, rgba(15,41,66,.15) 100%); }
.access-card:hover img { transform: scale(1.06); }
.access-card__body { padding: 1.6rem; }
.access-card h3 { color: #fff; margin-bottom: .4rem; }
.access-card p { color: #d5e0ec; font-size: .95rem; margin-bottom: .9rem; }
.access-card__btn { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: #fff; font-size: .95rem; }
.access-card__btn svg { width: 1em; height: 1em; color: var(--accent); }

/* ============================================================
   VENTAJAS
   ============================================================ */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.4rem; }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 1.1rem; }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-tint); color: var(--accent-dark); display: grid; place-items: center; flex: none; border: 1px solid rgba(193,154,91,.3); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.feature p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ============================================================
   SOBRE NOSOTROS / EQUIPO
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,4vw,3.4rem); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-figure { position: relative; }
.about-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-figure figcaption { margin-top: .9rem; font-size: .9rem; color: var(--muted); text-align: center; }
.about-figure figcaption b { color: var(--primary); font-family: var(--ff-display); }
.signature { font-family: var(--ff-display); font-style: italic; font-size: 1.5rem; color: var(--primary); margin-top: 1.2rem; }

/* ============================================================
   TL;DR / CALLOUTS / VS TABLE
   ============================================================ */
.tldr { background: var(--gold-tint); border-left: 4px solid var(--accent); padding: 1.1rem 1.3rem; margin: 1.6rem 0; border-radius: 6px; }
.tldr-label { font-weight: 700; letter-spacing: .08em; font-size: .78rem; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 .5rem; }
.tldr ul { margin: 0; padding-left: 1.2rem; }
.tldr li { margin-bottom: .35rem; color: var(--ink); }
.tldr li:last-child { margin-bottom: 0; }

.callout-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 1.8rem 0; }
.callout-box h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.callout-box p:last-child { margin-bottom: 0; }

.vs-comparison { margin: 2rem 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.vs-table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 480px; background: #fff; }
.vs-table th, .vs-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.vs-table thead th { background: var(--primary); color: #fff; font-family: var(--ff-body); font-weight: 700; }
.vs-table thead th:first-child { border-top-left-radius: var(--radius); }
.vs-table thead th:last-child { border-top-right-radius: var(--radius); }
.vs-table tbody th { color: var(--primary); font-weight: 700; background: var(--bg-soft); }
.vs-table tbody tr:last-child td, .vs-table tbody tr:last-child th { border-bottom: none; }
.vs-table td strong { color: var(--accent-dark); }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review-card .stars { margin-bottom: .8rem; }
.review-card blockquote { margin: 0 0 1.2rem; font-size: 1rem; color: var(--ink); line-height: 1.6; flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--ff-display); flex: none; }
.review-card figcaption b { display: block; color: var(--primary); font-size: .95rem; }
.review-card figcaption span { font-size: .82rem; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgba(193,154,91,.5); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 700; color: var(--primary); font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--accent-dark); font-weight: 400; transition: transform .2s ease; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ============================================================
   ZONAS
   ============================================================ */
.zone-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: .5rem 1.1rem; font-size: .92rem; color: var(--ink-soft); font-weight: 500; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.chip:hover { border-color: var(--accent); color: var(--primary); background: var(--gold-tint); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final, .section-dark { background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; }
.cta-final h2, .section-dark h2, .section-dark h3 { color: #fff; }
.cta-final .lead, .section-dark .lead { color: #cddbe8; }
.cta-final .eyebrow { color: var(--accent); }
.cta-band { text-align: center; }
.cta-band__inner { max-width: 720px; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.8rem; }

/* ============================================================
   FORMULARIO
   ============================================================ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.3rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; padding: .8rem .95rem; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(193,154,91,.2); }
.field textarea { resize: vertical; min-height: 130px; }
.field-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--muted); }
.field-consent input { width: 18px; height: 18px; flex: none; margin-top: .15rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-md); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,4vw,3.4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info-list svg { width: 24px; height: 24px; color: var(--accent-dark); flex: none; margin-top: .15rem; }
.contact-info-list b { display: block; color: var(--primary); }
.contact-info-list a { color: var(--ink-soft); }
.contact-info-list a:hover { color: var(--primary); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card a { color: inherit; display: block; }
.blog-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--bg-tint); }
.blog-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.blog-card__category { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .6rem; }
.blog-card__title { font-size: 1.25rem; margin-bottom: .5rem; line-height: 1.25; }
.blog-card__excerpt { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.blog-card__meta { display: flex; gap: 1rem; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; }
.blog-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); font-size: 1.1rem; }
/* Skeleton */
.skeleton-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.skeleton-card .sk { background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 50%, #eef2f7 75%); background-size: 200% 100%; animation: skpulse 1.4s ease infinite; }
.skeleton-card .sk-img { aspect-ratio: 16/9; }
.skeleton-card .sk-body { padding: 1.3rem 1.4rem; }
.skeleton-card .sk-line { height: 14px; border-radius: 6px; margin-bottom: .7rem; }
.skeleton-card .sk-line.w40 { width: 40%; } .skeleton-card .sk-line.w80 { width: 80%; } .skeleton-card .sk-line.w60 { width: 60%; }
@keyframes skpulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: linear-gradient(180deg, var(--primary-dark) 0%, #0a1a2c 100%); color: #b8c4d2; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.4rem; padding: clamp(3rem,6vw,4.6rem) 0 2.4rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand__name b { color: #fff; }
.footer-brand .brand__name small { color: #8fa2b5; }
.footer-brand p { font-size: .92rem; color: #93a4b6; margin: 1rem 0 1.2rem; max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; color: #b8c4d2; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.footer-social a:hover { background: var(--accent); color: #22160a; border-color: var(--accent); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-family: var(--ff-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: #b8c4d2; font-size: .93rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; font-size: .93rem; color: #b8c4d2; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: .2rem; }
.footer-contact a { color: #b8c4d2; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .84rem; color: #8194a7; }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom__links a { color: #8194a7; }
.footer-bottom__links a:hover { color: var(--accent); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
@keyframes tmPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }
.tm-whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999999;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); animation: tmPulse 2s infinite; transition: transform .2s ease;
}
.tm-whatsapp-float:hover { transform: scale(1.1); }
.tm-whatsapp-float:focus-visible { outline: 3px solid #25D366; outline-offset: 3px; }
.tm-whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js .reveal { transform: translateY(22px); transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s ease; opacity: 1; }
.js .reveal.is-visible { transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

.updated-note { text-align: center; color: var(--muted); font-size: .88rem; padding: 2rem 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tm-whatsapp-float { animation: none; }
}

@media (max-width: 560px) {
  .nav-actions .btn-gold { display: none; }
}
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 600px; }
