/* ════════════════════════════════════════════════════════════
   ROTARY DISTRITO 4905 — CSS Global
   Replica exacta del prototipo React (Tailwind → CSS)
════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   VARIABLES DE COLOR (del prototipo)
══════════════════════════════════════════════════════════ */
:root {
  /* Colores Rotary */
  --rotary-blue:       #17458f;
  --rotary-dark-blue:  #0f2f62;
  --rotary-light-blue: #005baa;
  --rotary-yellow:     #f7a81b;
  --rotary-yellow-h:   #fbbf24;
  
  /* Colores auxiliares */
  --pink-50:   #fdf2f8;
  --pink-100:  #fce7f3;
  --pink-600:  #d41367;
  --pink-700:  #be185d;
  --teal-50:   #f0fdfa;
  --teal-100:  #ccfbf1;
  --teal-500:  #00a2e0;
  --teal-600:  #00a2e0;
  --teal-700:  #0f766e;
  
  /* Grises */
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-300:  #d1d5db;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;
  
  --blue-50:   #eff6ff;
  --blue-100:  #dbeafe;
  --blue-200:  #bfdbfe;
  
  --white:     #ffffff;
  --black:     #000000;
}

/* ══════════════════════════════════════════════════════════
   RESET Y BASE
══════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Ocultar título de página del tema */
h1.entry-title,
.page-header,
.entry-header {
  display: none !important;
}

/* Anular el layout limitado de Hello Elementor
   para que el contenido ocupe 100% del ancho */
body {
  overflow-x: hidden;
}

/* Neutralizar los wrappers de Hello Elementor */
body.site,
#page,
.site,
.site-content,
.site-main,
main.site-main,
#content,
.hfeed.site,
.site-main-wrapper,
.hello-elementor-default {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* En caso de que el tema padre use un container central */
.hello-elementor .container,
.entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR (Header)
══════════════════════════════════════════════════════════ */
.rotary-navbar {
  background-color: var(--rotary-blue);
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.rotary-navbar__container {
  max-width: 100%; /* Ocupa todo el ancho */
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .rotary-navbar__container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .rotary-navbar__container { padding: 0 2rem; }
}

@media (min-width: 1280px) {
  .rotary-navbar__container {
    max-width: 80rem; /* max-w-7xl */
  }
}

.rotary-navbar__inner {
  display: flex;
  justify-content: space-between;
  height: 5rem; /* h-20 */
}

.rotary-navbar__logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.rotary-navbar__logo img {
  height: 3rem; /* h-12 */
  width: auto;
  margin-right: 0.75rem;
  object-fit: contain;
}

/* Desktop Menu */
.rotary-navbar__menu {
  display: none;
  align-items: center;
  gap: 0.25rem; /* space-x-1 */
}

@media (min-width: 900px) {
  .rotary-navbar__menu { display: flex; }
}

.rotary-navbar__link {
  padding: 0.5rem 0.9rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.rotary-navbar__link:hover {
  background-color: var(--rotary-light-blue);
  color: var(--white);
}

.rotary-navbar__link.active {
  background-color: var(--rotary-dark-blue);
  color: var(--rotary-yellow);
}

.rotary-navbar__cta {
  margin-left: 0.75rem;
  padding: 0.5rem 1.25rem;
  background-color: var(--rotary-yellow);
  color: var(--rotary-dark-blue);
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  display: inline-block;
  white-space: nowrap;
}

.rotary-navbar__cta:hover {
  background-color: var(--rotary-yellow-h);
  color: var(--rotary-dark-blue);
}

/* Mobile Menu Button */
.rotary-navbar__hamburger {
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 0.5rem;
}

@media (min-width: 900px) {
  .rotary-navbar__hamburger { display: none; }
}

.rotary-navbar__hamburger:hover {
  color: var(--rotary-yellow);
}

.rotary-navbar__hamburger svg {
  width: 2rem;
  height: 2rem;
}

/* Mobile Menu */
.rotary-navbar__mobile {
  display: none;
  background-color: var(--rotary-dark-blue);
}

.rotary-navbar__mobile.is-open {
  display: block;
}

@media (min-width: 900px) {
  .rotary-navbar__mobile { display: none !important; }
}

.rotary-navbar__mobile-inner {
  padding: 0.5rem 0.75rem 0.75rem;
}

.rotary-navbar__mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.rotary-navbar__mobile-link:hover,
.rotary-navbar__mobile-link.active {
  background-color: var(--rotary-light-blue);
  color: var(--rotary-yellow);
}

.rotary-navbar__mobile-cta {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: var(--rotary-yellow);
  color: var(--rotary-dark-blue);
  font-weight: 700;
  border-radius: 0.375rem;
  text-align: center;
  display: block;
}

.rotary-navbar__mobile-cta:hover {
  background-color: var(--rotary-yellow-h);
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION (Home)
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background-color: var(--rotary-blue);
  color: var(--white);
  padding: 6rem 1rem; /* py-24 px-4 */
  display: flex;
  align-items: center;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

@media (min-width: 640px) {
  .hero { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .hero { padding-left: 2rem; padding-right: 2rem; }
}

/* Overlay negro sobre imagen */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero__container {
  max-width: 56rem; /* max-w-4xl */
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero__title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
}

@media (min-width: 768px) {
  .hero__title { font-size: 3.75rem; } /* md:text-6xl */
}

.hero__title-highlight {
  color: var(--rotary-yellow);
}

.hero__subtitle {
  font-size: 1.25rem; /* text-xl */
  color: var(--gray-200);
  margin: 0 0 2.5rem 0; /* mb-10 */
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero__subtitle { font-size: 1.5rem; } /* md:text-2xl */
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero__buttons { flex-direction: row; }
}

/* ══════════════════════════════════════════════════════════
   BOTONES (Reutilizables)
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.btn-lg {
  padding: 1rem 2rem; /* py-4 px-8 */
  font-size: 1.125rem; /* text-lg */
  border-radius: 9999px;
}

.btn-md {
  padding: 0.75rem 1.5rem; /* py-3 px-6 */
  font-size: 1rem;
  border-radius: 0.375rem;
}

.btn-md-rounded {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 9999px;
}

/* Botón amarillo */
.btn-yellow {
  background-color: var(--rotary-yellow);
  color: var(--rotary-dark-blue);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.btn-yellow:hover {
  background-color: var(--rotary-yellow-h);
  color: var(--rotary-dark-blue);
  transform: scale(1.05);
}

/* Botón outline blanco */
.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--rotary-blue);
}

/* Botón outline azul */
.btn-outline-blue {
  background-color: transparent;
  color: var(--rotary-blue);
  border: 2px solid var(--rotary-blue);
}

.btn-outline-blue:hover {
  background-color: var(--rotary-blue);
  color: var(--white);
}

/* Botón azul sólido */
.btn-blue {
  background-color: var(--rotary-blue);
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.btn-blue:hover {
  background-color: var(--rotary-dark-blue);
  color: var(--white);
}

/* Botón rosa (Rotaract) */
.btn-pink {
  background-color: #d41367;
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.btn-pink:hover {
  background-color: var(--pink-700);
  color: var(--white);
}

.btn-outline-pink {
  background-color: transparent;
  color: #d41367;
  border: 2px solid #d41367;
}

.btn-outline-pink:hover {
  background-color: #d41367;
  color: var(--white);
}

/* Botón teal (Interact) */
.btn-teal {
  background-color: #00a2e0;
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.btn-teal:hover {
  background-color: var(--teal-600);
  color: var(--white);
}

.btn-outline-teal {
  background-color: transparent;
  color: #00a2e0;
  border: 2px solid #00a2e0;
}

.btn-outline-teal:hover {
  background-color: #00a2e0;
  color: var(--white);
}

/* Icono dentro del botón */
.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.5rem;
}

.btn-md svg {
  width: 1rem;
  height: 1rem;
}

/* ══════════════════════════════════════════════════════════
   PILARES SECTION (3 columnas con iconos)
══════════════════════════════════════════════════════════ */
.pilares {
  padding: 3rem 1rem; /* py-12 */
  background-color: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

@media (min-width: 640px) {
  .pilares { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .pilares { padding-left: 2rem; padding-right: 2rem; }
}

.pilares__container {
  max-width: 80rem;
  margin: 0 auto;
}

.pilares__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .pilares__grid { grid-template-columns: repeat(3, 1fr); }
}

.pilar {
  padding: 1.5rem;
}

.pilar__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background-color: var(--rotary-light-blue);
  color: var(--white);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

.pilar__icon svg {
  width: 2rem;
  height: 2rem;
}

.pilar__title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  color: var(--rotary-blue);
  margin: 0 0 0.5rem 0;
}

.pilar__desc {
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   SECCIÓN GENÉRICA
══════════════════════════════════════════════════════════ */
.section {
  padding: 5rem 1rem; /* py-20 px-4 */
}

@media (min-width: 640px) {
  .section { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .section { padding-left: 2rem; padding-right: 2rem; }
}

.section--white { background-color: var(--white); }
.section--gray  { background-color: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section--blue  { background-color: var(--rotary-blue); color: var(--white); }

.section__container {
  max-width: 80rem;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  color: var(--rotary-blue);
  margin: 0 0 1rem 0;
}

.section__subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIO DESTACADO
══════════════════════════════════════════════════════════ */
.testimonio {
  background-color: var(--rotary-dark-blue);
  border-radius: 1rem; /* rounded-2xl */
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); /* shadow-2xl */
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .testimonio { flex-direction: row; }
}

.testimonio__media {
  position: relative;
  min-height: 300px;
  background-color: var(--black);
  overflow: hidden;
}

@media (min-width: 768px) {
  .testimonio__media { width: 50%; }
}

.testimonio__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.testimonio__media iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

.testimonio__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonio__play-btn {
  width: 4rem;
  height: 4rem;
  background-color: var(--rotary-yellow);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s;
  border: none;
}

.testimonio__play-btn:hover {
  transform: scale(1.1);
}

.testimonio__play-btn svg {
  width: 2rem;
  height: 2rem;
  color: var(--rotary-dark-blue);
  margin-left: 4px;
}

.testimonio__content {
  padding: 2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .testimonio__content { width: 50%; padding: 3rem; }
}

.testimonio__label {
  color: var(--rotary-yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.testimonio__title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .testimonio__title { font-size: 1.875rem; } /* md:text-3xl */
}

.testimonio__text {
  color: var(--blue-100);
  margin: 0 0 1.5rem 0;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
}

.testimonio__author {
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   PROYECTOS GRID
══════════════════════════════════════════════════════════ */
.proyectos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .proyectos { grid-template-columns: repeat(3, 1fr); }
}

.proyecto {
  background-color: var(--white);
  border-radius: 0.75rem; /* rounded-xl */
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.proyecto:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.proyecto__img {
  height: 12rem; /* h-48 */
  overflow: hidden;
}

.proyecto__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.proyecto:hover .proyecto__img img {
  transform: scale(1.05);
}

.proyecto__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proyecto__club {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rotary-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proyecto__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rotary-blue);
  margin: 0.5rem 0 0.75rem 0;
}

.proyecto__desc {
  color: var(--gray-600);
  margin: 0 0 1rem 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proyecto__link {
  color: var(--rotary-light-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
}

.proyecto__link:hover {
  color: var(--rotary-blue);
}

.proyecto__link svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
}

.section__cta {
  text-align: center;
  margin-top: 3rem;
}

/* ══════════════════════════════════════════════════════════
   CONTACTO SECTION
══════════════════════════════════════════════════════════ */
.contacto-card {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .contacto-card { flex-direction: row; }
}

.contacto-card__info {
  background-color: var(--rotary-blue);
  color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .contacto-card__info { width: 40%; }
}

.contacto-card__info h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.contacto-card__info > div > p {
  color: var(--blue-100);
  margin: 0 0 2rem 0;
  line-height: 1.7;
}

.contacto-card__datos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto-card__dato {
  display: flex;
  align-items: center;
}

.contacto-card__dato svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--rotary-yellow);
  margin-right: 1rem;
  flex-shrink: 0;
}

.contacto-card__redes-titulo {
  font-size: 0.875rem;
  color: var(--blue-200);
  font-weight: 500;
  margin: 3rem 0 1rem 0;
}

.contacto-card__redes {
  display: flex;
  gap: 1rem;
}

.contacto-card__red {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.contacto-card__red:hover {
  background-color: var(--rotary-yellow);
  color: var(--rotary-dark-blue);
}

.contacto-card__form {
  padding: 2.5rem;
}

@media (min-width: 1024px) {
  .contacto-card__form { width: 60%; }
}

.rotary-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rotary-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .rotary-form__row { grid-template-columns: 1fr 1fr; }
}

.rotary-form__group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.rotary-form__group input,
.rotary-form__group select,
.rotary-form__group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  background-color: var(--gray-50);
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-900);
  transition: all 0.2s;
  outline: none;
}

.rotary-form__group input:focus,
.rotary-form__group select:focus,
.rotary-form__group textarea:focus {
  border-color: transparent;
  background-color: var(--white);
  box-shadow: 0 0 0 2px var(--rotary-blue);
}

.rotary-form__group textarea {
  resize: none;
  min-height: 100px;
}

.rotary-form__submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--rotary-blue);
  color: var(--white);
  font-weight: 700;
  border-radius: 0.375rem;
  transition: background-color 0.2s, opacity 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.rotary-form__submit:hover:not(:disabled) {
  background-color: var(--rotary-dark-blue);
}

.rotary-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.rotary-form__feedback {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.rotary-form__feedback.is-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.rotary-form__feedback.is-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.rotary-footer {
  background-color: var(--rotary-dark-blue);
  color: var(--gray-300);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.rotary-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.rotary-footer p {
  margin: 0 0 0.5rem 0;
}

/* ══════════════════════════════════════════════════════════
   JUVENTUD - HERO
══════════════════════════════════════════════════════════ */
.juventud-hero {
  background-color: var(--rotary-blue);
  color: var(--white);
  padding: 5rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .juventud-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .juventud-hero { padding-left: 2rem; padding-right: 2rem; }
}

.juventud-hero__container {
  max-width: 80rem;
  margin: 0 auto;
}

.juventud-hero__label {
  color: var(--rotary-yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: block;
}

.juventud-hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .juventud-hero__title { font-size: 3rem; }
}

.juventud-hero__subtitle {
  font-size: 1.25rem;
  color: var(--gray-200);
  max-width: 48rem;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.juventud-hero__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   JUVENTUD - SECCIONES ROTARACT / INTERACT
══════════════════════════════════════════════════════════ */
.juventud-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .juventud-section { flex-direction: row; }
  .juventud-section--reverse { flex-direction: row-reverse; }
}

.juventud-section__text {
  width: 100%;
}

@media (min-width: 1024px) {
  .juventud-section__text { width: 50%; }
}

.juventud-section__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
}

.juventud-section__title svg {
  width: 2rem;
  height: 2rem;
  margin-right: 0.75rem;
}

.juventud-section__title--pink { color: #d41367; }
.juventud-section__title--teal { color: #00a2e0; }

.juventud-section__desc {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin: 0 0 1.5rem 0;
  line-height: 1.7;
}

.juventud-section__desc strong {
  color: var(--gray-900);
}

/* Metas card (Interact) */
.metas-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1);
  border: 1px solid var(--gray-100);
  margin-bottom: 2rem;
}

.metas-card h3 {
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1rem 0;
}

.metas-card ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .metas-card ul { grid-template-columns: 1fr 1fr; }
}

.metas-card li {
  display: flex;
  align-items: flex-start;
}

.metas-card li svg {
  width: 1rem;
  height: 1rem;
  color: var(--teal-500);
  margin-right: 0.5rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* Clubes list */
.clubes-list-titulo {
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
}

.clubes-list-titulo svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

.clubes-list-titulo--pink svg { color: var(--pink-600); }
.clubes-list-titulo--teal svg { color: var(--teal-600); }

.clubes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.club-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
}

a.club-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.club-tag--pink {
  background-color: var(--pink-50);
  color: var(--pink-700);
  border-color: var(--pink-100);
}

.club-tag--teal {
  background-color: #e5f6fc;
  color: #00a2e0;
  border-color: #00a2e0;
}

.clubes-list-vacio {
  color: var(--gray-500);
  font-size: 0.95rem;
  padding: 0.5rem 0 1.5rem;
  margin: 0;
}
.clubes-list-vacio a {
  color: var(--rotary-blue);
  text-decoration: underline;
}

/* Imágenes juventud */
.juventud-images {
  width: 100%;
}

@media (min-width: 1024px) {
  .juventud-images { width: 50%; }
}

.juventud-images--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.juventud-images--grid img {
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.juventud-images--grid img:nth-child(2) {
  margin-top: 2rem;
}

.juventud-images--single img {
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  width: 100%;
}

/* ══════════════════════════════════════════════════════════
   JUVENTUD - RYE
══════════════════════════════════════════════════════════ */
.rye {
  text-align: center;
}

.rye__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background-color: var(--rotary-light-blue);
  color: var(--white);
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.rye__icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.rye__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--rotary-blue);
  margin: 0 0 1.5rem 0;
}

.rye__desc {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.rye__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto 4rem;
  text-align: left;
}

@media (min-width: 768px) {
  .rye__cards { grid-template-columns: repeat(3, 1fr); }
}

.rye-card {
  padding: 1.5rem;
  background-color: var(--gray-50);
  border-radius: 0.75rem;
  border: 1px solid var(--gray-100);
}

.rye-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--rotary-yellow);
  margin-bottom: 1rem;
}

.rye-card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--rotary-dark-blue);
  margin: 0 0 0.5rem 0;
}

.rye-card p {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.6;
}

.rye__video-container {
  max-width: 56rem;
  margin: 0 auto 3rem;
}

.rye__video-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.rye__video {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  aspect-ratio: 16/9;
  background-color: var(--gray-200);
}

.rye__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rye__video-caption {
  color: var(--gray-600);
  margin-top: 1rem;
  font-style: italic;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   UTILIDADES
══════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* ══════════════════════════════════════════════════════════
   BUSCADOR DE CLUBES
══════════════════════════════════════════════════════════ */
.clubes-section {
  background-color: var(--gray-50);
  min-height: 100vh;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .clubes-section { padding: 3rem 1.5rem; }
}

@media (min-width: 1024px) {
  .clubes-section { padding: 3rem 2rem; }
}

.clubes-section__container {
  max-width: 80rem;
  margin: 0 auto;
}

.clubes-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.clubes-section__header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rotary-blue);
  margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
  .clubes-section__header h1 { font-size: 2.5rem; }
}

.clubes-section__header p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin: 0;
}

/* Filtros */
.clubes-filtros {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--gray-100);
}

.clubes-filtros__row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .clubes-filtros__row { flex-direction: row; }
}

.clubes-filtros__search {
  position: relative;
  flex: 1;
}

.clubes-filtros__search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.clubes-filtros__search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-900);
  background-color: var(--white);
  outline: none;
  transition: all 0.2s;
}

.clubes-filtros__search input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--rotary-blue);
}

.clubes-filtros__select {
  width: 100%;
}

@media (min-width: 768px) {
  .clubes-filtros__select { width: 12rem; }
}

.clubes-filtros__select select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-900);
  background-color: var(--white);
  outline: none;
  transition: all 0.2s;
  cursor: pointer;
}

.clubes-filtros__select select:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--rotary-blue);
}

/* Lista de clubes */
.clubes-lista {
  background-color: var(--white);
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  overflow: hidden;
}

.club-card {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background-color 0.2s;
}

.club-card:last-child {
  border-bottom: none;
}

.club-card:hover {
  background-color: var(--gray-50);
}

@media (min-width: 768px) {
  .club-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.club-card__info {
  flex: 1;
}

.club-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.club-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

/* Badges de tipo */
.club-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.club-badge--rotary   { background-color: var(--rotary-blue); }
.club-badge--rotaract { background-color: var(--pink-600); }
.club-badge--interact { background-color: var(--teal-500); }
.club-badge--rueda    { background-color: #8b5cf6; }

/* Meta info */
.club-card__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

@media (min-width: 768px) {
  .club-card__meta { grid-template-columns: repeat(2, 1fr); }
}

.club-card__meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.club-card__meta-item svg {
  color: var(--rotary-blue);
  flex-shrink: 0;
}

.club-card__anio {
  font-style: italic;
  color: var(--gray-500);
}

/* Redes sociales */
.club-card__redes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.club-red {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: var(--gray-100);
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
  text-decoration: none;
}

.club-red:hover {
  transform: scale(1.05);
}

.club-red--ig:hover   { background-color: var(--pink-50);  color: var(--pink-600); }
.club-red--fb:hover   { background-color: var(--blue-50);  color: #1877f2; }
.club-red--yt:hover   { background-color: #fee2e2;         color: #dc2626; }
.club-red--web:hover  { background-color: var(--gray-200); color: var(--gray-900); }
.club-red--mail:hover { background-color: #fef3c7;         color: #d97706; }
.club-red--tel:hover  { background-color: #d1fae5;         color: #059669; }

/* Estado vacío */
.clubes-vacio {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--gray-500);
}

.clubes-vacio svg {
  color: var(--gray-300);
  margin: 0 auto 1rem;
  display: block;
}

.clubes-vacio p {
  font-size: 1.125rem;
  margin: 0 0 1rem 0;
}

.clubes-limpiar {
  color: var(--rotary-blue);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.clubes-limpiar:hover {
  background-color: var(--blue-50);
  text-decoration: underline;
}
