@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ============================================================
   VARIABLES
============================================================ */
:root {
  --blue:   #1E90FF;
  --red:    #E8453C;
  --yellow: #FFE600;
  --dark:   #1a1a2e;
  --text:   #2D2D2D;
  --light:  #f8f7f4;
  --white:  #ffffff;
  --gray:   #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'DM Sans',sans-serif;
  color:var(--text);
  background:var(--white);
  overflow-x:hidden;
  animation:pageFade .4s ease;
}
img { display:block; max-width:100%; }
a { text-decoration:none; }
@keyframes pageFade { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
@keyframes spin { to{transform:rotate(360deg)} }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity:1;
  transform:none;
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.hidden {
  opacity:0;
  transform:translateY(32px);
}
.reveal.hidden.visible {
  opacity:1;
  transform:none;
}
.delay-1 { transition-delay:.1s }
.delay-2 { transition-delay:.2s }
.delay-3 { transition-delay:.3s }
.delay-4 { transition-delay:.4s }

/* ============================================================
   NAV
============================================================ */
nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  height:70px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 3rem;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  transition:box-shadow .3s;
}
nav.scrolled { box-shadow:0 4px 30px rgba(0,0,0,.1); }
.nav-logo {
  display:flex; align-items:center; gap:10px;
  font-family:'Fraunces',serif; font-size:1.1rem; font-weight:700;
  color:var(--blue);
}
.nav-logo img { height:46px; }
.nav-links {
  display:flex; align-items:center; gap:.2rem;
}
.nav-links a {
  color:var(--text); font-size:.85rem; font-weight:500;
  padding:.5rem .75rem; border-radius:8px;
  transition:all .2s;
}
.nav-links a:hover,
.nav-links a.active { background:var(--light); color:var(--blue); }
.nav-cta {
  background:var(--red) !important; color:var(--white) !important;
  padding:.5rem 1.2rem !important; border-radius:50px !important;
}
.nav-cta:hover { background:#c73530 !important; transform:translateY(-1px); box-shadow:0 4px 12px rgba(232,69,60,.3) !important; }

/* Language button */
.lang-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:.4rem .9rem; border-radius:50px;
  border:2px solid var(--blue); background:transparent;
  color:var(--blue); font-family:'DM Sans',sans-serif;
  font-size:.8rem; font-weight:700; cursor:pointer;
  transition:all .25s; margin-left:.5rem;
  white-space:nowrap;
}
.lang-btn:hover {
  background:var(--blue); color:var(--white);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(30,144,255,.3);
}
.lang-flag { font-size:1rem; line-height:1; }
.lang-text { font-weight:800; letter-spacing:.05em; }

/* Hamburger */
.hamburger {
  display:none; flex-direction:column; justify-content:center;
  gap:5px; cursor:pointer; padding:8px;
  border:none; background:transparent; z-index:1001;
}
.hamburger span {
  display:block; width:24px; height:2px;
  background:var(--text); border-radius:2px; transition:all .3s;
}
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display:none; position:fixed;
  top:70px; left:0; right:0;
  background:var(--white);
  border-bottom:1px solid var(--border);
  padding:1rem 1.5rem 1.5rem;
  flex-direction:column; gap:.3rem;
  z-index:999;
  box-shadow:0 8px 30px rgba(0,0,0,.1);
}
.mobile-menu.open { display:flex; }
.mobile-menu a {
  color:var(--text); font-size:1rem; font-weight:500;
  padding:.875rem 1rem; border-radius:10px; transition:all .2s;
}
.mobile-menu a:hover, .mobile-menu a.active { background:var(--light); color:var(--blue); }
.mobile-menu .nav-cta { background:var(--red) !important; color:var(--white) !important; text-align:center; margin-top:.5rem; }
.mobile-lang { display:flex; justify-content:center; margin-top:.75rem; }

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  padding:.875rem 2rem; border-radius:50px;
  background:var(--red); color:var(--white);
  font-weight:600; font-size:.95rem;
  box-shadow:0 4px 16px rgba(232,69,60,.3);
  transition:all .3s;
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(232,69,60,.4); }

.btn-secondary {
  display:inline-flex; align-items:center; gap:8px;
  padding:.875rem 2rem; border-radius:50px;
  background:transparent; color:var(--blue);
  font-weight:600; font-size:.95rem;
  border:2px solid var(--blue); transition:all .3s;
}
.btn-secondary:hover { background:var(--blue); color:var(--white); transform:translateY(-3px); }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  padding:8rem 4rem 4rem; text-align:center;
  background:var(--blue); position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 65% 35%, rgba(255,255,255,.07), transparent 60%);
}
.page-hero .badge {
  display:inline-block;
  background:rgba(255,255,255,.2); color:var(--white);
  padding:.35rem 1rem; border-radius:50px;
  font-size:.75rem; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; margin-bottom:1rem;
}
.page-hero h1 {
  font-family:'Fraunces',serif; font-size:clamp(2rem,4vw,3rem);
  font-weight:900; color:var(--white); margin-bottom:.75rem;
}
.page-hero p {
  color:rgba(255,255,255,.85); font-size:1.05rem;
  max-width:540px; margin:0 auto; line-height:1.7;
}

/* ============================================================
   SECTION HELPERS
============================================================ */
.section-badge {
  display:block; font-size:.75rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase;
  color:var(--red); margin-bottom:1rem;
}
.section-title {
  font-family:'Fraunces',serif;
  font-size:clamp(1.75rem,3vw,2.5rem);
  font-weight:900; line-height:1.15; color:var(--dark);
  margin-bottom:1.25rem;
}
.section-desc {
  color:var(--gray); line-height:1.8; font-size:1rem;
}

/* ============================================================
   SOCIAL BUTTONS (official colors)
============================================================ */
.social-btn {
  width:42px; height:42px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  transition:all .3s; overflow:hidden;
}
.social-btn:hover { transform:translateY(-4px); box-shadow:0 8px 20px rgba(0,0,0,.25); }
.social-btn svg { width:20px; height:20px; }
.social-btn.instagram { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn.tiktok    { background:#000; }
.social-btn.whatsapp  { background:#25D366; }
.social-btn.paypal    { background:#003087; }

/* ============================================================
   ANIMAL CARDS
============================================================ */
.animal-card {
  background:var(--white); border-radius:20px; overflow:hidden;
  box-shadow:var(--shadow); transition:all .4s;
}
.animal-card:hover { transform:translateY(-8px); box-shadow:0 24px 50px rgba(0,0,0,.13); }
.animal-img { position:relative; height:240px; overflow:hidden; }
.animal-img img {
  width:100%; height:100%; object-fit:cover; transition:transform .5s;
}
.animal-card:hover .animal-img img { transform:scale(1.07); }
.animal-badge {
  position:absolute; top:12px; left:12px;
  padding:.3rem .75rem; border-radius:50px;
  font-size:.72rem; font-weight:700;
}
.badge-disponible { background:#dcfce7; color:#166534; }
.badge-reservado  { background:#fef9c3; color:#854d0e; }
.badge-adoptado   { background:#dbeafe; color:#1e40af; }
.animal-body { padding:1.5rem; }
.animal-name {
  font-family:'Fraunces',serif; font-size:1.4rem;
  font-weight:700; color:var(--dark); margin-bottom:.5rem;
}
.animal-tags { display:flex; gap:.4rem; flex-wrap:wrap; margin-bottom:1rem; }
.animal-tag {
  padding:.2rem .6rem; background:var(--light);
  border-radius:50px; font-size:.72rem;
  font-weight:500; color:var(--gray); text-transform:uppercase;
}
.animal-desc { font-size:.9rem; color:var(--gray); line-height:1.6; margin-bottom:1.25rem; }
.animal-btn {
  display:block; text-align:center; padding:.875rem;
  background:var(--red); color:var(--white);
  border-radius:12px; font-weight:600; font-size:.9rem;
  transition:all .25s;
}
.animal-btn:hover { background:#c73530; transform:translateY(-1px); }
.animal-btn.reservado { background:var(--gray); pointer-events:none; }
.animal-btn.adoptado  { background:#1e40af; pointer-events:none; }

/* ============================================================
   COLLABORATORS (circular)
============================================================ */
.collab-grid {
  display:flex; flex-wrap:wrap; gap:2rem;
  justify-content:center; align-items:center;
}
.collab-item {
  display:flex; flex-direction:column; align-items:center; gap:.75rem;
  transition:transform .3s;
}
.collab-item:hover { transform:translateY(-6px); }
.collab-circle {
  width:110px; height:110px; border-radius:50%;
  background:var(--white); border:3px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 16px rgba(0,0,0,.08); overflow:hidden;
  transition:all .3s;
}
.collab-item:hover .collab-circle { border-color:var(--blue); box-shadow:0 8px 24px rgba(30,144,255,.2); }
.collab-circle img { width:75%; height:75%; object-fit:contain; }
.collab-name { font-size:.8rem; font-weight:600; color:var(--gray); text-align:center; max-width:110px; }

/* ============================================================
   FORMS
============================================================ */
.form-wrap { background:var(--dark); border-radius:24px; padding:2.5rem; }
.form-wrap h3 { font-family:'Fraunces',serif; font-size:1.6rem; font-weight:700; color:var(--white); margin-bottom:.5rem; }
.form-wrap > p { color:rgba(255,255,255,.6); font-size:.9rem; margin-bottom:2rem; }
.form-group { margin-bottom:1rem; }
.form-group label {
  display:block; font-size:.78rem; font-weight:600;
  color:rgba(255,255,255,.7); text-transform:uppercase;
  letter-spacing:.05em; margin-bottom:.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:.875rem 1rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:12px; color:var(--white);
  font-family:'DM Sans',sans-serif; font-size:.95rem;
  transition:all .2s;
  -webkit-appearance:none; appearance:none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option {
  background: #1a1a2e;
  color: #fff;
  padding: .5rem;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color:rgba(255,255,255,.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:none; border-color:var(--blue);
  background:rgba(30,144,255,.1);
}
.form-group select option { background:var(--dark); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-btn {
  width:100%; padding:1rem;
  border:none; border-radius:12px;
  font-family:'DM Sans',sans-serif; font-size:1rem; font-weight:600;
  cursor:pointer; transition:all .3s; margin-top:.5rem;
}
.form-btn-red  { background:var(--red); color:var(--white); }
.form-btn-red:hover  { background:#c73530; transform:translateY(-1px); }
.form-btn-blue { background:var(--blue); color:var(--white); }
.form-btn-blue:hover { background:#1a7de0; transform:translateY(-1px); }
.form-btn-green { background:#25D366; color:var(--white); }
.form-btn-green:hover { background:#1daf55; transform:translateY(-1px); }
.form-btn:disabled { background:var(--gray); cursor:not-allowed; transform:none; }
.form-success {
  display:none; background:#dcfce7; color:#166534;
  padding:1rem; border-radius:12px;
  text-align:center; font-weight:600; margin-top:1rem;
}
.form-error {
  display:none; background:#fef2f2; color:#dc2626;
  padding:1rem; border-radius:12px;
  text-align:center; font-weight:600; margin-top:1rem;
}

/* ============================================================
   FOOTER
============================================================ */
footer { background:var(--dark); padding:4rem 4rem 2rem; }
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:3rem; margin-bottom:3rem;
}
.footer-brand img { height:52px; margin-bottom:1rem; }
.footer-brand p { color:rgba(255,255,255,.5); font-size:.9rem; line-height:1.7; margin-bottom:1.5rem; max-width:280px; }
.footer-socials { display:flex; gap:.75rem; flex-wrap:wrap; }
.footer-col h4 {
  font-weight:700; color:var(--yellow);
  font-size:.82rem; letter-spacing:.08em;
  text-transform:uppercase; margin-bottom:1.25rem;
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:.6rem; }
.footer-col ul li a { color:rgba(255,255,255,.5); font-size:.9rem; transition:color .2s; }
.footer-col ul li a:hover { color:var(--white); }
.footer-col p { color:rgba(255,255,255,.5); font-size:.9rem; line-height:1.8; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:2rem; display:flex;
  justify-content:space-between; align-items:center;
}
.footer-bottom p { color:rgba(255,255,255,.4); font-size:.85rem; }

/* ============================================================
   LOADING SPINNER
============================================================ */
.spinner-wrap { text-align:center; padding:4rem; }
.spinner {
  width:48px; height:48px; border-radius:50%;
  border:4px solid var(--border);
  border-top-color:var(--blue);
  animation:spin .8s linear infinite;
  margin:0 auto 1rem;
}
.spinner-wrap p { color:var(--gray); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width:1024px) {
  nav { padding:0 2rem; }
  footer { padding:3rem 2rem 2rem; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .page-hero { padding:7rem 2rem 3rem; }
}
@media (max-width:768px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; gap:.5rem; text-align:center; }
  .form-row { grid-template-columns:1fr; }
}


/* ============================================================
   DARK MODE
============================================================ */
body.dark-mode {
  --white:  #0f0f1a;
  --light:  #1a1a2e;
  --text:   #d8d8e8;
  --border: #2a2a3e;
  --gray:   #8888aa;
  --shadow: 0 4px 24px rgba(0,0,0,.35);
  background: #0f0f1a;
  color: #d8d8e8;
}
body.dark-mode nav { background: rgba(15,15,26,.97); border-bottom-color: #2a2a3e; }
body.dark-mode .nav-links a { color: #d8d8e8; }
body.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a.active { background: #1a1a2e; color: var(--blue); }
body.dark-mode .mobile-menu { background: #0f0f1a; border-bottom-color: #2a2a3e; }
body.dark-mode .mobile-menu a { color: #d8d8e8; }
body.dark-mode .hamburger span { background: #d8d8e8; }
body.dark-mode .hero { background: #0f0f1a; }
body.dark-mode .hero::before { background: #111122; }
body.dark-mode .hero h1 { color: #eeeef8; }
body.dark-mode .hero-tag { background: #1a1a2e; }
body.dark-mode .hero-tag-text strong { color: #eeeef8; }
body.dark-mode .section-title { color: #eeeef8; }
body.dark-mode .section-desc  { color: #8888aa; }
body.dark-mode .animal-card   { background: #1a1a2e; border: 1px solid #2a2a3e; }
body.dark-mode .animal-name   { color: #eeeef8; }
body.dark-mode .animal-tag    { background: #252540; color: #9090aa; }
body.dark-mode .feature       { background: #1a1a2e; }
body.dark-mode .feature:hover { background: #1e2a40; }
body.dark-mode .step          { background: #1a1a2e; }
body.dark-mode .step:hover    { background: #1e2a40; }
body.dark-mode .step-content strong { color: #eeeef8; }
body.dark-mode .req-card      { background: #1a1a2e; border: 1px solid #2a2a3e; }
body.dark-mode .req-card h4   { color: #eeeef8; }
body.dark-mode .value-card    { background: #1a1a2e; }
body.dark-mode .value-card h3 { color: #eeeef8; }
body.dark-mode .mv-card       { background: #1a1a2e; }
body.dark-mode .mv-card h3    { color: #eeeef8; }
body.dark-mode .bank-card     { background: #1a1a2e; border-color: #2a2a3e; }
body.dark-mode .bank-card.featured { background: #1a2035; }
body.dark-mode .bank-name     { color: #eeeef8; }
body.dark-mode .bank-detail   { color: #8888aa; }
body.dark-mode .bank-detail strong { color: #d8d8e8; }
body.dark-mode .way-card      { background: #1a1a2e; }
body.dark-mode .way-card h3   { color: #eeeef8; }
body.dark-mode .event-card    { background: #1a1a2e; border-color: #2a2a3e; }
body.dark-mode .event-top     { border-bottom-color: #2a2a3e; }
body.dark-mode .event-title   { color: #eeeef8; }
body.dark-mode .event-desc    { color: #8888aa; }
body.dark-mode .event-meta    { color: #8888aa; }
body.dark-mode .collab-circle { background: #1a1a2e; border-color: #2a2a3e; }
body.dark-mode .collab-name   { color: #8888aa; }
body.dark-mode .impact-card   { background: rgba(255,255,255,.05); }
body.dark-mode .tab-btn       { background: #1a1a2e; color: #8888aa; border-color: #2a2a3e; }
body.dark-mode .tab-btn.active { background: var(--blue); color: #fff; }
body.dark-mode .tab-btn:hover:not(.active) { background: #252540; color: var(--blue); }
body.dark-mode .tab-info h2   { color: #eeeef8; }
body.dark-mode .tab-info p    { color: #8888aa; }
body.dark-mode .benefit       { background: #1a1a2e; }
body.dark-mode .benefit-text strong { color: #eeeef8; }
body.dark-mode .filter-btn    { background: #1a1a2e; color: #8888aa; border-color: #2a2a3e; }
body.dark-mode .filter-btn.active,
body.dark-mode .filter-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
body.dark-mode .contact-method { background: #1a1a2e; }
body.dark-mode .contact-method:hover { background: #1e2a40; }
body.dark-mode .method-text strong { color: #eeeef8; }
body.dark-mode .about-img .mission-badge { background: var(--yellow); }
body.dark-mode .stats-row     { background: #111122; }
body.dark-mode .map-section h3 { color: #eeeef8; }
body.dark-mode .map-wrap      { border-color: #2a2a3e; }
body.dark-mode .map-overlay-badge { background: #1a1a2e; }
body.dark-mode .map-overlay-badge span { color: #eeeef8; }
body.dark-mode .insta-section { background: #0f0f1a; }
body.dark-mode .insta-followers { color: #eeeef8; }
body.dark-mode .don-stat      { background: rgba(255,255,255,.08); }
body.dark-mode .tier-card     { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
body.dark-mode .tier-card.selected,
body.dark-mode .tier-card:hover { background: rgba(30,144,255,.18); border-color: var(--blue); }
body.dark-mode .apadrina-action { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
body.dark-mode .apadrina-action h4 { color: #eeeef8; }
/* Sections already dark — leave unchanged */
body.dark-mode .help          { background: var(--dark); }
body.dark-mode footer         { background: var(--dark); }
body.dark-mode .form-wrap     { background: var(--dark); }
body.dark-mode .page-hero     { background: var(--blue); }
body.dark-mode .don-hero      { background: linear-gradient(135deg,#0a0a18,#0a2050); }
body.dark-mode .apadrina-section { background: linear-gradient(135deg,#0a0a18,#0a2050); }
body.dark-mode .impact-section { background: var(--dark); }
body.dark-mode .don-cta       { background: linear-gradient(135deg,var(--red),#c73530); }
body.dark-mode .cta-section   { background: var(--blue); }
/* Dark mode toggle button */
.darkmode-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .42rem .95rem; border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--light); cursor: pointer;
  transition: all .25s; margin-left: .35rem;
  color: var(--text); font-family: "DM Sans",sans-serif;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
}
.darkmode-btn .dark-icon { font-size: .9rem; line-height: 1; }
.darkmode-btn:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
body.dark-mode .darkmode-btn { border-color: #2a2a3e; background: #1a1a2e; color: #d8d8e8; }
body.dark-mode .darkmode-btn:hover { background: #252540; border-color: #3a3a5e; }

/* ── ADDITIONAL DARK MODE FIXES ── */

/* Help cards (index — Adoptar, Donar, Voluntario) */
body.dark-mode .help-card h3    { color: #fff; }
body.dark-mode .help-card p     { color: rgba(255,255,255,.6); }

/* Page heroes — keep white text (they already have blue bg, but titles may override) */
body.dark-mode .page-hero h1    { color: #fff; }
body.dark-mode .page-hero p     { color: rgba(255,255,255,.85); }
body.dark-mode .page-hero .badge { color: #fff; }

/* Form wrap titles and text */
body.dark-mode .form-wrap h3    { color: #fff; }
body.dark-mode .form-wrap > p   { color: rgba(255,255,255,.6); }

/* Event card dates */
body.dark-mode .event-day       { color: #eeeef8; }
body.dark-mode .event-month     { color: var(--red); }

/* Adoption steps */
body.dark-mode .step-num        { background: var(--blue); color: #fff; }

/* Requirements section (adopcion) */
body.dark-mode .req-section     { background: #111122; }

/* Contact methods */
body.dark-mode .method-text span { color: #8888aa; }

/* Mission section (nosotros) */
body.dark-mode .mission-main    { filter: brightness(.85); }

/* Stats boxes on dark bg (nosotros) */
body.dark-mode .stat-box .num   { color: var(--red); }
body.dark-mode .stat-box .lbl   { color: rgba(255,255,255,.6); }

/* Footer brand text */
body.dark-mode .footer-brand p  { color: rgba(255,255,255,.5); }
body.dark-mode .footer-col p    { color: rgba(255,255,255,.5); }
body.dark-mode .footer-col ul li a { color: rgba(255,255,255,.5); }
body.dark-mode .footer-bottom p { color: rgba(255,255,255,.4); }

/* Hero stats */
body.dark-mode .stat-num        { color: var(--red); }
body.dark-mode .stat-label      { color: #8888aa; }

/* Hero sub text */
body.dark-mode .hero-sub        { color: #8888aa; }

/* Mission section text */
body.dark-mode .mission > div .section-desc { color: #8888aa; }
body.dark-mode .mission > div .section-badge { color: var(--red); }

/* About section (nosotros) */
body.dark-mode .about-section .section-badge { color: var(--red); }
body.dark-mode .about-section .section-desc  { color: #8888aa; }

/* Values section (nosotros) */
body.dark-mode .values-section  { background: #111122; }
body.dark-mode .value-card p    { color: #8888aa; }

/* Mission/Vision (nosotros) */
body.dark-mode .mv-section      { background: #0f0f1a; }
body.dark-mode .mv-card p       { color: #8888aa; }

/* Collaborators section (nosotros) */
body.dark-mode .collabs-section { background: #111122; }
body.dark-mode .collabs-section .section-desc { color: #8888aa; }

/* CTA section (nosotros) */
body.dark-mode .cta-section p   { color: rgba(255,255,255,.85); }

/* Adoption section */
body.dark-mode .adoption-section { background: #0f0f1a; }
body.dark-mode .tab-info p      { color: #8888aa; }

/* Requirements grid */
body.dark-mode .req-grid        { background: transparent; }

/* Voluntariado */
body.dark-mode .vol-section     { background: #0f0f1a; }

/* Eventos */
body.dark-mode .events-section  { background: #0f0f1a; }
body.dark-mode .event-card .event-btn { color: #fff; }

/* Donaciones */
body.dark-mode .banks-section   { background: #0f0f1a; }
body.dark-mode .banks-header .section-title { color: #eeeef8; }
body.dark-mode .banks-header .section-desc  { color: #8888aa; }

/* Contact */
body.dark-mode .contact-section { background: #0f0f1a; }
body.dark-mode .contact-section .section-title { color: #eeeef8; }
body.dark-mode .contact-section .section-desc  { color: #8888aa; }

/* Impact section (donaciones) stays dark — no override needed */

/* Apadrina section text */
body.dark-mode .tier-label      { color: #eeeef8; }
body.dark-mode .tier-desc       { color: #8888aa; }
body.dark-mode .apadrina-action p { color: rgba(255,255,255,.65); }
body.dark-mode .apadrina-note   { color: rgba(255,255,255,.4); }

/* Quick donate bar */
body.dark-mode div[style*="background:var(--light)"] { background: #111122 !important; border-color: #2a2a3e !important; }

/* Instagram section */
body.dark-mode .insta-section .section-title { color: #eeeef8; }
body.dark-mode .insta-section .section-desc  { color: #8888aa; }
body.dark-mode .insta-section .section-badge { color: var(--red); }

/* ============================================================
   PAGE TRANSITION (Feature 14)
============================================================ */
.page-transition-overlay {
  position: fixed; inset: 0; z-index: 99998;
  background: var(--dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.25rem;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.76,0,.24,1);
  pointer-events: none;
  visibility: hidden;
}
.page-transition-overlay.exit {
  transform: translateY(0);
  visibility: visible;
  pointer-events: all;
}
.pt-logo {
  width: 80px; height: 80px; object-fit: contain;
  animation: ptSpin .8s ease-in-out infinite alternate;
  opacity: 0;
  transition: opacity .2s .15s;
}
.page-transition-overlay.exit .pt-logo { opacity: 1; }
.pt-bar-wrap {
  width: 140px; height: 3px;
  background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden;
  opacity: 0; transition: opacity .2s .15s;
}
.page-transition-overlay.exit .pt-bar-wrap { opacity: 1; }
.pt-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  border-radius: 3px;
  animation: none;
}
.page-transition-overlay.exit .pt-bar {
  animation: ptLoad .35s ease forwards;
}
.pt-name {
  font-family: "Fraunces", serif;
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
  opacity: 0; transition: opacity .2s .15s;
}
.page-transition-overlay.exit .pt-name { opacity: 1; }
@keyframes ptSpin {
  from { transform: scale(.9) rotate(-3deg); }
  to   { transform: scale(1.05) rotate(3deg); }
}
@keyframes ptLoad {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ============================================================
   READING PROGRESS BAR (Feature 16)
============================================================ */
#readProgress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================================
   HEART BURST ANIMATION (Feature 23)
============================================================ */
.heart-burst {
  position: fixed; pointer-events: none; z-index: 9997;
  font-size: 1.4rem; animation: heartFly .9s ease forwards;
}
@keyframes heartFly {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  60%  { opacity: 1; transform: translateY(-60px) scale(1.3); }
  100% { opacity: 0; transform: translateY(-110px) scale(.8); }
}

/* ============================================================
   ANIMATED FORM SUCCESS (Feature 25)
============================================================ */
.form-success {
  display: none;
  background: #dcfce7; color: #166534;
  padding: 1.25rem; border-radius: 14px;
  text-align: center; font-weight: 600;
  margin-top: 1rem; flex-direction: column;
  align-items: center; gap: .75rem;
  animation: successPop .4s cubic-bezier(.34,1.56,.64,1) both;
}
.form-success.show {
  display: flex;
}
@keyframes successPop {
  from { opacity: 0; transform: scale(.85) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.success-checkmark {
  width: 52px; height: 52px;
  background: #166534; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: checkPop .5s cubic-bezier(.34,1.56,.64,1) .15s both;
}
@keyframes checkPop {
  from { transform: scale(0) rotate(-45deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}
.success-checkmark svg {
  width: 26px; height: 26px;
  stroke: #fff; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck .4s ease .4s forwards;
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}
.form-success-text { font-size: .95rem; line-height: 1.5; }

/* Select dropdown dark mode fixes */
body.dark-mode .form-group select option { background: #1a1a2e; color: #fff; }
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.15);
}
body.dark-mode .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(255,255,255,.08);
}


/* FAQ */
.faq-section { padding: 5rem 4rem; background: var(--light); }
.faq-grid { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--white); border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden; transition: box-shadow .25s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item.open { box-shadow: 0 8px 30px rgba(30,144,255,.12); border-color: var(--blue); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; cursor: pointer;
  font-family: "DM Sans",sans-serif; font-size:.95rem;
  font-weight: 600; color: var(--dark); gap: 1rem;
  user-select: none;
}
.faq-q:hover { color: var(--blue); }
.faq-item.open .faq-q { color: var(--blue); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--light); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem;
  transition: all .3s; font-weight: 700; color: var(--gray);
}
.faq-item.open .faq-icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
  font-family: "DM Sans",sans-serif; font-size:.9rem;
  color: var(--gray); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.25rem; }
body.dark-mode .faq-item { background: #1a1a2e; border-color: #2a2a3e; }
body.dark-mode .faq-q { color: #eeeef8; }
body.dark-mode .faq-icon { background: #252540; color: #8888aa; }
body.dark-mode .faq-item.open .faq-q { color: var(--blue); }
body.dark-mode .faq-item.open .faq-icon { background: var(--blue); color: #fff; }
body.dark-mode .faq-section { background: #111122; }
@media(max-width:1024px){ .faq-section { padding: 3rem 2rem; } }

/* WHY ADOPT */
.hero{min-height:100vh;padding-top:70px;display:grid;grid-template-columns:1fr 1fr;align-items:center;background:var(--white);position:relative;overflow:hidden;}
.hero::before{content:"";position:absolute;right:0;top:0;width:50%;height:100%;background:var(--light);z-index:0;}
.hero-content{padding:4rem 3rem 4rem 5rem;position:relative;z-index:1;}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:#fff3cd;color:#856404;padding:.4rem 1rem;border-radius:50px;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;margin-bottom:1.5rem;}
.hero-badge::before{content:"";color:var(--yellow);font-size:.6rem;}
.hero h1{font-family:"Fraunces",serif;font-size:clamp(2.5rem,5vw,4rem);font-weight:900;line-height:1.1;color:var(--dark);margin-bottom:1rem;}
.hero h1 em{font-style:italic;color:var(--red);}
.hero-sub{font-size:1.05rem;color:var(--gray);line-height:1.7;margin-bottom:2.5rem;max-width:480px;}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:3rem;}
.hero-stats{display:flex;gap:2.5rem;padding-top:2rem;border-top:1px solid var(--border);}
.stat-num{font-family:"Fraunces",serif;font-size:2rem;font-weight:900;color:var(--red);display:block;}
.stat-label{font-size:.8rem;color:var(--gray);font-weight:500;}
.hero-img-wrap{position:relative;z-index:1;padding:4rem 4rem 4rem 2rem;display:flex;align-items:center;justify-content:center;}
.hero-img-inner{position:relative;width:100%;max-width:500px;}
.hero-img-inner img{width:100%;height:500px;object-fit:cover;border-radius:24px 24px 80px 24px;box-shadow:0 24px 60px rgba(0,0,0,.15);}
.hero-tag{position:absolute;bottom:-20px;left:-20px;background:var(--white);border-radius:16px;padding:1rem 1.5rem;box-shadow:0 8px 30px rgba(0,0,0,.12);display:flex;align-items:center;gap:12px;}
.hero-tag-icon{width:44px;height:44px;background:var(--red);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;}
.hero-tag-text strong{display:block;font-size:1.1rem;font-weight:700;color:var(--dark);}
.hero-tag-text span{font-size:.8rem;color:var(--gray);}
.mission{padding:6rem 5rem;display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:center;}
.mission-imgs{position:relative;}
.mission-main{width:100%;height:420px;object-fit:cover;border-radius:24px;box-shadow:0 20px 50px rgba(0,0,0,.12);}
.mission-sub{position:absolute;bottom:-30px;right:-30px;width:200px;height:200px;object-fit:cover;border-radius:16px;border:6px solid var(--white);box-shadow:0 12px 30px rgba(0,0,0,.15);}
.mission-badge{position:absolute;top:20px;left:-20px;background:var(--yellow);border-radius:16px;padding:1.25rem;text-align:center;box-shadow:0 8px 20px rgba(0,0,0,.1);}
.mission-badge strong{display:block;font-family:"Fraunces",serif;font-size:2.5rem;font-weight:900;color:var(--dark);line-height:1;}
.mission-badge span{font-size:.75rem;font-weight:600;color:#5a4500;text-transform:uppercase;letter-spacing:.05em;}
.features{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem;}
.feature{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem;background:var(--light);border-radius:16px;border-left:4px solid var(--blue);transition:all .25s;}
.feature:hover{background:#e8f4ff;transform:translateX(4px);}
.feature-icon{width:40px;height:40px;background:var(--blue);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0;}
.feature-text strong{display:block;font-weight:600;color:var(--dark);margin-bottom:.25rem;}
.feature-text span{font-size:.875rem;color:var(--gray);}
.animals-home{padding:6rem 5rem;background:var(--light);}
.section-header{text-align:center;margin-bottom:3rem;}
.animals-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2.5rem;}
.see-all{text-align:center;}
.help{padding:6rem 5rem;background:var(--dark);}
.help .section-badge{color:var(--yellow);}
.help .section-title{color:var(--white);}
.help-sub{color:rgba(255,255,255,.6);text-align:center;margin-top:.5rem;}
.help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:3rem;}
.help-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:2rem;transition:all .3s;}
.help-card:hover{background:rgba(255,255,255,.11);transform:translateY(-5px);}
.help-icon{font-size:2.5rem;margin-bottom:1rem;display:block;}
.help-card h3{font-family:"Fraunces",serif;font-size:1.4rem;font-weight:700;color:var(--white);margin-bottom:.75rem;}
.help-card p{color:rgba(255,255,255,.6);line-height:1.7;font-size:.9rem;margin-bottom:1.5rem;}
.help-link{color:var(--yellow);font-weight:600;text-decoration:none;font-size:.9rem;display:inline-flex;align-items:center;gap:6px;}
.help-link:hover{gap:10px;}
@media(max-width:1024px){.hero{grid-template-columns:1fr;}.hero::before{display:none;}.hero-content{padding:4rem 2rem 2rem;}.hero-img-wrap{padding:2rem;}.mission{grid-template-columns:1fr;padding:4rem 2rem;gap:3rem;}.mission-sub{display:none;}.animals-home,.help{padding:4rem 2rem;}.animals-grid,.help-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:640px){.animals-grid,.help-grid{grid-template-columns:1fr;}.hero-stats{gap:1.5rem;}}
</style>
<style>
#splash {
  position: fixed; inset: 0; z-index: 99999;
  background: #1a1a2e;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity .5s ease, visibility .5s ease;
}
#splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#splash img {
  width: 100px; height: 100px; object-fit: contain;
  animation: splashPulse 1.2s ease-in-out infinite;
}
#splash .splash-name {
  font-family: 'Fraunces', serif;
  font-size: 2rem; font-weight: 900;
  color: #fff; letter-spacing: .02em;
}
#splash .splash-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem; color: rgba(255,255,255,.6);
}
#splash .splash-bar-wrap {
  width: 180px; height: 3px;
  background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden;
}
#splash .splash-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #1E90FF, #E8453C);
  border-radius: 3px;
  animation: splashLoad 1.4s ease forwards;
}
@keyframes splashPulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@keyframes splashLoad {
  0%   { width: 0%; }
  100% { width: 100%; }
}
</style>

</head>
<body>
<div id="splash">
  <img src="https://www.amoryabrigohn.org/images/Logo.png" alt="Amor y Abrigo" onerror="this.style.display='none'">
  <div class="splash-name">Amor y Abrigo</div>
  <div class="splash-tag">Refugio Animal · San Pedro Sula, Honduras</div>
  <div class="splash-bar-wrap"><div class="splash-bar"></div></div>
</div>
<script>
// Only show splash on first visit or if not seen in 24h
(function() {
  var last = localStorage.getItem('ayaSplash');
  var now = Date.now();
  if (last && (now - parseInt(last)) < 86400000) {
    document.getElementById('splash').style.display = 'none';
    return;
  }
  setTimeout(function() {
    var s = document.getElementById('splash');
    if (s) {
      s.classList.add('hidden');
      setTimeout(function() { s.style.display = 'none'; }, 500);
    }
    localStorage.setItem('ayaSplash', now.toString());
  }, 1800);
})();
</script>
<nav id="mainNav">
  <a href="index.html" class="nav-logo">
    <img src="https://www.amoryabrigohn.org/images/Logo.png" alt="Amor y Abrigo" onerror="this.style.display='none'">
    <span>Amor y Abrigo</span>
  </a>
  <div class="nav-links">
    <a href="index.html" class="active" data-es="Inicio" data-en="Home">Inicio</a>
    <a href="nosotros.html" data-es="Nosotros" data-en="About Us">Nosotros</a>
    <a href="animales.html" data-es="Animales" data-en="Animals">Animales</a>
    <a href="adopcion.html" data-es="Adopción" data-en="Adoption">Adopción</a>
    <a href="voluntariado.html" data-es="Voluntariado" data-en="Volunteering">Voluntariado</a>
    <a href="eventos.html" data-es="Eventos" data-en="Events">Eventos</a>
    <a href="donaciones.html" data-es="Donaciones" data-en="Donations">Donaciones</a>
    <a href="contacto.html" class="nav-cta" data-es="Contacto" data-en="Contact">Contacto</a>
    <button class="lang-btn" onclick="toggleLang()" id="langBtn" aria-label="Cambiar idioma">
  <span class="lang-flag">🇺🇸</span><span class="lang-text">EN</span>
</button>
  
    <button class="darkmode-btn" id="darkBtn" onclick="toggleDark()" aria-label="Modo oscuro"><span class="dark-icon">🌙</span></button>
  </div>
  <button class="hamburger" id="hamburger" onclick="toggleMenu()" aria-label="Menu">
    <span></span><span></span><span></span>
  </button>
</nav>
<div class="mobile-menu" id="mobileMenu">
  <a href="index.html" class="active" data-es="Inicio" data-en="Home">Inicio</a>
  <a href="nosotros.html" data-es="Nosotros" data-en="About Us">Nosotros</a>
  <a href="animales.html" data-es="Animales" data-en="Animals">Animales</a>
  <a href="adopcion.html" data-es="Adopción" data-en="Adoption">Adopción</a>
  <a href="voluntariado.html" data-es="Voluntariado" data-en="Volunteering">Voluntariado</a>
  <a href="eventos.html" data-es="Eventos" data-en="Events">Eventos</a>
  <a href="donaciones.html" data-es="Donaciones" data-en="Donations">Donaciones</a>
  <a href="contacto.html" class="nav-cta" data-es="Contacto" data-en="Contact">Contacto</a>
  <div class="mobile-lang"><button class="lang-btn" onclick="toggleLang()" id="langBtnM" aria-label="Cambiar idioma">
  <span class="lang-flag">🇺🇸</span><span class="lang-text">EN</span>
</button></div>
  <div style="display:flex;justify-content:center;margin-top:.5rem"><button class="darkmode-btn" onclick="toggleDark()" aria-label="Modo oscuro"><span class="dark-icon">🌙</span></button></div>
</div>
<section class="hero">
  <div class="hero-content">
    <div class="hero-badge" data-es="Refugio Animal — San Pedro Sula, Honduras" data-en="Animal Shelter — San Pedro Sula, Honduras">Refugio Animal — San Pedro Sula, Honduras</div>
    <h1 data-es="Ellos no tienen voz.<br><em>Nosotros si.</em>" data-en="They have no voice.<br><em>We do.</em>">Ellos no tienen voz.<br><em>Nosotros si.</em></h1>
    <p class="hero-sub" data-es="Rescatamos, cuidamos y encontramos hogares para perros y gatos en situación de abandono. Con tu ayuda, seguimos escribiendo finales felices." data-en="We rescue, care for and find homes for dogs and cats in situations of abandonment. With your help, we keep writing happy endings.">Rescatamos, cuidamos y encontramos hogares para perros y gatos en situación de abandono. Con tu ayuda, seguimos escribiendo finales felices.</p>
    <div class="hero-btns">
      <a href="animales.html" class="btn-primary" data-es="Ver animales en adopción" data-en="See animals for adoption">Ver animales en adopción</a>
      <a href="adopcion.html" class="btn-secondary" data-es="¿Cómo adoptar?" data-en="How to adopt?">¿Cómo adoptar?</a>
    </div>
    <div class="hero-stats">
      <div><span class="stat-num counter" data-target="300" data-suffix="+">300+</span><span class="stat-label" data-es="Rescatados" data-en="Rescued">Rescatados</span></div>
      <div><span class="stat-num counter" data-target="150" data-suffix="+">150+</span><span class="stat-label" data-es="Adoptados" data-en="Adopted">Adoptados</span></div>
      <div><span class="stat-num counter" data-target="13" data-suffix="+">13+</span><span class="stat-label" data-es="Anos activos" data-en="Active years">Anos activos</span></div>
    </div>
  </div>
  <div class="hero-img-wrap">
    <div class="hero-img-inner">
      <img src="https://www.amoryabrigohn.org/images/slider2.jpg" alt="Perros en el refugio">
      <div class="hero-tag">
        <div class="hero-tag-icon">&#10084;&#65039;</div>
        <div class="hero-tag-text">
          <strong data-es="Adopcion gratuita" data-en="Free adoption">Adopcion gratuita</strong>
          <span data-es="Proceso responsable" data-en="Responsible process">Proceso responsable</span>
        </div>
      </div>
    </div>
  </div>
</section>

<section class="mission reveal">
  <div class="mission-imgs">
    <img src="https://www.amoryabrigohn.org/images/aboutus2.png" alt="Refugio" class="mission-main">
    <img src="https://www.amoryabrigohn.org/images/about2.jpg" alt="Animal" class="mission-sub">
    <div class="mission-badge"><strong>13+</strong><span data-es="Anos de labor" data-en="Years of work">Anos de labor</span></div>
  </div>
  <div>
    <span class="section-badge" data-es="Nuestra mision" data-en="Our mission">Nuestra mision</span>
    <h2 class="section-title" data-es="Somos el hogar de los que no tienen voz" data-en="We are the home of those who have no voice">Somos el hogar de los que no tienen voz</h2>
    <p class="section-desc" data-es="En Amor y Abrigo trabajamos con el corazón para brindar una segunda oportunidad a animales en situación de calle, abandono o maltrato en Honduras." data-en="At Amor y Abrigo we work with heart to give a second chance to animals living on the streets or abandoned in Honduras.">En Amor y Abrigo trabajamos con el corazón para brindar una segunda oportunidad a animales en situación de calle, abandono o maltrato en Honduras.</p>
    <div class="features">
      <div class="feature reveal delay-1">
        <div class="feature-icon">&#127973;&#65039;</div>
        <div class="feature-text">
          <strong data-es="Rescate y atención médica" data-en="Rescue and medical care">Rescate y atención médica</strong>
          <span data-es="Vacunaciones, esterilizaciones y cuidado veterinario integral." data-en="Vaccinations, sterilizations and comprehensive veterinary care.">Vacunaciones, esterilizaciones y cuidado veterinario integral.</span>
        </div>
      </div>
      <div class="feature reveal delay-2">
        <div class="feature-icon">&#127968;</div>
        <div class="feature-text">
          <strong data-es="Adopcion responsable" data-en="Responsible adoption">Adopcion responsable</strong>
          <span data-es="Proceso completamente gratuito que garantiza el bienestar del animal." data-en="Completely free process that guarantees the animal wellbeing.">Proceso completamente gratuito que garantiza el bienestar del animal.</span>
        </div>
      </div>
      <div class="feature reveal delay-3">
        <div class="feature-icon">&#129309;</div>
        <div class="feature-text">
          <strong data-es="Comunidad de voluntarios" data-en="Volunteer community">Comunidad de voluntarios</strong>
          <span data-es="Un equipo comprometido que trabaja cada día por los animales." data-en="A committed team that works every day for the animals.">Un equipo comprometido que trabaja cada día por los animales.</span>
        </div>
      </div>
    </div>
    <br><a href="nosotros.html" class="btn-secondary" style="width:fit-content;margin-top:.5rem" data-es="Conocer más" data-en="Learn more">Conocer más</a>
  </div>
</section>

<section class="animals-home reveal">
  <div class="section-header">
    <span class="section-badge" data-es="Encuentra tu companero" data-en="Find your companion">Encuentra tu companero</span>
    <h2 class="section-title" data-es="Animales en adopcion" data-en="Animals for adoption">Animales en adopcion</h2>
  </div>
  <div class="animals-grid" id="homeGrid">
    <div style="grid-column:1/-1" class="spinner-wrap">
      <div class="spinner"></div>
      <p data-es="Cargando animales..." data-en="Loading animals...">Cargando animales...</p>
    </div>
  </div>
  <div class="see-all"><a href="animales.html" class="btn-primary" data-es="Ver todos los animales" data-en="See all animals">Ver todos los animales</a></div>
</section>


<style>
.why-section {
  padding: 6rem 5rem;
  background: var(--white);
  position: relative; overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,255,.06), transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}
.why-left .section-badge { display: block; margin-bottom: 1rem; }
.why-left .section-title { margin-bottom: 1.25rem; }
.why-left .section-desc { margin-bottom: 2rem; }
.why-left blockquote {
  border-left: 4px solid var(--red);
  padding: 1rem 1.5rem;
  background: var(--light);
  border-radius: 0 12px 12px 0;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
}
.why-cards {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.why-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; border-radius: 20px;
  background: var(--light);
  border: 2px solid transparent;
  transition: all .3s; cursor: default;
  position: relative; overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; border-radius: 4px 0 0 4px;
  transition: width .3s;
}
.why-card.c1::before { background: var(--red); }
.why-card.c2::before { background: var(--blue); }
.why-card.c3::before { background: #25D366; }
.why-card:hover { transform: translateX(6px); border-color: var(--border); }
.why-card:hover::before { width: 6px; }
.why-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.why-card.c1 .why-card-icon { background: rgba(232,69,60,.12); }
.why-card.c2 .why-card-icon { background: rgba(30,144,255,.12); }
.why-card.c3 .why-card-icon { background: rgba(37,211,102,.12); }
.why-card-body h4 {
  font-family: "Fraunces", serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--dark); margin-bottom: .5rem;
}
.why-card-body p {
  font-size: .875rem; color: var(--gray); line-height: 1.7;
}
.why-card-body .why-tag {
  display: inline-block; margin-top: .5rem;
  padding: .2rem .7rem; border-radius: 50px;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.why-card.c1 .why-tag { background: rgba(232,69,60,.12); color: var(--red); }
.why-card.c2 .why-tag { background: rgba(30,144,255,.12); color: var(--blue); }
.why-card.c3 .why-tag { background: rgba(37,211,102,.12); color: #166534; }

/* Dark mode */
body.dark-mode .why-section { background: #0f0f1a; }
body.dark-mode .why-card { background: #1a1a2e; }
body.dark-mode .why-card:hover { border-color: #2a2a3e; }
body.dark-mode .why-card-body h4 { color: #eeeef8; }
body.dark-mode .why-left blockquote { background: #1a1a2e; color: #eeeef8; }

@media(max-width:1024px){
  .why-section { padding: 4rem 2rem; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
}