:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1a3357;
  --gold: #c9a84c;
  --gold-light: #e2c47a;
  --gold-pale: #f0dfa8;
  --white: #f5f2ec;
  --gray: #8a9ab5;
  --text: #d0d8e8;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 42px;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 10px 24px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--gold-light); }

/* ── HERO ── */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(17,34,64,0.8) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
/* animated ocean lines */
.hero-waves {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.08;
}
.wave-line {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: waveDrift linear infinite;
}
.wave-line:nth-child(1) { top: 30%; animation-duration: 12s; animation-delay: 0s; }
.wave-line:nth-child(2) { top: 45%; animation-duration: 16s; animation-delay: -4s; opacity: 0.6; }
.wave-line:nth-child(3) { top: 60%; animation-duration: 10s; animation-delay: -8s; }
.wave-line:nth-child(4) { top: 72%; animation-duration: 14s; animation-delay: -2s; opacity: 0.4; }
@keyframes waveDrift {
  0% { transform: translateX(-5%) skewY(-0.5deg); }
  50% { transform: translateX(5%) skewY(0.5deg); }
  100% { transform: translateX(-5%) skewY(-0.5deg); }
}

/* geometric accent */
.hero-circle {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15);
  animation: rotateSlow 40s linear infinite;
}
.hero-circle::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
}
.hero-circle::after {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px dashed rgba(201,168,76,0.12);
}
@keyframes rotateSlow { to { transform: translateY(-50%) rotate(360deg); } }

.hero-anchor {
  position: absolute;
  right: calc(8% + 150px);
  top: 50%;
  transform: translate(50%, -50%);
  font-size: 5rem;
  opacity: 0.06;
  color: var(--gold);
}

.hero-content {
  position: relative;
  max-width: 680px;
  animation: fadeUp 1s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 10px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 520px;
  margin-bottom: 50px;
  opacity: 0.85;
}
.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
}
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 36px;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.3s;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 3px;
  transition: all 0.3s;
}
.btn-ghost:hover { color: var(--gold-pale); border-color: var(--gold); }

.hero-stats {
  position: absolute;
  bottom: 48px;
  left: 60px;
  display: flex;
  gap: 48px;
  animation: fadeUp 1s ease 0.4s both;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}

/* scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 48px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-hint span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── SECTIONS COMMON ── */
section { padding: 120px 60px; position: relative; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 48px;
}

/* ── QUIÉNES SOMOS ── */
#quienes {
  background: var(--navy-mid);
}
.quienes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.quienes-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
  opacity: 0.9;
}
.quienes-text p strong {
  color: var(--gold-light);
  font-weight: 500;
}
.mv-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mv-card {
  background: var(--navy-light);
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  transition: background 0.3s;
}
.mv-card:hover { background: rgba(201,168,76,0.07); }
.mv-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.mv-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}
.mv-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text);
  opacity: 0.85;
}

/* ── SERVICIOS ── */
#servicios {
  background: var(--navy);
}
.servicios-header {
  max-width: 1200px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.servicios-header p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.8;
}
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--navy-mid);
  padding: 50px 48px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s;
}
.service-card:hover { background: var(--navy-light); }
.service-card:hover::before { width: 100%; }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201,168,76,0.08);
  position: absolute;
  top: 20px;
  right: 32px;
  line-height: 1;
  transition: color 0.4s;
}
.service-card:hover .service-num { color: rgba(201,168,76,0.15); }
.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.service-card > p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 28px;
}
.service-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-items li {
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.75;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.service-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.7;
}

/* ── POR QUÉ ELEGIRNOS ── */
#porque {
  background: var(--navy-mid);
  overflow: hidden;
}
.porque-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.porque-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.porque-card {
  background: var(--navy);
  padding: 44px 36px;
  border-top: 2px solid transparent;
  transition: all 0.35s;
  position: relative;
}
.porque-card:hover {
  background: var(--navy-light);
  border-top-color: var(--gold);
}
.porque-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  transition: all 0.35s;
}
.porque-card:hover .porque-icon {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.porque-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
}
.porque-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text);
  opacity: 0.75;
}

/* ── VALORES ── */
#valores-section {
  background: var(--navy);
}
.valores-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.valores-left {
  position: sticky;
  top: 100px;
}
.valores-left p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.8;
}
.valores-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.valor-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: var(--navy-mid);
  transition: background 0.3s;
}
.valor-row:hover { background: var(--navy-light); }
.valor-name {
  padding: 28px 32px;
  border-right: 1px solid rgba(201,168,76,0.12);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  display: flex;
  align-items: center;
}
.valor-desc {
  padding: 28px 32px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.8;
}

/* ── CONTACTO ── */
#contacto {
  background: var(--navy-mid);
}
.contacto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contacto-info { }
.contacto-info p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 48px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-item-text {
  display: flex;
  flex-direction: column;
}
.contact-item-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 5px;
}
.contact-item-value {
  font-size: 0.95rem;
  color: var(--white);
}
.contact-item-value a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-item-value a:hover { color: var(--gold-light); }

/* FOOTER */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
}
.footer-logo span { color: var(--gold); }
.footer-logo small {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--gray);
  opacity: 0.6;
}

/* CTA BANNER */
.cta-banner {
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 80% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.cta-banner-text { position: relative; }
.cta-banner-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}
.cta-banner-text p {
  font-size: 0.95rem;
  color: var(--text);
  opacity: 0.7;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  section { padding: 80px 24px; }
  #inicio { padding: 0 24px; }
  .hero-circle { display: none; }
  .quienes-grid,
  .servicios-header,
  .contacto-inner,
  .valores-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .porque-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 24px; }
  footer { flex-direction: column; gap: 24px; text-align: center; padding: 40px 24px; }
  .hero-stats { gap: 24px; }
  .valor-row { grid-template-columns: 1fr; }
  .valor-name { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.12); }
  .form-row { grid-template-columns: 1fr; }
}
