  :root {
    --sky:     #2B6CB0;
    --sky-dk:  #1A4A80;
    --gold:    #C8973A;
    --gold-lt: #F5E4C0;
    --ink:     #1C1C1E;
    --mist:    #F0F4F8;
    --white:   #FFFFFF;
    --green:   #25D366;
    --radius:  12px;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  *, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
  html, body { height: 100%; }
  body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
.hero-inner{position:relative;z-index:2;display:flex;align-items:center;gap:2rem;max-width:58%;padding-left:clamp(1rem,11vw,212px)}
.hero-inner .hero-content{position:static;max-width:none;padding:0;margin:0}
.hero-inner .hero-img{position:static;flex:0 0 auto;width:clamp(120px,13vw,220px);transform:none;right:auto;top:auto}
.hero-inner .hero-img img{width:100%;height:auto;display:block}
@media (max-width:900px){
  .hero-inner{flex-direction:column;align-items:flex-start;max-width:100%;padding:0 1.25rem}
  .hero-inner .hero-img{width:110px}
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -30px -40px;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(25px);
  border-radius: 20px;
  z-index: -1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
}


  /* ── HERO ── */
  .hero {
    min-height: 92vh;
    display: grid;
    grid-template-columns: 70fr 30fr;
    overflow: hidden;
    background: url('../imgs/osso-cuenca.jpeg') center/cover no-repeat;
  }
  .hero-bg { display: none; }
  html { scroll-behavior: smooth; }
    .hero { padding-top: 76px; }
  section, #donar { scroll-margin-top: 76px; }
    .hero-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 18px 5vw;
    padding-top: calc(18px + env(safe-area-inset-top, 0px));
    gap: 16px;
    background: rgba(26,74,128,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
  }
  .hero-nav .nav-home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    transition: background .18s;
    flex-shrink: 0;
  }
  .hero-nav .nav-home:hover { background: rgba(255,255,255,.25); }
  .hero-nav .nav-home svg { width: 20px; height: 20px; fill: var(--white); }
  .hero-nav ul {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 28px;
    list-style: none;
  }
  .hero-nav ul a {
    color: var(--white);
    font-size: .92rem;
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color .18s;
  }
  .hero-nav ul a:hover { border-color: var(--gold); }  
    .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: rgba(255,255,255,.12);
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; fill: var(--white); }
  .nav-logo { position: relative; flex-shrink: 0; width: 110px; height: 40px; }
  .nav-logo img { position: absolute; top: -8px; left: 0; width: 110px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.55)); }  
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 5vw 72px 6vw;
  }
     .hero-img {
    position: absolute;
    top: calc(76px + 20px + env(safe-area-inset-top, 0px));
    right: 4vw;
    z-index: 2;
    width: clamp(100px, 8vw, 150px);
  }
  .hero-img img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
  }
  .hero-tag {
  width: 150px;
    display: inline-block;
    background: rgba(26, 74, 128, 0.5);
    color: var(--white);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 22px;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 1.08rem;
    color: rgba(255,255,255,.88);
    max-width: 560px;
    margin-bottom: 36px;
  }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
  .btn-primary {
    width: 300px;
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-weight: 600;
    font-size: .96rem;
    padding: 15px 32px;
    border-radius: var(--radius);
    transition: background .18s;
    cursor: pointer;
    border: none;
    font-family: inherit;
  }
  .btn-primary:hover { background: #b07f28; }
  .btn-outline {
    display: inline-block;
    border: 2px solid rgba(255,255,255,.7);
    color: var(--white);
    font-weight: 600;
    font-size: .96rem;
    padding: 13px 28px;
    border-radius: var(--radius);
    transition: border-color .18s, background .18s;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
  }
  .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

  /* ── DONACIÓN BANNER ── */
  .donate-banner {
    background: var(--sky);
    color: var(--white);
    padding: 56px 5vw;
    text-align: center;
  }
  .donate-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 28px;
  }
  .historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 100%;
    margin: 0 auto 40px;
    text-align: left;
  }
  .historia-grid .video-wrap { aspect-ratio: 16/9; }
  .historia-grid .video-wrap iframe { width: 100%; height: 100%; border-radius: var(--radius); }
  .historia-texto { font-size: .95rem; line-height: 1.75; opacity: .92; }
  .historia-texto p { margin-bottom: 14px; }

  /* ── SECCIONES GENERALES ── */
  section { padding: 72px 5vw; }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
  }
  .section-lead {
    font-size: 1rem;
    color: #444;
    max-width: 600px;
    margin-bottom: 40px;
  }

  /* ── QUÉ HACEMOS ── */
  .about { background: var(--mist); }
  .about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
  .about-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
  }
  .about-item .icon { font-size: 1.8rem; margin-bottom: 12px; }
  .about-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
  .about-item p { font-size: .9rem; color: #555; line-height: 1.55; }

  /* ── HOGAR DE ÁNGELES ── */
  .angeles {display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .angeles img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  .angeles-text .badge {
    display: inline-block;
    background: var(--gold-lt);
    color: var(--sky-dk);
    font-size: .78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 16px;
  }
  .angeles-text p { font-size: .95rem; color: #444; margin-bottom: 14px; }

  /* ── MISIÓN Y VISIÓN ── */
  .mision { background: var(--mist); }
  .mision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .mision-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
  }
  .mision-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sky-dk);
    margin-bottom: 16px;
  }
  .mision-card p { font-size: .95rem; color: #444; line-height: 1.7; }

  /* ── VALORES ── */
  .valores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
  .valor-card {
    border-radius: var(--radius);
    padding: 24px;
    background: var(--mist);
  }
  .valor-card h3 { font-size: .98rem; font-weight: 600; color: var(--sky-dk); margin-bottom: 8px; }
  .valor-card p { font-size: .88rem; color: #555; line-height: 1.6; }
    #valores {
    position: relative;
    background: linear-gradient(rgba(26,74,128,.55), rgba(26,74,128,.55)), url('../fondo-valores.jpg') center/cover no-repeat;
    background-attachment: fixed;
  }
  #valores .section-title { color: var(--white); }
  #valores .valor-card {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

  /* ── CÓMO AYUDAR ── */
  .ways { background: var(--mist); }
  .ways-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
  .way-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .way-card .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--sky);
    line-height: 1;
  }
  .way-card h3 { font-size: .98rem; font-weight: 600; }
  .way-card p { font-size: .88rem; color: #555; flex: 1; }
  .way-card a, .way-card button.link-btn {
    display: inline-block;
    margin-top: 6px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--sky);
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
  }

  /* ── REDES ── */
  .social-strip { background: var(--ink); padding: 52px 5vw; text-align: center; color: var(--white); }
  .social-strip h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 28px; }
  .social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.09);
    border: 1.5px solid rgba(255,255,255,.2);
    color: var(--white);
    font-size: .9rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius);
    transition: background .18s;
  }
  .social-btn:hover { background: rgba(255,255,255,.18); }
  .social-btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

  /* ── FOOTER ── */
  footer {
    background: var(--mist);
    padding: 36px 5vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: .82rem;
    color: #666;
    border-top: 1px solid #dde2e8;
  }
  footer a { color: var(--sky); text-decoration: underline; }

  /* ── WHATSAPP FLOAT ── */
  .wa-float {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    right: 24px;
    z-index: 999;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 99px;
    font-size: .9rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
    border: none;
    font-family: inherit;
  }
  .wa-float:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
  .wa-float svg { width: 22px; height: 22px; fill: var(--white); flex-shrink: 0; }

  /* ── MODAL CONTACTO ── */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .modal-overlay.active { display: flex; }
  .modal-box {
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
  }
  .modal-close {
    position: absolute;
    top: 16px; right: 20px;
    font-size: 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    line-height: 1;
  }
  .modal-close:hover { color: var(--ink); }
  .modal-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sky-dk);
    margin-bottom: 24px;
    padding-right: 24px;
  }
  .form-group { margin-bottom: 18px; }
  .form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
  }
  .form-group label span.opt { font-weight: 400; color: #888; font-size: .8rem; }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d0d7e0;
    border-radius: 8px;
    font-size: .95rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--white);
    transition: border-color .15s;
    outline: none;
  }
  .form-group input:focus,
  .form-group textarea:focus { border-color: var(--sky); }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: .85rem;
    color: #444;
  }
  .form-check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
  .form-check a { color: var(--sky); text-decoration: underline; cursor: pointer; }
  .cf-turnstile { margin-bottom: 20px; }
  .btn-submit {
    width: 100%;
    background: var(--sky);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .18s;
  }
  .btn-submit:hover { background: var(--sky-dk); }
  .btn-submit:disabled { background: #9bb3cc; cursor: not-allowed; }
  .form-msg {
    margin-top: 14px;
    font-size: .88rem;
    text-align: center;
    display: none;
  }
  .form-msg.ok { color: #2e7d32; display: block; }
    .form-msg.err { color: #c62828; display: block; }
  .form-exito { text-align: center; padding: 8px 0; }
  .form-exito .icono { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #e8f5e9; display: flex; align-items: center; justify-content: center; }
  .form-exito .icono svg { width: 34px; height: 34px; fill: #2e7d32; }
  .form-exito h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--sky-dk); margin-bottom: 12px; }
  .form-exito p { font-size: .95rem; color: #444; margin-bottom: 24px; }

  /* ── MODAL POLÍTICA ── */
  .modal-politica .modal-box { max-width: 720px; }
  .modal-politica .modal-box h2 { font-size: 1.3rem; }
  .politica-content { font-size: .88rem; color: #444; line-height: 1.7; }
  .politica-content h3 { font-size: 1rem; font-weight: 600; color: var(--sky-dk); margin: 18px 0 8px; }

  /* ── RESPONSIVE ── */
  @media (max-width: 700px) {
    .angeles { grid-template-columns: 1fr; }
    .angeles img { order: -1; }
    .hero { grid-template-columns: 1fr; background: url('../imgs/osso-movil.jpg') center/cover no-repeat!important;  }
       .hero-img { position: static; transform: none; width: 100px; margin: 0 auto 32px; }
    .hero-content { padding: 48px 5vw; }
    .wa-float span { display: none; }
    .wa-float { padding: 16px; }
    .historia-grid { grid-template-columns: 1fr; }
    .mision-grid { grid-template-columns: 1fr; }
    .modal-box { padding: 32px 20px 24px; }
       .nav-toggle { display: flex; }
           .nav-logo { width: 64px; }
        .nav-logo { width: 90px; }
    .nav-logo img { width: 90px; top: -8px; }
    .hero-nav ul {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      padding: 8px 5vw 16px;
      background: rgba(26,74,128,.97);
      box-shadow: 0 8px 16px rgba(0,0,0,.15);
    }
    .hero-nav.open ul { display: flex; }
    .hero-nav ul a {
      display: block;
      padding: 12px 0;
      font-size: .95rem;
      border-bottom: 1px solid rgba(255,255,255,.12);
    }
    #donar > .historia-grid { grid-template-columns: 1fr !important; }
    #valores { background-attachment: scroll; background-size: cover; background: linear-gradient(rgba(26,74,128,.55), rgba(26,74,128,.55)), url('../fondo-movil.jpg') center/cover no-repeat; }
  }