:root {
  --brand: #f5832a;
  --brand-strong: #e96e12;
  --brand-soft: #fff3e9;
  --ink: #171717;
  --muted: #66645f;
  --line: #e8e2dc;
  --paper: #fffdfb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(27, 23, 18, .10);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { 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(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--brand-strong);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 251, .92);
  border-bottom: 1px solid rgba(232, 226, 220, .9);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img { width: 248px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .95rem; font-weight: 650; }
.nav a { position: relative; }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  background: var(--brand);
  transition: right .2s ease;
}
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.menu-btn { display: none; border: 0; background: transparent; padding: 10px; border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; width: 25px; height: 2px; background: var(--ink); margin: 5px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 19px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #15120f; box-shadow: 0 10px 28px rgba(245, 131, 42, .25); }
.btn-primary:hover { background: #ff933f; }
.btn-dark { background: var(--ink); color: white; }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.72); }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,131,42,.18) 0, rgba(245,131,42,0) 68%);
  right: -120px;
  top: -180px;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; }
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: .94;
  letter-spacing: -.055em;
  max-width: 820px;
}
.hero h1 span { color: var(--brand); }
.hero-lead { max-width: 680px; margin: 24px 0 0; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: #4f4c47; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--muted); font-size: .94rem; }
.hero-trust strong { color: var(--ink); }

.hero-visual {
  position: relative;
  min-height: 550px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,0)),
    linear-gradient(145deg, #f9a25f, #f47d20 58%, #dd6410);
}
.city-grid { position: absolute; inset: 0; opacity: .21; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 38px 38px; }
.hero-house {
  position: absolute;
  inset: 58px 52px auto 52px;
  min-height: 400px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-house img { width: min(100%, 460px); margin-inline: auto; }
.hero-house .tagline { margin-top: 26px; font-size: 1.22rem; font-weight: 800; line-height: 1.25; }
.hero-house small { color: var(--muted); }
.floating-card {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: min(260px, 72%);
  background: #171717;
  color: white;
  border-radius: 20px;
  padding: 17px 18px;
  box-shadow: 0 22px 45px rgba(0,0,0,.22);
}
.floating-card strong { display: block; font-size: 1.15rem; }
.floating-card span { color: #d8d3cd; font-size: .9rem; }

.stats { padding: 20px 0 72px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.stat { padding: 28px 30px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .94rem; }

.section { padding: 92px 0; }
.section-muted { background: #f7f2ed; }
.section-dark { background: #171717; color: white; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section h2 { margin: 0; font-size: clamp(2.15rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; }
.section-head p { margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #c8c3bd; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .22s ease, box-shadow .22s ease;
}
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon-disc { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
.icon-disc svg { width: 26px; height: 26px; }
.audience-card h3 { margin: 24px 0 8px; font-size: 1.55rem; letter-spacing: -.025em; }
.audience-card p { margin: 0 0 24px; color: var(--muted); }
.text-link { margin-top: auto; font-weight: 800; color: var(--brand-strong); }

.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: center; }
.story-image { position: relative; min-height: 500px; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.story-image img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; object-position: center; }
.story-image::after { content: "30 años"; position: absolute; left: 22px; bottom: 22px; background: var(--ink); color: white; border-radius: 999px; padding: 10px 15px; font-weight: 850; }
.story-copy h2 { margin-bottom: 22px; }
.story-copy p { color: var(--muted); font-size: 1.06rem; }
.checks { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); font-weight: 900; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service { padding: 26px 0; border-top: 1px solid #3a3937; display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.service-num { color: var(--brand); font-weight: 900; }
.service h3 { margin: 0 0 7px; font-size: 1.35rem; }
.service p { margin: 0; color: #beb9b4; }

.market-box {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}
.market-copy, .market-aside { border-radius: var(--radius); padding: clamp(28px, 5vw, 54px); }
.market-copy { background: white; border: 1px solid var(--line); }
.market-copy p { color: var(--muted); font-size: 1.05rem; }
.market-aside { background: var(--brand); color: #17120e; }
.market-aside h3 { margin-top: 0; font-size: 2rem; line-height: 1.05; letter-spacing: -.035em; }
.market-aside ul { padding-left: 20px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { background: white; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; min-height: 330px; }
.news-thumb { min-height: 150px; padding: 22px; background: linear-gradient(135deg, #ffd6b8, #f5832a); display: flex; align-items: end; }
.news-thumb span { display: inline-flex; background: rgba(255,255,255,.9); padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.news-body { padding: 23px; display: flex; flex-direction: column; flex: 1; }
.news-body time { color: var(--muted); font-size: .84rem; }
.news-body h3 { margin: 9px 0 10px; font-size: 1.3rem; line-height: 1.2; }
.news-body p { margin: 0 0 20px; color: var(--muted); }
.news-body .text-link { margin-top: auto; }

.contact-wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; align-items: stretch; }
.contact-main { background: var(--ink); color: white; border-radius: 30px; padding: clamp(30px, 6vw, 62px); }
.contact-main h2 { max-width: 640px; }
.contact-main p { color: #c7c2bc; max-width: 600px; }
.contact-list { display: grid; gap: 12px; margin: 30px 0; }
.contact-item { display: flex; gap: 13px; align-items: center; }
.contact-item svg { color: var(--brand); flex: 0 0 auto; }
.contact-card { border: 1px solid var(--line); background: white; border-radius: 30px; padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.contact-card img { width: min(220px, 80%); border-radius: 16px; }
.contact-card h3 { margin: 18px 0 5px; }
.contact-card p { margin: 0; color: var(--muted); }

.footer { padding: 42px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 32px; }
.footer-logo { width: 230px; }
.footer p, .footer a { color: var(--muted); }
.footer strong { display: block; margin-bottom: 8px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: white;
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
}
.whatsapp-fab svg { width: 28px; height: 28px; }

.article-hero { padding: 78px 0 42px; }
.article-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.7rem, 7vw, 5.7rem); line-height: .98; letter-spacing: -.05em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); margin-top: 18px; }
.article { width: min(calc(100% - 36px), 820px); margin: 0 auto 90px; }
.article p, .article li { font-size: 1.08rem; color: #4f4c47; }
.article h2 { margin-top: 44px; font-size: 2rem; letter-spacing: -.03em; }
.article-callout { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 20px 24px; border-radius: 0 16px 16px 0; margin: 30px 0; }
.article-nav { margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line); }

@media (max-width: 940px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 18px; right: 18px; top: 78px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav .btn { width: 100%; }
  .hero-grid, .story-grid, .market-box, .contact-wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .hero-visual { min-height: 470px; }
  .audience-grid, .news-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: auto; }
  .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 190px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 420px; border-radius: 25px; }
  .hero-house { inset: 30px 22px auto; min-height: 330px; padding: 24px; }
  .floating-card { left: 22px; right: 22px; bottom: 18px; width: auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .story-image, .story-image img { min-height: 390px; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-fab { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
