:root {
  --blue: #003A5D;
  --blue-2: #0F4B6B;
  --blue-soft: #688EA2;
  --burgundy: #730724;
  --burgundy-2: #6E2A38;
  --gold: #F9EA8A;
  --ink: #1D1D1B;
  --muted: #5f6970;
  --line: #B4C7D1;
  --paper: #FFFFFF;
  --soft: #F4F8FA;
  --shadow: 0 18px 40px rgba(0, 58, 93, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Lato, "Open Sans", "Source Sans 3", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px max(20px, calc((100% - 1160px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(180, 199, 209, 0.6);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blue);
  min-width: 245px;
}

.brand img {
  width: 73px;
  height: 56px;
  object-fit: contain;
}

.brand strong,
h1,
h2,
h3,
.button,
.main-nav {
  font-family: Montserrat, Arial, sans-serif;
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--burgundy);
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 46px;
  font-size: 14px;
}

.main-nav a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
}

.nav-cta {
  padding: 10px 14px;
  color: white !important;
  background: var(--blue);
  border-radius: var(--radius);
}

.menu-toggle {
  display: none;
  padding: 10px 12px;
  color: var(--blue);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.section {
  padding: 65px 0 86px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  min-height: 80vh;
  padding: 68px 0 85px;
  display: grid;
  align-items: center;
}

.hero-bg {
  --hero-bg-image: url("../img/hero-conferencista1.png");
  --hero-bg-position: center;
  --hero-bg-size: cover;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(125deg, rgba(110, 42, 56, 0.78), rgba(77, 56, 76, 0.68), rgba(27, 64, 96, 0.72), rgba(0, 58, 93, 0.82)),
    var(--hero-bg-image);
  background-position:
    center,
    var(--hero-bg-position);
  background-size:
    cover,
    var(--hero-bg-size);
  background-repeat: no-repeat;
  transition: opacity 360ms ease;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 670px;
}

.hero .eyebrow {
  font-weight: 400;
}

.hero-copy p:not(.eyebrow) {
  font-weight: 300;
}

.hero-copy strong {
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--burgundy);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
}

h3 {
  color: var(--blue);
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  font-size: inherit;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--burgundy);
}

.button.primary:hover,
.nav-cta:hover {
  background: var(--blue);
}

.nav-cta:hover {
  background: var(--burgundy);
}

.discover-cta {
  color: var(--blue);
  background: white;
}

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.75);
}

.hero .button {
  font-weight: 300;
}

.hero .button.primary {
  color: var(--burgundy);
  background: white;
  border-color: transparent;
  font-weight: 600;
}

.hero-card {
  padding: 0;
  color: white;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transform: translateY(72px);
}

.quick-facts {
  display: grid;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
}

.quick-facts p {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  color: var(--gold);
  font-weight: 500;
}

.quick-facts span {
  color: rgba(255, 255, 255, 0.82);
}

.trust-band {
  padding: 15px 0;
  color: white;
  background: var(--burgundy);
}

.trust-grid {
  display: block;
}

.trust-grid p {
  margin: 0;
  max-width: 100%;
  font-size: 12px;
  font-weight: 400;
}

.trust-grid p {
  white-space: nowrap;
}

.trust-grid {
  letter-spacing: 0.01em;
}

.trust-grid strong {
  font-weight: 520;
}

.trust-grid a,
.text-link {
  color: inherit;
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

#toastmasters .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 12px 18px;
  color: white;
  background: var(--burgundy);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

#toastmasters {
  position: relative;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(244, 248, 250, 0.61) 0%, rgba(244, 248, 250, 0.54) 70%, rgba(244, 248, 250, 0.20) 90%, rgba(244, 248, 250, 0.04) 100%),
    url("../img/feliz.png") 68% center / cover;
}

#toastmasters h2,
#toastmasters p {
  color: var(--ink);
}

#toastmasters .eyebrow.dark {
  color: var(--burgundy);
}

#toastmasters .text-link {
  color: white;
}

#toastmasters .split {
  grid-template-columns: minmax(280px, 560px) 1fr;
  gap: 18px;
  justify-content: start;
  align-items: center;
  max-width: min(1160px, calc(100% - 40px));
}

#toastmasters .split>div {
  grid-column: 1;
  max-width: 560px;
}

#toastmasters .split>div:last-child {
  max-width: 454px;
}

#toastmasters .split p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.soft {
  background: var(--soft);
}

#funciona {
  padding-top: 65px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url("../img/aplausos.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

#funciona .section-heading,
#sesiones .section-heading {
  width: 50vw;
  max-width: 50vw;
}

#funciona .section-heading>p:not(.eyebrow) {
  max-width: calc(50vw - 40px);
}

.section-heading.inverse h2,
.section-heading.inverse p {
  color: white;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.panel {
  padding: 24px;
  background: white;
  border: 1px solid rgba(180, 199, 209, 0.8);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 58, 93, 0.07);
}

.card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

#descubre .outline-title {
  color: rgba(0, 58, 93, 0.08);
  -webkit-text-stroke: 1.2px var(--blue);
}

#descubre .card ul {
  padding-left: 0;
  list-style: none;
}

#descubre .card li {
  position: relative;
  padding-left: 26px;
  color: var(--blue);
}

#descubre .card li+li {
  margin-top: 10px;
}

#descubre .card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.32em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
  border-radius: 50%;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.card.accent {
  color: white;
  background: var(--blue);
}

#descubre .discover-cta {
  width: 100%;
  color: var(--burgundy);
  background: white;
  border-color: white;
}

.card.accent h3,
.card.light h3 {
  color: inherit;
}

.card.light {
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.big {
  color: var(--burgundy);
  font-weight: 800;
}

.compact .card {
  min-height: 170px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: features;
}

.feature-row article {
  padding: 0 0 0 22px;
  border-left: 4px solid var(--burgundy);
}

.feature-row span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--burgundy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.join-section {
  color: white;
  background-image:
    linear-gradient(135deg, rgba(0, 58, 93, 0.88), rgba(15, 75, 107, 0.78)),
    url("../img/mapa.png"),
    linear-gradient(135deg, #082C43, var(--blue-2));
  background-position: center, center, center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
}

.join-section h2,
.join-section .section-heading p {
  color: white;
}

.join-section .eyebrow.dark {
  color: var(--gold);
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.session-card {
  position: relative;
  overflow: hidden;
  display: flex;
  aspect-ratio: 1 / 1;
  padding: 30px;
  background-image:
    linear-gradient(135deg, rgba(2, 34, 56, 0.74), rgba(1, 27, 47, 0.68)),
    var(--session-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 0;
  backdrop-filter: blur(12px);
  border-radius: 0;
  box-shadow: var(--shadow);
  transition: background-image 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.session-card::before {
  content: none;
}

.session-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 25% minmax(0, 1fr) minmax(0, 1fr) 30%;
  width: 100%;
  min-height: 100%;
  padding: 0;
}

.session-head {
  grid-row: 1;
  align-self: start;
}

.session-card.presencial {
  --session-image: url("../img/presencial.png");
}

.session-card.virtual {
  --session-image: url("../img/virtual.png");
}

.session-card span {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 12px;
  color: white;
  background: rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.105em;
}

.session-card h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2vw, 28px);
}

.session-card p {
  color: white;
}

.session-card h3 {
  color: var(--gold);
}

.session-card p {
  max-width: none;
  margin-bottom: 12px;
}

.session-details {
  position: absolute;
  left: -30px;
  right: -30px;
  bottom: -30px;
  display: grid;
  align-content: start;
  width: auto;
  height: calc((100% + 60px) * 0.30);
  margin: 0;
  padding: 0;
  background: #223746;
}

.session-details p,
.session-details strong {
  color: white;
  font-weight: 200;
}

.session-details-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 15px 30px 30px;
}

.session-card p:last-child {
  margin-bottom: 0;
}

.session-link {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: white;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
  text-decoration: none;
  letter-spacing: 0.15em;
}

.session-card.featured {
  color: white;
  border-color: transparent;
}

.session-card.featured::before {
  content: none;
}

.session-card.featured p {
  color: white;
}

.session-card.featured h3 {
  color: var(--gold);
}

.session-card.featured span {
  color: white;
  background: rgba(255, 255, 255, 0.30);
}

.session-card span,
.session-card h3,
.session-details,
.session-details p,
.session-details strong,
.session-link {
  transition: color 180ms ease, background 180ms ease;
}

.session-card:hover,
.session-card:focus-within {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.50), rgba(255, 255, 255, 0.50)),
    var(--session-image);
}

.session-card:hover h3,
.session-card:focus-within h3,
.session-card.featured:hover h3,
.session-card.featured:focus-within h3 {
  color: var(--burgundy);
}

.session-card:hover .session-details,
.session-card:focus-within .session-details {
  background: #C7D3DA;
}

.session-card:hover .session-details p,
.session-card:hover .session-details strong,
.session-card:focus-within .session-details p,
.session-card:focus-within .session-details strong {
  color: var(--blue);
  font-weight: 400;
}

.session-card:hover .session-link,
.session-card:focus-within .session-link {
  color: var(--burgundy);
}

.session-card:hover span,
.session-card:focus-within span,
.session-card.featured:hover span,
.session-card.featured:focus-within span {
  color: var(--blue);
  background: #FFF2A8;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.gradient-section,
.final-cta {
  color: white;
  background: linear-gradient(125deg, var(--burgundy-2), #4D384C, #1B4060, var(--blue));
}

.gradient-section h2,
.final-cta h2,
.final-cta h3,
.distinction h2,
.distinction p {
  color: white;
}

.distinction {
  color: white;
  background: var(--blue);
}

.distinction .split {
  align-items: center;
}

.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 9px;
  color: var(--burgundy);
  background: rgba(249, 234, 138, 0.65);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.resource-carousel {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}

.resource-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  transition: transform 460ms ease;
  will-change: transform;
}

.resource-slide {
  position: relative;
  flex: 0 0 78%;
  min-height: 420px;
  display: flex;
  align-items: end;
  padding: 34px;
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0.55;
  pointer-events: none;
  transform: scale(0.94);
  transition: opacity 420ms ease, transform 620ms ease;
  background-position: center;
  background-size: cover;
  box-shadow: 0 12px 28px rgba(0, 58, 93, 0.13);
}

.resource-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  box-shadow: var(--shadow);
}

.resource-slide>div {
  max-width: 560px;
}

.resource-slide h3,
.resource-slide p {
  color: white;
}

.resource-slide h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.resource-slide .tag {
  color: var(--burgundy);
  background: rgba(249, 234, 138, 0.88);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: white;
  background: var(--burgundy);
  border: 0;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.carousel-button:hover {
  background: var(--blue);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--burgundy);
}

.form-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
}

.check-list {
  padding-left: 20px;
}

.form-card {
  display: grid;
  gap: 14px;
}

.form-card h3 {
  margin-bottom: 6px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--blue);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: white;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.form-note.is-error {
  color: var(--burgundy);
}

button[disabled],
.button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  color: white;
  background: #082C43;
  padding: 46px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-grid>div:first-child {
  display: flex;
  flex-direction: column;
}

.footer-grid>div:first-child p:first-of-type {
  margin-top: auto;
  margin-bottom: 0;
}

.footer-grid>div:not(:first-child) {
  font-size: 15px;
}

.footer-grid>div:not(:first-child) h2 {
  font-size: 16px;
}

.footer-grid>div:not(:first-child) p,
.footer-grid>div:not(:first-child) a {
  font-size: 15px;
}

.site-footer img {
  width: 119px;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.site-footer h2 {
  color: white;
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}


.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  color: var(--blue);
  background: white;
  border-color: white;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.legal {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-open .main-nav {
    display: flex;
  }

  .hero-card {
    transform: none;
  }

  .hero-grid,
  .split,
  .session-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  #toastmasters .split {
    grid-template-columns: 1fr;
  }

  .cards.three,
  .cards.four,
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 3px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    font-size: 12px;
  }

  .brand img {
    width: 60px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 50px 0 62px;
  }

  .hero {
    min-height: 80vh;
    padding: 32px 0 40px;
  }

  .hero-grid {
    gap: 32px;
  }

  #toastmasters {
    background-position: 64% center;
  }

  #funciona .section-heading,
  #sesiones .section-heading {
    width: 100%;
    max-width: 100%;
  }

  #funciona .section-heading>p:not(.eyebrow) {
    max-width: 100%;
  }

  #toastmasters .split {
    padding: 0;
  }

  .hero-actions,
  .trust-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cards.two,
  .cards.three,
  .cards.four,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .session-card {
    aspect-ratio: 1 / 1;
  }

  .resource-track {
    gap: 14px;
  }

  .resource-slide {
    flex-basis: 88%;
    min-height: 520px;
    padding: 24px;
  }
}

/* Comunidad Toastmasters */
.community-hero {
  padding-top: 32px;
  position: relative;
  overflow: hidden;
  color: white;
  background-image:
    linear-gradient(125deg, rgba(110, 42, 56, 0.82), rgba(77, 56, 76, 0.72), rgba(0, 58, 93, 0.88)),
    url("../img/mapa.png");
  background-position: center;
  background-size: cover;
}

.community-hero .hero-grid {
  position: relative;
  z-index: 1;
}

.community-index {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: white;
  background: rgba(0, 58, 93, 0.34);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
}

.community-index a {
  padding: 10px 0;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.community-index a:last-child {
  border-bottom: 0;
}

.community-schedule {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.community-schedule article {
  padding: 16px;
  color: white;
  background: var(--blue);
  border-radius: var(--radius);
}

.community-schedule span,
.community-schedule strong {
  display: block;
}

.community-schedule span {
  color: var(--gold);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.community-roles {
  margin-bottom: 22px;
}

.community-note {
  max-width: 820px;
}

.community-hero-form {
  align-self: center;
  color: var(--ink);
}

.community-hero-form h3 {
  color: var(--blue);
}

.checkbox-field {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  gap: 10px;
  color: var(--blue);
  font-weight: 400;
}

.checkbox-field input {
  width: auto;
  min-height: auto;
  margin: 0;
  accent-color: var(--wine);
}

.form-secondary-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.community-hero h2 {
  color: var(--gold);
}

.community-hero-title-small {
  display: inline-block;
  font-size: 0.6em;
}

.community-hero .hero-actions .button.primary {
  color: var(--wine);
  background: white;
}

.community-hero .hero-actions .button.primary:hover {
  color: white;
  background: var(--wine);
}

.community-hero h2 {
  color: var(--gold);
  font-size: clamp(24px, 3.2vw, 34px);
}

.community-hero .hero-actions .button.primary {
  color: var(--wine);
  background: white;
}

.community-hero-form,
.community-hero-form label,
.community-hero-form input,
.community-hero-form select,
.community-hero-form button,
.community-hero-form .form-secondary-link {
  font-weight: 400;
}

.community-hero-form h3 {
  font-weight: 800;
}

.community-hero-form .form-secondary-link {
  text-decoration: none;
}

.community-hero .hero-actions .button.primary,
.community-hero .hero-actions .button.primary:visited {
  color: var(--burgundy);
  background: white;
}

.community-hero-form .form-secondary-link {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  color: var(--blue);
  text-align: center;
  text-decoration: none;
}

.community-hero .hero-actions .button.primary:hover,
.community-hero .hero-actions .button.primary:focus-visible {
  color: white;
  background: var(--blue);
}

#orador {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.50)),
    url("../img/invitado-orador.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#evaluador {
  background-image:
    linear-gradient(90deg, rgba(0, 58, 93, 0.70), rgba(0, 58, 93, 0.90)),
    url("../img/invitado-evaluador.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#sesion-conjunta .joint-title-small {
  display: inline-block;
  font-size: 0.8em;
}

.joint-icon-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.joint-icon-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.joint-icon-list li::before {
  content: "✓";
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}

#sesion-conjunta .form-card,
#sesion-conjunta .form-card label,
#sesion-conjunta .form-card input,
#sesion-conjunta .form-card select,
#sesion-conjunta .form-card button {
  font-weight: 400;
}

#sesion-conjunta .form-card h3 {
  font-weight: 800;
}

#sesion-conjunta {
  background: linear-gradient(180deg, var(--blue), var(--burgundy-2));
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 680px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

#evaluador .eyebrow.dark {
  color: var(--gold);
}

#evaluador h2,
#evaluador p {
  color: white;
}

#evaluador .split > div:last-child {
  width: 80%;
  margin-left: auto;
}

@media (max-width: 980px) {
  #evaluador .split > div:last-child {
    width: 100%;
    margin-left: 0;
  }
}

#sesion-conjunta .form-card button[type="submit"] {
  margin-top: 14px;
}

/* Responsive hardening */
@media (max-width: 980px) {
  .section {
    min-height: auto;
  }

  .site-header {
    gap: 14px;
  }

  .main-nav {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .hero,
  .community-hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .form-grid,
  .footer-grid,
  #toastmasters .split {
    gap: 34px;
  }

  .hero-copy,
  .section-heading,
  .community-note {
    max-width: 100%;
  }

  .quick-facts {
    width: 100%;
    margin-left: 0;
  }

  .trust-grid p {
    white-space: normal;
  }

  #toastmasters {
    background:
      linear-gradient(90deg, rgba(244, 248, 250, 0.82) 0%, rgba(244, 248, 250, 0.72) 100%),
      url("../img/feliz.png") center / cover;
  }

  #toastmasters .split > div,
  #toastmasters .split > div:last-child {
    max-width: 100%;
  }

  #funciona .section-heading,
  #sesiones .section-heading,
  #funciona .section-heading > p:not(.eyebrow) {
    width: 100%;
    max-width: 100%;
  }

  .session-card {
    width: 100%;
    justify-self: stretch;
  }

  #orador,
  #evaluador {
    background-position: center;
  }
}

@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding: 5px 14px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    white-space: normal;
  }

  .menu-toggle {
    flex: 0 0 auto;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  h2 {
    font-size: clamp(27px, 9vw, 36px);
  }

  .section,
  .hero,
  .community-hero {
    padding-top: 46px;
    padding-bottom: 56px;
  }

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

  .hero-actions {
    gap: 12px;
  }

  .hero-card {
    margin-top: 0;
  }

  .quick-facts p {
    padding: 14px;
  }

  .trust-band {
    padding: 12px 0;
  }

  .trust-grid p {
    font-size: 12px;
    line-height: 1.45;
  }

  .card,
  .panel {
    padding: 20px;
  }

  .cards.two,
  .cards.three,
  .cards.four,
  .feature-row,
  .session-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-row article {
    padding-left: 18px;
  }

  .session-card {
    aspect-ratio: auto;
    min-height: 560px;
    padding: 22px;
  }

  .session-content {
    grid-template-rows: auto minmax(120px, 1fr) auto;
  }

  .session-details {
    left: -22px;
    right: -22px;
    bottom: -22px;
    height: auto;
    min-height: 42%;
  }

  .session-details-inner {
    padding: 18px 22px 42px;
  }

  .session-link {
    right: 0;
    bottom: 0;
  }

  .resource-slide {
    flex-basis: 86%;
    min-height: 460px;
  }

  .resource-slide h3 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .footer-grid {
    gap: 26px;
  }

  .footer-grid > div:first-child p:first-of-type {
    margin-top: 0;
  }

  .community-hero .hero-grid,
  #sesion-conjunta .form-grid {
    gap: 28px;
  }

  .community-hero-title-small,
  #sesion-conjunta .joint-title-small {
    font-size: 0.72em;
  }

  .community-hero-form {
    width: 100%;
  }

  #evaluador .split > div:last-child {
    width: 100%;
    margin-left: 0;
  }

  #orador {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.78)),
      url("../img/invitado-orador.png");
  }

  #evaluador {
    background-image:
      linear-gradient(rgba(0, 58, 93, 0.82), rgba(0, 58, 93, 0.88)),
      url("../img/invitado-evaluador.png");
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15.5px;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand img {
    width: 52px;
    height: 48px;
  }

  .brand strong {
    font-size: 12px;
  }

  .brand small {
    font-size: 11px;
  }

  .menu-toggle {
    padding: 8px 10px;
    font-size: 13px;
  }

  .main-nav {
    inset: 64px 12px auto 12px;
  }

  h1 {
    font-size: clamp(34px, 13vw, 46px);
  }

  h2 {
    font-size: clamp(25px, 10vw, 32px);
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.07em;
  }

  .section,
  .hero,
  .community-hero {
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .button {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .card,
  .panel {
    padding: 18px;
  }

  .session-card {
    min-height: 520px;
    padding: 18px;
  }

  .session-details {
    left: -18px;
    right: -18px;
    bottom: -18px;
  }

  .session-details-inner {
    padding: 16px 18px 40px;
  }

  .resource-slide {
    flex-basis: 90%;
    min-height: 430px;
    padding: 20px;
  }

  .site-footer {
    padding: 34px 0 20px;
  }
}


/* Mobile-first responsive stabilization */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .site-header {
    padding-left: max(16px, calc((100% - 960px) / 2));
    padding-right: max(16px, calc((100% - 960px) / 2));
  }

  .hero-grid,
  .community-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 34px;
  }

  .hero-copy {
    min-width: 0;
  }

  .quick-facts {
    width: min(100%, 360px);
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-header {
    align-items: center;
    min-height: 68px;
  }

  .main-nav {
    position: fixed;
    inset: 76px 14px auto 14px;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: calc(100vh - 92px);
    padding: 14px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-open .main-nav {
    display: flex;
  }

  .main-nav a,
  .main-nav .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 11px 14px;
    text-align: center;
  }

  .hero-grid,
  .community-hero .hero-grid,
  .split,
  .form-grid,
  .session-grid,
  .footer-grid,
  #toastmasters .split {
    grid-template-columns: 1fr;
  }

  .section {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .hero,
  .community-hero {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .hero-card {
    transform: none;
  }

  .quick-facts {
    width: 100%;
    margin-left: 0;
  }

  .section-heading,
  #funciona .section-heading,
  #sesiones .section-heading,
  #funciona .section-heading > p:not(.eyebrow),
  .community-note {
    width: 100%;
    max-width: 100%;
  }

  .cards.two,
  .cards.three,
  .cards.four,
  .feature-row {
    grid-template-columns: 1fr;
  }

  #toastmasters {
    background:
      linear-gradient(90deg, rgba(244, 248, 250, 0.86) 0%, rgba(244, 248, 250, 0.78) 100%),
      url("../img/feliz.png") center / cover no-repeat;
  }

  #toastmasters .split,
  #toastmasters .split > div,
  #toastmasters .split > div:last-child {
    max-width: 100%;
  }

  .session-card {
    aspect-ratio: auto;
    min-height: clamp(500px, 120vw, 680px);
    width: 100%;
  }

  .session-content {
    grid-template-rows: 26% minmax(0, 1fr) minmax(0, 1fr) 34%;
  }

  .session-details {
    height: calc((100% + 60px) * 0.34);
  }

  .community-hero-form,
  #sesion-conjunta .form-card {
    width: 100%;
  }

  #evaluador .split > div:last-child {
    width: 100%;
    margin-left: 0;
  }

  .resource-slide {
    flex-basis: min(88%, 520px);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15.5px;
  }

  .container {
    width: calc(100% - 24px);
  }

  .site-header {
    gap: 10px;
    padding: 5px 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 9px;
  }

  .brand img {
    width: 50px;
    height: 44px;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    font-size: 12px;
  }

  .brand small {
    font-size: 11px;
  }

  .menu-toggle {
    padding: 8px 10px;
    font-size: 13px;
  }

  .main-nav {
    inset: 64px 10px auto 10px;
  }

  h1 {
    font-size: clamp(34px, 13vw, 44px);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(25px, 9.5vw, 32px);
  }

  h3 {
    font-size: 20px;
  }

  .section,
  .hero,
  .community-hero {
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .quick-facts p,
  .card,
  .panel,
  .community-hero-form,
  #sesion-conjunta .form-card {
    padding: 18px;
  }

  .trust-grid p {
    font-size: 11px;
    line-height: 1.45;
  }

  .feature-row article {
    padding-left: 16px;
  }

  .session-grid {
    gap: 18px;
  }

  .session-card {
    min-height: 520px;
    padding: 18px;
  }

  .session-content {
    grid-template-rows: 25% minmax(0, 1fr) minmax(0, 1fr) 38%;
  }

  .session-card h3 {
    font-size: clamp(22px, 8vw, 28px);
  }

  .session-card span {
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
  }

  .session-details {
    left: -18px;
    right: -18px;
    bottom: -18px;
    height: calc((100% + 36px) * 0.38);
  }

  .session-details-inner {
    padding: 14px 18px 42px;
  }

  .session-details p {
    font-size: 15px;
    line-height: 1.45;
  }

  .session-link {
    right: 0;
    bottom: 0;
  }

  .form-row,
  .joint-contact-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  .legal {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .brand strong {
    font-size: 11px;
  }

  .brand small {
    font-size: 10px;
  }

  .menu-toggle {
    padding-inline: 8px;
  }

  h1 {
    font-size: clamp(31px, 12.8vw, 39px);
  }

  .community-hero-title-small {
    font-size: 0.68em;
  }

  .session-card {
    min-height: 500px;
  }

  .session-details p {
    font-size: 14px;
  }
}
