/* =========================================================
   ABYAN Capital — Hoja de estilos principal
   Paleta tomada de la presentación corporativa:
   azul marino profundo + dorado + marfil
   ========================================================= */

:root {
  --navy-900: #060d1f;
  --navy-800: #0a1530;
  --navy-700: #0e1b3a;
  --navy-600: #16264d;
  --navy-500: #223663;
  --gold-500: #c9a45c;
  --gold-400: #d8b878;
  --gold-300: #e6cf9f;
  --gold-600: #a9853f;
  --ivory: #f5f3ee;
  --paper: #fbfaf7;
  --ink: #141a2b;
  --muted: #5b6478;
  --muted-light: #aab3c7;
  --line: rgba(201, 164, 92, .35);

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--gold-500); color: var(--navy-900);
  padding: 8px 16px; z-index: 1000; font-weight: 600;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

/* ---------- Tipografía de secciones ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-500);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 36px; height: 1px; background: currentColor;
}

.title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--navy-700);
}
.title .gold, .gold { color: var(--gold-500); }
.on-dark .title, .title.light { color: #fff; }

.rule {
  width: 64px; height: 3px; background: var(--gold-500);
  margin: 26px 0 28px; border: 0;
}
.center .rule { margin-left: auto; margin-right: auto; }

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 640px;
}
.on-dark .lead { color: var(--muted-light); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section.tight { padding: clamp(60px, 7vw, 90px) 0; }
.on-dark { background: var(--navy-700); color: #e9ecf3; }
.on-deep { background: var(--navy-900); color: #e9ecf3; }
.on-ivory { background: var(--ivory); }

.section-head { margin-bottom: clamp(44px, 6vw, 70px); }

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

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  transition: all .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-400); border-color: var(--gold-400); box-shadow: 0 10px 30px -10px rgba(201,164,92,.7); }
.btn-ghost { color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(201,164,92,.12); }
.btn-navy { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.btn-navy:hover { background: var(--navy-600); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(8, 17, 40, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  height: 72px;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.scrolled .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  color: #e8eaf0; font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--gold-400); }
.nav .btn { padding: 11px 20px; font-size: 12px; color: var(--navy-900); }
.nav .btn::after { display: none; }

.menu-toggle {
  display: none; background: none; border: 0; padding: 10px;
  width: 46px; height: 46px; position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff;
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--navy-900);
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a { font-size: 18px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero (inicio) ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--navy-800);
  color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-media {
  position: absolute; inset: 0 0 0 38%;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: slowZoom 18s var(--ease) both;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,21,48,.55) 0%, rgba(10,21,48,0) 45%),
              linear-gradient(0deg, rgba(10,21,48,.5), transparent 40%);
}
.hero-line {
  position: absolute; top: 0; bottom: 0; left: 38%; width: 62%;
  pointer-events: none;
}
.hero-line line { stroke: var(--gold-500); stroke-width: 1.5; }

.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(201,164,92,.10), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(34,54,99,.6), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 620px; }
.hero-logo { width: min(340px, 70vw); margin-bottom: 44px; }
.hero h1 {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.12; letter-spacing: .02em; text-transform: uppercase;
}
.hero h1 .gold { display: block; }
.hero .rule { width: 100%; max-width: 520px; height: 1px; margin: 34px 0; }
.values {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px;
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: #dfe3ec; margin-bottom: 44px;
}
.values .ico { width: 38px; height: 38px; color: var(--gold-500); }
.values i { width: 1px; height: 18px; background: var(--gold-500); opacity: .7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-tag {
  position: absolute; right: 0; bottom: 64px; z-index: 3;
  background: var(--navy-800);
  padding: 26px 48px 26px 64px;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  border-top: 1px solid var(--line);
}
.hero-tag strong {
  display: block; color: var(--gold-500);
  font-size: 13px; letter-spacing: .14em; font-weight: 600;
}
.hero-tag span { font-size: 13px; letter-spacing: .12em; color: #dfe3ec; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.45); border-radius: 12px;
  transform: translateX(-50%);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px;
  background: var(--gold-500); border-radius: 2px; transform: translateX(-50%);
  animation: cue 1.8s ease-in-out infinite;
}

@media (max-width: 960px) {
  .hero-media { inset: 0; clip-path: none; opacity: .35; }
  .hero-line, .hero-tag { display: none; }
  .scroll-cue { display: none; }
}

/* ---------- Page hero (internas) ---------- */

.page-hero {
  position: relative; color: #fff;
  background: var(--navy-800);
  padding: calc(var(--header-h) + 90px) 0 110px;
  overflow: hidden;
}
.page-hero .bg {
  position: absolute; inset: 0 0 0 45%;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,21,48,.6), rgba(10,21,48,.1));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .inner { max-width: 600px; }
.page-hero .lead { color: var(--muted-light); }
.crumbs {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted-light); margin-bottom: 24px;
}
.crumbs a:hover { color: var(--gold-400); }
.crumbs span { color: var(--gold-500); margin: 0 10px; }
.page-hero .num {
  position: absolute; right: 24px; bottom: -40px;
  font-family: var(--serif); font-size: clamp(140px, 22vw, 300px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(201,164,92,.25);
  pointer-events: none; z-index: 1;
}
@media (max-width: 860px) {
  .page-hero .bg { inset: 0; clip-path: none; opacity: .25; }
}

/* ---------- Grids genéricos ---------- */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Iconos ---------- */

.ico { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.ico-badge {
  width: 76px; height: 76px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-700); color: var(--gold-500);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 6px rgba(201,164,92,.06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ico-badge .ico { width: 34px; height: 34px; }
.on-dark .ico-badge, .on-deep .ico-badge { background: transparent; box-shadow: 0 0 0 1px var(--gold-500); }
.ico-badge.light { background: #fff; color: var(--navy-700); box-shadow: 0 0 0 2px var(--gold-500); }

/* ---------- Features (pilares) ---------- */

.features { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature {
  display: flex; gap: 24px; padding: 34px 32px;
  border-left: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.feature:hover { background: rgba(201,164,92,.06); }
.feature:hover .ico-badge { transform: translateY(-4px) rotate(-6deg); }
.feature h3 {
  font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 10px; font-weight: 700;
}
.on-dark .feature h3 { color: #fff; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }
.on-dark .feature p { color: var(--muted-light); }
@media (max-width: 1024px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } .feature { padding: 26px 8px 26px 20px; } }

/* ---------- Tarjetas de servicio ---------- */

.service-card {
  position: relative; background: #fff;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(10,21,48,.45);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(10,21,48,.6); }
.service-card .media { aspect-ratio: 4 / 3.4; overflow: hidden; position: relative; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .media img { transform: scale(1.07); }
.service-card .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,21,48,.55), transparent 55%);
}
.service-card .ico-badge {
  position: absolute; left: 50%; top: calc(100% * 0);
  transform: translate(-50%, -50%);
}
.service-card .body { position: relative; padding: 58px 28px 34px; text-align: center; flex: 1; }
.service-card .n {
  font-family: var(--serif); color: var(--gold-500); font-size: 26px; font-weight: 600;
}
.service-card h3 {
  font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-700); margin: 6px 0 16px; font-weight: 700;
}
.service-card .mini-rule { width: 36px; height: 2px; background: var(--gold-500); margin: 0 auto 16px; }
.service-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Servicio detallado ---------- */

.service-detail { padding: clamp(60px, 8vw, 100px) 0; border-bottom: 1px solid rgba(14,27,58,.08); }
.service-detail:last-child { border-bottom: 0; }
.service-detail .photo { position: relative; }
.service-detail .photo img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(10,21,48,.5);
}
.service-detail .photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-500); border-radius: var(--radius); z-index: -1;
}
.split.reverse .photo::before { inset: 22px 22px -22px -22px; }
.service-detail .big-n {
  font-family: var(--serif); font-size: 84px; line-height: 1; color: var(--gold-500); opacity: .9;
}
.service-detail h2 {
  font-family: var(--serif); text-transform: uppercase;
  font-size: clamp(30px, 3.6vw, 44px); color: var(--navy-700); margin: 8px 0 0;
}
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.checklist li::before {
  content: ""; flex: none; margin-top: 7px;
  width: 10px; height: 10px; transform: rotate(45deg);
  border: 1.5px solid var(--gold-500);
}

/* ---------- Estadísticas ---------- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 46px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .v {
  font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1;
  color: var(--gold-500); font-weight: 600;
}
.stat .l {
  margin-top: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light);
}
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Metodología / timeline ---------- */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 37px; top: 40px; bottom: 40px;
  width: 1px; background: linear-gradient(var(--gold-500), rgba(201,164,92,.2));
}
.timeline li { display: flex; gap: 30px; padding: 0 0 34px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .ico-badge { background: #fff; color: var(--navy-700); box-shadow: 0 0 0 2px var(--gold-500), 0 0 0 8px rgba(201,164,92,.1); }
.timeline .step { padding-top: 10px; border-bottom: 1px solid var(--line); padding-bottom: 26px; flex: 1; }
.timeline li:last-child .step { border-bottom: 0; }
.timeline h3 { font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; }
.timeline h3 b { color: var(--gold-500); font-family: var(--serif); font-size: 26px; margin-right: 14px; font-weight: 600; }
.timeline p { margin: 8px 0 0; color: var(--muted-light); font-size: 15px; }
.on-ivory .timeline h3, .light-tl h3 { color: var(--navy-700); }
.on-ivory .timeline p { color: var(--muted); }

.tall-photo { position: relative; height: 100%; min-height: 520px; }
.tall-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 8% 55%);
}
.tall-photo::after {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(18% 0, 18.3% 0, 8.3% 55%, 0.3% 100%, 0 100%, 8% 55%);
  background: var(--gold-500);
}
@media (max-width: 900px) {
  .tall-photo { min-height: 360px; }
  .tall-photo img { clip-path: none; border-radius: var(--radius); }
  .tall-photo::after { display: none; }
}

/* ---------- Sectores ---------- */

.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sector {
  margin: 0;
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--navy-700); aspect-ratio: 16 / 11;
}
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; opacity: .92; }
.sector:hover img { transform: scale(1.08); opacity: .7; }
.sector .label {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(0deg, rgba(10,21,48,.97) 30%, rgba(10,21,48,.75));
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border-top: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.sector:hover .label { padding-bottom: 26px; }
.sector .label .ico { color: var(--gold-500); width: 30px; height: 30px; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- Clientes ---------- */

.clients-board {
  background: #fff; border-radius: var(--radius); padding: clamp(14px, 3vw, 34px);
  box-shadow: 0 30px 70px -40px rgba(10,21,48,.5);
  border: 1px solid rgba(14,27,58,.06);
}
.clients-board img { width: 100%; height: auto; }

.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; background: var(--navy-800);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span {
  font-family: var(--serif); font-size: 22px; color: #e8eaf0; white-space: nowrap;
  padding: 0 34px; display: inline-flex; align-items: center; gap: 34px; text-transform: uppercase; letter-spacing: .06em;
}
.marquee span::after { content: "◆"; color: var(--gold-500); font-size: 10px; }

/* ---------- Banda de cita ---------- */

.band {
  background: var(--navy-700); color: #fff;
  padding: clamp(40px, 5vw, 60px) 0; position: relative; overflow: hidden;
}
.band .container { display: flex; align-items: center; gap: 34px; justify-content: space-between; }
.band .msg { display: flex; align-items: center; gap: 30px; }
.band .msg .ico { width: 54px; height: 54px; color: var(--gold-500); flex: none; }
.band .msg p { margin: 0; font-size: clamp(17px, 2vw, 22px); line-height: 1.5; padding-left: 30px; border-left: 1px solid var(--gold-500); }
.band .msg b { color: var(--gold-400); font-weight: 600; }
.band img.logo-mini { height: 70px; width: auto; flex: none; opacity: .95; }
.band.gold { background: linear-gradient(110deg, var(--gold-600), var(--gold-500) 40%, var(--gold-400)); color: var(--navy-900); }
.band.gold .msg .ico { color: var(--navy-900); }
.band.gold .msg p { border-color: var(--navy-900); font-weight: 600; }
.band.gold .msg b { color: var(--navy-900); font-weight: 700; }
@media (max-width: 760px) {
  .band .container { flex-direction: column; align-items: flex-start; }
  .band .msg { flex-direction: column; align-items: flex-start; gap: 18px; }
  .band .msg p { padding-left: 18px; }
  .band img.logo-mini { height: 54px; }
}

/* ---------- Foto con marco ---------- */

.framed { position: relative; }
.framed img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(10,21,48,.55); object-fit: cover; }
.framed::before {
  content: ""; position: absolute; top: -18px; right: -18px; width: 45%; height: 60%;
  border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500);
}
.framed::after {
  content: ""; position: absolute; bottom: -18px; left: -18px; width: 45%; height: 60%;
  border-bottom: 2px solid var(--gold-500); border-left: 2px solid var(--gold-500);
}
.framed .badge {
  position: absolute; left: -30px; bottom: 40px;
  background: var(--navy-700); color: #fff; padding: 22px 26px; border-radius: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); border-left: 3px solid var(--gold-500);
}
.framed .badge b { display: block; font-family: var(--serif); font-size: 40px; color: var(--gold-500); line-height: 1; }
.framed .badge span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 640px) { .framed .badge { left: 12px; bottom: 12px; padding: 16px 18px; } .framed .badge b { font-size: 30px; } }

/* ---------- Lista de diferenciadores ---------- */

.diff-list { list-style: none; padding: 0; margin: 0; }
.diff-list li {
  display: flex; gap: 26px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.diff-list li:last-child { border-bottom: 0; }
.diff-list h3 { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); font-weight: 700; margin-bottom: 6px; }
.diff-list p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Valores (compromiso) ---------- */

.value-item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.value-item:last-child { border-bottom: 0; }
.value-item .ico-badge { width: 70px; height: 70px; }
.value-item h3 { color: var(--gold-500); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.value-item p { margin: 0; color: var(--muted-light); font-size: 15px; }

.quote-box {
  margin-top: 34px; padding: 30px 34px; border: 1px solid var(--gold-500);
  display: flex; gap: 26px; align-items: center;
  clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%);
  padding-right: 60px;
}
.quote-box .ico { width: 54px; height: 54px; color: var(--gold-500); flex: none; }
.quote-box p { margin: 0; font-size: 19px; line-height: 1.5; color: #fff; }
.quote-box b { color: var(--gold-400); font-weight: 600; }

/* ---------- Experiencia ---------- */

.exp-gallery { display: grid; gap: 12px; grid-template-rows: 1.1fr 1fr 1fr; height: 100%; min-height: 640px; }
.exp-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.exp-gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.exp-gallery figure:nth-child(1) { clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.exp-gallery figure:nth-child(2) { clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%); }
.exp-gallery figure:nth-child(3) { clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 900px) { .exp-gallery { min-height: 0; grid-template-rows: none; } .exp-gallery figure { clip-path: none !important; aspect-ratio: 16/10; } }

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

.cta {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff; text-align: center;
  padding: clamp(90px, 11vw, 140px) 0;
}
.cta .bg { position: absolute; inset: 0; opacity: .22; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(14,27,58,.3), rgba(6,13,31,.95) 75%);
  z-index: 1;
}
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 56px); text-transform: uppercase; }
.cta p { color: var(--muted-light); max-width: 620px; margin: 22px auto 38px; font-size: 18px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

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

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 4px; margin-top: 34px; }
.contact-info .row { display: flex; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .ico-badge { width: 60px; height: 60px; }
.contact-info .ico-badge .ico { width: 26px; height: 26px; }
.contact-info small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.contact-info a, .contact-info span { font-size: 16px; color: var(--navy-700); font-weight: 500; }
.contact-info a:hover { color: var(--gold-600); }

.form-card {
  background: var(--navy-700); color: #fff; padding: clamp(30px, 4.5vw, 54px);
  border-radius: var(--radius); position: relative;
  box-shadow: 0 40px 80px -40px rgba(10,21,48,.8);
  border-top: 3px solid var(--gold-500);
}
.form-card h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); text-transform: uppercase; margin-bottom: 8px; }
.form-card > p { color: var(--muted-light); font-size: 15px; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 8px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15px;
  background: rgba(255,255,255,.04); color: #fff;
  border: 1px solid rgba(201,164,92,.3); border-radius: var(--radius);
  transition: border-color .3s, background .3s;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: rgba(255,255,255,.07); }
.field input::placeholder, .field textarea::placeholder { color: #8b94aa; }
.form-card .btn { margin-top: 26px; width: 100%; justify-content: center; }
.form-note { font-size: 13px; color: var(--muted-light); margin-top: 16px; min-height: 1.4em; }
.form-note.ok { color: var(--gold-300); }

.coverage {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid rgba(14,27,58,.1); border-radius: var(--radius); background: #fff;
}
.coverage div { padding: 30px 26px; border-left: 1px solid rgba(14,27,58,.08); }
.coverage div:first-child { border-left: 0; }
.coverage b { display: block; font-family: var(--serif); font-size: 32px; color: var(--gold-500); line-height: 1.1; }
.coverage span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 760px) { .coverage { grid-template-columns: 1fr 1fr; } .coverage div:nth-child(3) { border-left: 0; } .coverage div:nth-child(n+3) { border-top: 1px solid rgba(14,27,58,.08); } }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-900); color: var(--muted-light); padding: 90px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer-grid img { height: 64px; width: auto; margin-bottom: 24px; }
.footer-grid h4 { color: #fff; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-grid .tagline { max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(201,164,92,.2); padding: 26px 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px;
}
.footer-bottom .values-mini { letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); font-size: 12px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Animaciones ---------- */

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
.reveal[data-delay="5"] { transition-delay: .6s; }

.hero .fade-up { opacity: 0; animation: fadeUp 1.1s var(--ease) forwards; }
.hero .fade-up:nth-child(2) { animation-delay: .15s; }
.hero .fade-up:nth-child(3) { animation-delay: .3s; }
.hero .fade-up:nth-child(4) { animation-delay: .45s; }
.hero .fade-up:nth-child(5) { animation-delay: .6s; }
.hero-line line { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.2s .4s var(--ease) forwards; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes slowZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes cue { 0%,100% { transform: translate(-50%, 0); opacity: 1; } 60% { transform: translate(-50%, 12px); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero .fade-up { opacity: 1; }
}

@media (max-width: 560px) {
  .hero-logo { width: 200px; margin-bottom: 32px; }
  .values { letter-spacing: .14em; font-size: 12px; }
}
