/*
  Estim Groups - style.css
  Archivo pensado para edición rápida.

  El diseño completo anterior queda preservado en style-base.css.
  Para cambiar colores, radios, tipografías o ajustes puntuales, editá este archivo.
*/

@import url('./style-base.css');

/* =========================================================
   A11y / utilitarios no visuales
   ========================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.alert-success-msg,
.alert-error-msg {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
}

.alert-success-msg {
  background: rgba(165, 212, 174, .22);
  border: 1px solid rgba(165, 212, 174, .55);
  color: var(--text);
}

.alert-error-msg {
  background: rgba(231, 82, 10, .10);
  border: 1px solid rgba(231, 82, 10, .35);
  color: var(--text);
}

.alert-success-msg.is-visible,
.alert-error-msg.is-visible {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--orange) !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}

.skip-link {
  position: absolute !important;
  top: -100px !important;
  left: 8px !important;
  z-index: 9999 !important;
  padding: 12px 20px !important;
  background: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border-radius: 0 0 var(--shape) var(--shape) !important;
  transition: top .18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0 !important;
}

/* =========================================================
   1. Variables principales de marca
   ========================================================= */
:root {
  --orange: #E7520A;
  --orange-hover: #cf4907;
  --green: #A5D4AE;
  --cream: #F5F0E5;
  --white: #ffffff;
  --text: #212529;
  --muted: #5f666d;
  --line: rgba(33, 37, 41, .12);

  --font-base: 'Nunito', Arial, sans-serif;
  --font-accent: 'Shippori Mincho', Georgia, serif;

  /* Forma orgánica: dos esquinas redondeadas y dos rectas */
  --shape: 34px 0 34px 0;
  --shape-lg: 80px 0 80px 0;

  --shadow-soft: 0 10px 24px rgba(33, 37, 41, .08);
  --shadow-hover: 0 16px 34px rgba(33, 37, 41, .14);
}

/* =========================================================
   2. Base global
   ========================================================= */
body,
button,
input,
textarea,
select {
  font-family: var(--font-base) !important;
  color: var(--text);
}

body {
  background: var(--white);
}

.font-shippori,
.font-shipproi,
.hero p,
.section-subtitle,
.lead.alt-font {
  font-family: var(--font-accent) !important;
}

.orange { color: var(--orange) !important; }
.pink { color: var(--green) !important; }
.bg-orange { background-color: var(--orange) !important; }
.bg-green { background-color: var(--green) !important; }
.bg-cream,
.section-cream { background-color: var(--cream) !important; }

/* =========================================================
   3. Header / navegación
   ========================================================= */
.site-header {
  background: var(--cream) !important;
  border-bottom: 0 !important;
}

.menu a.active {
  border-color: var(--text) !important;
}

/* =========================================================
   4. Botones
   ========================================================= */
.btn {
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn:not(.hero-primary):not(.hero-secondary):hover {
  background: var(--orange-hover) !important;
  border-color: var(--orange-hover) !important;
  color: var(--white) !important;
}

.hero-primary {
  background: var(--white) !important;
  color: var(--orange) !important;
  border-color: var(--white) !important;
}

.hero-primary:hover {
  background: var(--cream) !important;
  color: var(--orange) !important;
  border-color: var(--cream) !important;
}

.hero-secondary {
  background: transparent !important;
  color: var(--white) !important;
  border-color: var(--white) !important;
}

.hero-secondary:hover {
  background: var(--white) !important;
  color: var(--orange) !important;
  border-color: var(--white) !important;
}

/* =========================================================
   5. Fondos y misceláneas
   ========================================================= */
.hero {
  background: var(--orange) !important;
  overflow: hidden;
}

.hero-deco,
.misc-hero,
.element-1,
.element-2,
.element-3,
.element-4 {
  pointer-events: none;
  z-index: 0;
}

.hero-grid,
.hero .container,
.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
}

/* =========================================================
   6. Formas orgánicas
   ========================================================= */
.video-card,
.checkin-card,
.offer-card,
.benefit-item,
.feature-row,
.mission,
.cert,
.fact,
.team-card,
.stat,
.contact-card {
  border-radius: var(--shape) !important;
}

.hero .video-card {
  border-radius: var(--shape-lg) !important;
}

.video-trigger,
.video-thumb,
.video-thumb img,
.index-video-image {
  border-radius: 0 !important;
}

/* =========================================================
   7. Cards e interacciones
   ========================================================= */
.offer-card,
.benefit-item,
.feature-row,
.team-card,
.stat,
.fact,
.mission,
.cert {
  transition: transform .22s ease, box-shadow .22s ease;
}

.offer-card:hover,
.benefit-item:hover,
.feature-row:hover,
.team-card:hover,
.stat:hover,
.fact:hover,
.mission:hover,
.cert:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.offer-card,
.benefit-item,
.feature-row,
.fact {
  background: rgba(165, 212, 174, .35) !important;
}

.mission,
.footer,
.stat,
.tab-head button,
.program-list.navy li {
  background: var(--text) !important;
  color: var(--white) !important;
}

.program-list li,
.tab-head button.active,
.checkin-card.is-selected,
.checkin-card.active,
.result-card {
  background: var(--orange) !important;
  color: var(--white) !important;
}

.stat strong,
.team-card strong,
.cert li::marker,
.topic-item summary::before,
.faq-item summary::before {
  color: var(--orange) !important;
}

.icon-ph.orange-icon,
.mission-icon-wrap,
.beneficio-icon {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: var(--white) !important;
}

/* =========================================================
   8. Acordeones / FAQ
   ========================================================= */
.faq-list.accordion .faq-item,
.topic-list.accordion .topic-item {
  background: var(--green) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 14px !important;
  overflow: hidden;
}

.faq-list.accordion .faq-item[open],
.topic-list.accordion .topic-item[open] {
  background: var(--green) !important;
}

.faq-list.accordion .faq-item[open] .faq-content,
.topic-list.accordion .topic-item[open] .topic-content,
.faq-list.accordion .faq-item[open] p,
.topic-list.accordion .topic-item[open] p {
  background: var(--white) !important;
  color: var(--text) !important;
}

.faq-item summary,
.topic-item summary {
  color: var(--text) !important;
}

/* =========================================================
   9. Contacto
   ========================================================= */
.contact-page,
.contact-section,
.contact-page .section,
.contact-page main {
  background: var(--white) !important;
}

.form-control,
.form-select {
  border-color: var(--line) !important;
  color: var(--text) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 .2rem rgba(231, 82, 10, .12) !important;
}

/* =========================================================
   10. Responsive
   ========================================================= */
@media (max-width: 850px) {
  :root {
    --shape: 24px 0 24px 0;
    --shape-lg: 44px 0 44px 0;
  }

  .hero-actions {
    gap: 12px;
  }
}

/* =========================================================
   Contacto - canales en 4 columnas
   ========================================================= */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 44px auto 0;
  max-width: 1180px;
}

.contact-channel-card {
  background: linear-gradient(180deg, rgba(245, 240, 229, .95), rgba(255,255,255,.95));
  border: 1px solid rgba(33, 37, 41, .08);
  box-shadow: var(--shadow-soft);
  border-radius: var(--shape) !important;
  padding: 34px 22px 28px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.contact-channel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(231, 82, 10, .28);
}

.contact-channel-icon {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(33, 37, 41, .10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

.contact-channel-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.contact-channel-card h3 {
  color: var(--orange);
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

.contact-channel-line {
  width: 26px;
  height: 2px;
  background: var(--orange);
  display: block;
  margin: 20px auto 22px;
}

.contact-channel-card p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 28px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
}

.contact-channel-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--orange);
  color: var(--text);
  background: rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.contact-channel-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-channel-btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(231, 82, 10, .20);
}

.contact-note {
  max-width: 560px;
  margin: 34px auto 0;
  background: rgba(165, 212, 174, .22);
  border: 1px solid rgba(165, 212, 174, .45);
  border-radius: var(--shape) !important;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text);
}

.contact-note p {
  margin: 0;
}

.contact-note strong {
  color: var(--green);
}

@media (max-width: 1050px) {
  .contact-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .contact-channels {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-channel-card {
    min-height: auto;
    padding: 28px 20px;
  }

  .contact-channel-icon {
    width: 90px;
    height: 90px;
  }

  .contact-channel-icon img {
    width: 44px;
    height: 44px;
  }

  .contact-note {
    align-items: flex-start;
    text-align: left;
  }
}
