:root {
  --navy: #0f2638;
  --navy-2: #142f44;
  --gold: #b9975b;
  --gold-2: #d8bd7a;
  --cream: #f6f3ed;
  --light: #fbfaf7;
  --text: #26323c;
  --muted: #65717c;
  --line: #ded7ca;
  --white: #ffffff;
  --shadow: 0 16px 38px rgba(15, 38, 56, 0.12);
  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.65;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
}
.topbar__links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar a:hover { color: var(--gold-2); }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251,250,247,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(222,215,202,.8);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .2px;
}
.logo__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), #1d4967);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: var(--shadow);
}
.logo__text small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: -4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  padding: 12px 12px;
  font-weight: 650;
  color: var(--navy);
  border-radius: 999px;
}
.nav a:hover, .nav a.active {
  background: rgba(185,151,91,.14);
  color: var(--navy);
}
.menu-toggle {
  display: none;
  background: var(--navy);
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn--primary { background: var(--gold); color: #111; }
.btn--primary:hover { transform: translateY(-1px); background: var(--gold-2); }
.btn--secondary { background: transparent; color: white; border-color: rgba(255,255,255,.42); }
.btn--secondary:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--light { background: white; color: var(--navy); border-color: var(--line); }
.btn--light:hover { border-color: var(--gold); color: var(--navy); }
.btn--dark { background: var(--navy); color: white; }
.btn--dark:hover { background: var(--navy-2); transform: translateY(-1px); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(185,151,91,.28), transparent 30%),
    linear-gradient(135deg, #0f2638 0%, #163b56 56%, #10293d 100%);
  color: white;
  padding: 90px 0 70px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: 52px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold-2);
}
h1, h2, h3 { line-height: 1.16; margin: 0 0 18px; color: var(--navy); }
.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  color: white;
  letter-spacing: -.04em;
}
.hero p {
  font-size: 20px;
  color: rgba(255,255,255,.83);
  max-width: 760px;
  margin: 0 0 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 22px 80px rgba(0,0,0,.2);
}
.hero-card h3 { color: white; }
.hero-card ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.83); }
.hero-card li + li { margin-top: 10px; }

.section { padding: 76px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: white; }
.section--navy h2, .section--navy h3 { color: white; }
.section__head {
  max-width: 790px;
  margin-bottom: 36px;
}
.section__head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head p, .lead { color: var(--muted); font-size: 18px; margin: 0; }
.section--navy .section__head p { color: rgba(255,255,255,.78); }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 26px rgba(15,38,56,.06);
}
.card h3 { font-size: 22px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(185,151,91,.17);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: start;
}
.panel {
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: var(--shadow);
}
.panel--dark {
  background: linear-gradient(145deg, var(--navy), #183b55);
  color: white;
  border-color: rgba(255,255,255,.16);
}
.panel--dark h2, .panel--dark h3 { color: white; }
.panel--dark p, .panel--dark li { color: rgba(255,255,255,.78); }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(222,215,202,.72);
}
.list-clean li:last-child { border-bottom: 0; }
.check {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(185,151,91,.18);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy), #173a55);
  color: white;
  padding: 62px 0;
}
.page-hero h1 { color: white; font-size: clamp(34px, 4vw, 54px); }
.page-hero p { max-width: 830px; color: rgba(255,255,255,.82); font-size: 19px; margin: 0; }
.breadcrumb { color: var(--gold-2); font-weight: 700; margin-bottom: 12px; }

.team-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}
.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #f3f0ea;
}
.avatar {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), #214f70);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
}
.role { color: var(--gold); font-weight: 800; margin-top: -8px; }
.team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 14px;
}
.team-meta a { color: var(--navy); font-weight: 700; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  border: 1px solid rgba(185,151,91,.42);
  background: rgba(185,151,91,.1);
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}

.blog-card { display: flex; flex-direction: column; gap: 12px; }
.blog-meta { color: var(--gold); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.blog-card h3 { margin-bottom: 0; }
.blog-card .btn { align-self: flex-start; margin-top: auto; }
.reply-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(15,38,56,.04);
  border: 1px solid rgba(15,38,56,.08);
  color: var(--muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 750; color: var(--navy); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: white;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185,151,91,.18);
}
textarea { min-height: 136px; resize: vertical; }
.form small { color: var(--muted); }
.form-status { font-weight: 700; }

.cta {
  background: linear-gradient(135deg, var(--navy), #1a4565);
  color: white;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  position: relative;
}
.cta h2 { color: white; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.78); margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer {
  background: #091b29;
  color: rgba(255,255,255,.78);
  padding: 52px 0 24px;
}
.footer h3, .footer h4 { color: white; }
.footer__grid { display: grid; grid-template-columns: 1.15fr .9fr 1fr 1fr; gap: 30px; }
.footer a:hover { color: var(--gold-2); }
.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  border: 3px solid white;
}

.note {
  background: rgba(185,151,91,.12);
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  border-radius: 12px;
  color: var(--text);
}

@media (max-width: 920px) {
  .topbar__inner { align-items: flex-start; flex-direction: column; gap: 6px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a { border-radius: 12px; }
  .hero__grid, .split, .grid--2, .grid--3, .grid--4, .footer__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header__inner { min-height: 70px; }
  .logo__text small { display: none; }
  .hero p, .page-hero p, .section__head p, .lead { font-size: 16px; }
  .section { padding: 54px 0; }
  .form__row, .team-card { grid-template-columns: 1fr; }
  .team-photo, .avatar { width: 100%; max-width: 240px; height: auto; aspect-ratio: 1 / 1; }
  .avatar { width: 92px; height: 92px; border-radius: 22px; }
}


.price-card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.price-card .btn { align-self: flex-start; margin-top: auto; }
.price-card__tag {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(185,151,91,.16);
  color: var(--navy);
  border: 1px solid rgba(185,151,91,.36);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.price { font-size: 20px; color: var(--navy) !important; margin: 0 0 4px !important; }
.price strong { font-size: 30px; color: var(--gold); }
.price-card--featured {
  border: 2px solid rgba(185,151,91,.7);
  box-shadow: 0 18px 42px rgba(15,38,56,.14);
  transform: translateY(-6px);
}
.center-actions { text-align: center; margin: 28px 0 0; }


.resource-grid .card { min-height: 210px; }
.resource-card { display: flex; flex-direction: column; gap: 12px; }
.resource-card h3 { margin-bottom: 0; }
.resource-card p { margin-bottom: 0; }
.text-link {
  margin-top: auto;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid rgba(185,151,91,.55);
  align-self: flex-start;
}
.text-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer p + p { margin-top: 10px; }


/* Redes sociales, accesos directos y logos institucionales */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}
.social-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 22px;
}
.social-icon--linkedin { background: #0A66C2; font-family: Arial, sans-serif; }
.social-icon--instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 10%, #fd5949 45%, #d6249f 65%, #285AEB 100%);
  font-size: 16px;
}
.footer-socials { display: grid; gap: 8px; }
.footer-resources {
  display: grid;
  gap: 7px;
}
.footer-resources a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.78);
  font-weight: 700;
  line-height: 1.2;
}
.footer-resources img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.18);
  flex: 0 0 28px;
}
.resource-card--link { text-decoration: none; color: inherit; }
.resource-card--link:hover { transform: translateY(-2px); border-color: rgba(185,151,91,.45); }
.resource-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 6px;
}
.team-photo--logo {
  object-fit: contain;
  background: #fff;
  padding: 18px;
}


/* Footer compacto definitivo */
.footer__grid { display: grid; grid-template-columns: 1.15fr .75fr .95fr .9fr; gap: 30px; align-items: start; }
.footer-resources { display: grid; gap: 8px; margin-top: 10px; }
.footer-resources a { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; line-height: 1.2; }
.footer-resources img { width: 24px; height: 24px; max-width: 24px; max-height: 24px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; flex: 0 0 24px; }
.footer-socials { display: grid; gap: 8px; margin-top: 10px; }
@media (max-width: 920px) { .footer__grid { grid-template-columns: 1fr; } }
