/* ═══════════════════════════════════════════
   IE 7034 ENRIQUE NERINI COLLAZOS — SHARED CSS
   Paleta: marino + celeste + blanco + dorado
   ═══════════════════════════════════════════ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Core palette */
  --navy:       #0B1F3A;      /* azul marino profundo */
  --navy-mid:   #132d52;
  --navy-light: #1e3f6e;
  --sky:        #3B8BC4;      /* celeste */
  --sky-light:  #6aafd9;
  --sky-pale:   #d6eaf8;
  --gold:       #F0A500;      /* acento dorado */
  --gold-light: #ffd166;
  --white:      #ffffff;
  --off-white:  #F4F8FC;
  --paper:      #EEF4FA;
  --gray:       #6b7e96;
  --gray-light: #c8d6e5;
  --ink:        #0B1F3A;

  /* Typography */
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Sizes */
  --nav-h: 72px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(11,31,58,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59,139,196,.2);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem,4vw,2.5rem);
  position: relative; z-index: 2;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--navy-light) 100%);
  border-radius: 0 px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(59,139,196,.4);
}
.brand-icon svg { width: 32px; height: 32px; }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-num {
  font-family: var(--font-head); font-weight: 900; font-size: .82rem;
  color: var(--gold); letter-spacing: .08em;
}
.brand-name {
  font-size: .92rem; font-weight: 600; color: var(--white); line-height: 1;
}

/* Desktop nav links */
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 15px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.75);
  transition: background .2s, color .2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.current {
  background: rgba(59,139,196,.18); color: var(--white);
}
.nav-links > li > a.current { color: var(--sky-light); }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-mid); border: 1px solid rgba(59,139,196,.2);
  border-radius: var(--radius-sm); min-width: 190px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  overflow: hidden;
}
.has-drop:hover .dropdown { display: block; animation: dropIn .5s var(--ease); }
@keyframes dropIn {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}
.dropdown li a {
  display: block; padding: 11px 18px;
  font-size: .87rem; font-weight: 500; color: rgba(255,255,255,.78);
  transition: background .15s, color .15s;
}
.dropdown li a:hover { background: rgba(59,139,196,.25); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5.5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: var(--white); border-radius: 3px;
  transition: transform .3s var(--ease), opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column;
  padding: 1.5rem clamp(1rem,4vw,2.5rem) 2rem;
  border-top: 1px solid rgba(59,139,196,.15);
  gap: 4px;
}
.mobile-menu.open { display: flex; animation: slideDown .25s var(--ease); }
@keyframes slideDown {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}
.mobile-menu a {
  padding: 13px 16px; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.82);
  transition: background .15s;
}
.mobile-menu a:hover { background: rgba(59,139,196,.2); color: var(--white); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 3rem clamp(1.5rem,5vw,3rem) 1.5rem;
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand .brand-num { font-size: 1rem; }
.footer-brand .brand-name { font-size: 1.1rem; color: var(--white); font-weight: 700; }
.footer-brand p { margin-top: .8rem; font-size: .87rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-head); font-size: 1rem;
  color: var(--sky-light); margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: .86rem; color: rgba(255,255,255,.55);
  padding: 4px 0; transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.footer-fb a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--sky-light); font-weight: 600; font-size: .88rem;
}
.footer-fb a:hover { color: var(--white); }

/* ── SHARED PAGE WRAPPER ── */
.page-wrap { padding-top: var(--nav-h); }

/* ── COMMON SECTIONS ── */
.section {
  padding: clamp(3rem,6vw,5rem) clamp(1.5rem,5vw,3rem);
  max-width: 1200px; margin: 0 auto;
}
.tag-label {
  display: inline-block;
  padding: 5px 15px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--sky-pale); color: var(--sky);
  margin-bottom: 1rem;
}
.tag-label.gold {
  background: #fff3d4; color: #b07800;
}
h2.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem,4vw,2.9rem);
  font-weight: 900; line-height: 1.1;
  color: var(--navy); margin-bottom: 1rem;
}
h2.sec-title span { color: var(--sky); }
h2.sec-title em { color: var(--gold); font-style: normal; }
.sec-lead {
  font-size: 1.05rem; color: var(--gray);
  max-width: 600px; margin-bottom: 3rem;
}

/* Cards grid */
.cards-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--gray-light);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(11,31,58,.1); }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--sky-pale); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.card h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  color: var(--navy); margin-bottom: .6rem;
}
.card p { font-size: .92rem; color: var(--gray); line-height: 1.6; }

/* Divider wave */
.wave-div {
  width: 100%; overflow: hidden; line-height: 0;
  background: transparent;
}
.wave-div svg { display: block; width: 100%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .93rem; font-weight: 600;
  cursor: pointer; border: none; transition: all .22s var(--ease);
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); box-shadow: 0 6px 20px rgba(11,31,58,.3); transform: translateY(-2px); }
.btn-sky { background: var(--sky); color: var(--white); }
.btn-sky:hover { background: var(--sky-light); box-shadow: 0 6px 20px rgba(59,139,196,.4); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > .footer-brand { grid-column: span 2; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Fade-in animation on load */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-up { animation: fadeUp .6s var(--ease) both; }
.fade-up-2 { animation: fadeUp .6s .15s var(--ease) both; }
.fade-up-3 { animation: fadeUp .6s .3s var(--ease) both; }
.fade-up-4 { animation: fadeUp .6s .45s var(--ease) both; }

/* ── SHARED JS snippet ── */
