/* ===== Tokens ===== */
:root {
  --navy: #0f2c3f;
  --navy-2: #133b54;
  --teal: #1f7a8c;
  --teal-dark: #155c6b;
  --accent: #2a9d8f;
  --ink: #1c2630;
  --muted: #5d6b78;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-alt: #f5f8fa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 44, 63, 0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; line-height: 1.2; color: var(--navy); }

a { color: inherit; text-decoration: none; }

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--navy); color: #fff;
  border-radius: 9px;
  font-family: "Source Serif 4", serif; font-weight: 600; letter-spacing: 0.5px;
}
.brand-text { font-size: 18px; color: var(--navy); }
.brand-text strong { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 9px 18px; border-radius: 8px;
}
.nav-cta:hover { background: var(--teal-dark); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, #f5f8fa 0%, #ffffff 100%);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px;
  font-weight: 600; color: var(--teal); margin: 0 0 14px;
}
.hero h1 { font-size: 44px; margin: 0 0 20px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 560px; }
.lead strong { color: var(--ink); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { color: var(--navy); font-size: 15px; }
.hero-trust span { color: var(--muted); font-size: 13px; }
.hero-photo img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 18px; box-shadow: var(--shadow);
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px;
  font-weight: 600; color: var(--teal); margin: 0 0 10px;
}
.section-eyebrow.light { color: #7fd0c4; }
.section-title { font-size: 32px; margin: 0 0 16px; }
.section-title.light { color: #fff; }
.section-intro { font-size: 17px; color: var(--muted); max-width: 680px; margin: 0 0 44px; }
.section-intro.light { color: #c4d4dd; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe0e4; }
.card-media { height: 200px; overflow: hidden; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 26px 30px 30px; }
.card h3 { font-size: 20px; margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); }

/* ===== Split ===== */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.split-photo img { width: 100%; height: 460px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.split-copy p { color: var(--muted); margin: 0 0 16px; }
.split-copy strong { color: var(--ink); }
.profile-list { list-style: none; margin: 22px 0 0; padding: 0; }
.profile-list li {
  padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line);
  position: relative; color: var(--ink);
}
.profile-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.step-num {
  display: inline-block; font-family: "Source Serif 4", serif; font-size: 26px;
  font-weight: 600; color: var(--teal); margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Dark / Transparencia ===== */
.section-dark { background: var(--navy); }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 26px; position: relative;
}
.doc-card h3 { color: #fff; font-size: 18px; margin: 0 0 10px; }
.doc-card p { color: #b9cad4; margin: 0 0 18px; font-size: 15px; }
.doc-tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; color: #0f2c3f; background: #7fd0c4;
  padding: 4px 12px; border-radius: 20px;
}
.docs-note { color: #9fb4c0; font-size: 15px; margin-top: 30px; max-width: 720px; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.contact-grid p { color: var(--muted); }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; }
.contact-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.contact-list span:first-child { color: var(--muted); font-size: 14px; }
.contact-list a, .contact-list li > span:last-child { color: var(--navy); font-weight: 500; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 22px; margin: 0 0 6px; }
.contact-card p { margin: 0 0 8px; }
.contact-card .muted { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-2); color: #c4d4dd; padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.footer-meta { color: #8fa6b3; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .cards, .docs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 16px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .section { padding: 56px 0; }
  .cards, .docs, .steps, .gallery, .hero-trust { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-photo img, .split-photo img { height: 340px; }
}
