/* =========================================================
   B&M Buque Mercantil & Asociados — Estilos
   ========================================================= */
:root {
  --gold: #d09941;
  --gold-light: #e6c27a;
  --bronze: #9f5f1e;
  --blue: #2b70a2;
  --navy: #123752;
  --navy-deep: #0b2236;
  --white: #ffffff;
  --gray: #a09ea1;
  --graphite: #5c5c60;
  --black: #0a0a0a;
  --ink: #070b10;
  --light-bg: #f5f2ec;

  --grad-gold: linear-gradient(120deg, #9f5f1e 0%, #d09941 40%, #e9c886 60%, #d09941 100%);
  --ff-display: "Cinzel", "Times New Roman", serif;
  --ff-accent: "Cormorant Garamond", Georgia, serif;
  --ff-body: "Inter", system-ui, sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
img { max-width: 100%; display: block; }

em {
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  text-transform: inherit;
  letter-spacing: inherit;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botones ---------- */
.btn-gold, .btn-outline-gold, .btn-dark-solid {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 1rem 2rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease), color .3s, border-color .3s;
}
.btn-gold {
  background: var(--grad-gold);
  background-size: 200% 100%;
  color: var(--black);
  box-shadow: 0 10px 30px -10px rgba(208,153,65,.6);
}
.btn-gold:hover { background-position: 100% 0; color: var(--black); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(208,153,65,.75); }
.btn-gold i, .btn-outline-gold i, .btn-dark-solid i { margin-left: .5rem; }
.btn-outline-gold i:first-child, .btn-dark-solid i:first-child, .mm-actions .btn-gold i { margin: 0 .5rem 0 0; }

.btn-outline-gold { border-color: rgba(208,153,65,.55); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: rgba(208,153,65,.1); border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

.btn-dark-solid { background: var(--black); color: var(--white); }
.btn-dark-solid:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-sm-gold { padding: .7rem 1.7rem; margin-left: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  padding: 1.1rem 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7,11,16,.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: .7rem 0;
  border-color: rgba(208,153,65,.18);
}
.brand-lockup { display: inline-block; }
.brand-logo { height: 64px; width: auto; max-width: none; transition: height .4s var(--ease); }
.site-header.scrolled .brand-logo { height: 52px; }
.footer-logo { height: 110px; width: auto; }

.main-nav a {
  display: inline-block;
  margin: 0 1rem;
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  position: relative;
  padding: .3rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-phone { font-size: 1rem; color: var(--white); vertical-align: middle; }
.header-phone i { color: var(--gold); margin-right: .4rem; }

.burger {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(208,153,65,.5);
  background: transparent;
  position: relative;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--gold);
}
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }

/* Menú móvil */
.mobile-menu { background: var(--ink); color: var(--white); border-left: 1px solid rgba(208,153,65,.2) !important; }
.mobile-menu .offcanvas-body { padding-top: 2rem; }
.mm-link {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--white);
}
.mm-link:hover { color: var(--gold); }
.mm-actions { display: grid; gap: .8rem; margin-top: 2rem; }

/* ---------- Comunes ---------- */
.section { padding: 8rem 0; position: relative; }

.eyebrow {
  font-size: 1rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow-line {
  display: inline-block;
  width: 42px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 1rem;
}

.section-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 1.4rem;
}
/* Títulos: siempre en mayúsculas; el contraste se da con peso y color */
.hero-title, .section-title, .area-card h3, .pillar h4, .glass-badge strong, .cta-inner h2, .mm-link {
  text-transform: uppercase;
  letter-spacing: .02em;
}
.hero-title, .section-title, .cta-inner h2 { font-weight: 400; }
.section-text { font-size: 1.08rem; color: rgba(255,255,255,.68); max-width: 560px; }

/* Revelado */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 5rem 0 3rem;
  background: radial-gradient(120% 90% at 85% 10%, #15405f 0%, var(--navy-deep) 35%, var(--ink) 75%);
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.orb-1 { width: 520px; height: 520px; background: rgba(208,153,65,.28); top: -160px; right: -120px; animation: float 14s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: rgba(43,112,162,.35); bottom: -180px; left: -120px; animation: float 18s ease-in-out infinite reverse; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 40% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 40% 50%, #000 20%, transparent 75%);
}
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 40px); } }

.hero-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.9vw, 2.75rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero-title em {  margin-top: .3rem; }
.hero-claim {
  font-size: 1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.hero-lead { font-size: 1.15rem; max-width: 560px; color: rgba(255,255,255,.72); margin-bottom: 2.4rem; }
.hero-actions .btn-gold, .hero-actions .btn-outline-gold { margin: 0 .8rem .8rem 0; }

.hero-facts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: 560px;
}
.hero-facts .col-4 + .col-4 { border-left: 1px solid rgba(255,255,255,.1); padding-left: 1.2rem; }
.fact-num {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--white);
  line-height: 1.1;
}
.fact-num sup { color: var(--gold); font-size: .55em; top: -.7em; }
.fact-label { display: block; font-size: 1rem; color: var(--gray); margin-top: .3rem; }

.hero {
  padding-bottom: 0;
  display: flex; align-items: center;
  min-height: 100vh;
}
.hero > .container-xl { width: 100%; }
.hero-copy { padding-bottom: 1rem; position: relative; z-index: 3; }
.hero-photo {
  position: absolute; inset: 0;
  background: url("img/hero-bg.jpg") center / cover no-repeat;
  filter: grayscale(1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,11,16,.96) 0%, rgba(11,34,54,.9) 50%, rgba(18,55,82,.78) 100%);
}
/* Escritorio: la foto se sale de la pantalla un 30% por la derecha y por abajo
   (el PNG ya viene cortado abajo), así la figura gana tamaño sin dejar huecos */
.hero-visual {
  /* hero.png es horizontal (1080×635). Se oculta el 30% derecho fuera de pantalla, así
     el 70% visible llena la mitad derecha (48vw) → ancho total 68vw. Tope: que el alto
     (pw × 0.588) no pase del hero menos el header. */
  --pw: min(68vw, calc((90vh - 5rem) * 1.5));
  position: absolute;
  bottom: 0;
  right: calc(var(--pw) * -0.1);
  width: var(--pw);
  z-index: 2;
}
.hero-visual .glass-badge { bottom: auto; top: 10%; left: 3%; }
.hero-portrait {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.45));
}
.portrait-glow {
  position: absolute;
  left: 52%; bottom: 0;
  width: 55%; aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,153,65,.32) 0%, rgba(43,112,162,.18) 45%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.arch-outline {
  position: absolute;
  left: 30%; right: 26%; top: 2%; bottom: 0;
  border: 1px solid rgba(208,153,65,.6);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  z-index: 1;
}
.glass-badge {
  position: absolute;
  left: 1rem; bottom: 2.6rem;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-radius: 18px;
  background: rgba(10,10,10,.55);
  border: 1px solid rgba(208,153,65,.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: bob 6s ease-in-out infinite;
}
.glass-badge i {
  width: 48px; height: 48px; line-height: 48px; text-align: center;
  border-radius: 50%;
  background: var(--grad-gold); color: var(--black); font-size: 1.2rem;
}
.glass-badge strong { display: block; color: var(--white); font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; }
.glass-badge span { display: block; font-size: 1rem; color: var(--gray); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem;
  width: 28px; height: 46px; margin-left: -14px;
  border: 1px solid rgba(208,153,65,.6); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px;
  width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--gold);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Marquesina ---------- */
.ticker {
  background: var(--grad-gold);
  padding: 1.1rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -1.5rem 0 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 20px 50px -20px rgba(208,153,65,.5);
}
.ticker-swiper .swiper-wrapper { transition-timing-function: linear !important; }
.ticker-swiper .swiper-slide {
  width: auto;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding-right: 2.5rem;
  white-space: nowrap;
}
.ticker-swiper .swiper-slide i { font-size: 1rem; margin-left: 2.5rem; color: var(--navy); }

/* ---------- Áreas ---------- */
.areas { background: #f5f2ec; }
.areas .eyebrow { color: var(--bronze); }
.areas .eyebrow-line { background: var(--bronze); }
.areas .section-title { color: var(--navy); }
.areas .section-text { color: var(--graphite); }
.area-card {
  position: relative;
  isolation: isolate;
  height: 100%;
  padding: 3rem 2.4rem 2.6rem;
  border-radius: var(--radius);
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11,34,54,.55);
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.area-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transform: scale(1.05);
  transition: transform 1.2s var(--ease);
}
.area-card:hover .area-bg { transform: scale(1.12); }
.area-card > :where(:not(.area-bg)) { position: relative; z-index: 1; }
.area-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-gold);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.area-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(170deg, rgba(43,112,162,.72) 0%, rgba(18,55,82,.86) 50%, rgba(11,34,54,.95) 100%);
  transition: opacity .6s var(--ease);
}
.area-card:hover { transform: translateY(-8px); }
.area-card:hover::before { opacity: 1; }
.area-card:hover::after { opacity: .9; }

.area-num {
  position: absolute; top: 1.6rem; right: 2rem;
  font-family: var(--ff-display); font-size: 1rem; color: var(--gold); letter-spacing: .1em;
}
.area-icon {
  width: 68px; height: 68px; line-height: 68px; text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(208,153,65,.45);
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 2rem;
  transition: background .5s var(--ease), color .5s var(--ease);
}
.area-card:hover .area-icon { background: var(--grad-gold); color: var(--black); }
.area-card h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; color: var(--white); margin-bottom: 1rem; }
.area-card p { font-size: 1rem; color: rgba(255,255,255,.8); }
.area-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.area-list li { font-size: 1rem; color: var(--white); padding: .35rem 0; }
.area-list i { color: var(--gold); margin-right: .6rem; }
.area-link { display: inline-block; margin-top: .8rem; font-size: 1rem; font-weight: 600; color: var(--gold); position: relative; z-index: 2; }
.area-link i { margin-left: .4rem; transition: transform .35s var(--ease); }
.area-link:hover { color: var(--gold-light); }
.area-link:hover i { transform: translateX(6px); }

/* ---------- La firma ---------- */
.firma { background: linear-gradient(180deg, var(--ink) 0%, var(--navy-deep) 100%); }
.firma-visual { position: relative; }
.firma-img {
  width: 100%;

  border-radius: var(--radius);
  filter: grayscale(.25) contrast(1.05);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85);
}
.firma-years {
  position: absolute; right: 0; bottom: 0;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--black);
  text-align: center;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .15rem;
  box-shadow: 0 20px 50px -15px rgba(208,153,65,.6);
}
.firma-years span { display: block; font-family: var(--ff-display); font-size: .82rem; line-height: 1.3; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.firma-years span:nth-child(2) { color: var(--navy); }

.pillars { margin-top: 2rem; }
.pillar {
  height: 100%;
  padding: 1.6rem 1.3rem;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .4s, background .4s;
}
.pillar:hover { border-color: rgba(208,153,65,.5); background: rgba(208,153,65,.06); }
.pillar i { color: var(--gold); font-size: 1.4rem; margin-bottom: 1rem; }
.pillar h4 { font-family: var(--ff-display); font-size: .95rem; font-weight: 700; line-height: 1.35; color: var(--white); margin: 0 0 .5rem; }
.pillar p { font-size: .95rem; line-height: 1.5; color: var(--gray); margin: 0; }

/* ---------- Galería ---------- */
.galeria { background: var(--navy-deep); padding-bottom: 6rem; }
.gal-nav { display: inline-grid; grid-auto-flow: column; gap: .8rem; }
.gal-nav button {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(208,153,65,.5);
  background: transparent; color: var(--gold); font-size: 1rem;
  transition: background .3s, color .3s;
}
.gal-nav button:hover { background: var(--gold); color: var(--black); }
.gallery-swiper { padding: 0 0 4rem !important; }
.gallery-swiper .swiper-slide {
  width: min(72vw, 980px);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: .4;
  transform: scale(.92);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.gallery-swiper .swiper-slide-active { opacity: 1; transform: scale(1); }
.gallery-swiper img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-swiper .swiper-pagination-bullet { background: var(--gray); opacity: .5; width: 10px; height: 10px; }
.gallery-swiper .swiper-pagination-bullet-active { background: var(--gold); opacity: 1; width: 34px; border-radius: 10px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; background: var(--white); padding: 0; }
/* Franja navy a todo el ancho que cubre la mitad superior: el badge queda "montado" entre secciones */
.cta-band::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 50%;
  background: var(--navy-deep);
}
.cta-band > .container-xl { position: relative; z-index: 1; }
/* Badge con foto en B/N y overlay azul, igual que las cards de Áreas */
.cta-inner {
  position: relative;
  isolation: isolate;
  padding: 3.6rem 3.4rem;
  border-radius: 30px;
  background: var(--navy-deep) url("img/cta-bg.jpg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  border: 1px solid rgba(208,153,65,.35);
  box-shadow: 0 40px 80px -40px rgba(11,34,54,.6);
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: inherit;
  filter: grayscale(1) contrast(1.1);
}
.cta-inner::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(170deg, rgba(43,112,162,.72) 0%, rgba(18,55,82,.86) 50%, rgba(11,34,54,.95) 100%);
  pointer-events: none;
}
.cta-inner h2 { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.5rem); color: var(--white); margin-bottom: .6rem; }
.cta-inner p { font-size: 1.1rem; margin: 0; color: rgba(255,255,255,.8); }
.cta-inner .btn-dark-solid { position: relative; z-index: 2; background: var(--grad-gold); background-size: 200% 100%; color: var(--black); }
.cta-inner .btn-dark-solid:hover { background-position: 100% 0; color: var(--black); }

/* ---------- Contacto ---------- */
.contacto { background: var(--white) url("img/fondocontacto.jpg") right bottom / cover no-repeat; overflow: hidden; }
@media (max-width: 767.98px) {
  .contacto { background-size: contain; }
}
.contacto .eyebrow { color: var(--bronze); }
.contacto .eyebrow-line { background: var(--bronze); }
.contacto .section-title { color: var(--navy); }
.contacto .section-text { color: var(--graphite); }
.contacto .contact-list li { border-bottom-color: rgba(18,55,82,.12); }
.contacto .contact-list small { color: var(--graphite); }
.contacto .contact-list a, .contacto .contact-list span { color: var(--navy); }
.contacto .contact-list a:hover { color: var(--bronze); }
.contacto .ci { background: rgba(43,112,162,.1); color: var(--blue); }
.contact-list { list-style: none; padding: 0; margin: 2.4rem 0 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ci {
  width: 56px; height: 56px; line-height: 56px; text-align: center;
  border-radius: 50%;
  background: rgba(208,153,65,.12);
  color: var(--gold); font-size: 1.2rem;
}
.contact-list small { display: block; font-size: 1rem; color: var(--gray); }
.contact-list a, .contact-list span { font-size: 1.15rem; color: var(--white); }
.contact-list a:hover { color: var(--gold); }

.contact-form {
  padding: 3rem;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(208,153,65,.35);
  box-shadow: 0 40px 80px -40px rgba(11,34,54,.35);
}
.contact-form label { display: block; font-size: 1rem; font-weight: 500; color: var(--navy); margin-bottom: .5rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: #f6f7f9;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  padding: .95rem 1.1rem;
  transition: border-color .3s, background .3s;
}
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.contact-form select option { background: var(--white); color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8a9099; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.contact-form textarea { resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { background: #050709; padding: 4.5rem 0 2rem; border-top: 1px solid rgba(208,153,65,.18); }
.footer-tag { margin: 1rem 0 0; font-size: 1rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.footer-links a { display: inline-block; margin: 0 1rem 0 0; font-size: 1rem; color: rgba(255,255,255,.7); }
.footer-links a:hover, .footer-phone:hover { color: var(--gold); }
.footer-phone { font-family: var(--ff-display); font-size: 1.3rem; color: var(--white); }
.footer-phone i { color: var(--gold); margin-right: .5rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.07); }
.footer-bottom p { font-size: 1rem; color: var(--gray); margin: 0; }
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 5.5rem 0; }
  .hero { padding: 8rem 0 0; min-height: auto; }
  .hero { display: block; }
  .hero-copy { padding-bottom: 3rem; }
  .glass-badge { left: 0; }
  .hero-visual { position: relative; top: auto; right: auto; width: 100%; max-width: 640px; margin: 0 auto; }
  .hero-visual .glass-badge { top: 6%; left: 0; }
  .cta-inner { padding: 2.8rem 2rem; }
  .contact-form { padding: 2rem 1.4rem; }
  .scroll-cue { display: none; }
}
@media (max-width: 575.98px) {
  .brand-logo, .site-header.scrolled .brand-logo { height: 48px; }
  .hero-actions .btn-gold, .hero-actions .btn-outline-gold { width: 100%; margin-right: 0; padding: 1rem 1.2rem; letter-spacing: 0; }
  .hero-actions .btn-gold i { display: none; }
  .hero-visual { max-width: none; }
  .hero-visual .glass-badge { display: none; }
  .hero-facts .col-4 + .col-4 { padding-left: .8rem; }
  .fact-num { font-size: 1.4rem; }
  .gallery-swiper .swiper-slide { width: 86vw; }
  .firma-years { width: 140px; height: 140px; }
  .firma-years span { font-size: .7rem; }
}



/* =========================================================
   MOVIMIENTO
   ========================================================= */

/* Preloader */
body.is-loading { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--ink);
  display: grid; place-items: center;
  transition: clip-path 1.1s cubic-bezier(.77,0,.18,1);
  clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.pl-inner { text-align: center; }
.pl-mark {
  display: block; height: clamp(120px, 22vw, 190px); width: auto; margin: 0 auto;
  font-family: var(--ff-display); font-size: clamp(3rem, 9vw, 6rem); color: var(--white); line-height: 1;
  opacity: 0; transform: translateY(30px); filter: blur(10px);
  animation: plIn 1s .1s var(--ease) forwards;
}
.pl-mark em { font-size: 1em; }
.pl-line {
  display: block; height: 1px; width: 220px; margin: 1.4rem auto;
  background: var(--grad-gold); transform: scaleX(0);
  animation: plLine 1s .5s var(--ease) forwards;
}
.pl-text {
  display: block; font-size: 1rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold);
  opacity: 0; animation: plFade .8s .9s var(--ease) forwards;
}
@keyframes plIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes plLine { to { transform: scaleX(1); } }
@keyframes plFade { to { opacity: 1; } }

/* Barra de progreso */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--grad-gold); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 1100; box-shadow: 0 0 12px rgba(208,153,65,.7);
}

/* Cursor personalizado (solo escritorio) */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 1500; border-radius: 50%; opacity: 0; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(208,153,65,.7);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s;
}
.cursor-ring.hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(208,153,65,.12); }
@media (hover: hover) and (pointer: fine) {
  body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
}

/* Títulos palabra por palabra */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease);
}
.split.in .w > span { transform: none; }
.hero-title.split em { display: block; }

/* Botones magnéticos */
.magnetic { transition: transform .25s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease), color .3s, border-color .3s; will-change: transform; }

/* Brillo en botón dorado */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold, .btn-outline-gold, .btn-dark-solid, .header-phone { vertical-align: middle; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Hero: inclinación 3D */
.hero-visual.tilt { transform-style: preserve-3d; perspective: 1000px; }
.hero-visual.tilt.in { transition: opacity 1s var(--ease), transform .4s var(--ease); }
.hero-visual .glass-badge { transform: translateZ(60px); }

/* Revelado de imagen por máscara */
.clip-reveal .firma-img {
  clip-path: inset(0 100% 0 0 round var(--radius));
  transform: scale(1.15);
  transition: clip-path 1.4s cubic-bezier(.77,0,.18,1), transform 1.8s var(--ease);
}
.clip-reveal.in .firma-img { clip-path: inset(0 0 0 0 round var(--radius)); transform: scale(1); }
.clip-reveal .firma-years { transform: scale(0) rotate(-90deg); transition: transform 1s .9s cubic-bezier(.34,1.56,.64,1); }
.clip-reveal.in .firma-years { transform: none; }

/* Sello giratorio */
.spin-seal {
  position: absolute; right: -45px; bottom: -45px;
  width: 240px; height: 240px;
  animation: spin 18s linear infinite;
  z-index: 1;
}
.spin-seal text { font-family: var(--ff-display); font-size: 13px; letter-spacing: 2.6px; fill: var(--gold); }
.firma-years { z-index: 2; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Spotlight que sigue al mouse */
.spot { --mx: 50%; --my: 50%; }
.spot::after { pointer-events: none; }
.area-card .spot-glow, .pillar { position: relative; overflow: hidden; }
.spot > .spot-glow {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(208,153,65,.18), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover > .spot-glow { opacity: 1; }

/* Parallax suave */
[data-parallax] { will-change: transform; }

/* Línea animada en eyebrow */
.eyebrow-line { transform-origin: left; animation: lineGrow 2.8s ease-in-out infinite; }
@keyframes lineGrow { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.4); } }

/* Correo en footer */
.footer-mail { display: block; margin-top: .6rem; font-size: 1rem; color: rgba(255,255,255,.7); }
.footer-mail i { color: var(--gold); margin-right: .5rem; }
.footer-mail:hover { color: var(--gold); }
.contact-list a { word-break: break-word; }

@media (max-width: 575.98px) {
  .spin-seal { width: 170px; height: 170px; right: -11px; bottom: -25px; }
  .firma-years { right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; }
  .clip-reveal .firma-img { clip-path: none; transform: none; }
  .clip-reveal .firma-years { transform: none; }
  .preloader { display: none; }
}
