/* ============================================================
   Siempre a Tu Lado — Dog rescue, Pereira, Colombia
   ============================================================ */
:root {
  --terracotta: #d96f4a;
  --terracotta-dark: #b8552f;
  --forest: #2e5d43;
  --forest-dark: #1f4230;
  --gold: #f2b441;
  --cream: #fdf8f1;
  --cream-dark: #f5ecdd;
  --ink: #2c231a;
  --ink-soft: #6b5d4d;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(44, 35, 26, 0.10);
  --font-head: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--terracotta-dark); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 248, 241, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(44,35,26,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--terracotta); color: #fff;
  display: grid; place-items: center;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.brand-name small { display: block; font-weight: 600; font-size: 0.75rem; color: var(--ink-soft); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.98rem;
  padding: 9px 14px; border-radius: 999px; transition: background 0.2s;
}
.main-nav a:hover { background: var(--cream-dark); }
.main-nav a.active { background: var(--forest); color: #fff; }

.lang-switch {
  display: flex; border: 2px solid var(--forest); border-radius: 999px; overflow: hidden;
  font-size: 0.85rem; font-weight: 800;
}
.lang-switch a { padding: 6px 12px; text-decoration: none; color: var(--forest); }
.lang-switch a.current { background: var(--forest); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; stroke: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 1rem; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 8px 20px rgba(217,111,74,0.35); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-secondary { background: var(--forest); color: #fff; box-shadow: 0 8px 20px rgba(46,93,67,0.30); }
.btn-secondary:hover { background: var(--forest-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 2.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--forest-dark); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 60%, #3a7354 100%);
  color: #fff; padding: 90px 0 100px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: 340px; height: 340px;
  opacity: 0.10; background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='65' r='22' fill='white'/%3E%3Ccircle cx='28' cy='38' r='10' fill='white'/%3E%3Ccircle cx='45' cy='30' r='10' fill='white'/%3E%3Ccircle cx='62' cy='32' r='10' fill='white'/%3E%3Ccircle cx='75' cy='44' r='10' fill='white'/%3E%3C/svg%3E");
}
.hero h1 { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.12; margin-bottom: 18px; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.2rem; max-width: 620px; opacity: 0.92; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cream-dark); }
.section-title {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  text-align: center; margin-bottom: 12px; color: var(--forest-dark);
}
.section-sub { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 44px; font-size: 1.08rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: -58px; position: relative; z-index: 5; }
.stat {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 18px; text-align: center;
}
.stat .num { font-family: var(--font-head); font-weight: 900; font-size: 2.1rem; color: var(--terracotta); }
.stat .label { color: var(--ink-soft); font-weight: 700; font-size: 0.95rem; }

/* ---------- Dog cards ---------- */
.dog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.dog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.dog-card:hover { transform: translateY(-5px); }
.dog-photo {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--cream-dark), #ecdcc2);
  display: grid; place-items: center; position: relative;
}
.dog-photo svg { width: 74px; height: 74px; opacity: 0.35; }
.dog-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.dog-photo .soon {
  position: absolute; bottom: 10px; font-size: 0.78rem; font-weight: 800;
  background: rgba(44,35,26,0.72); color: #fff; padding: 4px 12px; border-radius: 999px;
}
.dog-body { padding: 20px 22px 24px; }
.dog-body h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 4px; }
.dog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.dog-tags span {
  font-size: 0.78rem; font-weight: 800; background: var(--cream-dark); color: var(--ink-soft);
  padding: 4px 12px; border-radius: 999px;
}
.dog-body p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 16px; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  border: 2px solid var(--forest); background: transparent; color: var(--forest);
  font-weight: 800; padding: 9px 22px; border-radius: 999px; cursor: pointer; font-size: 0.95rem;
  font-family: var(--font-body); transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--forest); color: #fff; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step {
  background: #fff; border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow);
  text-align: center;
}
.step .step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--ink);
  font-family: var(--font-head); font-weight: 900; font-size: 1.4rem;
  display: grid; place-items: center; margin: 0 auto 16px;
}
.step h3 { font-family: var(--font-head); font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Donate ---------- */
.donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.donate-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 26px;
}
.donate-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; margin-bottom: 8px; color: var(--forest-dark); }
.donate-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 16px; }
.donate-line {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--cream); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px;
  font-weight: 700;
}
.copy-btn {
  border: none; background: var(--forest); color: #fff; font-weight: 800; font-size: 0.82rem;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-family: var(--font-body);
}
.copy-btn:hover { background: var(--forest-dark); }
.badge-soon {
  display: inline-block; font-size: 0.75rem; font-weight: 800; background: var(--gold);
  color: var(--ink); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}

/* ---------- Help options ---------- */
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.help-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 26px; text-align: center;
}
.help-card .icon { font-size: 2.6rem; margin-bottom: 12px; }
.help-card h3 { font-family: var(--font-head); font-weight: 800; margin-bottom: 8px; }
.help-card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 18px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  border-radius: 26px; color: #fff; text-align: center; padding: 56px 32px; margin: 20px 0 0;
  box-shadow: 0 16px 40px rgba(217,111,74,0.35);
}
.cta-banner h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
.cta-banner p { opacity: 0.93; max-width: 560px; margin: 0 auto 28px; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about-split h2 { font-family: var(--font-head); font-weight: 900; font-size: 1.9rem; margin-bottom: 14px; color: var(--forest-dark); }
.about-split p { color: var(--ink-soft); margin-bottom: 14px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 40px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.value-card .icon { font-size: 2rem; margin-bottom: 10px; }
.value-card h3 { font-family: var(--font-head); font-weight: 800; margin-bottom: 6px; }
.value-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 28px; margin-bottom: 18px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .icon { font-size: 1.9rem; }
.contact-card h3 { font-family: var(--font-head); font-weight: 800; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--ink-soft); }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff;
  font-weight: 800; text-decoration: none; padding: 14px 28px; border-radius: 999px; font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(37,211,102,0.35);
}
.whatsapp-btn:hover { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-dark); color: #fff; padding: 56px 0 28px; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { font-family: var(--font-head); font-weight: 800; margin-bottom: 14px; color: var(--gold); }
.footer-grid a { color: rgba(255,255,255,0.85); text-decoration: none; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-grid p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; text-align: center; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 18px; } .mt-4 { margin-top: 40px; }
.placeholder-note {
  background: #fff8e6; border: 2px dashed var(--gold); border-radius: var(--radius);
  padding: 22px 26px; margin: 30px 0; font-size: 0.95rem; color: var(--ink-soft);
}
.placeholder-note strong { color: var(--ink); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--font-head); font-weight: 900; font-size: 1.7rem; margin: 34px 0 12px; color: var(--forest-dark); }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 12px 4%; border-bottom: 1px solid rgba(44,35,26,0.1);
    box-shadow: 0 14px 30px rgba(44,35,26,0.12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .hero { padding: 64px 0 80px; }
  .section { padding: 52px 0; }
}
@media (min-width: 861px) {
  .header-actions { display: flex; align-items: center; gap: 10px; }
}
