:root {
    --navy-900: #0b1a33;
    --navy-700: #14294a;
    --navy-500: #1e3a64;
    --red: #c4362e;
    --red-deep: #9e271f;
    --gold: #c9a24b;
    --paper: #fbf8f2;
    --ink: #182231;
    --ink-soft: #48566a;
    --mist: #e9eef5;
    --line: rgba(11, 26, 51, 0.12);
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: "Inter", system-ui, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  .wrap { width: min(1120px, 92vw); margin: 0 auto; }

  h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.1; }

  a { color: inherit; }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--red);
  }

  /* ---------- NAV ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7, 21, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: #d4a83d;
    text-decoration: none;
    transition: .3s;
}

.brand:hover{
    color:#ffffff;
}
  .mark {
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
    display: grid; place-items: center;
    color: #fff; font-family: "Fraunces", serif; font-weight: 700; font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.14);
    position: relative;
  }
  .mark::after { content: ""; position: absolute; inset: 0; border-radius: 9px; box-shadow: inset 0 0 0 2px rgba(196,54,46,0.55); mix-blend-mode: screen; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 0.92rem;
    padding: 11px 20px; border-radius: 999px;
    text-decoration: none; border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
  .btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(158,39,31,0.28); }
  .btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }
  .btn-ghost { border-color: var(--line); color: var(--navy-900); background: transparent; }
  .btn-ghost:hover { background: var(--mist); }
  nav .btn { padding: 9px 18px; }

  /* ---------- HERO ---------- */
  .hero {
    background:
      radial-gradient(120% 90% at 85% -10%, rgba(196,54,46,0.22), transparent 55%),
      linear-gradient(160deg, var(--navy-700), var(--navy-900) 70%);
    color: #f4f1ea;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000, transparent 80%);
    pointer-events: none;
  }
  .hero-inner {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; align-items: center;
    padding: 92px 0 88px;
    position: relative;
  }
  .hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.7rem); color: #fff; letter-spacing: -0.01em; }
  .hero h1 .accent { color: #fff; position: relative; white-space: nowrap; }
  .hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.14em; background: var(--red); border-radius: 2px; }
  .hero p.lead { margin-top: 22px; font-size: 1.12rem; color: rgba(244,241,234,0.82); max-width: 34ch; }
  .hero .cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
  .hero .eyebrow { color: #eab6b1; }
  .meta-row { margin-top: 40px; display: flex; gap: 30px; flex-wrap: wrap; }  
  .meta-row .stat b { font-family: "Fraunces", serif; font-size: 1.5rem; color: #fff; display: block; }
  .meta-row .stat span { font-size: 0.82rem; color: rgba(244,241,234,0.62); letter-spacing: 0.02em; }

  /* quiz card signature */
  .device { display: flex; justify-content: center; }
  .card {
    width: 300px; background: #fff; border-radius: 22px;
    padding: 22px 22px 26px; color: var(--ink);
    box-shadow: 0 30px 60px -20px rgba(4,10,22,0.7);
    border: 1px solid rgba(255,255,255,0.5);
    transform: rotate(-2deg);
  }
  .card .tier { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); background: rgba(196,54,46,0.1); padding: 5px 10px; border-radius: 999px; }
  .card .ref { margin-top: 14px; font-size: 0.74rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.04em; }
  .card .q { margin-top: 6px; font-family: "Fraunces", serif; font-size: 1.18rem; font-weight: 600; color: var(--navy-900); line-height: 1.25; }
  .card ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
  .card li { border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 10px; }
  .card li .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
  .card li.correct { border-color: var(--red); background: rgba(196,54,46,0.06); color: var(--red-deep); font-weight: 600; }
  .card li.correct .dot { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px #fff; }

  /* ---------- SECTIONS ---------- */
  section.block { padding: 84px 0; }
  .section-head { max-width: 60ch; }
  .section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--navy-900); margin-top: 12px; }
  .section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }

  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
  .feature {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 26px 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  .feature:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -22px rgba(11,26,51,0.4); }
  .feature .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 700; margin-bottom: 16px; }
  .feature h3 { font-size: 1.14rem; color: var(--navy-900); }
  .feature p { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }

  /* about band */
  .band { background: var(--navy-900); color: #f4f1ea; }
  .band .split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
  .band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
  .band p { color: rgba(244,241,234,0.8); margin-top: 16px; font-size: 1.05rem; }
  .band .eyebrow { color: #eab6b1; }
  .lang-list { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
  .chip { border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 8px 16px; font-size: 0.86rem; font-weight: 500; }
  .chip.on { background: var(--red); border-color: var(--red); color: #fff; }

  /* cta strip */
  .final { text-align: center; }
  .final h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); color: var(--navy-900); }
  .final p { color: var(--ink-soft); margin: 14px auto 30px; max-width: 46ch; font-size: 1.06rem; }

  /* footer */
footer{
background:#071528;
color:#fff;
padding:150px 0 40px;
margin-top:0;
}

footer p,
footer a,
footer span{
color:rgba(255,255,255,.88);
text-decoration:none;
transition:.3s;
}

footer h4{
color:#d4a83d;
font-weight:700;
letter-spacing:2px;
margin-bottom:22px;
font-size:.95rem;
text-transform:uppercase;
}

footer .brand .full{
color:#d4a83d;
font-size:2rem;
font-family:Fraunces,serif;
}

.foot{
    display:grid;
    grid-template-columns:2.2fr 1fr 1fr 1fr;
    gap:70px;
    align-items:start;
}

footer .foot-col a{
display:block;
margin-bottom:16px;
font-size:1rem;
font-weight:500;
color:rgba(255,255,255,.88);
transition:.3s;
}

footer .foot-col a:hover{
color:#d4a83d;
padding-left:8px;
}

.legal{
    margin-top:50px;
    padding-top:30px;
    border-top:1px solid rgba(212,168,61,.18);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    font-size:.95rem;
    color:rgba(255,255,255,.9);
}

.legal span{
    display:block;
}

.legal span:last-child{
    white-space:nowrap;
}

.footer-logo-row{
    display:flex;
    align-items:center;
    gap:18px;
}

.footer-logo-row .logo{
width:60px;
height:60px;
object-fit:cover;
border-radius:12px;
}

.footer-logo-row h3{
    white-space:nowrap;
}

.footer-socials{
    display:flex;
    gap:14px;
    margin-top:22px;
}

.footer-socials a{
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.06);
    transition:.3s;
}

.footer-socials a:hover{
    background:#d4a83d;
    transform:translateY(-4px);
}

.footer-socials img{
    width:22px;
    height:22px;
}

.foot-col small{
    white-space:nowrap;
    font-size:.78rem;
    opacity:.65;
}

  /* reveal */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }

  @media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 66px 0 60px; }
    .device { justify-content: flex-start; }
    .grid3 { grid-template-columns: 1fr; }
    .band .split { grid-template-columns: 1fr; gap: 32px; }
    nav .brand span.full { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }

/* Real logo support: place your logo at assets/3hermanas-logo.png, then replace the .mark span in index.html with the commented img tag. */
.logo { width: 38px; height: 38px; object-fit: contain; display: block; }
.logo-fallback { flex: none; }

/* ============================= */
/* 3HC Bible Quiz Promo Banner */
/* ============================= */

.promo-showcase{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:48px;
    margin-bottom:40px;
    flex-wrap:wrap;
}

.promo-logo img{
    width:210px;
    height:auto;
    display:block;
}

.promo-content{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.promo-content h2{
    margin:0;
    line-height:.9;
    color:var(--navy-900);
    font-family:"Inter",sans-serif;
    font-weight:800;
}

.promo-content h2 span{
    display:block;
}

.promo-content h2 span:first-child{
    font-size:clamp(3rem,6vw,4.8rem);
}

.promo-content h2 span:last-child{
    font-size:clamp(3rem,6vw,4.8rem);
}

.promo-tagline{
    margin-top:22px;
    font-size:clamp(1.2rem,2vw,2rem);
    font-weight:800;
    letter-spacing:1px;
}

.promo-tagline .blue{
    color:#1f7ae0;
}

.promo-tagline .red{
    color:#e53935;
}

.promo-tagline .green{
    color:#43a047;
}

.promo-subtitle{
    margin-top:8px;
    font-size:clamp(1rem,1.5vw,1.35rem);
    font-weight:700;
    letter-spacing:3px;
    color:#47566d;
}

/* Mobile */

@media(max-width:768px){

    .promo-showcase{
        flex-direction:column;
        gap:24px;
        text-align:center;
    }

    .promo-content{
        align-items:center;
    }

    .promo-logo img{
        width:170px;
    }

}

/* ---------- CONTACT PAGE ---------- */

.contact-hero {
    padding: 88px 0 70px;
    text-align: center;
    background:
        radial-gradient(80% 80% at 50% 0%, rgba(196,54,46,0.12), transparent 60%),
        var(--paper);
}

.contact-hero h1 {
    margin-top: 12px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--navy-900);
}

.contact-hero p {
    max-width: 62ch;
    margin: 18px auto 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}

.contact-card,
.map-card,
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 22px 50px -36px rgba(11,26,51,0.55);
}

.contact-card {
    padding: 34px;
}

.contact-card h2,
.form-card h2 {
    margin-top: 10px;
    color: var(--navy-900);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.contact-list {
    margin-top: 28px;
    display: grid;
    gap: 20px;
}

.contact-list p {
    color: var(--ink-soft);
}

.contact-list strong {
    color: var(--navy-900);
}

.contact-list a {
    color: var(--navy-700);
    text-decoration: none;
    font-weight: 600;
}

.contact-list a:hover {
    color: var(--red);
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--navy-900);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.social-row a:hover {
    background: var(--red);
}

.hidden-social {
    display: none !important;
}

.map-card {
    overflow: hidden;
    min-height: 430px;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 430px;
    border: 0;
    display: block;
}

.contact-form-section {
    padding-top: 0;
}

.form-card {
    padding: 38px;
    max-width: 820px;
    margin: 0 auto;
}

.form-card form {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-card input,
.form-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 15px 16px;
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    outline: none;
}

.form-card input:focus,
.form-card textarea:focus {
    border-color: var(--red);
    background: #fff;
}

.form-card textarea {
    resize: vertical;
}

.form-card button {
    width: fit-content;
    border: none;
    cursor: pointer;
}

.logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-card,
    .form-card {
        padding: 28px 22px;
    }
}