@font-face {
  font-family: 'Helvetica LT Std';
  src: url('../fonts/HelveticaLTStdRoman.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica LT Std';
  src: url('../fonts/HelveticaLTStdBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Variable.ttf') format('truetype-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Calmetta';
  src: url('../fonts/Calmetta-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Calmetta';
  src: url('../fonts/Calmetta-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* ── Paleta oficial SST Plus ── */
  --navy: #00395F;        /* Azul marino oscuro — fondos principales, navbar */
  --navy-mid: #004d7a;    /* Variante media del azul marino */
  --teal: #21B092;        /* Verde teal primario — botones, acentos, badges */
  --teal-light: #8ECBDE;  /* Azul cielo — highlights sobre fondos oscuros */
  --teal-dim: #339C74;    /* Verde esmeralda — hover states, links, texto teal */
  --gray: #69727D;        /* Gris corporativo — textos secundarios */
  --white: #ffffff;
  --off-white: #f0f7f5;   /* Fondo suave con tinte teal */
  --light-gray: #e8f4f1;  /* Fondos de secciones alternas */
  --text-dark: #00395F;   /* Texto principal = azul marino */
  --text-mid: #2a5070;    /* Texto intermedio */
  --text-muted: #69727D;  /* Texto suave = gris corporativo */
  --font-head: 'Helvetica LT Std', 'Helvetica Neue', Arial, sans-serif;
  --font-sub: 'Nunito', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Calmetta', Georgia, 'Times New Roman', serif;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }

/* ── TOPBAR ── */
.topbar { background: var(--navy); padding: 8px 0; font-size: 13px; color: var(--white); }
.topbar .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar-items { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 6px; }

/* ── TOPBAR SOCIALS ── */
.topbar-socials { display: flex; gap: 6px; align-items: center; }
.topbar-social { display: flex; align-items: center; gap: 6px; padding: 2px 8px; color: var(--white); border-radius: 6px; transition: color 0.2s, background 0.2s; text-decoration: none; }
.topbar-social:hover { color: var(--teal-light); background: rgba(255,255,255,0.08); }

/* ── NAV ── */
nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 44px !important; width: auto !important; max-height: 44px !important; max-width: 44px !important; display: block; object-fit: contain; }
.logo-text { font-family: var(--font-sub); font-size: 18px; font-weight: 800; color: var(--navy); }
.logo-text span { color: var(--teal); }
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-mid); text-decoration: none; padding: 8px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--light-gray); }
.nav-links a.active { color: var(--teal-dim); font-weight: 700; }
.nav-cta { background: var(--teal) !important; color: var(--white) !important; border-radius: 8px !important; padding: 10px 18px !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--teal-dim) !important; }
.nav-cert { background: rgba(33,176,146,0.08) !important; color: var(--teal-dim) !important; border: 1px solid rgba(33,176,146,0.25) !important; font-weight: 600 !important; }
.nav-cert:hover { background: var(--teal) !important; color: white !important; border-color: var(--teal) !important; }
.nav-dropdown { position: relative; }
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; background: transparent; display: none; }
.nav-dropdown:hover::after { display: block; }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,0.12); min-width: 240px; padding: 14px 8px 8px; margin-top: -4px; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-menu a { padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text-mid); white-space: nowrap; display: block; }
.nav-dropdown-menu a:hover { background: var(--off-white); color: var(--navy); }
.nav-mobile-btn { display: none; cursor: pointer; padding: 8px; border: none; background: none; }
.hamburger { width: 24px; height: 2px; background: var(--navy); display: block; position: relative; }
.hamburger::before, .hamburger::after { content: ''; width: 24px; height: 2px; background: var(--navy); display: block; position: absolute; transition: transform 0.2s; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ── PAGE HEADER (interior pages) ── */
.page-header { background: #f0f7f5; padding: 64px 24px 56px; position: relative; overflow: hidden; }
.page-header-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.55) 60%, rgba(255,255,255,0.10) 100%); }
.page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb span { color: #aab5bc; }
.page-header h1 { font-family: var(--font-head); font-size: clamp(28px, 3.5vw, 46px); font-weight: 800; color: var(--navy); line-height: 1.15; margin-bottom: 14px; }
.page-header h1 em { font-style: normal; color: var(--teal); }
.page-header-sub { font-family: var(--font-sub); font-size: 17px; color: var(--gray); max-width: 600px; line-height: 1.7; }
.page-header-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(33,176,146,0.10); border: 1.5px solid rgba(33,176,146,0.45); color: var(--teal); font-family: var(--font-sub); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 18px; }
.page-header-badge::before { content: '+'; font-size: 15px; font-weight: 800; color: var(--teal); line-height: 1; }

/* ── SECTIONS ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-family: var(--font-sub); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-dim); margin-bottom: 12px; }
.section-title { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 560px; line-height: 1.75; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: var(--white); padding: 14px 28px; border-radius: var(--radius); font-family: var(--font-head); font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--teal-dim); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.25); padding: 14px 28px; border-radius: var(--radius); font-family: var(--font-head); font-size: 15px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.btn-secondary:hover { background: rgba(255,255,255,0.18); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--teal-dim); border: 2px solid var(--teal); padding: 13px 26px; border-radius: var(--radius); font-family: var(--font-head); font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.2s, color 0.2s; }
.btn-outline:hover { background: var(--teal); color: white; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--navy); padding: 64px 24px; text-align: center; }
.cta-banner h2 { font-family: var(--font-head); font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: white; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--off-white); border-bottom: 1px solid rgba(0,0,0,0.06); padding: 20px 24px; }
.trust-strip .inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-mid); font-weight: 500; }
.trust-icon { width: 32px; height: 32px; background: var(--teal); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-icon svg { width: 16px; height: 16px; fill: white; }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 56px 24px 32px; color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.footer-logo .logo-img { height: 44px !important; max-height: 44px !important; max-width: 44px !important; filter: brightness(0) invert(1); }
.footer-logo .logo-text { color: white; font-size: 17px; }
.footer-logo .logo-text span { color: var(--teal); }
.footer-desc { line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 700; transition: background 0.2s, color 0.2s; }
.social-btn:hover { background: var(--teal); color: white; }
.footer-col h4 { font-family: var(--font-sub); font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--teal); text-decoration: none; }

/* ── WA FLOAT ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ── SERVICE CARDS (teaser grid) ── */
.services-teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-teaser-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid rgba(0,0,0,0.07); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.service-teaser-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.stc-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.stc-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.stc-tag { display: inline-block; font-family: var(--font-sub); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dim); background: rgba(0,184,159,0.1); border-radius: 100px; padding: 4px 12px; margin-bottom: 10px; }
.stc-body h3 { font-family: var(--font-sub); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.stc-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.stc-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-dim); font-size: 14px; font-weight: 700; text-decoration: none; margin-top: 18px; transition: gap 0.2s; }
.stc-link:hover { gap: 12px; }
.stc-link::after { content: '→'; }

/* ── FORMS ── */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; border: 1px solid rgba(0,0,0,0.07); display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 13px; font-weight: 600; color: var(--text-mid); display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(0,0,0,0.12); border-radius: var(--radius); font-family: var(--font-body); font-size: 15px; color: var(--text-dark); background: var(--white); outline: none; transition: border-color 0.2s; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); }
textarea { resize: vertical; min-height: 110px; }
.form-submit { background: var(--teal); color: white; border: none; padding: 14px 28px; border-radius: var(--radius); font-family: var(--font-head); font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s; width: 100%; }
.form-submit:hover { background: var(--teal-dim); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .logo-img { height: 38px; }
  .topbar { display: none; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .nav-links.mobile-open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: fixed; top: 68px; left: 0; right: 0; background: white; padding: 12px 16px 20px; border-bottom: 1px solid rgba(0,0,0,0.08); box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 99; }
  .nav-links.mobile-open > li > a { display: block; padding: 12px 16px; border-radius: 8px; text-align: left; font-size: 15px; }
  .nav-links.mobile-open .nav-cert { display: block !important; text-align: center; border-top: 1px solid rgba(0,0,0,0.08); margin-top: 20px; padding: 12px 16px !important; }
  .nav-links.mobile-open .nav-cta { display: block !important; text-align: center; padding: 13px 16px !important; margin-top: 10px; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 12px; }
  .nav-links.mobile-open .nav-dropdown.dropdown-open .nav-dropdown-menu { display: flex; flex-direction: column; gap: 2px; }
  .nav-links.mobile-open .nav-dropdown-menu a { font-size: 14px !important; padding: 10px 14px !important; white-space: normal !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .logo-img { height: 32px; }
  .topbar { display: none; }
  section { padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .page-header { padding: 40px 20px 36px; }
  .page-header h1 { font-size: clamp(22px, 6vw, 32px); }
  .section-header { margin-bottom: 32px; }
}
