/* Estilos compartidos de ICR Vitacura.
   Extraidos del <style> de index.html para que las paginas internas
   (horarios, que-creemos, sermones, comunidad, contacto) reusen la
   misma identidad sin duplicar el CSS. */

/* ========================================
       CSS VARIABLES & RESET
    ======================================== */
    :root {
      /* Paleta Noche y Arena */
      --noche: #1A1F2E;
      --noche-2: #232838;
      --pizarra: #2E3040;
      --madera: #8B4F2A;
      --madera-light: #A15F36;
      --arena: #B8976A;
      --arena-light: #C9AC85;
      --cardenal: #6B1F2A;
      --cardenal-light: #8B2E3B;
      --lino: #F5F1EA;
      --lino-dark: #E8E0D0;
      /* Aliases para compatibilidad */
      --navy: var(--noche);
      --navy-light: var(--pizarra);
      --cream: var(--lino);
      --cream-dark: var(--lino-dark);
      --terracotta: var(--madera);
      --terracotta-light: var(--madera-light);
      --gold: var(--arena);
      --gold-light: var(--arena-light);
      /* Texto */
      --text-dark: #1A1F2E;
      --text-body: #3D4150;
      --text-light: #6D7185;
      --white: #ffffff;
      --shadow-sm: 0 1px 3px rgba(26,31,46,0.08);
      --shadow-md: 0 4px 20px rgba(26,31,46,0.1);
      --shadow-lg: 0 8px 40px rgba(26,31,46,0.15);
      --radius: 10px;
      --radius-lg: 16px;
      --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--text-body);
      background: var(--lino);
      line-height: 1.7;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

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

    a {
      color: inherit;
      text-decoration: none;
    }

    /* ========================================
       TYPOGRAPHY
    ======================================== */
    h1, h2, h3, h4 {
      font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
      color: var(--text-dark);
      line-height: 1.15;
      font-weight: 500;
      letter-spacing: -0.005em;
    }

    h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 500; }
    h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 500; }
    h3 { font-size: clamp(1.35rem, 2.5vw, 1.7rem); font-weight: 600; }
    h4 { font-size: 1.15rem; font-weight: 600; }

    p {
      max-width: 65ch;
      font-size: 1.05rem;
    }

    .section-label {
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--terracotta);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .section-label::before {
      content: '';
      width: 28px;
      height: 1.5px;
      background: var(--terracotta);
      display: block;
    }

    /* ========================================
       LAYOUT
    ======================================== */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    section {
      padding: 7rem 0;
    }

    /* ========================================
       ANIMATIONS
    ======================================== */
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes slideInLeft {
      from {
        opacity: 0;
        transform: translateX(-40px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes gentlePulse {
      0%, 100% { opacity: 0.6; }
      50% { opacity: 1; }
    }

    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }

    /* ========================================
       NAVIGATION
    ======================================== */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 1.6rem 0;
      transition: all var(--transition);
    }

    /* Default state: light text for dark hero */
    .nav .nav-logo-text { color: var(--cream); }
    .nav .nav-logo-text span { color: rgba(245, 241, 234, 0.6); }
    .nav .nav-links a { color: rgba(245, 241, 234, 0.85); }
    .nav .nav-links a:hover { color: var(--cream); }
    .nav .nav-hamburger span { background: var(--cream); }

    .nav.scrolled {
      background: rgba(245, 241, 234, 0.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      padding: 0.75rem 0;
      box-shadow: 0 1px 20px rgba(26,35,50,0.08);
    }

    /* Scrolled state: dark text for light bg */
    .nav.scrolled .nav-logo-text { color: var(--text-dark); }
    .nav.scrolled .nav-logo-text span { color: var(--text-light); }
    .nav.scrolled .nav-links a { color: var(--text-body); }
    .nav.scrolled .nav-links a:hover { color: var(--text-dark); }
    .nav.scrolled .nav-hamburger span { background: var(--text-dark); }

    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.9rem;
    }

    .nav-logo-icon {
      width: 70px;
      height: 70px;
      position: relative;
      flex-shrink: 0;
    }

    .nav-logo-icon img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: opacity var(--transition);
    }

    .nav-logo-icon .logo-dark { opacity: 0; }
    .nav.scrolled .nav-logo-icon .logo-light { opacity: 0; }
    .nav.scrolled .nav-logo-icon .logo-dark { opacity: 1; }

    .nav-logo-text {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 600;
      line-height: 1.15;
      transition: color var(--transition);
    }

    .nav-logo-text span {
      display: block;
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: color var(--transition);
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 2.4rem;
      align-items: center;
    }

    .nav-links a {
      font-size: 1.05rem;
      font-weight: 500;
      transition: color var(--transition);
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 1.5px;
      background: var(--terracotta);
      transition: width var(--transition);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-cta {
      background: var(--terracotta);
      color: var(--cream) !important;
      padding: 0.75rem 1.7rem;
      border-radius: 8px;
      font-size: 1.05rem;
      font-weight: 600;
      box-shadow: 0 4px 14px rgba(139, 79, 42, 0.35);
      transition: all var(--transition) !important;
    }

    .nav-cta::after {
      display: none !important;
    }

    .nav-cta:hover {
      background: var(--terracotta-light) !important;
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(139, 79, 42, 0.45);
    }

    .nav.scrolled .nav-cta {
      color: var(--cream) !important;
    }

    .nav-hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
    }

    .nav-hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      transition: all var(--transition);
      border-radius: 2px;
    }

    .nav-hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .nav-hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ========================================
       HERO
    ======================================== */
    .hero {
      height: 100vh;
      min-height: 640px;
      display: flex;
      align-items: center;
      align-items: safe center;
      position: relative;
      overflow: hidden;
      background: var(--noche);
      padding: 0;
      margin: 0;
    }

    .hero-photo {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 0;
      overflow: hidden;
      background: var(--noche);
    }

    .hero-photo img,
    .hero-photo video {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      min-height: 100%;
      object-fit: cover;
      object-position: center center;
      opacity: 1;
      filter: brightness(0.95);
    }

    .hero-photo img.hero-photo-mobile {
      display: none;
    }

    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 96px;
      z-index: 2;
      background: var(--noche);
      pointer-events: none;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      background: linear-gradient(
        180deg,
        rgba(26, 31, 46, 0.55) 0%,
        rgba(26, 31, 46, 0.65) 50%,
        rgba(26, 31, 46, 0.75) 100%
      );
      pointer-events: none;
    }

    .hero-pattern {
      display: none;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      padding: 7.5rem 0 4rem;
      width: 100%;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .hero-text {
      animation: slideInLeft 1s ease 0.2s both;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(184, 151, 106, 0.15);
      border: 1px solid rgba(184, 151, 106, 0.25);
      color: var(--gold-light);
      padding: 0.4rem 1rem;
      border-radius: 100px;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 2rem;
    }

    .hero-badge svg {
      width: 14px;
      height: 14px;
    }

    .hero h1 {
      color: var(--cream);
      margin-bottom: 1.5rem;
      font-weight: 400;
    }

    .hero h1 em {
      font-style: italic;
      color: var(--gold);
    }

    .hero-subtitle {
      color: rgba(245, 241, 234, 0.7);
      font-size: 1.15rem;
      line-height: 1.8;
      margin-bottom: 2.5rem;
      max-width: 500px;
    }

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

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.85rem 2rem;
      border-radius: 10px;
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.95rem;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all var(--transition);
      text-decoration: none;
    }

    .btn-primary {
      background: var(--terracotta);
      color: var(--white);
    }

    .btn-primary:hover {
      background: var(--terracotta-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(139, 79, 42, 0.3);
    }

    .btn-outline {
      background: transparent;
      color: var(--cream);
      border: 1.5px solid rgba(245, 241, 234, 0.3);
    }

    .btn-outline:hover {
      border-color: rgba(245, 241, 234, 0.6);
      background: rgba(245, 241, 234, 0.05);
      transform: translateY(-2px);
    }

    .btn svg {
      width: 18px;
      height: 18px;
    }

    .hero-visual {
      position: relative;
      animation: fadeIn 1.2s ease 0.5s both;
    }

    .hero-card {
      background: rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-lg);
      padding: 2.5rem;
      position: relative;
    }

    .hero-card-cross {
      position: absolute;
      top: -20px;
      right: 30px;
      width: 40px;
      height: 60px;
      opacity: 0.15;
    }

    .hero-card-cross::before,
    .hero-card-cross::after {
      content: '';
      position: absolute;
      background: var(--gold);
      border-radius: 2px;
    }

    .hero-card-cross::before {
      width: 4px;
      height: 100%;
      left: 50%;
      transform: translateX(-50%);
    }

    .hero-card-cross::after {
      width: 100%;
      height: 4px;
      top: 35%;
      left: 0;
    }

    .hero-service-info {
      margin-bottom: 2rem;
    }

    .hero-service-label {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.75rem;
    }

    .hero-service-time {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem;
      color: var(--lino);
      font-weight: 500;
      line-height: 1.05;
      letter-spacing: -0.01em;
    }

    .hero-service-time span {
      font-size: 0.95rem;
      color: rgba(245, 241, 234, 0.55);
      display: block;
      margin-top: 0.5rem;
      font-family: 'Source Sans 3', sans-serif;
      font-weight: 400;
      letter-spacing: 0;
    }

    .hero-service-day {
      font-size: 1.1rem;
      color: rgba(245, 241, 234, 0.7);
      margin-top: 0.5rem;
    }

    .hero-divider {
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.08);
      margin: 1.5rem 0;
    }

    .hero-location {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      color: rgba(245, 241, 234, 0.6);
      font-size: 0.9rem;
      line-height: 1.5;
    }

    .hero-location svg {
      width: 20px;
      height: 20px;
      color: var(--terracotta);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .hero-scroll {
      position: absolute;
      bottom: 2.5rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
      color: var(--gold);
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .hero-scroll-line {
      width: 1.5px;
      height: 44px;
      background: linear-gradient(to bottom, var(--gold), transparent);
      animation: gentlePulse 2.5s ease infinite;
    }

    /* ========================================
       ABOUT / NOSOTROS
    ======================================== */
    .about {
      background: var(--cream);
      position: relative;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }

    .about-visual {
      position: relative;
    }

    .about-img-wrapper {
      border-radius: var(--radius-lg);
      overflow: hidden;
      position: relative;
      aspect-ratio: 4/5;
      background: var(--cream-dark);
    }

    .about-img-placeholder {
      width: 100%;
      height: 100%;
      background:
        linear-gradient(135deg, var(--madera) 0%, var(--noche) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .about-img-placeholder::after {
      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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%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/g%3E%3C/svg%3E");
    }

    .about-img-cross {
      position: relative;
      z-index: 1;
      width: 80px;
      height: 120px;
    }

    .about-img-cross::before,
    .about-img-cross::after {
      content: '';
      position: absolute;
      background: rgba(255,255,255,0.2);
      border-radius: 3px;
    }

    .about-img-cross::before {
      width: 6px;
      height: 100%;
      left: 50%;
      transform: translateX(-50%);
    }

    .about-img-cross::after {
      width: 100%;
      height: 6px;
      top: 30%;
    }

    .about-stat-card {
      position: absolute;
      bottom: -30px;
      right: -20px;
      background: var(--white);
      border-radius: var(--radius);
      padding: 1.25rem 1.75rem;
      box-shadow: var(--shadow-lg);
      z-index: 3;
    }

    .about-stat-number {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      color: var(--terracotta);
      font-weight: 600;
      line-height: 1;
    }

    .about-stat-label {
      font-size: 0.8rem;
      color: var(--text-light);
      margin-top: 0.25rem;
    }

    .about-content h2 {
      margin-bottom: 1.5rem;
    }

    .about-content h2 em {
      font-style: italic;
      color: var(--terracotta);
    }

    .about-lead {
      font-size: 1.15rem;
      color: var(--text-body);
      margin-bottom: 1.5rem;
      line-height: 1.8;
    }

    .about-text {
      color: var(--text-light);
      margin-bottom: 2rem;
    }

    .about-text a {
      color: var(--terracotta);
      font-weight: 500;
    }

    .about-text a:hover {
      text-decoration: underline;
    }

    .about-values {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
      margin-top: 2rem;
    }

    .about-value {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }

    .about-value-icon {
      width: 38px;
      height: 38px;
      background: rgba(139, 79, 42, 0.1);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--madera);
    }

    .about-value-icon svg {
      width: 18px;
      height: 18px;
    }

    .about-value-text {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-dark);
      line-height: 1.4;
    }

    /* ========================================
       QUOTE BANNER
    ======================================== */
    .quote-banner {
      background: var(--navy);
      padding: 5rem 0;
      position: relative;
      overflow: hidden;
    }

    .quote-banner::before {
      content: '\201C';
      position: absolute;
      top: -20px;
      left: 10%;
      font-family: 'Cormorant Garamond', serif;
      font-size: 20rem;
      color: rgba(184, 151, 106, 0.05);
      line-height: 1;
    }

    .quote-watermark {
      position: absolute;
      width: 360px;
      height: auto;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      opacity: 0.05;
      pointer-events: none;
      z-index: 0;
    }

    .quote-banner .container {
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .quote-text {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.5rem, 3.5vw, 2.5rem);
      color: var(--cream);
      font-weight: 400;
      font-style: italic;
      line-height: 1.5;
      max-width: 800px;
      margin: 0 auto 1.5rem;
    }

    .quote-source {
      color: var(--gold);
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    /* ========================================
       ACTIVITIES / COMUNIDAD
    ======================================== */
    .activities {
      background: var(--white);
    }

    .activities-header {
      text-align: center;
      max-width: 600px;
      margin: 0 auto 4rem;
    }

    .activities-header p {
      margin: 1rem auto 0;
      color: var(--text-light);
    }

    .activities-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .activity-card {
      background: var(--cream);
      border-radius: var(--radius-lg);
      padding: 2rem;
      transition: all var(--transition);
      position: relative;
      overflow: hidden;
      border: 1px solid transparent;
    }

    .activity-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: rgba(139, 79, 42, 0.15);
    }

    .activity-card-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.25rem;
      font-size: 1.5rem;
    }

    /* Alternating Madera / Arena backgrounds */
    .activity-card:nth-child(odd) .activity-card-icon { background: rgba(139, 79, 42, 0.1); }
    .activity-card:nth-child(even) .activity-card-icon { background: rgba(184, 151, 106, 0.15); }

    .activity-card h3 {
      font-size: 1.2rem;
      margin-bottom: 0.75rem;
    }

    .activity-card p {
      font-size: 0.9rem;
      color: var(--text-light);
      line-height: 1.6;
    }

    .activity-card-meta {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      margin-top: 1rem;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--terracotta);
      letter-spacing: 0.03em;
    }

    .activity-card-meta svg {
      width: 14px;
      height: 14px;
    }

    /* ========================================
       SERMONS / SERMONES
    ======================================== */
    .sermons {
      background: var(--cream);
      position: relative;
    }

    .sermons-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }

    .sermons-content {
      position: sticky;
      top: 120px;
    }

    .sermons-content h2 {
      margin-bottom: 1.25rem;
    }

    .sermons-content h2 em {
      color: var(--terracotta);
      font-style: italic;
    }

    .sermons-content > p {
      color: var(--text-light);
      margin-bottom: 2rem;
    }

    .sermons-links {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .sermon-link {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 1.25rem;
      background: var(--white);
      border-radius: var(--radius);
      transition: all var(--transition);
      border: 1px solid transparent;
    }

    .sermon-link:hover {
      border-color: rgba(139, 79, 42, 0.2);
      transform: translateX(4px);
      box-shadow: var(--shadow-sm);
    }

    .sermon-link-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 1.2rem;
    }

    .sermon-link-icon.youtube { background: #fee2e2; color: #dc2626; }
    .sermon-link-icon.spotify { background: #dcfce7; color: #16a34a; }
    .sermon-link-icon.podcast { background: #ede9fe; color: #7c3aed; }

    .sermon-link-text {
      flex: 1;
    }

    .sermon-link-title {
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--text-dark);
    }

    .sermon-link-desc {
      font-size: 0.8rem;
      color: var(--text-light);
      margin-top: 0.15rem;
    }

    .sermon-link-arrow {
      color: var(--text-light);
      transition: all var(--transition);
    }

    .sermon-link:hover .sermon-link-arrow {
      color: var(--terracotta);
      transform: translateX(3px);
    }

    .sermons-series {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .series-card {
      display: block;
      color: inherit;
      text-decoration: none;
      background: var(--white);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: all var(--transition);
      border: 1px solid rgba(0,0,0,0.04);
    }

    .series-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .series-card-visual {
      aspect-ratio: 16 / 9;
      position: relative;
      overflow: hidden;
      background: var(--noche);
    }

    .series-card-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform var(--transition);
    }

    .series-card:hover .series-card-visual img {
      transform: scale(1.03);
    }

    .series-card-body {
      padding: 1.25rem 1.5rem;
    }

    .series-card-body p {
      font-size: 0.85rem;
      color: var(--text-light);
      line-height: 1.6;
    }

    .series-card-tag {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--terracotta);
      margin-top: 0.75rem;
    }

    /* ========================================
       CTA BANNER
    ======================================== */
    .cta-banner {
      background: linear-gradient(135deg, var(--madera) 0%, var(--cardenal) 100%);
      padding: 5rem 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.1), transparent 50%);
    }

    .cta-banner .container {
      position: relative;
      z-index: 1;
    }

    .cta-vita {
      display: inline-block;
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.9);
      padding: 0.4rem 1rem;
      border: 1px solid rgba(255,255,255,0.4);
      border-radius: 100px;
      margin-bottom: 1.25rem;
    }

    .cta-banner h2 {
      color: var(--white);
      margin-bottom: 1rem;
      font-weight: 500;
    }

    .cta-banner p {
      color: rgba(255,255,255,0.85);
      font-size: 1.1rem;
      margin: 0 auto 2rem;
      max-width: 550px;
    }

    .btn-white {
      background: var(--white);
      color: var(--terracotta);
      font-weight: 700;
    }

    .btn-white:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    }

    /* ========================================
       MAP / CONTACT SECTION
    ======================================== */
    .contact {
      background: var(--white);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }

    .contact-content h2 {
      margin-bottom: 1rem;
    }

    .contact-content h2 em {
      color: var(--terracotta);
      font-style: italic;
    }

    .contact-content > p {
      color: var(--text-light);
      margin-bottom: 2.5rem;
    }

    .contact-info-list {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .contact-info-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
    }

    .contact-info-icon {
      width: 44px;
      height: 44px;
      background: var(--cream);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--terracotta);
    }

    .contact-info-icon svg {
      width: 20px;
      height: 20px;
    }

    .contact-info-label {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-light);
      margin-bottom: 0.2rem;
    }

    .contact-info-value {
      font-weight: 500;
      color: var(--text-dark);
      font-size: 1rem;
    }

    .contact-map {
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-md);
      aspect-ratio: 1;
      background: var(--cream-dark);
    }

    .contact-map iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .social-links {
      display: flex;
      gap: 0.75rem;
      margin-top: 2.5rem;
    }

    .social-link {
      width: 44px;
      height: 44px;
      background: var(--cream);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-body);
      transition: all var(--transition);
    }

    .social-link:hover {
      background: var(--navy);
      color: var(--cream);
      transform: translateY(-2px);
    }

    .social-link svg {
      width: 20px;
      height: 20px;
    }

    /* ========================================
       GALLERY
    ======================================== */
    .gallery {
      background: var(--navy);
      padding: 6rem 0;
      overflow: hidden;
      position: relative;
    }

    .gallery-watermark {
      position: absolute;
      width: 620px;
      height: auto;
      left: -210px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0.05;
      pointer-events: none;
      z-index: 0;
    }

    .gallery .container {
      position: relative;
      z-index: 1;
    }

    @media (max-width: 768px) {
      .gallery-watermark { width: 380px; left: -160px; }
    }

    .gallery-header {
      text-align: center;
      max-width: 600px;
      margin: 0 auto 3rem;
    }

    .gallery-header .section-label {
      justify-content: center;
      color: var(--gold);
    }

    .gallery-header .section-label::before {
      background: var(--gold);
    }

    .gallery-header h2 {
      color: var(--cream);
    }

    .gallery-header p {
      color: rgba(245, 241, 234, 0.6);
      margin: 1rem auto 0;
    }

    .gallery-tabs {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 2.5rem;
    }

    .gallery-tab {
      padding: 0.6rem 1.5rem;
      border-radius: 100px;
      border: 1.5px solid rgba(245, 241, 234, 0.15);
      background: transparent;
      color: rgba(245, 241, 234, 0.6);
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.85rem;
      font-weight: 500;
      cursor: pointer;
      transition: all var(--transition);
    }

    .gallery-tab:hover {
      border-color: rgba(245, 241, 234, 0.3);
      color: var(--cream);
    }

    .gallery-tab.active {
      background: var(--terracotta);
      border-color: var(--terracotta);
      color: var(--white);
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 13rem;
      grid-auto-flow: dense;
      gap: 0.75rem;
    }

    .gallery-item {
      border-radius: var(--radius);
      overflow: hidden;
      cursor: pointer;
      position: relative;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
    }

    .gallery-item::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(26,35,50,0.4), transparent 50%);
      opacity: 0;
      transition: opacity var(--transition);
    }

    .gallery-item:hover img {
      transform: scale(1.06);
    }

    .gallery-item:hover::after {
      opacity: 1;
    }

    .gallery-item.tall {
      grid-row: span 2;
    }

    .gallery-item.wide {
      grid-column: span 2;
    }

    .gallery-set {
      display: none;
    }

    .gallery-set.active {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 13rem;
      grid-auto-flow: dense;
      gap: 0.75rem;
    }

    /* Lightbox */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.92);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      cursor: pointer;
    }

    .lightbox.active {
      opacity: 1;
      pointer-events: all;
    }

    .lightbox img {
      max-width: 90vw;
      max-height: 90vh;
      border-radius: var(--radius);
      object-fit: contain;
      cursor: default;
    }

    .lightbox-close {
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background var(--transition);
    }

    .lightbox-close:hover {
      background: rgba(255,255,255,0.2);
    }

    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      border: none;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background var(--transition);
    }

    .lightbox-nav:hover {
      background: rgba(255,255,255,0.2);
    }

    .lightbox-prev { left: 1.5rem; }
    .lightbox-next { right: 1.5rem; }

    /* ========================================
       VIDEO SECTION
    ======================================== */
    .video-section {
      background: var(--cream);
      padding: 6rem 0;
    }

    .video-section-inner {
      max-width: 900px;
      margin: 0 auto;
      text-align: center;
    }

    .video-section-inner h2 {
      margin-bottom: 1rem;
    }

    .video-section-inner h2 em {
      color: var(--terracotta);
      font-style: italic;
    }

    .video-section-inner > p {
      color: var(--text-light);
      margin: 0 auto 2.5rem;
      max-width: 550px;
    }

    .video-wrapper {
      position: relative;
      padding-bottom: 56.25%;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }

    .video-wrapper iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: none;
    }

    .video-thumb-link {
      position: absolute;
      inset: 0;
      display: block;
      overflow: hidden;
      cursor: pointer;
      background: var(--noche);
    }

    .video-thumb-link img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease, filter 0.3s ease;
      filter: brightness(0.85);
    }

    .video-thumb-link:hover img {
      transform: scale(1.04);
      filter: brightness(0.95);
    }

    .video-thumb-play {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 96px;
      height: 96px;
      border-radius: 50%;
      background: rgba(139, 79, 42, 0.92);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .video-thumb-link:hover .video-thumb-play {
      transform: translate(-50%, -50%) scale(1.08);
      background: var(--terracotta-light);
    }

    .video-thumb-play svg {
      width: 38px;
      height: 38px;
      color: var(--cream);
      margin-left: 6px;
    }

    @media (max-width: 1024px) {
      .gallery-set.active, .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 13rem;
      }
    }

    @media (max-width: 768px) {
      .gallery-set.active, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 14rem;
      }
      .gallery-item.wide {
        grid-column: span 1;
      }
      .gallery-tabs {
        flex-wrap: wrap;
      }
    }

    @media (max-width: 480px) {
      .gallery-set.active, .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 15rem;
      }
      .gallery-item.tall {
        grid-row: span 1;
      }
    }

    /* ========================================
       FOOTER
    ======================================== */
    .footer {
      background: var(--navy);
      padding: 4rem 0 2rem;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 2.6fr 1fr 1fr 1fr;
      gap: 2.5rem;
      padding-bottom: 3rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .footer-logo {
      display: inline-block;
      margin-bottom: 1rem;
      text-decoration: none;
    }

    .footer-logo img {
      display: block;
      height: 92px;
      width: auto;
    }

    .footer-brand-text {
      color: rgba(245, 241, 234, 0.55);
      font-size: 0.9rem;
      margin-top: 1rem;
      line-height: 1.6;
      max-width: none;
    }

    .footer-brand-text p {
      margin-bottom: 0.4rem;
      max-width: none;
      white-space: nowrap;
    }

    .footer-brand-text p:last-child {
      margin-bottom: 0;
    }

    .footer-brand-text a {
      color: var(--gold-light);
      font-weight: 500;
    }

    .footer-brand-text a:hover {
      text-decoration: underline;
    }

    /* h3 en las paginas internas (jerarquia correcta), h4 en la home. */
    .footer-col h3,
    .footer-col h4 {
      color: var(--cream);
      font-family: 'Source Sans 3', sans-serif;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 1.25rem;
    }

    .footer-col ul {
      list-style: none;
    }

    .footer-col li {
      margin-bottom: 0.6rem;
    }

    .footer-col a {
      color: rgba(245, 241, 234, 0.5);
      font-size: 0.9rem;
      transition: color var(--transition);
    }

    .footer-col a:hover {
      color: var(--gold);
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 2rem;
    }

    .footer-copy {
      color: rgba(245, 241, 234, 0.3);
      font-size: 0.8rem;
    }

    .footer-copy a {
      color: rgba(245, 241, 234, 0.5);
    }

    .footer-copy a:hover {
      text-decoration: underline;
    }

    .footer-iach {
      color: rgba(245, 241, 234, 0.4);
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .footer-iach a {
      color: var(--gold-light);
      font-weight: 500;
    }

    .footer-iach a:hover {
      text-decoration: underline;
    }

    /* ========================================
       MOBILE MENU
    ======================================== */
    .mobile-menu {
      position: fixed;
      inset: 0;
      background: rgba(245, 241, 234, 0.98);
      backdrop-filter: blur(20px);
      z-index: 999;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
    }

    .mobile-menu.active {
      opacity: 1;
      pointer-events: all;
    }

    .mobile-menu a {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      color: var(--text-dark);
      transition: color var(--transition);
    }

    .mobile-menu a:hover {
      color: var(--terracotta);
    }

    /* ========================================
       RESPONSIVE
    ======================================== */
    @media (max-width: 1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .hero-visual {
        max-width: 450px;
      }

      .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .about-visual {
        max-width: 400px;
        margin: 0 auto;
      }

      .activities-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .sermons-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .sermons-content {
        position: static;
      }

      .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
      }
    }

    @media (max-width: 768px) {
      section {
        padding: 4.5rem 0;
      }

      .nav-links {
        display: none;
      }

      .nav-hamburger {
        display: flex;
      }

      .hero {
        height: auto;
        min-height: 100vh;
      }

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

      .hero-overlay {
        background: linear-gradient(
          180deg,
          rgba(26, 31, 46, 0.7) 0%,
          rgba(26, 31, 46, 0.78) 50%,
          rgba(26, 31, 46, 0.85) 100%
        );
      }

      .hero-photo video {
        display: none;
      }

      .hero-photo img.hero-photo-mobile {
        display: block;
        filter: brightness(0.8);
      }

      .hero-badge {
        margin-bottom: 1.5rem;
      }

      .hero-actions {
        flex-direction: column;
      }

      .hero-actions .btn {
        text-align: center;
        justify-content: center;
      }

      .hero-scroll {
        display: none;
      }

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

      .about-values {
        grid-template-columns: 1fr;
      }

      .about-stat-card {
        right: 10px;
        bottom: -20px;
      }

      .footer-top {
        grid-template-columns: 1fr;
      }

      .footer-brand-text p {
        white-space: normal;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 1.25rem;
      }

      h1 {
        font-size: 2.2rem;
      }

      .hero-service-time {
        font-size: 2rem;
      }

      .contact-map {
        aspect-ratio: 4/3;
      }
    }
