/* ============================================
   XAVIER GODOY — Landing
   Corporate Serious | Navy + Grays
   ============================================ */

:root {
  /* Color system */
  --navy-900: #0a1929;
  --navy-800: #102a43;
  --navy-700: #1a3a5c;
  --navy-600: #2a4f7a;
  --navy-500: #3b6997;

  --gray-50:  #f7f8fa;
  --gray-100: #eef0f3;
  --gray-200: #d9dde3;
  --gray-300: #b8bfc9;
  --gray-400: #8c95a3;
  --gray-500: #5e6773;
  --gray-600: #424a55;
  --gray-700: #2c333c;
  --gray-800: #1a1f26;

  --accent: #c8a96a;       /* sutil dorado para hairlines / acentos */
  --accent-soft: #e8d9b6;

  --white: #ffffff;
  --black: #000000;

  /* Type */
  --font-serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10,25,41,0.05);
  --shadow-md: 0 4px 16px rgba(10,25,41,0.08);
  --shadow-lg: 0 20px 60px rgba(10,25,41,0.15);

  /* Easing */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--navy-900); }

ul, ol { list-style: none; }

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

p { color: var(--gray-600); }
strong { color: var(--navy-800); font-weight: 600; }

.muted { color: var(--gray-500); }
.small { font-size: 0.875rem; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.section {
  padding: var(--s-10) 0;
}
.section-alt {
  background: var(--gray-50);
}

@media (max-width: 768px) {
  .section { padding: var(--s-8) 0; }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--navy-900);
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--navy-900);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  letter-spacing: 0.01em;
  position: relative;
  padding: var(--s-2) 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-900);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.nav-cta {
  background: var(--navy-900);
  color: var(--white) !important;
  padding: var(--s-3) var(--s-5) !important;
  border-radius: var(--radius-sm);
  transition: all .25s var(--ease);
}
.nav-cta:hover {
  background: var(--navy-800);
  color: var(--white) !important;
}
.nav-cta.active::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s-2);
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy-900);
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: var(--s-5);
    border-bottom: 1px solid var(--gray-100);
    gap: var(--s-4);
  }
  .nav-toggle { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-6);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: all .25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-800);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1px solid var(--gray-300);
}
.btn-ghost:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
  background: var(--gray-50);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost-light:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

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

.btn-block {
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-10);
  background:
    linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(ellipse at top right, rgba(26,58,92,0.04), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-9);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  margin-bottom: var(--s-5);
  font-weight: 400;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 540px;
  margin-bottom: var(--s-7);
}

.hero-actions {
  display: flex;
  gap: var(--s-4);
  margin-bottom: var(--s-8);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding-top: var(--s-6);
  border-top: 1px solid var(--gray-200);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.meta-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.meta-label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.meta-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}
/* Si subes la foto real, reemplaza este placeholder con: */
/* <img src="img/xavier-godoy.jpg" alt="Xavier Godoy" class="portrait-img"> */
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.frame-accent {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }
  .hero-visual { order: -1; }
  .portrait-frame { max-width: 280px; }
  .hero-meta { flex-wrap: wrap; gap: var(--s-4); }
  .meta-divider { display: none; }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  margin-bottom: var(--s-8);
  max-width: 720px;
}
.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: var(--s-4);
}

.section-title {
  margin-bottom: var(--s-4);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
}

.section-cta {
  text-align: center;
  margin-top: var(--s-7);
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro-grid,
.content-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-8);
  align-items: start;
}

.intro-label,
.content-label {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-2);
}

.label-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.label-text {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy-700);
}

.intro-lead {
  font-size: 1.3rem;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--navy-900);
  line-height: 1.5;
  margin-bottom: var(--s-5);
  letter-spacing: -0.01em;
}

.intro-body {
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-title {
  margin-bottom: var(--s-5);
}

.content-body p {
  margin-bottom: var(--s-4);
  font-size: 1.02rem;
  line-height: 1.75;
}

.content-body p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
  .intro-grid,
  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
}

/* ============================================
   PILLARS
   ============================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.pillar {
  padding: var(--s-7) var(--s-5);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: all .3s var(--ease);
  position: relative;
}

.pillar:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--s-5);
  font-weight: 600;
}

.pillar-title {
  margin-bottom: var(--s-3);
  font-size: 1.25rem;
}

.pillar-text {
  font-size: 0.96rem;
  line-height: 1.65;
}

@media (max-width: 800px) {
  .pillars-grid { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* ============================================
   TIMELINE PREVIEW (home)
   ============================================ */
.timeline-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  position: relative;
}

.timeline-preview::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--gray-200), var(--gray-200), var(--accent));
}

.tl-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: var(--s-5);
}

.tl-item::before {
  content: '';
  position: absolute;
  top: 3px;
  width: 11px;
  height: 11px;
  background: var(--white);
  border: 2px solid var(--navy-700);
  border-radius: 50%;
}

.tl-year {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy-900);
}

.tl-event {
  font-size: 0.92rem;
  color: var(--gray-600);
  max-width: 180px;
}

@media (max-width: 700px) {
  .timeline-preview { grid-template-columns: 1fr; gap: var(--s-5); }
  .timeline-preview::before { display: none; }
}

/* ============================================
   CTA FINAL
   ============================================ */
.section-cta-final {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-cta-final::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,169,106,0.08), transparent 60%);
  pointer-events: none;
}

.cta-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  color: var(--white);
  margin-bottom: var(--s-4);
}

.cta-text {
  color: rgba(255,255,255,0.75);
  font-size: 1.08rem;
  margin-bottom: var(--s-7);
}

.cta-actions {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
}

.section-cta-final .btn-primary {
  background: var(--white);
  color: var(--navy-900);
}
.section-cta-final .btn-primary:hover {
  background: var(--accent-soft);
  color: var(--navy-900);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-800);
  color: var(--gray-300);
  padding: var(--s-8) 0 var(--s-6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.5fr;
  gap: var(--s-6);
  align-items: start;
}

.footer .logo-mark {
  background: var(--accent);
  color: var(--navy-900);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.footer-brand p {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.4;
}
.footer-brand p span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: var(--gray-300);
  font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--white); }

.footer-meta {
  text-align: right;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.footer-meta p { color: inherit; margin-bottom: var(--s-1); }
.footer-fine { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand { justify-content: center; }
  .footer-meta { text-align: center; }
}

/* ============================================
   PAGE HEADER (interior pages)
   ============================================ */
.page-header {
  padding: var(--s-10) 0 var(--s-8);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-100);
}

.page-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.page-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.page-title {
  margin-bottom: var(--s-5);
  max-width: 800px;
}

.page-lead {
  font-size: 1.2rem;
  max-width: 720px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   TIMELINE FULL (trayectoria)
   ============================================ */
.timeline {
  max-width: 760px;
  margin: 0 auto;
}

.tl-block {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
}

.tl-block.last { padding-bottom: 0; }

.tl-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.tl-dot {
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 2px solid var(--navy-700);
  border-radius: 50%;
  margin-top: 8px;
  z-index: 2;
  flex-shrink: 0;
}
.tl-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.tl-line {
  width: 1px;
  flex: 1;
  background: var(--gray-200);
  margin-top: var(--s-2);
}

.tl-content {
  padding-bottom: var(--s-3);
}

.tl-year-big {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}

.tl-title {
  margin-bottom: var(--s-3);
  font-size: 1.4rem;
}

.tl-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}

/* ============================================
   VALUE CARDS (puertomar)
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}

.value-card {
  padding: var(--s-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--navy-700);
  border-radius: var(--radius-sm);
  transition: all .25s var(--ease);
}

.value-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.value-mark {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: var(--s-3);
}

.value-card h3 {
  margin-bottom: var(--s-3);
  font-size: 1.2rem;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .value-grid { grid-template-columns: 1fr; }
}

.sector-list {
  margin: var(--s-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.sector-list li {
  padding-left: var(--s-5);
  position: relative;
  color: var(--gray-700);
  line-height: 1.6;
}
.sector-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 7px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-8);
  align-items: start;
}

.contact-side {
  position: sticky;
  top: 100px;
}

.contact-block {
  background: var(--gray-50);
  padding: var(--s-6);
  border-radius: var(--radius-md);
  margin-bottom: var(--s-5);
}

.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: var(--s-5);
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--navy-900);
  transition: all .2s var(--ease);
}
.contact-channel:last-child { border-bottom: none; }
a.contact-channel:hover { color: var(--navy-900); padding-left: var(--s-2); }

.ch-icon {
  width: 40px;
  height: 40px;
  background: var(--navy-900);
  color: var(--white);
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.ch-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ch-text strong { color: var(--navy-900); font-size: 0.95rem; }
.ch-text span { color: var(--gray-500); font-size: 0.85rem; }

.ch-arrow {
  color: var(--gray-400);
  font-size: 1.1rem;
}

.contact-note {
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.contact-note p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-500);
}

/* Form */
.contact-form {
  background: var(--white);
  padding: var(--s-7);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: var(--s-5);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--s-2);
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-sans);
}

.form-consent {
  margin-top: var(--s-4);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 400;
  line-height: 1.5;
}

.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy-900);
  flex-shrink: 0;
  cursor: pointer;
}

.form-fine {
  margin-top: var(--s-4);
  font-size: 0.82rem;
  color: var(--gray-500);
  text-align: center;
}

/* Honeypot: invisible para humanos, visible para bots */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .contact-side { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: var(--s-5); }
}

/* ============================================
   SUCCESS / ERROR PAGES
   ============================================ */
.status-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s-9) var(--s-5);
}

.status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto var(--s-6);
  font-size: 2.2rem;
}

.status-success .status-icon {
  background: rgba(34,139,72,0.12);
  color: #228b48;
}
.status-error .status-icon {
  background: rgba(196,68,68,0.12);
  color: #c44444;
}

.status-page h1 { margin-bottom: var(--s-4); }
.status-page p {
  max-width: 480px;
  margin: 0 auto var(--s-6);
  font-size: 1.05rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  opacity: 0;
  animation: fadeUp .8s var(--ease) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

.hero-visual {
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
