:root {
  --bg: #f5f1e8;
  --surface: #ffffff;
  --surface-2: #fcfaf6;
  --ink: #13110f;
  --muted: #5f5a55;
  --line: rgba(19, 17, 15, 0.1);
  --brand: #d62828;
  --brand-deep: #8c1c13;
  --accent: #fcbf49;
  --dark: #101418;
  --success: #198754;
  --shadow: 0 25px 60px rgba(16, 20, 24, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(252, 191, 73, 0.24), transparent 32%),
    linear-gradient(180deg, #f7f3ea 0%, #f2ede4 100%);
}

img {
  max-width: 100%;
  display: block;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(16, 20, 24, 0.94) 0%, rgba(56, 12, 8, 0.9) 42%, rgba(111, 26, 18, 0.82) 100%),
    url("mg/VENTAJAS_2.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(252, 191, 73, 0.18), transparent 24%),
    radial-gradient(circle at 80% 35%, rgba(255, 255, 255, 0.08), transparent 20%);
  pointer-events: none;
}

.brand-logo,
.footer-logo,
.menu-logo,
.modal-logo {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.brand-logo {
  width: 64px;
  height: 64px;
}

.footer-logo,
.modal-logo {
  width: 58px;
  height: 58px;
}

.menu-logo {
  width: 56px;
  height: 56px;
}

.brand-tag,
.section-kicker,
.menu-kicker,
.modal-kicker,
.footer-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-tag,
.eyebrow {
  color: #fcbf49;
}

.brand-name {
  font-size: 1rem;
  line-height: 1.1;
}

.nav-inline {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.nav-inline:hover,
.nav-inline:focus {
  color: #fff;
}

.hero-content {
  padding: 5rem 0 4rem;
}

.hero-title,
.section-heading h2,
.panel-header h3,
.mission-panel h2,
.brands-panel h2,
.charly-copy h2,
.benefit-feature-copy h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  line-height: 0.96;
}

.hero-title {
  margin: 1rem 0 1.25rem;
  font-size: clamp(3.3rem, 8vw, 6.5rem);
  max-width: 11ch;
}

.hero-copy {
  max-width: 58ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand) 0%, #ef3f22 100%);
  border: none;
  color: #fff;
  box-shadow: 0 18px 28px rgba(214, 40, 40, 0.25);
}

.btn-brand:hover,
.btn-brand:focus {
  background: linear-gradient(135deg, #ef3f22 0%, var(--brand) 100%);
  color: #fff;
}

.hero-stats {
  margin-top: 1rem;
}

.stat-card,
.mini-info-card {
  height: 100%;
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.stat-card strong {
  display: block;
  font-size: 1.45rem;
  color: #fff;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-media-card,
.content-panel,
.benefit-feature {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-media-card .ratio {
  overflow: hidden;
}

.hero-media-caption {
  padding: 1.2rem 1.4rem 1.4rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-media-caption span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fcbf49;
}

.section-shell {
  padding: 5.75rem 0;
}

.schedule-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.section-heading {
  max-width: 58rem;
  margin-bottom: 2.4rem;
}

.section-kicker,
.menu-kicker,
.modal-kicker,
.footer-tag {
  color: var(--brand);
}

.section-heading h2,
.mission-panel h2,
.brands-panel h2,
.charly-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 0.7rem;
}

.section-heading p,
.panel-header p,
.mission-panel p,
.brands-panel p,
.charly-copy p,
.benefit-feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.schedule-card {
  height: 100%;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.schedule-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--accent) 100%);
}

.schedule-type {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(214, 40, 40, 0.08);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-card h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.6rem;
}

.schedule-date {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-deep);
  font-weight: 700;
}

.schedule-hours {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.schedule-hours li {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-weight: 600;
}

.program-shell {
  position: relative;
}

.content-panel {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--line);
}

.content-panel-accent {
  background: linear-gradient(180deg, #fff7ef 0%, #fff 100%);
}

.panel-header {
  margin-bottom: 1.6rem;
}

.panel-header h3 {
  font-size: 2.7rem;
  margin-bottom: 0.4rem;
}

.course-card,
.extra-course-card,
.benefit-card,
.brand-card {
  height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.course-card {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.course-chip,
.pill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-chip {
  background: rgba(16, 20, 24, 0.06);
  color: var(--dark);
}

.pill-tag {
  background: rgba(252, 191, 73, 0.16);
  color: var(--brand-deep);
}

.course-card h4,
.extra-course-card h4 {
  margin: 0;
  font-size: 1.4rem;
}

.course-card p,
.extra-course-card p {
  margin: 0;
  color: var(--muted);
}

.course-actions {
  margin-top: auto;
}

.stack-list {
  display: grid;
  gap: 1rem;
}

.extra-course-card {
  padding: 1.2rem 1.25rem;
}

.benefits-section {
  background:
    linear-gradient(180deg, rgba(252, 191, 73, 0.08) 0%, rgba(252, 191, 73, 0) 100%);
}

.benefit-feature {
  position: relative;
  min-height: 100%;
}

.benefit-feature img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.benefit-feature-copy {
  position: absolute;
  inset: auto 1.4rem 1.4rem 1.4rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(16, 20, 24, 0.84);
  color: #fff;
  backdrop-filter: blur(10px);
}

.benefit-feature-copy h3 {
  font-size: 3rem;
  margin: 0.6rem 0;
}

.benefit-feature-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.benefit-card {
  padding: 1.2rem 1.15rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 36px rgba(16, 20, 24, 0.08);
}

.benefit-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
}

.mission-panel {
  background:
    linear-gradient(135deg, rgba(214, 40, 40, 0.06), rgba(255, 255, 255, 0.95));
}

.mission-vision {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.mission-vision article {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.mission-vision h3 {
  margin-bottom: 0.4rem;
}

.brands-panel {
  background:
    linear-gradient(160deg, rgba(16, 20, 24, 0.03), rgba(252, 191, 73, 0.12));
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.brand-card {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
}

.brand-card img {
  max-height: 92px;
  object-fit: contain;
}

.charly-section {
  background: linear-gradient(180deg, rgba(16, 20, 24, 0.04) 0%, rgba(16, 20, 24, 0) 100%);
}

.charly-copy {
  padding-right: 1rem;
}

.charly-video-card {
  background: #000;
}

.charly-video-frame {
  background: #000;
}

.charly-video-frame video {
  object-fit: contain;
  background: #000;
}

.contact-section .content-panel {
  background: rgba(255, 255, 255, 0.88);
}

.form-label {
  font-weight: 700;
}

.form-control,
.form-select {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border-color: rgba(19, 17, 15, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(214, 40, 40, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(214, 40, 40, 0.12);
}

.contact-meta .mini-info-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: none;
}

.mini-info-card span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-info-card strong {
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.map-frame,
.address-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.address-block {
  padding: 1.4rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.site-footer {
  padding: 2rem 0 2.8rem;
  color: #fff;
  background: linear-gradient(135deg, #11161d 0%, #3d0d08 100%);
}

.floating-menu-trigger,
.floating-whatsapp {
  position: fixed;
  left: 0;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 0;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-menu-trigger {
  top: 46%;
  border-radius: 0 22px 22px 0;
  background: linear-gradient(135deg, var(--brand) 0%, #ef3f22 100%);
  box-shadow: 0 16px 32px rgba(214, 40, 40, 0.24);
}

.floating-menu-trigger svg,
.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.floating-whatsapp {
  top: 62%;
  border-radius: 0 22px 22px 0;
  background: linear-gradient(135deg, #22c55e 0%, #198754 100%);
  box-shadow: 0 16px 32px rgba(25, 135, 84, 0.24);
}

.floating-menu-trigger:hover,
.floating-whatsapp:hover {
  color: #fff;
  transform: translateX(6px);
}

.side-menu {
  background:
    linear-gradient(180deg, rgba(16, 20, 24, 0.98) 0%, rgba(57, 13, 9, 0.98) 100%);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.side-link {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.side-link:hover,
.side-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.side-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.course-modal {
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #fff9f1 0%, #fff 100%);
}

.course-modal .modal-body {
  padding: 0 1.5rem 1.5rem;
}

.course-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.4rem;
}

.course-detail-media,
.course-detail-copy {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.course-detail-copy {
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.course-detail-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.course-detail-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.course-detail-list li {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding: 3rem 0 2rem;
  }

  .section-shell {
    padding: 4.5rem 0;
  }

  .schedule-section {
    margin-top: 0;
  }

  .course-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .hero-title {
    max-width: none;
  }

  .content-panel,
  .schedule-card {
    padding: 1.35rem;
  }

  .panel-header h3 {
    font-size: 2.2rem;
  }

  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-card {
    min-height: 128px;
  }

  .benefit-feature img {
    min-height: 340px;
  }

  .benefit-feature-copy h3 {
    font-size: 2.35rem;
  }

  .floating-menu-trigger,
  .floating-whatsapp {
    width: 62px;
    height: 62px;
  }
}
