/* ============================================================
   MOOVISION ANALYTICS — Global Stylesheet
   Paleta: Navy #1E2761 · Mint #02C39A · Teal #028090
   Fondo #F8F9FC · Texto #1E293B · Gris #64748B
   Ámbar #F59E0B · Danger #EF4444 · Success #10B981
   ============================================================ */

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

:root {
  --navy:      #1E2761;
  --navy-dark: #141b4d;
  --mint:      #02C39A;
  --mint-dark: #019979;
  --teal:      #028090;
  --bg:        #F8F9FC;
  --white:     #ffffff;
  --text:      #1E293B;
  --gray:      #64748B;
  --gray-light:#E2E8F0;
  --amber:     #F59E0B;
  --danger:    #EF4444;
  --success:   #10B981;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --radius:    10px;
  --radius-lg: 16px;
  --transition: .25s ease;
  --max-width: 1200px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- TIPOGRAFÍA ------------------------------------------- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--gray); line-height: 1.75; }

.lead { font-size: 1.125rem; color: var(--gray); }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-desc  { max-width: 640px; margin: 0 auto 3rem; text-align: center; }

/* --- LAYOUT HELPERS --------------------------------------- */
.container      { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section        { padding: 5rem 0; }
.section-alt    { background: var(--white); }
.section-navy   { background: var(--navy); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p  { color: rgba(255,255,255,.75); }
.text-center    { text-align: center; }
.flex           { display: flex; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.gap-1  { gap: .5rem; }
.gap-2  { gap: 1rem; }
.gap-3  { gap: 1.5rem; }
.gap-4  { gap: 2rem; }
.mt-1   { margin-top: .5rem; }
.mt-2   { margin-top: 1rem; }
.mt-3   { margin-top: 1.5rem; }
.mb-2   { margin-bottom: 1rem; }
.mb-3   { margin-bottom: 1.5rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

/* --- BOTONES ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--mint);
  color: var(--white);
  border-color: var(--mint);
}
.btn-primary:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2,195,154,.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-lg { padding: .9rem 2.25rem; font-size: 1rem; }

/* --- HEADER / NAV ----------------------------------------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.logo { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.logo img { height: 38px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-menu a {
  padding: .45rem .85rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--navy);
  background: rgba(30,39,97,.06);
}

.nav-cta { margin-left: .5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--gray-light);
    box-shadow: var(--shadow-md);
    gap: .25rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a  { width: 100%; padding: .65rem 1rem; font-size: 1rem; }
  .nav-cta     { margin-left: 0; margin-top: .5rem; }
  .header-inner { position: relative; }
}

/* --- HERO -------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243480 55%, var(--teal) 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content p  { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-btns       { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual     { display: flex; justify-content: center; align-items: center; }
.hero-visual img { max-height: 360px; filter: drop-shadow(0 8px 32px rgba(2,195,154,.2)); }

/* Badges strip */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge-mint { background: rgba(2,195,154,.18); color: var(--mint); border: 1px solid rgba(2,195,154,.35); }
.badge-navy { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.25); }
.badge-amber{ background: rgba(245,158,11,.15); color: var(--amber); border: 1px solid rgba(245,158,11,.3); }
.badge-teal { background: rgba(2,128,144,.2); color: #4ecfdb; border: 1px solid rgba(2,128,144,.35); }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .hero { padding: 4rem 0 3rem; }
}

/* --- CARDS ------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background: rgba(2,195,154,.12);
  color: var(--mint-dark);
}
.card-icon.navy  { background: rgba(30,39,97,.1); color: var(--navy); }
.card-icon.amber { background: rgba(245,158,11,.12); color: var(--amber); }
.card-icon.teal  { background: rgba(2,128,144,.12); color: var(--teal); }
.card h3 { margin-bottom: .65rem; color: var(--navy); font-size: 1.15rem; }
.card p  { margin-bottom: 0; font-size: .93rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--mint-dark);
  transition: gap var(--transition);
}
.card-link:hover { gap: .6rem; }

/* Service card */
.service-card { padding: 2.25rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card .problem {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber);
  margin-bottom: .35rem;
}
.service-card ul { margin: .75rem 0 1.25rem; }
.service-card ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .45rem;
  font-size: .9rem;
  color: var(--gray);
}
.service-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--mint);
}

/* Use case card */
.case-card {
  border-left: 4px solid var(--mint);
  padding: 2rem 2rem 2rem 2.25rem;
}
.case-card .case-tag {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: .5rem;
}
.case-card h3 { margin-bottom: .75rem; }
.case-card .case-section { margin-top: 1rem; }
.case-card .case-section-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
  margin-bottom: .35rem;
}

/* Blog card */
.blog-card { overflow: hidden; padding: 0; }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.blog-card-body { padding: 1.5rem; }
.blog-cat {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: rgba(2,195,154,.12);
  color: var(--mint-dark);
  margin-bottom: .75rem;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: .5rem; line-height: 1.4; }
.blog-card p  { font-size: .875rem; margin-bottom: 1rem; }

/* Value card */
.value-card { text-align: center; padding: 2.5rem 1.75rem; }
.value-card .card-icon { margin: 0 auto 1.25rem; }
.value-card h4 { font-size: 1rem; margin-bottom: .5rem; }
.value-card p  { font-size: .875rem; }

/* --- SECTIONS SPECIFIC ------------------------------------ */

/* Process / Timeline */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: step;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--teal));
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 0 5px rgba(2,195,154,.15);
}
.step h4 { font-size: .95rem; margin-bottom: .35rem; color: var(--navy); }
.step p  { font-size: .83rem; }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; }
.cta-banner .btn-primary { background: var(--mint); border-color: var(--mint); font-size: 1rem; }

/* Why us list */
.why-list { margin-top: 1.25rem; }
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.why-item:last-child { border-bottom: none; }
.why-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(2,195,154,.1);
  color: var(--mint-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.why-item h4 { font-size: .95rem; margin-bottom: .2rem; }
.why-item p  { font-size: .875rem; margin: 0; }

/* Stats strip */
.stats-strip {
  background: var(--navy);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num  { font-size: 2.25rem; font-weight: 800; color: var(--mint); display: block; }
.stat-label{ font-size: .85rem; color: rgba(255,255,255,.7); }

@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(2,195,154,.08), rgba(2,128,144,.06));
  border: 1px solid rgba(2,195,154,.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.highlight-box h3 { color: var(--navy); margin-bottom: .75rem; }

/* Alert / info box */
.info-box {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-box .info-icon { color: var(--amber); font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.info-box p { margin: 0; font-size: .9rem; color: var(--text); }

/* Timeline (jornada) */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: .75rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--mint), var(--teal));
  border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.85rem;
  top: .35rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--mint);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--mint);
}
.timeline-item h4 { font-size: 1rem; margin-bottom: .35rem; color: var(--navy); }
.timeline-item p  { font-size: .9rem; margin: 0; }
.timeline-year {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 20px;
  margin-bottom: .5rem;
}

/* CEO card */
.ceo-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
}
.ceo-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,.3);
  overflow: hidden;
}
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.ceo-name { font-size: 1.6rem; margin-bottom: .25rem; }
.ceo-title { color: var(--mint-dark); font-weight: 600; margin-bottom: 1.25rem; font-size: 1rem; }
.ceo-bio p  { font-size: .93rem; margin-bottom: .75rem; }

.skill-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.skill-badge {
  padding: .3rem .85rem;
  background: rgba(30,39,97,.07);
  color: var(--navy);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .ceo-card { grid-template-columns: 1fr; gap: 2rem; }
  .ceo-photo { max-width: 200px; }
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: start;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(2,195,154,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-check {
  display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.5rem;
}
.form-check input { width: auto; margin-top: .2rem; accent-color: var(--mint); }
.form-check label { font-size: .85rem; font-weight: 400; cursor: pointer; }

.contact-info h3 { margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-item .ci-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(2,195,154,.1);
  color: var(--mint-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 { font-size: .9rem; margin-bottom: .15rem; }
.contact-item p  { font-size: .875rem; margin: 0; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Legal */
.legal-toc a { color: var(--mint-dark); font-weight: 600; }
.legal-toc a:hover { text-decoration: underline; }
.legal-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--gray-light); }
.legal-section:last-child { border-bottom: none; }
.legal-section h3 { margin-bottom: .75rem; font-size: 1.15rem; }
.legal-section p, .legal-section li { font-size: .9rem; color: var(--gray); line-height: 1.75; }
.legal-section ul { padding-left: 1.5rem; list-style: disc; }
.legal-section ul li { margin-bottom: .4rem; }

/* --- FOOTER ----------------------------------------------- */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.6); max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: .03em;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--mint); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--mint); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- UTILS / MISC ----------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 2rem 0;
}
.tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tag-navy  { background: rgba(30,39,97,.1);  color: var(--navy); }
.tag-mint  { background: rgba(2,195,154,.12); color: var(--mint-dark); }
.tag-amber { background: rgba(245,158,11,.12); color: #b45309; }
.tag-teal  { background: rgba(2,128,144,.12); color: var(--teal); }
.tag-success{ background: rgba(16,185,129,.12); color: #057a55; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243480 60%, var(--teal) 100%);
  padding: 4rem 0 3.5rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .badge { margin-top: 1.5rem; }

/* Breadcrumb */
.breadcrumb {
  display: flex; gap: .5rem; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.6);
  margin-bottom: 1rem; justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* Accordion */
.accordion-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.accordion-btn {
  width: 100%; background: var(--white); border: none; cursor: pointer;
  padding: 1.1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--navy);
  transition: background var(--transition);
}
.accordion-btn:hover { background: rgba(30,39,97,.04); }
.accordion-btn .acc-icon { font-size: .75rem; transition: transform var(--transition); }
.accordion-btn.open .acc-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
  background: var(--bg);
}
.accordion-body.open { max-height: 500px; padding: 1rem 1.5rem 1.25rem; }
.accordion-body p, .accordion-body ul { font-size: .9rem; color: var(--gray); }
.accordion-body ul { padding-left: 1.25rem; list-style: disc; margin-top: .5rem; }
.accordion-body ul li { margin-bottom: .35rem; }

/* Cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  padding: 1rem 1.5rem;
  z-index: 2000;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { font-size: .875rem; margin: 0; flex: 1; }
#cookie-banner a { color: var(--mint); }
.cookie-btns { display: flex; gap: .75rem; flex-shrink: 0; }
.btn-cookie-accept {
  padding: .5rem 1.25rem; background: var(--mint); color: var(--white);
  border: none; border-radius: 50px; font-weight: 600; font-size: .875rem;
  cursor: pointer; font-family: var(--font); transition: var(--transition);
}
.btn-cookie-accept:hover { background: var(--mint-dark); }
.btn-cookie-decline {
  padding: .5rem 1.25rem; background: transparent; color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.25); border-radius: 50px;
  font-weight: 600; font-size: .875rem;
  cursor: pointer; font-family: var(--font); transition: var(--transition);
}

/* Notification toast */
#toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--navy); color: var(--white);
  padding: 1rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 9999; font-size: .9rem;
  transform: translateY(120%); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  max-width: 320px;
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast.success { border-left: 4px solid var(--success); }
#toast.error   { border-left: 4px solid var(--danger); }

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Print */
@media print {
  #site-header, #site-footer, .cta-banner, #cookie-banner { display: none !important; }
  body { font-size: 12pt; }
}


/* --- CUSTOM CONTACT + LOGO UPDATES ------------------------ */
.header-inner { min-height: 90px; height: auto; padding: .8rem 0; }
#site-header .logo img { height: 62px; width: auto; display: block; }
.nav-menu { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) {
  .nav-menu { top: 90px; }
}
.hero-visual img { max-height: 420px; }
.footer-brand .logo img { height: 58px; }
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: rgba(255,255,255,.72);
  font-size: .875rem;
}
.footer-contact ul li i {
  color: var(--mint);
  margin-top: .15rem;
  width: 14px;
  flex: 0 0 14px;
}
.footer-contact ul li a { color: rgba(255,255,255,.78); }
.footer-contact ul li a:hover { color: var(--mint); }
.footer-qr {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-width: 150px;
}
.footer-qr img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.footer-qr span {
  font-size: .72rem;
  line-height: 1.45;
  color: rgba(255,255,255,.55);
}
.contact-qr-card {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(30,39,97,.04), rgba(2,128,144,.06));
  border: 1px solid rgba(2,128,144,.12);
  border-radius: var(--radius-lg);
  padding: 1rem;
}
.contact-qr-card img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-qr-card h4 { margin-bottom: .35rem; }
.contact-qr-card p { font-size: .875rem; margin: 0; }
@media (max-width: 640px) {
  #site-header .logo img { height: 54px; }
  .contact-qr-card { grid-template-columns: 1fr; }
  .footer-qr { max-width: 180px; }
}
