  :root{
    --wine:#003152;
    --wine-deep:#001f38;
    --gold:#FDBF2D;
    --gold-soft:#ffce5c;
    --soft-blue:#ADDFF1;
    --cream:#ffffff;
    --paper:#f2faff;
    --ink:#0b2436;
    --ink-soft:#4b6579;
    --line: rgb(0 49 82 / 0.14);
    --radius: 4px;
    --radius-lg: 4px;
    --maxw: 1360px;
  }
  [data-theme="dark"]{
    --cream:#071824;
    --paper:#0a2032;
    --ink:#eaf6fc;
    --ink-soft:#9fc3d6;
    --line: rgb(173 223 241 / 0.18);
    --wine:#0d5c8f;
  }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --cream:#071824;
      --paper:#0a2032;
      --ink:#eaf6fc;
      --ink-soft:#9fc3d6;
      --line: rgb(173 223 241 / 0.18);
      --wine:#0d5c8f;
    }
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'General Sans', system-ui, sans-serif;
    background:var(--cream);
    color:var(--ink);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    padding-bottom:64px;
  }
  h1,h2,h3{ font-family:'Boska', Georgia, serif; font-weight:600; letter-spacing:-0.01em; }
  img{max-width:100%; display:block;}
  a{color:inherit; text-decoration:none;}
  button{ font:inherit; color:inherit; background:none; border:none; cursor:pointer; }
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
  ::selection{ background:var(--gold); color:var(--paper); }

  /* NAV */
  header.site-nav{
    position:sticky; top:0; z-index:40;
    background:color-mix(in srgb, var(--cream) 88%, transparent);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom:1px solid var(--line);
  }
  .nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    height:72px;
  }
  .brand{ display:flex; align-items:center; gap:12px; }
  .brand svg{ width:38px; height:38px; flex-shrink:0; }
  .brand-text{ display:flex; flex-direction:column; line-height:1.1; }
  .brand-text strong{ font-family:'Boska', serif; font-size:15px; }
  .brand-text span{ font-size:11px; color:var(--ink-soft); letter-spacing:0.02em; }
  .brand img{ filter:none; }
  [data-theme="dark"] .brand img{ filter:invert(1) brightness(1.6); }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]) .brand img{ filter:invert(1) brightness(1.6); }
  }
  nav.links{ display:flex; gap:32px; }
  nav.links a{ font-size:14.5px; color:var(--ink-soft); transition:color .2s ease; }
  nav.links a:hover{ color:var(--wine); }
  .nav-cta{
    display:flex; align-items:center; gap:16px;
  }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 22px; border-radius:var(--radius);
    font-size:14px; font-weight:600; white-space:nowrap;
    transition:transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s ease, background .2s ease;
  }
  .btn:active{ transform: scale(.97); }
  .btn-primary{ background:var(--wine); color:#ffffff; }
  .btn-primary:hover{ box-shadow:0 8px 24px rgb(0 49 82 / 0.28); transform: translateY(-1px); }
  .btn-ghost{ border:1px solid var(--line); color:var(--ink); }
  .btn-ghost:hover{ border-color:var(--wine); }

  /* HERO */
  .hero{
    display:grid; grid-template-columns: 0.92fr 1.08fr;
    min-height:calc(100dvh - 72px);
    align-items:stretch;
  }
  .hero-copy{
    display:flex; flex-direction:column; justify-content:center;
    padding: 0 clamp(24px, 5vw, 80px);
    max-width:640px;
  }
  .eyebrow{
    font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase;
    color:var(--wine); font-weight:600; margin-bottom:20px;
  }
  [data-theme="dark"] .eyebrow{ color:var(--gold-soft); }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .eyebrow{ color:var(--gold-soft); } }
  .hero-copy h1{
    font-size:clamp(2.4rem, 4.6vw, 3.6rem);
    line-height:1.06;
    color:var(--ink);
    margin-bottom:22px;
  }
  .hero-copy h1 em{ color:var(--wine); font-style:italic; line-height:1.15; padding-bottom:2px; display:inline-block; }
  [data-theme="dark"] .hero-copy h1 em{ color:var(--gold-soft); }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .hero-copy h1 em{ color:var(--gold-soft); } }
  .hero-copy p{
    font-size:17px; color:var(--ink-soft); max-width:46ch; margin-bottom:32px;
  }
  .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
  .hero-media{
    position:relative; overflow:hidden; min-height:420px;
    margin:24px clamp(24px, 5vw, 64px) 24px 0;
    border-radius:16px;
  }
  .hero-slide{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
    opacity:0; transition:opacity 1.6s ease; z-index:0;
  }
  .hero-slide.active{ opacity:1; z-index:1; }
  .hero-media::after{
    content:""; position:absolute; inset:0; z-index:2;
    background:linear-gradient(180deg, rgb(0 31 56 / 0) 40%, rgb(0 31 56 / 0.55));
  }
  .hero-media .caption{
    position:absolute; left:24px; bottom:24px; z-index:3;
    color:#ffffff; font-size:13px; letter-spacing:0.02em;
  }

  /* TRUST STRIP */
  .trust-strip{
    border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    padding:28px 0;
  }
  .trust-strip .wrap{
    display:flex; align-items:center; justify-content:center; gap:clamp(28px,6vw,72px);
    flex-wrap:wrap; opacity:.72;
  }
  .trust-strip a{ display:flex; color:var(--ink-soft); transition:color .18s ease; }
  .trust-strip a:hover{ color:var(--wine); }
  [data-theme="dark"] .trust-strip a:hover{ color:var(--gold-soft); }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]) .trust-strip a:hover{ color:var(--gold-soft); }
  }
  .trust-strip i{ font-size:26px; }

  /* SECTION SHARED */
  section{ padding:88px 0; }
  .section-head{ max-width:640px; margin-bottom:48px; }
  .section-head h2{ font-size:clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom:14px; }
  .section-head p{ color:var(--ink-soft); font-size:16px; max-width:56ch; }

  /* DARK SECTION BLOCKS - alternating light/dark rhythm between sections */
  .dark-block{ background:var(--wine); color:#ffffff; }
  .dark-block .section-head p{ color:rgb(255 255 255 / 0.72); }
  .dark-block .temple-card{ border-color:rgb(255 255 255 / 0.14); }
  .dark-block .news-card p{ color:rgb(255 255 255 / 0.72); }
  .dark-block .news-meta{ color:var(--gold-soft); }
  .dark-block .news-link{ color:var(--gold-soft); }

  /* LIVE STREAM */
  .live{ background:var(--wine); color:#ffffff; }
  .live .section-head p{ color:rgb(255 255 255 / 0.72); }
  .live-grid{ display:grid; grid-template-columns: 1.3fr 0.9fr; gap:48px; align-items:start; }
  .live-frame{
    position:relative; border-radius:var(--radius-lg); overflow:hidden;
    aspect-ratio:16/9; background:var(--wine-deep);
    border:1px solid rgb(255 255 255 / 0.14);
  }
  .live-frame iframe{ width:100%; height:100%; border:0; }
  .live-badge{
    position:absolute; top:16px; left:16px; z-index:3;
    display:flex; align-items:center; gap:8px;
    background:rgb(0 31 56 / 0.72); backdrop-filter:blur(6px);
    padding:7px 14px; border-radius:999px; font-size:12.5px; font-weight:600;
  }
  .pulse-dot{
    width:8px; height:8px; border-radius:50%; background:#e2513f;
  }
  @media (prefers-reduced-motion: no-preference){
    .pulse-dot{ animation: pulse 1.8s ease-in-out infinite; }
  }
  @keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.5; transform:scale(1.3);} }

  .schedule-list{ display:flex; flex-direction:column; }
  .schedule-item{
    display:flex; justify-content:space-between; align-items:baseline;
    padding:18px 0; border-top:1px solid rgb(255 255 255 / 0.16);
  }
  .schedule-item:last-child{ border-bottom:1px solid rgb(255 255 255 / 0.16); }
  .schedule-item .day{ font-size:15.5px; font-weight:600; }
  .schedule-item .time{ font-family:'Boska', serif; font-size:19px; color:var(--gold-soft); }
  .schedule-item .sub{ font-size:13px; color:rgb(255 255 255 / 0.6); display:block; margin-top:3px; }

  /* NOSOTROS */
  .about-grid{
    display:grid; grid-template-columns: 0.85fr 1.15fr; gap:64px; align-items:center;
  }
  .about-media{ position:relative; }
  .about-media img{ border-radius:var(--radius-lg); }
  .about-stat{
    position:absolute; bottom:-28px; right:-28px;
    background:var(--paper); border:1px solid var(--line);
    padding:20px 26px; border-radius:var(--radius-lg);
    box-shadow:0 20px 48px rgb(0 49 82 / 0.14);
    display:flex; flex-direction:column; gap:14px;
  }
  .about-stat .stat-row{ display:flex; align-items:baseline; gap:10px; }
  .about-stat .stat-row + .stat-row{ padding-top:14px; border-top:1px solid var(--line); }
  .about-stat strong{ font-family:'Boska', serif; font-size:2rem; color:var(--wine); flex-shrink:0; }
  [data-theme="dark"] .about-stat strong{ color:var(--gold-soft); }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .about-stat strong{ color:var(--gold-soft); } }
  .about-stat span{ font-size:13px; color:var(--ink-soft); max-width:15ch; line-height:1.25; }
  .about-copy p{ color:var(--ink-soft); font-size:16px; margin-bottom:18px; max-width:58ch; }

  .leader-strip{
    margin-top:32px; border-radius:var(--radius-lg); overflow:hidden; position:relative;
  }
  .leader-strip img{ width:100%; height:220px; object-fit:cover; }
  .leader-strip figcaption{
    position:absolute; left:16px; bottom:14px; z-index:2;
    color:#ffffff; font-size:12.5px; font-weight:600; letter-spacing:0.02em;
    background:rgb(0 20 35 / 0.55); backdrop-filter:blur(6px);
    padding:6px 12px; border-radius:999px;
  }

  /* NUESTROS TEMPLOS */
  .temple-grid{ display:grid; grid-template-columns: 1.3fr 1fr; gap:20px; }
  .temple-card{ position:relative; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; transition:transform .2s ease, box-shadow .2s ease; }
  .temple-card:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgb(0 20 35 / 0.14); }
  .temple-card-cover{ position:absolute; inset:0; z-index:1; pointer-events:auto; }
  .temple-card.featured{
    min-height:400px;
    display:flex; flex-direction:column; justify-content:flex-end;
  }
  .temple-card.featured img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
  .temple-card.featured::before{
    content:""; position:absolute; inset:0; z-index:1;
    background:linear-gradient(180deg, rgb(0 20 35 / 0.05), rgb(0 20 35 / 0.82));
  }
  .temple-body{ position:relative; z-index:2; padding:28px; color:#ffffff; pointer-events:none; }
  .temple-body .tag{ font-size:11.5px; text-transform:uppercase; letter-spacing:0.1em; opacity:.8; font-weight:600; margin-bottom:8px; display:block; }
  .temple-body h3{ font-size:1.4rem; margin-bottom:6px; }
  .temple-body p{ font-size:14px; opacity:.85; }
  .temple-list{ display:flex; flex-direction:column; gap:20px; }
  .temple-card.flat{
    position:relative; z-index:2; background:var(--paper); padding:28px; flex:1;
    display:flex; flex-direction:column; justify-content:center; pointer-events:none;
  }
  .temple-card.flat i{ font-size:26px; color:var(--wine); margin-bottom:12px; }
  [data-theme="dark"] .temple-card.flat i{ color:var(--gold-soft); }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .temple-card.flat i{ color:var(--gold-soft); } }
  .temple-card.flat h3{ font-size:1.1rem; margin-bottom:4px; }
  .temple-card.flat p{ font-size:13.5px; color:var(--ink-soft); }
  .temple-link{
    position:relative; z-index:2; pointer-events:auto;
    display:inline-flex; align-items:center; gap:6px; margin-top:14px;
    font-size:13px; font-weight:600;
  }
  .temple-body .temple-link{ color:#ffffff; }
  .temple-card.flat .temple-link{ color:var(--wine); }
  [data-theme="dark"] .temple-card.flat .temple-link{ color:var(--gold-soft); }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .temple-card.flat .temple-link{ color:var(--gold-soft); } }

  /* MINISTERIOS - bento */
  .bento{
    display:grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px);
    gap:16px;
  }
  .bento-card{
    position:relative; border-radius:var(--radius-lg); overflow:hidden;
    border:1px solid var(--line); padding:24px;
    display:flex; flex-direction:column; justify-content:flex-end;
  }
  .bento-card.big{ grid-column:span 2; grid-row:span 2; }
  .bento-card.wide{ grid-column:span 2; }
  .bento-card.photo{ color:#ffffff; }
  .bento-card.photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
  .bento-card.photo::before{
    content:""; position:absolute; inset:0; z-index:1;
    background:linear-gradient(180deg, rgb(0 20 35 / 0.1), rgb(0 20 35 / 0.78));
  }
  .bento-card.photo > *{ position:relative; z-index:2; }
  .bento-card.flat{ background:var(--paper); }
  .bento-card.tone{ background:var(--wine); color:#ffffff; }
  .bento-card.gold{ background:var(--gold); color:var(--wine-deep); }
  .bento-card h3{ font-size:1.3rem; margin-bottom:6px; }
  .bento-card p{ font-size:13.5px; opacity:.82; max-width:32ch; }
  .bento-card .tag{ font-size:11.5px; text-transform:uppercase; letter-spacing:0.1em; opacity:.72; margin-bottom:10px; font-weight:600; }

  /* NOTICIAS */
  .news-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
  .news-card{ display:flex; flex-direction:column; }
  .news-media{ aspect-ratio:4/3; border-radius:var(--radius-lg); overflow:hidden; margin-bottom:18px; }
  .news-media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.16,1,.3,1); }
  .news-card:hover .news-media img{ transform:scale(1.04); }
  .news-meta{ font-size:12.5px; color:var(--wine); font-weight:600; margin-bottom:8px; }
  [data-theme="dark"] .news-meta{ color:var(--gold-soft); }
  .news-card h3{ font-size:1.15rem; margin-bottom:8px; line-height:1.25; }
  .news-card p{ font-size:14px; color:var(--ink-soft); margin-bottom:14px; }
  .news-link{ font-size:13.5px; font-weight:600; display:inline-flex; align-items:center; gap:6px; color:var(--wine); }
  [data-theme="dark"] .news-link{ color:var(--gold-soft); }

  /* RADIO */
  .radio-section{
    background:var(--wine); color:#ffffff; position:relative; overflow:hidden;
  }
  .radio-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
  .radio-copy .eyebrow{ color:var(--gold-soft); }
  .radio-copy p{ color:rgb(255 255 255 / 0.72); max-width:48ch; margin-bottom:28px; }
  .radio-panel{
    border:1px solid rgb(255 255 255 / 0.16); border-radius:var(--radius-lg);
    padding:32px; background:rgb(255 255 255 / 0.05);
  }
  .radio-row{ display:flex; align-items:center; gap:18px; margin-bottom:22px; }
  .radio-icon{
    width:56px; height:56px; border-radius:50%; background:var(--gold);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .radio-icon i{ font-size:26px; color:var(--wine-deep); }
  .radio-row strong{ font-size:16px; display:block; }
  .radio-row .status{ font-size:13px; color:rgb(255 255 255 / 0.64); display:flex; align-items:center; gap:6px; margin-top:4px; }
  /* CUSTOM AUDIO PLAYER (replaces native <audio controls>) */
  .audio-player{ display:flex; align-items:center; gap:14px; margin-top:22px; }
  .ap-play{
    width:44px; height:44px; border-radius:50%; flex-shrink:0;
    background:var(--gold); color:var(--wine-deep);
    display:flex; align-items:center; justify-content:center; font-size:17px;
    transition:transform .18s cubic-bezier(.16,1,.3,1);
  }
  .ap-play:active{ transform:scale(.94); }
  .ap-seek{ flex:1; min-width:0; }
  .ap-time{ font-size:12px; color:rgb(255 255 255 / 0.64); font-variant-numeric:tabular-nums; flex-shrink:0; }
  .ap-vol-btn{ font-size:17px; color:rgb(255 255 255 / 0.7); flex-shrink:0; }
  .ap-vol-btn:hover{ color:#ffffff; }
  .ap-volume{ width:80px; flex-shrink:0; }

  .audio-player input[type="range"]{
    -webkit-appearance:none; appearance:none; height:4px; border-radius:999px;
    background:rgb(255 255 255 / 0.22); outline:none;
  }
  .audio-player input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance:none; width:13px; height:13px; border-radius:50%;
    background:var(--gold); cursor:pointer; border:none;
  }
  .audio-player input[type="range"]::-moz-range-thumb{
    width:13px; height:13px; border-radius:50%; background:var(--gold); cursor:pointer; border:none;
  }
  .audio-player input[type="range"]::-moz-range-track{ height:4px; border-radius:999px; background:rgb(255 255 255 / 0.22); }

  .audio-player.compact{ margin-top:0; gap:10px; }
  .audio-player.compact .ap-play{ width:38px; height:38px; font-size:15px; }
  .audio-player.compact .ap-volume{ width:70px; }

  /* VERSE */
  .verse{ text-align:center; padding:96px 0; }
  .verse blockquote{
    font-family:'Boska', serif; font-size:clamp(1.6rem,3vw,2.2rem);
    max-width:820px; margin:0 auto 20px; line-height:1.35; color:var(--wine);
  }
  [data-theme="dark"] .verse blockquote{ color:var(--gold-soft); }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .verse blockquote{ color:var(--gold-soft); } }
  .verse cite{ font-style:normal; font-size:14px; color:var(--ink-soft); }

  /* FOOTER */
  footer{ background:var(--wine-deep); color:#ffffff; padding:72px 0 32px; }
  .footer-grid{ display:grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap:40px; margin-bottom:56px; }
  .footer-brand p{ font-size:14px; color:rgb(234 246 252 / 0.6); margin-top:16px; max-width:32ch; }
  .footer-col h4{ font-size:13px; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:18px; color:rgb(234 246 252 / 0.5); font-family:'General Sans'; font-weight:600; }
  .footer-col a, .footer-col p{ display:block; font-size:14.5px; color:rgb(234 246 252 / 0.82); margin-bottom:12px; }
  .footer-social{ display:flex; gap:14px; margin-top:4px; }
  .footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid rgb(234 246 252 / 0.2); display:flex; align-items:center; justify-content:center; }
  .footer-bottom{ border-top:1px solid rgb(234 246 252 / 0.14); padding-top:24px; display:flex; justify-content:space-between; font-size:13px; color:rgb(234 246 252 / 0.48); }

  /* BIBLE FAB */
  .bible-fab{
    position:fixed; right:24px; bottom:80px; z-index:49;
    display:flex; align-items:center; gap:10px;
    background:var(--gold); color:var(--wine-deep);
    padding:13px 20px; border-radius:999px;
    font-size:13.5px; font-weight:600; white-space:nowrap;
    box-shadow:0 12px 28px rgb(0 20 35 / 0.28);
    transition:transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s ease;
  }
  .bible-fab:hover{ transform:translateY(-2px); box-shadow:0 16px 34px rgb(0 20 35 / 0.34); }
  .bible-fab:active{ transform:scale(.97); }
  .bible-fab i{ font-size:19px; }

  /* STICKY RADIO BAR */
  .radio-bar{
    position:fixed; left:0; right:0; bottom:0; z-index:50;
    background:var(--wine-deep); color:#ffffff;
    border-top:1px solid rgb(234 246 252 / 0.14);
    display:flex; align-items:center; justify-content:space-between;
    padding:10px 24px; gap:20px;
  }
  .radio-bar-left{ display:flex; align-items:center; gap:12px; min-width:0; }
  .radio-bar-left strong{ font-size:13.5px; white-space:nowrap; }
  .radio-bar-left span{ font-size:11.5px; color:rgb(234 246 252 / 0.5); display:flex; align-items:center; gap:6px; }
  .rb-dot{ width:7px; height:7px; border-radius:50%; background:#e2513f; flex-shrink:0; }
  @media (prefers-reduced-motion: no-preference){ .rb-dot{ animation: pulse 1.8s ease-in-out infinite; } }

  /* MOBILE */
  @media (max-width: 900px){
    nav.links, .trust-strip{ display:none; }
    .hero{ grid-template-columns:1fr; min-height:auto; }
    .hero-copy{ padding:56px 24px 40px; max-width:none; }
    .hero-media{ min-height:320px; margin:0 24px 40px; border-radius:14px; }
    .live-grid, .about-grid, .radio-grid, .temple-grid{ grid-template-columns:1fr; gap:32px; }
    .temple-card.featured{ min-height:280px; }
    .about-media{ margin-bottom:24px; }
    .about-stat{ right:16px; bottom:-20px; padding:14px 18px; }
    .bento{ grid-template-columns:1fr 1fr; grid-template-rows:repeat(4,180px); }
    .bento-card.big{ grid-column:span 2; grid-row:span 1; min-height:260px; }
    .bento-card.wide{ grid-column:span 2; }
    .news-grid{ grid-template-columns:1fr; gap:36px; }
    .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
    .radio-bar{ padding:10px 16px; }
    .audio-player.compact .ap-volume{ display:none; }
    .bible-fab{ right:16px; bottom:72px; padding:13px; }
    .bible-fab span{ display:none; }
    section{ padding:56px 0; }
    .verse{ padding:64px 0; }
  }
