/* ==========================================================================
   Enlace Chile — Design System
   ========================================================================== */

:root {
  --bg-principal: #FFFFFF;
  --bg-secundario-dark: #0F172A;
  --text-principal: #334155;
  --color-principal: #1D4ED8;
  --acento-calido: #F97316;

  --rojo-seminario: #DA251D;
  --bg-formulario: #F8FAFC;

  --font-base: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --header-h: 72px;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.12);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--text-principal);
  background: var(--bg-principal);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--bg-secundario-dark);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--acento-calido);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35); }

.btn-secondary {
  background: transparent;
  color: var(--color-principal);
  border: 2px solid var(--color-principal);
}
.btn-secondary:hover { background: var(--color-principal); color: #fff; }

.btn-seminario {
  background: var(--rojo-seminario);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
}
.btn-seminario:hover { opacity: 0.9; transform: translateY(-1px); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  flex-shrink: 0;
}
.logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-principal);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--color-principal); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}
.lang-switch button {
  background: transparent;
  border: none;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-principal);
  cursor: pointer;
}
.lang-switch button.active {
  background: var(--color-principal);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bg-secundario-dark);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    box-shadow: var(--shadow-sm);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid #F1F5F9; }
  .nav-toggle { display: block; }
  .seminario-full { display: none; }
  .seminario-short { display: inline; }
  .site-header .container { gap: 10px; }
  .header-actions { gap: 8px; }
  .logo img { height: 36px; }
  .lang-switch button { padding: 5px 8px; font-size: 0.72rem; }
  .btn-seminario { padding: 7px 12px; font-size: 0.78rem; }
  .nav-toggle { padding: 5px; }
}
@media (min-width: 901px) {
  .seminario-short { display: none; }
}
@media (max-width: 420px) {
  .container { padding: 0 14px; }
  .site-header .container { gap: 6px; }
  .header-actions { gap: 6px; }
  .logo img { height: 30px; }
  .lang-switch button { padding: 4px 6px; font-size: 0.66rem; }
  .btn-seminario { padding: 6px 10px; font-size: 0.72rem; }
}

/* ==========================================================================
   Hero Carousel (index)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.15) 55%, rgba(15, 23, 42, 0.38) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 40px 0;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.85);
}

.hero-content .hero-subtitle {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 600;
  color: var(--acento-calido);
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-content p {
  font-size: 1.05rem;
  color: #E2E8F0;
  max-width: 600px;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   Trust Band
   ========================================================================== */

.trust-band {
  background: var(--bg-principal);
  border-bottom: 1px solid #F1F5F9;
  padding: 22px 0;
}
.trust-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.trust-band p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-principal);
  letter-spacing: 0.01em;
}
.trust-band img {
  height: 34px;
  filter: grayscale(100%) brightness(0.9) opacity(0.75);
}

/* ==========================================================================
   Marquee — Alianzas
   ========================================================================== */

.marquee-section {
  background: var(--bg-formulario);
  padding: 40px 0;
  overflow: hidden;
}
.marquee-intro {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-principal);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.marquee-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee-logo-tile {
  flex-shrink: 0;
  width: 140px;
  height: 84px;
  background: linear-gradient(135deg, var(--text-principal) 0%, #64748B 55%, #E2E8F0 100%);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
}
.marquee-track img {
  height: 100%;
  width: 100%;
  max-height: 38px;
  object-fit: contain;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Pilares (4)
   ========================================================================== */

.pilares { background: var(--bg-principal); }
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .pilares-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pilares-grid { grid-template-columns: 1fr; }
}
.pilar-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pilar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pilar-card .pilar-media {
  width: 100%;
  height: 180px;
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pilar-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Same flatten-then-tint technique as the partner-logo marquee, tuned to
     the brand blue so every pillar icon reads as one clean pictogram. */
  filter: brightness(0) saturate(100%) invert(29%) sepia(97%) saturate(1751%) hue-rotate(215deg) brightness(93%) contrast(101%);
}
.pilar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-secundario-dark);
  padding: 16px;
}
.pilares-cta { text-align: center; margin-top: 36px; }

/* ==========================================================================
   Autoridad
   ========================================================================== */

.autoridad {
  background: #fff;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
}
.autoridad-intro {
  text-align: center;
  color: var(--bg-secundario-dark);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 36px;
}
.autoridad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) {
  .autoridad-grid { grid-template-columns: repeat(2, 1fr); }
}
.autoridad-item img {
  height: 48px;
  margin: 0 auto 14px;
}
.autoridad-item span {
  font-weight: 700;
  color: var(--bg-secundario-dark);
  font-size: 0.95rem;
}
.autoridad-item span::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--acento-calido);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ==========================================================================
   Excelencia
   ========================================================================== */

.excelencia { background: var(--bg-formulario); }
.excelencia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .excelencia-grid { grid-template-columns: 1fr; }
}
.excelencia-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.excelencia-card img {
  height: 44px;
  margin: 0 auto 18px;
  filter: invert(48%) sepia(94%) saturate(1786%) hue-rotate(0deg) brightness(101%) contrast(101%);
}
.excelencia-card h3 {
  color: var(--acento-calido);
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.excelencia-card p { font-size: 0.92rem; }

/* ==========================================================================
   Formulario + Calendario
   ========================================================================== */

.conversion { background: #fff; }
.conversion-box {
  background: var(--bg-formulario);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
  max-width: 820px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--bg-secundario-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fff;
  color: var(--text-principal);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-principal);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  margin-top: 8px;
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-success {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #15803D;
  display: none;
}
.form-success.show { display: block; }
.form-error {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rojo-seminario);
  display: none;
}
.form-error.show { display: block; }

/* Honeypot anti-spam: oculto para personas, visible para bots que no leen CSS. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-secundario-dark);
  color: #CBD5E1;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: #94A3B8; max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.88rem;
  color: #94A3B8;
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--acento-calido); }
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transition: background 0.15s ease, transform 0.15s ease;
}
.social-row a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.social-row a:hover { transform: translateY(-2px); }
.social-row a[data-tooltip] { position: relative; cursor: default; }
.social-row a[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #0F172A;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 5;
}
.social-row a[data-tooltip]:hover::after { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #64748B;
}

/* ==========================================================================
   WhatsApp Widget
   ========================================================================== */

.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab img { width: 30px; height: 30px; filter: brightness(0) invert(1); }

.wa-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 1200;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: 0.18s ease;
}
.wa-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.wa-panel-header {
  background: #075E54;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-panel-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.wa-panel-avatar img { width: 22px; height: 22px; filter: none; }
.wa-panel-header .wa-name { font-size: 0.92rem; font-weight: 700; }
.wa-panel-header .wa-status { font-size: 0.75rem; color: #D1FAE5; display: flex; align-items: center; gap: 5px; }
.wa-panel-header .wa-status::before {
  content: "";
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  display: inline-block;
}
.wa-panel-close {
  margin-left: auto;
  background: none; border: none; color: #fff;
  font-size: 1.1rem; cursor: pointer; opacity: 0.85;
}
.wa-panel-body {
  background: #ECE5DD;
  padding: 16px;
}
.wa-bubble {
  background: #fff;
  border-radius: 10px;
  border-top-left-radius: 2px;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #111B21;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
  max-width: 90%;
}
.wa-panel-footer {
  padding: 14px 16px;
  background: #fff;
}
.wa-panel-footer a {
  display: block;
  text-align: center;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.wa-panel-footer a:hover { opacity: 0.92; }

/* ==========================================================================
   Servicios page — Z pattern
   ========================================================================== */

.servicios-hero {
  padding: 100px 0 64px;
  text-align: center;
}
.servicios-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  color: var(--bg-secundario-dark);
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 18px;
  letter-spacing: -0.01em;
}
.servicios-hero .divider {
  width: 64px;
  height: 4px;
  background: var(--acento-calido);
  border-radius: 2px;
  margin: 0 auto 22px;
}
.servicios-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-principal);
}

.macro-area {
  padding: 72px 0;
}
.macro-area .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .macro-area .container { grid-template-columns: 1fr; gap: 32px; }
}
.macro-area.reverse .container { direction: rtl; }
.macro-area.reverse .container > * { direction: ltr; }

.macro-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.macro-text h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.macro-text p { font-size: 0.98rem; margin-bottom: 20px; }
.macro-icons { display: flex; gap: 24px; margin-bottom: 20px; }
.macro-icon { display: flex; align-items: center; gap: 8px; }
.macro-icon img { width: 26px; height: 26px; filter: invert(53%) sepia(89%) saturate(1946%) hue-rotate(1deg) brightness(101%) contrast(101%); }
.macro-icon span { font-size: 0.82rem; font-weight: 700; }
.macro-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.macro-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acento-calido);
}

.macro-area.dark {
  background: var(--bg-secundario-dark);
  color: #fff;
}
.macro-area.dark .macro-text h2 { color: #fff; }
.macro-area.dark .macro-text p { color: #CBD5E1; }
.macro-area.dark .macro-list li { color: #E2E8F0; }

.macro-area.light-blue {
  background: var(--bg-formulario);
}

.macro-area.white { background: #fff; }
.macro-area.white .macro-text a.btn-secondary { margin-top: 4px; }

.servicios-cta {
  background: var(--color-principal);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.servicios-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 24px;
  font-weight: 800;
}

/* ==========================================================================
   Seminario page
   ========================================================================== */

.sem-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.sem-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}
.sem-header .logo img { height: 40px; }
.sem-partners { display: flex; align-items: center; gap: 24px; }
.sem-partners img { height: 52px; width: auto; }

.sem-hero {
  position: relative;
  padding: 72px 0 56px;
  text-align: center;
  background-image: url('recursos/hero_seminario.jpg');
  background-size: cover;
  background-position: center;
}
.sem-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.87);
}
.sem-hero .container { position: relative; z-index: 1; max-width: 800px; }
.sem-hero h1 {
  color: var(--text-principal);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.sem-hero h2 {
  color: var(--rojo-seminario);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 28px;
}
.sem-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.sem-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bg-secundario-dark);
}
.sem-meta-item img, .sem-meta-item svg { width: 22px; height: 22px; flex-shrink: 0; }

.sem-form-section { padding: 56px 0 80px; }
.sem-form-wrap { max-width: 800px; margin: 0 auto; }
.sem-form-card {
  background: var(--bg-formulario);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.sem-block { margin-bottom: 30px; }
.sem-block h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--bg-secundario-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E2E8F0;
}
.sem-radio-group { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 6px; }
.sem-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.sem-conditional { display: none; margin-top: 20px; }
.sem-conditional.show { display: block; }
.sem-legal {
  font-size: 0.82rem;
  font-style: italic;
  color: #64748B;
  margin-bottom: 20px;
}
.btn-seminario-submit {
  background: var(--rojo-seminario);
  color: #fff;
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}
.btn-seminario-submit:hover { opacity: 0.9; }

.sem-volver-section {
  text-align: center;
  padding: 10px 0 50px;
}
.btn-volver-inicio {
  background: var(--acento-calido);
  color: #fff;
  border-radius: 50px;
}
.btn-volver-inicio:hover { box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35); }

.sem-footer {
  background: var(--bg-secundario-dark);
  color: #94A3B8;
  text-align: center;
  padding: 28px 0;
  font-size: 0.85rem;
}
.sem-footer a {
  display: inline-block;
  margin-top: 8px;
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.sem-footer a:hover { color: var(--acento-calido); border-color: var(--acento-calido); }
