/* ============================================================
   LOS PROVINCIALES DE SEVILLA — styles.css
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
p, h1, h2, h3, h4, h5, h6, span, a, li {
  overflow-wrap: break-word;
}

:root {
  --verde:       #006A5E;
  --verde-dark:  #004D44;
  --verde-light: #008C7A;
  --dorado:      #C8A84B;
  --dorado-light:#E2C97E;
  --crema:       #F8F4EE;
  --blanco:      #FFFFFF;
  --gris-claro:  #F0EDE8;
  --gris-medio:  #9A9289;
  --texto:       #2A2420;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'Nunito', sans-serif;
  --radius:      12px;
  --shadow:      0 8px 32px rgba(0,106,94,.12);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; max-width: 100%; }
body { font-family: var(--font-body); color: var(--texto); background: var(--blanco); overflow-x: hidden; width: 100%; max-width: 100%; position: relative; }
/* Garantía global: ningún hijo puede desbordar el ancho del viewport */
*, *::before, *::after { max-width: 100%; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 0;
  background: rgba(0,77,68,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.18);
  transition: padding var(--transition);
}
.navbar.scrolled { padding: 10px 0; }

.nav-inner {
  max-width: 1200px; margin: auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--blanco); letter-spacing: .02em;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85);
  letter-spacing: .07em; text-transform: uppercase;
  position: relative; padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--dorado);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--blanco); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--blanco); border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* iOS Safari: evita el bug de la barra de navegación */
  width: 100%;
  max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--verde-dark) 0%, var(--verde) 55%, var(--verde-light) 100%);
  overflow: hidden; padding: 100px 24px 60px;
  box-sizing: border-box;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,168,75,.10) 0%, transparent 60%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  width: 100%; max-width: 700px;
  padding: 0 16px;
  box-sizing: border-box;
  animation: heroFadeIn .9s ease both;
}
@keyframes heroFadeIn {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: translateY(0); }
}
.hero-logo {
  width: 140px; margin: 0 auto 32px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
  animation: logoPop .8s .2s ease both;
}
@keyframes logoPop {
  from { opacity:0; transform: scale(.85); }
  to   { opacity:1; transform: scale(1); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  font-weight: 900; color: var(--blanco);
  line-height: 1.1; margin-bottom: 18px;
}
.hero-title span { color: var(--dorado-light); display: block; }
.hero-subtitle {
  font-size: clamp(.95rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,.80);
  width: 100%; max-width: 520px; margin: 0 auto 36px; line-height: 1.6;
}
.btn-primary {
  display: inline-block; padding: 14px 36px;
  background: var(--dorado); color: var(--verde-dark);
  font-weight: 700; font-size: .95rem;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(200,168,75,.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { background: var(--dorado-light); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(200,168,75,.55); }

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.55); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollPulse 1.8s infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:.4; } 50% { opacity:1; }
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.section { padding: 90px 0; width: 100%; max-width: 100%; overflow-x: hidden; }
.container { max-width: 1200px; margin: auto; padding: 0 24px; width: 100%; }
.section-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dorado); margin-bottom: 12px;
  padding: 4px 14px; border: 1.5px solid var(--dorado); border-radius: 50px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--verde-dark);
  margin-bottom: 48px; line-height: 1.15;
}

/* ============================================================
   QUIENES SOMOS
   ============================================================ */
.quienes { background: var(--crema); }
.quienes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.quienes-text p { font-size: 1rem; line-height: 1.85; color: #4a4540; margin-bottom: 18px; }
.quienes-text strong { color: var(--verde-dark); }
.quienes-text { min-width: 0; }

.stats-row { display: flex; gap: 16px; margin-top: 32px; }
.stat {
  display: flex; flex-direction: column; align-items: center;
  background: var(--verde-dark); color: var(--blanco);
  border-radius: var(--radius); padding: 18px 12px; flex: 1;
  box-shadow: var(--shadow);
}
.stat-num {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 900;
  color: var(--dorado-light);
}
.stat-label { font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-top: 4px; opacity:.85; text-align: center; }

.quienes-deco { display: flex; flex-direction: column; gap: 16px; }
.deco-card {
  background: var(--blanco); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-md);
  border-left: 4px solid var(--verde);
  transition: transform var(--transition), box-shadow var(--transition);
}
.deco-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.deco-icon { font-size: 1.6rem; margin-bottom: 8px; }
.deco-card h3 { font-family: var(--font-display); font-size: 1rem; color: var(--verde-dark); margin-bottom: 6px; }
.deco-card p  { font-size: .88rem; color: var(--gris-medio); line-height: 1.6; }

/* ============================================================
   ACTIVIDADES
   ============================================================ */
.actividades { background: var(--blanco); }
.actividades-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.actividad-card {
  position: relative; background: var(--crema); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 18px;
  border: 1.5px solid transparent; box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.actividad-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--verde); }
.actividad-card.featured { background: var(--verde-dark); }
.actividad-card.featured .act-info h3,
.actividad-card.featured .act-meta { color: rgba(255,255,255,.9); }
.actividad-card.featured .act-cat { background: var(--dorado); color: var(--verde-dark); }
.actividad-card.featured .act-info p { color: rgba(255,255,255,.72); }
.actividad-card.featured .act-date { background: rgba(255,255,255,.12); }
.actividad-card.featured .act-day,
.actividad-card.featured .act-month { color: var(--dorado-light); }

.act-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--dorado); color: var(--verde-dark);
  font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px;
}
.act-date {
  min-width: 56px; background: var(--verde); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 6px; flex-shrink: 0;
}
.act-day   { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--blanco); line-height: 1; }
.act-month { font-size: .62rem; font-weight: 700; letter-spacing: .1em; color: var(--dorado-light); text-transform: uppercase; }

.act-cat {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--verde-light); color: var(--blanco);
  padding: 3px 10px; border-radius: 50px; margin-bottom: 7px;
}
.act-info h3 { font-family: var(--font-display); font-size: 1rem; color: var(--verde-dark); margin-bottom: 7px; line-height: 1.3; }
.act-info p  { font-size: .87rem; color: var(--gris-medio); line-height: 1.55; margin-bottom: 9px; }
.act-meta    { font-size: .78rem; color: var(--gris-medio); }

/* ============================================================
   NOTICIAS
   ============================================================ */
.noticias { background: var(--gris-claro); }
.noticias-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 24px; }

.noticia-card {
  background: var(--blanco); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.noticia-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.noticia-main { grid-row: span 2; }

.noticia-img-wrap { height: 200px; overflow: hidden; }
.noticia-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-light) 100%);
}
.noticia-body { padding: 20px; }
.noticia-cat {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--verde); margin-right: 8px;
}
.noticia-date { font-size: .76rem; color: var(--gris-medio); }
.noticia-body h3 {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--verde-dark); margin: 9px 0 7px; line-height: 1.35;
}
.noticia-body p { font-size: .88rem; color: #6a6460; line-height: 1.6; margin-bottom: 12px; }
.noticia-link { font-size: .83rem; font-weight: 700; color: var(--verde); cursor: pointer; display: inline-block; transition: color var(--transition); }
.noticia-link:hover { color: var(--dorado); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,20,18,.78); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--blanco); border-radius: 18px;
  max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 44px 48px; position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 20px;
  background: var(--gris-claro); border: none; cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: .95rem; color: var(--texto);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.modal-close:hover { background: var(--verde); color: var(--blanco); transform: rotate(90deg); }
.modal-header { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.modal-cat {
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--verde); color: var(--blanco);
  padding: 4px 14px; border-radius: 50px;
}
.modal-date { font-size: .8rem; color: var(--gris-medio); }
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700; color: var(--verde-dark);
  line-height: 1.25; margin-bottom: 22px;
  padding-bottom: 18px; border-bottom: 2px solid var(--gris-claro);
}
.modal-content p { font-size: .97rem; line-height: 1.9; color: #4a4540; margin-bottom: 14px; }
.modal-content p:last-child { margin-bottom: 0; }
.modal-content strong { color: var(--verde-dark); }
.modal-content .modal-highlight {
  background: var(--crema); border-left: 4px solid var(--dorado);
  padding: 14px 18px; border-radius: 0 8px 8px 0;
  margin: 18px 0; font-style: italic; color: #5a5550; font-size: .93rem;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto { background: var(--verde-dark); }
.contacto .section-tag { color: var(--dorado-light); border-color: var(--dorado-light); }
.contacto .section-title { color: var(--blanco); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }

.contacto-info p { font-size: .97rem; color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 26px; }
.contacto-datos { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contacto-item { display: flex; gap: 12px; align-items: flex-start; }
.ci-icon { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.contacto-item span:last-child { font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.6; }

.social-buttons { display: flex; flex-direction: column; gap: 12px; }
.btn-whatsapp, .btn-instagram {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 22px; border-radius: 50px;
  font-weight: 700; font-size: .93rem;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  cursor: pointer;
}
.btn-whatsapp:hover, .btn-instagram:hover { transform: translateY(-3px); opacity: .92; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.btn-whatsapp  { background: #25D366; color: #fff; }
.btn-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }

/* FORM */
.contacto-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dorado-light); }
.form-group input,
.form-group textarea {
  padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: var(--blanco); font-family: var(--font-body); font-size: .93rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--dorado); background: rgba(255,255,255,.12); }
.form-group textarea { resize: vertical; }

.btn-send {
  padding: 14px; background: var(--dorado); color: var(--verde-dark);
  font-family: var(--font-body); font-weight: 800; font-size: .97rem;
  letter-spacing: .06em; text-transform: uppercase;
  border: none; border-radius: 50px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,168,75,.35);
  transition: background var(--transition), transform var(--transition);
  width: 100%;
}
.btn-send:hover { background: var(--dorado-light); transform: translateY(-2px); }
.form-nota {
  font-size: .78rem; color: rgba(255,255,255,.5);
  text-align: center; margin-top: -6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #001F1A; padding: 56px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 36px; align-items: center; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-logo { width: 48px; filter: brightness(0) invert(1) opacity(.8); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.6; }
.footer-brand p span { color: var(--dorado-light); font-size: .78rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.footer-nav a { font-size: .83rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-nav a:hover { color: var(--dorado-light); }
.footer-social { display: flex; gap: 14px; justify-content: flex-end; }
.footer-social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social-icon:hover { background: var(--dorado); color: var(--verde-dark); transform: scale(1.1); }
.footer-bottom { text-align: center; padding: 18px; }
.footer-bottom p { font-size: .73rem; color: rgba(255,255,255,.3); }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .quienes-grid       { grid-template-columns: 1fr; gap: 40px; }
  .actividades-grid   { grid-template-columns: 1fr 1fr; }
  .noticias-grid      { grid-template-columns: 1fr 1fr; }
  .noticia-main       { grid-row: span 1; grid-column: span 2; }
  .contacto-grid      { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner       { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-social      { justify-content: flex-start; }
  .aldetalle-grid     { grid-template-columns: 1fr 1fr; gap: 28px; }
  .documentos-grid    { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MÓVIL GRANDE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section       { padding: 64px 0; }
  .container     { padding: 0 18px; width: 100%; max-width: 100%; }
  .section-title { margin-bottom: 32px; font-size: 1.7rem; }

  /* ---- Navbar ---- */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed; top: 56px; left: 0; right: 0;
    background: rgba(0,60,52,.99);
    padding: 16px 20px; gap: 4px;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: .95rem; padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links a:last-child { border-bottom: none; }

  /* ---- Hero ---- */
  .hero { padding: 96px 20px 56px; min-height: 92vh; }
  .hero-logo { width: 100px; margin-bottom: 22px; }
  .hero-scroll-hint { display: none; }
  .btn-primary { padding: 13px 32px; }

  /* ---- Quiénes somos ---- */
  .quienes-grid  { grid-template-columns: 1fr; gap: 32px; }

  /* Stats: 3 en fila compacta */
  .stats-row   { flex-direction: row; gap: 8px; }
  .stat        { padding: 12px 6px; flex: 1; min-width: 0; }
  .stat-num    { font-size: 1.35rem; }
  .stat-label  { font-size: .6rem; }

  /* ---- Equipo: columna única, tarjeta horizontal ---- */
  .equipo-grid      { grid-template-columns: 1fr; gap: 14px; }
  .equipo-card      { padding: 16px 20px; gap: 16px; flex-direction: row; align-items: center; }
  .equipo-foto-wrap { width: 80px; height: 80px; flex-shrink: 0; }
  .equipo-info      { flex: 1; min-width: 0; }
  .equipo-nombre    { font-size: .95rem; white-space: normal; word-break: break-word; overflow-wrap: break-word; }
  .equipo-cargo     { font-size: .72rem; }

  /* ---- Deco cards: columna única ---- */
  .quienes-deco { display: flex; flex-direction: column; gap: 12px; }
  .deco-card    { padding: 16px 18px; display: block; }
  .deco-icon    { font-size: 1.4rem; margin-bottom: 6px; }
  .deco-card h3 { font-size: .95rem; margin-bottom: 6px; }
  .deco-card p  { font-size: .85rem; line-height: 1.65; }

  /* ---- Actividades ---- */
  .actividades-grid { grid-template-columns: 1fr; gap: 14px; }
  .actividad-card   { padding: 18px; gap: 14px; }

  /* ---- Noticias ---- */
  .noticias-grid  { grid-template-columns: 1fr; gap: 16px; }
  .noticia-main   { grid-column: span 1; }

  /* ---- Al Detalle ---- */
  .aldetalle-grid    { grid-template-columns: 1fr; gap: 24px; }
  .aldetalle-img-wrap{ height: 220px; }
  .aldetalle-body    { padding: 18px 20px 22px; }
  .aldetalle-body h3 { font-size: 1.15rem; }
  .aldetalle-precio  { font-size: 1.6rem; }

  /* ---- Modal ---- */
  .modal-overlay     { padding: 12px; align-items: flex-end; }
  .modal-box         { padding: 28px 20px; border-radius: 18px 18px 0 0; max-height: 92vh; }
  .modal-box-large   { max-width: 100%; border-radius: 18px 18px 0 0; }
  .modal-title       { font-size: 1.2rem; }
  .modal-precio-box  { grid-template-columns: 1fr; gap: 12px; }
  .modal-docs        { flex-direction: column; gap: 10px; }
  .modal-doc-btn     { justify-content: center; }
  .modal-highlight   { font-size: .85rem; }

  /* ---- Contacto ---- */
  .contacto-grid { grid-template-columns: 1fr; gap: 32px; }
  .social-buttons { flex-direction: column; gap: 10px; }
  .btn-whatsapp, .btn-instagram { justify-content: center; }

  /* ---- Documentos ---- */
  .documentos-grid { grid-template-columns: 1fr; gap: 12px; }
  .doc-card        { padding: 16px 18px; }

  /* ---- Footer ---- */
  .footer-inner  { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .footer-brand  { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-nav    { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px; }
}

/* ============================================================
   RESPONSIVE — MÓVIL PEQUEÑO (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container  { padding: 0 14px; }
  .section    { padding: 52px 0; }
  .nav-inner  { padding: 0 14px; }
  .nav-logo   { font-size: 1rem; }

  /* ---- Hero ---- */
  .hero         { padding: 80px 14px 44px; }
  .hero-logo    { width: 84px; margin-bottom: 18px; }
  .hero-title   { font-size: 1.9rem; }
  .hero-subtitle{ font-size: .88rem; }
  .btn-primary  { padding: 12px 26px; font-size: .87rem; }

  /* ---- Stats — 3 en fila, aún más compactas ---- */
  .stats-row { flex-direction: row; gap: 6px; }
  .stat {
    flex-direction: column; gap: 4px;
    padding: 10px 6px; flex: 1; min-width: 0;
    align-items: center; justify-content: center;
  }
  .stat-num   { font-size: 1.4rem; }
  .stat-label { text-align: center; font-size: .58rem; }

  /* ---- Deco cards — columna ---- */
  .quienes-deco { grid-template-columns: 1fr; }

  /* ---- Equipo ---- */
  .equipo-directivo { width: 100%; }

  /* ---- Actividades ---- */
  .actividad-card { flex-direction: column; gap: 12px; padding: 16px; }
  .act-date {
    flex-direction: row; gap: 8px;
    width: fit-content; padding: 8px 16px;
    border-radius: 50px; align-items: center;
  }
  .act-day { font-size: 1.2rem; }

  /* ---- Al Detalle ---- */
  .aldetalle-img-wrap { height: 190px; }
  .aldetalle-body     { padding: 16px; }
  .aldetalle-precio   { font-size: 1.5rem; }
  .aldetalle-header   { flex-direction: column; align-items: flex-start; }

  /* ---- Modal ---- */
  .modal-box    { padding: 22px 14px; }
  .modal-title  { font-size: 1.1rem; }
  .modal-pago-box { padding: 12px 14px; }
  .modal-close  { top: 12px; right: 12px; }

  /* ---- Contacto ---- */
  .btn-whatsapp, .btn-instagram { font-size: .84rem; padding: 12px 16px; }

  /* ---- Documentos ---- */
  .doc-card   { flex-wrap: wrap; gap: 12px; }
  .doc-dl     { margin-left: auto; }

  /* ---- Footer ---- */
  .footer-inner  { padding-bottom: 24px; }
  .footer-brand  { flex-direction: column; gap: 8px; }
  .footer-bottom p { font-size: .7rem; padding: 0 12px; }
}

/* ============================================================
   INTRO SPLASH SCREEN
   ============================================================ */
#introSplash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(160deg, var(--verde-dark) 0%, var(--verde) 55%, #005a4e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity .6s ease, transform .6s ease;
}
#introSplash.splash-out {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none !important;
}

/* Partículas de fondo */
.intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.intro-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(200,168,75,.18);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* Patrón de fondo */
#introSplash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Logo con anillos */
.intro-logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.intro-logo {
  width: 110px;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .7s ease .2s, transform .7s cubic-bezier(.34,1.56,.64,1) .2s;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.4));
  position: relative;
  z-index: 2;
}
.intro-logo.visible { opacity: 1; transform: scale(1); }

.intro-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(200,168,75,.35);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  opacity: 0;
}
.intro-ring-1 {
  width: 130px; height: 130px;
  animation: ringExpand .9s cubic-bezier(.34,1.56,.64,1) .5s forwards;
}
.intro-ring-2 {
  width: 160px; height: 160px;
  animation: ringExpand .9s cubic-bezier(.34,1.56,.64,1) .7s forwards;
}
@keyframes ringExpand {
  to { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}

/* Título */
.intro-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 900;
  color: var(--blanco);
  line-height: 1;
  letter-spacing: -.01em;
  display: flex;
  gap: .3em;
  margin-bottom: 10px;
}
.intro-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.intro-word.visible { opacity: 1; transform: translateY(0); }
.intro-word-1 { transition-delay: .6s; }
.intro-word-2 { color: var(--dorado-light); transition-delay: .75s; }

/* Subtítulo "de Sevilla" */
.intro-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: rgba(255,255,255,.75);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease .9s, transform .5s ease .9s;
}
.intro-sub.visible { opacity: 1; transform: translateY(0); }

/* Línea divisoria animada */
.intro-line {
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  margin: 0 auto 22px;
  transition: width .8s ease 1.1s;
}
.intro-line.visible { width: 200px; }

/* Tagline */
.intro-tagline {
  font-size: clamp(.8rem, 2vw, .98rem);
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
  font-style: italic;
  opacity: 0;
  transition: opacity .6s ease 1.4s;
  margin-bottom: 36px;
}
.intro-tagline.visible { opacity: 1; }

/* Puntos de carga */
.intro-dots {
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity .4s ease 1.6s;
}
.intro-dots.visible { opacity: 1; }
.intro-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dorado);
  animation: dotPulse 1s ease infinite;
}
.intro-dot:nth-child(2) { animation-delay: .2s; }
.intro-dot:nth-child(3) { animation-delay: .4s; }
@keyframes dotPulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(1.4); opacity: 1; }
}

/* ============================================================
   RESPONSIVE — MÓVIL MUY PEQUEÑO (max 360px)
   ============================================================ */
@media (max-width: 360px) {
  .hero-title   { font-size: 1.65rem; }
  .btn-primary  { padding: 11px 22px; font-size: .83rem; }
  .stat-num     { font-size: 1.5rem; }
  .aldetalle-precio { font-size: 1.35rem; }
  .modal-box    { padding: 18px 12px; }
  .nav-logo     { font-size: .9rem; }
}

/* ============================================================
   EQUIPO DIRECTIVO
   ============================================================ */
/* ============================================================
   EQUIPO DIRECTIVO
   ============================================================ */
.equipo-directivo {
  margin-top: 40px;
  border-top: 2px solid var(--gris-claro);
  padding-top: 32px;
}

.equipo-titulo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--verde-dark);
  margin-bottom: 24px;
  letter-spacing: .01em;
}

.equipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.equipo-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--crema);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 0;
}

.equipo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.equipo-foto-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--verde);
  box-shadow: 0 4px 12px rgba(0,106,94,.2);
}

.equipo-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.equipo-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.equipo-cargo {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--verde);
  background: rgba(0,106,94,.1);
  border-radius: 20px;
  padding: 2px 8px;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.equipo-nombre {
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--texto);
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* En móvil: 1 sola columna, tarjetas más cómodas */
@media (max-width: 768px) {
  .equipo-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .equipo-card {
    padding: 14px 16px;
    gap: 14px;
  }
  .equipo-foto-wrap {
    width: 64px;
    height: 64px;
  }
  .equipo-nombre {
    font-size: .95rem;
  }
}
/* ============================================================
   AL DETALLE — SECCIÓN Y TARJETAS
   ============================================================ */
.al-detalle-section { background: var(--crema); }

.aldetalle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 8px;
}

.aldetalle-card {
  background: var(--blanco);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.aldetalle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,106,94,.18);
}

.aldetalle-img-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.aldetalle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.aldetalle-card:hover .aldetalle-img {
  transform: scale(1.04);
}

.aldetalle-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,77,68,.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.aldetalle-card:hover .aldetalle-overlay { opacity: 1; }

.aldetalle-ver {
  color: var(--blanco);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
}

.aldetalle-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.aldetalle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.aldetalle-cat {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--verde);
  background: rgba(0,106,94,.1);
  border-radius: 20px;
  padding: 3px 12px;
}

.aldetalle-fecha {
  font-size: .8rem;
  color: var(--gris-medio);
  font-weight: 600;
}

.aldetalle-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--verde-dark);
  line-height: 1.3;
}

.aldetalle-ruta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--verde-light);
}

.aldetalle-body p {
  font-size: .9rem;
  color: var(--gris-medio);
  line-height: 1.6;
}

.aldetalle-precio-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.aldetalle-precio {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--verde-dark);
}

.aldetalle-precio-nota {
  font-size: .8rem;
  color: var(--gris-medio);
}

.aldetalle-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .8rem;
  color: var(--gris-medio);
  border-top: 1px solid var(--gris-claro);
  padding-top: 10px;
  margin-top: 4px;
}

.aldetalle-link {
  display: inline-block;
  margin-top: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--verde);
  letter-spacing: .02em;
  transition: color var(--transition);
}

.aldetalle-card:hover .aldetalle-link { color: var(--verde-dark); }

/* ============================================================
   MODAL GRANDE — AL DETALLE
   ============================================================ */
.modal-box-large {
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-actividad-imgs {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.modal-act-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.modal-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--verde-dark);
  margin: 20px 0 8px;
  border-left: 3px solid var(--dorado);
  padding-left: 10px;
}

.modal-content p {
  font-size: .92rem;
  color: var(--texto);
  line-height: 1.7;
  margin-bottom: 10px;
}

.modal-precio-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
  background: var(--crema);
  border-radius: 12px;
  padding: 18px;
}

.modal-precio-col strong {
  display: block;
  font-size: .85rem;
  color: var(--verde-dark);
  margin-bottom: 6px;
}

.modal-precio-col p {
  font-size: .82rem;
  color: var(--gris-medio);
  line-height: 1.5;
  margin: 0;
}

.modal-pago-box {
  background: rgba(0,106,94,.07);
  border: 1px solid rgba(0,106,94,.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-pago-box p {
  font-size: .88rem !important;
  margin: 0 !important;
  color: var(--texto) !important;
}

.modal-docs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.modal-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--verde);
  color: var(--blanco);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.modal-doc-btn:hover {
  background: var(--verde-dark);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .aldetalle-grid { grid-template-columns: 1fr; gap: 24px; }
  .aldetalle-img-wrap { height: 220px; }
  .modal-precio-box { grid-template-columns: 1fr; }
  .modal-box-large { max-width: 98vw; padding: 22px 16px; }
}
/* ===== DOCUMENTOS ===== */
.documentos { background: var(--gris-claro); }

.documentos-intro {
  text-align: center;
  color: var(--gris-medio);
  margin-bottom: 36px;
  font-size: .97rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.documentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--blanco);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.doc-card:hover {
  border-color: var(--verde);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.doc-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,106,94,.1);
  border-radius: 12px;
}

.doc-info {
  flex: 1;
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}

.doc-cat {
  font-size: .72rem; font-weight: 700;
  color: var(--verde); text-transform: uppercase; letter-spacing: .05em;
}

.doc-info strong {
  font-size: .92rem; color: var(--texto); font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.doc-desc {
  font-size: .78rem; color: var(--gris-medio);
}

.doc-dl {
  flex-shrink: 0;
  font-size: .76rem; font-weight: 700;
  color: var(--verde);
  background: rgba(0,106,94,.1);
  border-radius: 8px;
  padding: 5px 10px;
  white-space: nowrap;
}