/* =========================================================
   Oficina Jurídica — Lic. Francisco Antonio Reyes
   Paleta tomada del logo: azul marino, dorado y marfil
   ========================================================= */
:root {
  --navy: #0E1A30;
  --navy-2: #13233F;
  --navy-3: #1B2F52;
  --navy-deep: #08111F;
  --gold: #C9A24B;
  --gold-light: #E6C877;
  --gold-pale: #F5E6B8;
  --gold-dark: #8C6A26;
  --ivory: #F8F3E7;
  --paper: #FFFDF8;
  --border: #E6D9B8;
  --ink: #1A2233;
  --muted: #5C5346;

  --foil: linear-gradient(110deg, #8C6A26 0%, #C9A24B 22%, #F5E6B8 42%, #D9B866 55%, #A9822F 75%, #E6C877 100%);

  --f-display: "Cinzel", Georgia, serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-body: "Libre Franklin", "Helvetica Neue", sans-serif;

  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--gold-dark) var(--ivory); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
::selection { background: #C9A24B; color: #0E1A30; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border: 2px solid var(--ivory); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 2px;
  font: inherit; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn--lg { padding: 18px 34px; font-size: 1.02rem; }
.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn--block { width: 100%; }

.btn--gold { background: var(--foil); background-size: 200% auto; color: var(--navy); box-shadow: 0 8px 24px rgba(201, 162, 75, .28); }
.btn--gold:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 162, 75, .4); }

.btn--ghost { border-color: rgba(230, 200, 119, .7); color: var(--gold-pale); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { background: rgba(201, 162, 75, .14); transform: translateY(-2px); }

.btn--navy { background: var(--navy); color: var(--gold-pale); box-shadow: 0 10px 26px rgba(14, 26, 48, .35); }
.btn--navy:hover { background: var(--navy-3); transform: translateY(-2px); }

/* brillo que cruza el botón dorado */
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s, box-shadow .35s;
}
.header.is-scrolled {
  background: rgba(14, 26, 48, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.brand__logo {
  width: 76px; height: 76px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  background: transparent;
}
.brand__logo img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em; }
.brand__role { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative; text-decoration: none; color: #EDE6D4;
  font-size: .95rem; font-weight: 500; padding: 10px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-light); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none; width: 46px; height: 46px;
  background: transparent; border: 1px solid rgba(201, 162, 75, .6); border-radius: 2px;
  cursor: pointer; padding: 13px 11px;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span { display: block; height: 2px; background: var(--gold-light); transition: transform .3s, opacity .3s; }
.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); }

/* ---------- Portada ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: #F1E9D6;
  background:
    radial-gradient(ellipse at 75% 45%, rgba(201, 162, 75, .16), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(27, 47, 82, .9), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 14px),
    var(--navy);
  overflow: hidden;
  padding: 130px 0 110px;
}
.hero__glow {
  position: absolute; width: 640px; height: 640px; right: -120px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(230, 200, 119, .14), transparent 65%);
  filter: blur(8px);
}

.hero__frame { position: absolute; inset: 28px; border: 1px solid rgba(201, 162, 75, .28); pointer-events: none; }
.corner { position: absolute; width: 22px; height: 22px; border-color: var(--gold-light); border-style: solid; }
.corner--tl { top: -2px; left: -2px; border-width: 3px 0 0 3px; }
.corner--tr { top: -2px; right: -2px; border-width: 3px 3px 0 0; }
.corner--bl { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; }
.corner--br { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; }

.hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; width: 100%; }
.hero__text { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.hero__title {
  max-width: 11em;
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #F7F1E4;
  animation: fadeUp .9s .12s var(--ease) both;
}
.hero__role {
  margin-top: -8px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  color: var(--gold-light);
  animation: fadeUp .9s .22s var(--ease) both;
}

.hero__rotator {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: #E0D5BB;
  animation: fadeUp .9s .36s var(--ease) both;
}
.rotator {
  display: inline-block; color: var(--gold-light); font-weight: 600;
  border-bottom: 1px solid rgba(201, 162, 75, .6);
  transition: opacity .35s, transform .35s var(--ease);
}
.rotator.is-out { opacity: 0; transform: translateY(10px); }

.hero__lead {
  font-family: var(--f-serif);
  font-size: 1.45rem;
  line-height: 1.35;
  color: #E4D8C0;
  max-width: 36rem;
  animation: fadeUp .9s .48s var(--ease) both;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; animation: fadeUp .9s .6s var(--ease) both; }

.hero__seal {
  flex: 1 1 360px;
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; max-width: 480px; margin: 0 auto;
  animation: sealIn 1.3s .2s var(--ease) both;
}
.seal-ring { display: none; }
.seal-img {
  width: min(100%, 460px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden;
  background: transparent;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .32);
}
.seal-img img { width: 100%; height: 100%; object-fit: contain; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sealIn { from { opacity: 0; } to { opacity: 1; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%);
  width: 28px; height: 46px; border: 1.5px solid rgba(230, 200, 119, .7); border-radius: 16px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px;
  border-radius: 2px; background: var(--gold-light);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Cinta deslizante ---------- */
.ribbon {
  background: var(--navy-deep);
  color: var(--gold-pale); overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(201, 162, 75, .35);
  border-bottom: 1px solid rgba(201, 162, 75, .35);
}
.ribbon__track {
  display: inline-flex; align-items: center; gap: 28px; padding: 16px 0;
  font-family: var(--f-display); font-weight: 500; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  animation: marquee 48s linear infinite;
}
.ribbon__gem {
  width: 5px; height: 5px; flex-shrink: 0;
  background: var(--gold);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 112px 0; }
.section h2 {
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; margin-bottom: 56px; }
.section__head h2 { position: relative; padding-bottom: 22px; }
.section__head h2::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 42px; height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}
.section__head > p {
  max-width: 38rem;
  font-family: var(--f-serif);
  font-size: 1.5rem;
  line-height: 1.35;
  color: #4A4034;
}
.section__head--light h2 { color: var(--gold-pale); }
.section__head--light h2::after { background: var(--gold-light); }
.section__head--light > p { color: #F8F3E7; font-weight: 500; }

/* ---------- Servicios ---------- */
.services {
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 162, 75, .12), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(14, 26, 48, .07), transparent 45%),
    var(--ivory);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.card {
  position: relative;
  background: transparent;
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 12px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background-color .35s var(--ease);
}
.card:hover { background: rgba(255, 253, 248, .72); }

.card__icon { display: flex; align-items: center; height: 28px; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-dark); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card__icon .icono-img { width: 26px; height: 26px; object-fit: contain; }

.card h3 { font-size: 1.35rem; color: var(--navy); letter-spacing: -0.01em; }
.card p {
  font-family: var(--f-serif);
  font-size: 1.28rem;
  line-height: 1.35;
  color: #4A4034;
}
.card__link {
  margin-top: auto; padding-top: 8px;
  font-weight: 600; font-size: .92rem;
  color: var(--gold-dark); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.card__link::after {
  content: ""; width: 32px; height: 1px; background: currentColor;
  transform: scaleX(.56); transform-origin: left center;
  transition: transform .35s var(--ease);
}
.card:hover .card__link::after { transform: scaleX(1); }

/* ---------- Cita ---------- */
.quote {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-2));
  padding: 120px 0; color: #fff; text-align: center;
}
.quote__watermark {
  position: absolute; left: 50%; top: 50%; width: 620px; max-width: none;
  transform: translate(-50%, -50%);
  border-radius: 50%; opacity: .07; filter: grayscale(.3);
}
.quote__inner { position: relative; max-width: 900px; }
.quote__mark {
  display: block; font-family: var(--f-serif); font-size: 7rem; line-height: .7; height: 58px;
  color: var(--gold-light);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.3; color: #F4ECD8;
}
.quote blockquote footer {
  margin-top: 28px; font-family: var(--f-serif); font-style: italic; font-size: 1.25rem;
  color: var(--gold-light);
}

/* ---------- Notariado ---------- */
.notary-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 75, .14), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .015) 0 2px, transparent 2px 16px),
    var(--navy);
  color: #F1E9D6;
}
.notary {
  list-style: none; margin: 0 0 56px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  border-top: 1px solid rgba(201, 162, 75, .32);
  border-left: 1px solid rgba(201, 162, 75, .32);
}
.notary li {
  padding: 28px 26px 26px;
  border-bottom: 1px solid rgba(201, 162, 75, .32);
  border-right: 1px solid rgba(201, 162, 75, .32);
}
.notary h3 { font-size: 1.2rem; color: var(--gold-pale); margin-bottom: 8px; letter-spacing: -0.01em; }
.notary p { font-family: var(--f-serif); font-size: 1.28rem; line-height: 1.35; font-weight: 500; color: #F8F3E7; }

/* ---------- Sobre mí ---------- */
.about-section { background: var(--paper); overflow: hidden; }
.about { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.about__photo { flex: 1 1 360px; position: relative; display: flex; justify-content: center; padding: 24px; }
.photo-frame {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 5;
  border: 1px solid var(--gold);
  box-shadow: 16px 22px 48px rgba(14, 26, 48, .16);
}
.photo-placeholder, .photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.photo-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 162, 75, .22), transparent 58%),
    var(--navy);
  color: var(--gold-pale);
}
.monogram {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  letter-spacing: .18em;
  padding-left: .18em;
}
.photo-badge {
  position: absolute; left: 0; bottom: 0;
  width: 132px; height: 132px; border-radius: 50%; overflow: hidden;
  background: transparent;
  box-shadow: 0 14px 30px rgba(14, 26, 48, .22);
}
.photo-badge img { width: 100%; height: 100%; object-fit: contain; }

.about__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about__text > p:not(.about__role) {
  font-family: var(--f-serif);
  font-size: 1.45rem;
  line-height: 1.35;
  color: #3E362C;
  max-width: 38rem;
}
.about__role {
  font-family: var(--f-serif); font-style: italic; font-size: 1.55rem; color: var(--gold-dark);
  margin-top: -8px;
}
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px 32px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.value svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-dark); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 10px; }
.value .icono-img { width: 26px; height: 26px; object-fit: contain; display: block; margin-bottom: 10px; }
.value h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.value p { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.35; color: #4A4034; }

/* ---------- Proceso / línea de tiempo ---------- */
.process { background: var(--ivory); }
.timeline {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.timeline::before {
  content: ""; position: absolute; top: 40px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
}
.timeline li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.timeline__num {
  width: 82px; height: 82px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold-light);
  font-family: var(--f-display); font-weight: 700; font-size: 1.6rem;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 8px var(--ivory), 0 0 0 9px rgba(201, 162, 75, .45);
  margin-bottom: 10px;
  transition: transform .4s var(--ease), background-color .4s, color .4s;
}
.timeline h3 { font-size: 1.2rem; color: var(--navy); letter-spacing: -0.01em; }
.timeline p { font-family: var(--f-serif); font-size: 1.22rem; line-height: 1.35; color: #4A4034; max-width: 16rem; }

/* ---------- Llamada a la acción ---------- */
.cta {
  background: var(--navy);
  padding: 72px 0;
  border-top: 1px solid rgba(201, 162, 75, .35);
  border-bottom: 1px solid rgba(201, 162, 75, .35);
}
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--gold-pale); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.cta p { font-family: var(--f-serif); color: #E4D8C0; font-size: 1.45rem; line-height: 1.35; margin-top: 8px; max-width: 36rem; }

/* ---------- Contacto ---------- */
.contact-section { background: var(--paper); }
.contact { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.contact__info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.contact__info > p { font-family: var(--f-serif); font-size: 1.45rem; line-height: 1.35; color: #4A4034; max-width: 36rem; }
.info-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: center; }
.info-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); border: 1.5px solid var(--gold);
}
.info-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.info-list strong { display: block; color: var(--navy); font-family: var(--f-display); font-size: .95rem; letter-spacing: .04em; }

.form {
  flex: 999 1 520px; min-width: 0;
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  padding: 48px 44px;
  display: flex; flex-direction: column; gap: 20px;
  color: #F1E9D6;
  box-shadow: 0 30px 70px rgba(14, 26, 48, .3);
}
.form::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 162, 75, .3); pointer-events: none; }
.form__title { font-size: 1.6rem; color: var(--gold-light); margin-bottom: 6px; }
.form__row { display: flex; flex-wrap: wrap; gap: 20px; }
.form__row .field { flex: 1 1 220px; }
.field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.field label { font-weight: 600; font-size: .88rem; letter-spacing: .03em; color: #E6DCC4; }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border: 1px solid rgba(201, 162, 75, .35);
  border-radius: 2px;
  background: rgba(255, 255, 255, .06);
  font: inherit; color: #fff;
  caret-color: var(--gold-light);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field select option { color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-light); background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 3px rgba(230, 200, 119, .2);
}
.field.has-error input, .field.has-error textarea { border-color: #F08A73; }
.field__error { color: #F6A592; font-size: .85rem; }
.field__error:empty { display: none; }
.form__note { font-size: .85rem; color: #B9B09C; text-align: center; }
.form__status { font-weight: 600; color: var(--gold-light); text-align: center; }
.form__status:empty { display: none; }

/* ---------- Pie ---------- */
.footer {
  background: var(--navy-deep); color: #B9B09C; padding: 64px 0 32px;
  border-top: 3px solid var(--gold);
}
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__logo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: transparent; flex-shrink: 0; }
.footer__logo img { width: 100%; height: 100%; object-fit: contain; }
.footer__name { font-family: var(--f-display); font-size: 1.3rem; color: #fff; letter-spacing: .06em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.footer__nav a { color: var(--gold-light); text-decoration: none; padding: 10px 0; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #1E2C47; margin-top: 36px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }
.footer__motto { font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; letter-spacing: 0; color: var(--gold-light); }

/* ---------- Botón flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #1EBE5A; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(14, 26, 48, .28);
  transition: transform .3s var(--ease), background-color .3s;
}
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float:hover { transform: scale(1.06); background: #189E4B; }

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .timeline::before { display: none; }
}

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav { flex-wrap: wrap; }
  .header { background: rgba(14, 26, 48, .94); }
  .nav__menu {
    display: none; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 0 14px;
  }
  .nav__menu.is-open { display: flex; animation: fadeUp .4s var(--ease); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid rgba(201, 162, 75, .2); }
  .nav__link::after { display: none; }
  .nav__menu .btn { margin-top: 16px; }

  .hero { min-height: 0; padding: 112px 0 72px; }
  .hero__frame { inset: 10px; }
  .hero__title { max-width: 100%; font-size: clamp(2.15rem, 9vw, 3rem); }
  .hero__seal { max-width: 230px; }
  .section { padding: 84px 0; }
  .quote { padding: 90px 0; }
  .form { padding: 36px 24px; }
  .cta__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
  .brand__name { font-size: .92rem; }
  .brand__logo { width: 58px; height: 58px; }
  .hero__actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .photo-badge { width: 96px; height: 96px; }
}

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

.logo-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 162, 75, .45), transparent 58%),
    var(--navy-3);
}
.info-list a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(140, 106, 38, .45); }
.info-list a:hover { color: var(--gold-dark); }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__status.is-error { color: #F6A592; }
.admin-fab {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 70;
  background: var(--navy);
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 12px 16px;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 30px rgba(14, 26, 48, .35);
}
.admin-fab:hover { color: #fff; }
