@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ================================================================
   SCENTRO — Sistema de diseño
   Navy #111b33 · Gold #d4a853 · DM Serif Display + DM Sans
   Imágenes de fondo: siempre bajo un degradado navy, de modo que
   si el archivo aún no existe, el degradado sostiene el diseño.
   ================================================================ */

:root {
  --navy: #111b33;
  --navy-soft: #1a2743;
  --gold: #d4a853;
  --gold-deep: #a9791f;
  --sky: #4a7fb5;
  --offwhite: #f5f5f0;
  --charcoal: #2a2a2a;
  --muted: #6f6f68;
  --hair: #e2e1da;
  --white: #ffffff;
  --nav-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------- Tipografía base ---------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow.on-dark { color: var(--gold); }

.section-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 18px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-deep);
}

.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}

/* ---------------- Botones ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: #e0b968; }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn-navy:hover { background: var(--navy); color: var(--white); }

/* ---------------- Navegación ---------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(17, 27, 51, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { line-height: 1.1; }

.brand-word {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.brand-word span { color: var(--gold); }

.brand-sub {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.nav-links a:hover { color: var(--gold); }

.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta { padding: 11px 24px; font-size: 13px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------------- Héroe ---------------- */

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  padding: calc(var(--nav-h) + 60px) 0 90px;
  color: var(--white);
}

.hero.hero-sub { min-height: 68vh; }

.hero-home {
  background-image:
    linear-gradient(100deg, rgba(17,27,51,0.97) 0%, rgba(17,27,51,0.9) 46%, rgba(17,27,51,0.42) 100%),
    url('../images/hero-home.jpg');
}

.hero-servicios {
  background-image:
    linear-gradient(100deg, rgba(17,27,51,0.94) 0%, rgba(17,27,51,0.78) 46%, rgba(17,27,51,0.45) 100%),
    url('../images/hero-servicios.jpg');
}

.hero-metodo {
  background-image:
    linear-gradient(100deg, rgba(17,27,51,0.94) 0%, rgba(17,27,51,0.78) 46%, rgba(17,27,51,0.45) 100%),
    url('../images/hero-metodo.jpg');
}

.hero-casos {
  background-image:
    linear-gradient(100deg, rgba(17,27,51,0.94) 0%, rgba(17,27,51,0.78) 46%, rgba(17,27,51,0.45) 100%),
    url('../images/hero-casos.jpg');
}

.hero-contacto {
  background-image:
    linear-gradient(115deg, rgba(17,27,51,0.95) 0%, rgba(17,27,51,0.8) 55%, rgba(17,27,51,0.55) 100%),
    url('../images/hero-contacto.jpg');
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.5px;
  margin: 0 0 30px;
  max-width: 15ch;
}

.hero-sub .hero-title { font-size: clamp(38px, 5.4vw, 66px); }

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: 17.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

/* Etiqueta vertical, guiño al gesto de HERA */
.scroll-label {
  position: absolute;
  right: 34px;
  bottom: 90px;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.scroll-label::after {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  background: var(--gold);
  margin: 18px auto 0;
}

/* ---------------- Secciones ---------------- */

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-off { background: var(--offwhite); }

.section-head { max-width: 680px; margin-bottom: 56px; }

/* ---------------- Banda de cita (interludio) ---------------- */

.band {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  padding: 150px 28px;
  text-align: center;
  color: var(--white);
}

.band-promesa {
  background-image:
    linear-gradient(rgba(17,27,51,0.82), rgba(17,27,51,0.82)),
    url('../images/band-promesa.jpg');
}

.band-mercados {
  background-image:
    linear-gradient(rgba(17,27,51,0.84), rgba(17,27,51,0.84)),
    url('../images/band-mercados.jpg');
}

.band-quote {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.4;
  max-width: 21ch;
  margin: 0 auto;
}

.band-quote em {
  color: var(--gold);
  font-style: normal;
}

.band-attrib {
  margin-top: 34px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ---------------- Tarjetas de soluciones (inicio) ---------------- */

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sol-card {
  background: var(--offwhite);
  border-radius: 4px;
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(17,27,51,0.1);
}

.sol-num {
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.sol-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 21px;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.sol-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.sol-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------------- Manifiesto dos columnas (inicio) ---------------- */

.mani-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.mani-col h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 18px;
}

.mani-col ul { list-style: none; }

.mani-col li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.65;
}

.mani-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1.5px;
  background: var(--gold);
}

.mani-col.mani-no li { color: var(--muted); }
.mani-col.mani-no li::before { background: var(--hair); }

/* ---------------- Servicios (página) ---------------- */

.svc-group { margin-bottom: 80px; }
.svc-group:last-child { margin-bottom: 0; }

.svc-group-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 18px;
  margin-bottom: 40px;
}

.svc-group-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--navy);
}

.svc-group-note {
  font-size: 13px;
  color: var(--muted);
}

.svc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 56px;
}

.svc-item { max-width: 520px; }

.svc-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.svc-desc {
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 14px;
}

.svc-proof {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  margin-bottom: 12px;
}

.svc-proof strong {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 3px;
}

.svc-for {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
}

/* ---------------- Método (página) ---------------- */

.fase {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--hair);
}

.fase:last-of-type { border-bottom: none; }

.fase-num {
  font-family: 'DM Serif Display', serif;
  font-size: 84px;
  line-height: 0.9;
  color: var(--gold);
}

.fase-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 14px;
}

.fase-desc {
  font-size: 15.5px;
  color: var(--charcoal);
  max-width: 620px;
  margin-bottom: 24px;
}

.fase-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 720px;
}

.fase-col h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.fase-col ul { list-style: none; }

.fase-col li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.fase-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1.5px;
  background: var(--gold);
}

/* Modelo de cobro */
.billing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.billing-card {
  background: var(--white);
  border-radius: 4px;
  padding: 30px 26px;
  border-top: 3px solid var(--gold);
}

.billing-card h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
}

.billing-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------------- Casos (página) ---------------- */

.caso {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: 0 2px 24px rgba(17,27,51,0.06);
}

.caso-figure {
  height: 220px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  position: relative;
}

.caso-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(17,27,51,0.35), rgba(17,27,51,0.55));
}

.caso-figure .caso-industry {
  position: absolute;
  left: 34px;
  bottom: 22px;
  z-index: 2;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.fig-restaurante { background-image: url('../images/card-restaurante.jpg'); }
.fig-notaria { background-image: url('../images/card-notaria.jpg'); }
.fig-farma { background-image: url('../images/hero-casos.jpg'); }
.fig-agencia { background-image: url('../images/hero-servicios.jpg'); }
.fig-inmobiliario { background-image: url('../images/card-inmobiliario.jpg'); }

.caso-body { padding: 38px 34px 34px; }

.caso-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 22px;
}

.caso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.caso-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.caso-col p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------------- Franja de industrias ---------------- */

.industry-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  margin-top: 46px;
}

.industry-strip span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.industry-strip .dot { color: var(--gold); }

/* ---------------- CTA final ---------------- */

.cta-final {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
  color: var(--white);
}

.cta-final .section-title { color: var(--white); }
.cta-final .section-title em { color: var(--gold); }

.cta-final p {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 38px;
  font-size: 15.5px;
}

/* ---------------- Contacto ---------------- */

.contact-panel {
  max-width: 560px;
}

.contact-line {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.contact-line strong {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 110px;
}

.contact-line a, .contact-line span {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
}

.contact-line a:hover { color: var(--gold); }

/* ---------------- Pie ---------------- */

.footer {
  background: var(--navy);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--white);
}

.footer-brand span { color: var(--gold); }

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}

.footer-links a:hover { color: var(--gold); }

.footer-meta { text-align: right; }

.footer-site { font-size: 12.5px; color: var(--gold); }

.footer-loc {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* ---------------- Revelado al hacer scroll ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sol-card, .btn, .btn .arrow { transition: none; }
}

/* ---------------- Responsivo ---------------- */

@media (max-width: 920px) {
  .sol-grid { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .caso-grid { grid-template-columns: 1fr; gap: 22px; }
  .billing-grid { grid-template-columns: 1fr; }
  .mani-grid { grid-template-columns: 1fr; gap: 40px; }
  .fase { grid-template-columns: 1fr; gap: 12px; }
  .fase-num { font-size: 56px; }
  .fase-cols { grid-template-columns: 1fr; gap: 22px; }
  .scroll-label { display: none; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy);
    padding: 26px 28px 34px;
    gap: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 82vh; padding-top: calc(var(--nav-h) + 40px); }
  .section { padding: 68px 0; }
  .band { padding: 100px 24px; }
}
