/*
Theme Name: Somos Gatos Paine
Theme URI: https://www.somosgatospaine.com/
Author: Somos Gatos Paine
Description: Tema personalizado para la agrupacion animalista Somos Gatos Paine.
Version: 1.0.0
Text Domain: somos-gatos-paine
*/

:root {
      --verde: #1f7a6b;
      --verde-oscuro: #115347;
      --coral: #ef7b68;
      --amarillo: #f6c85f;
      --tinta: #263238;
      --gris: #637179;
      --fondo: #fffaf4;
      --crema: #f7efe4;
      --blanco: #ffffff;
      --borde: #eadfce;
      --sombra: 0 18px 45px rgba(38, 50, 56, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--tinta);
      background: var(--fondo);
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    .container {
      width: min(1120px, calc(100% - 36px));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 250, 244, 0.92);
      border-bottom: 1px solid rgba(234, 223, 206, 0.75);
      backdrop-filter: blur(16px);
    }

    .nav {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 850;
      letter-spacing: 0;
      color: var(--verde-oscuro);
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: var(--verde);
      color: white;
      box-shadow: 0 8px 18px rgba(31, 122, 107, 0.25);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 18px;
      color: var(--gris);
      font-size: 0.95rem;
      font-weight: 700;
    }

    .nav-links a:hover {
      color: var(--verde);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 46px;
      padding: 12px 18px;
      border-radius: 8px;
      border: 1px solid transparent;
      font-weight: 800;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      background: var(--coral);
      color: white;
      box-shadow: 0 12px 24px rgba(239, 123, 104, 0.3);
    }

    .btn-secondary {
      background: var(--verde);
      color: white;
      box-shadow: 0 12px 24px rgba(31, 122, 107, 0.25);
    }

    .btn-outline {
      border-color: rgba(255, 255, 255, 0.8);
      color: white;
      background: rgba(255, 255, 255, 0.08);
    }

    .hero {
      position: relative;
      min-height: 680px;
      display: flex;
      align-items: center;
      color: white;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(17, 83, 71, 0.92), rgba(17, 83, 71, 0.62)),
        url("https://images.unsplash.com/photo-1573865526739-10659fec78a5?auto=format&fit=crop&w=1800&q=82") center/cover;
    }

    .hero-content {
      max-width: 760px;
      padding: 86px 0 96px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 13px;
      border-radius: 999px;
      background: rgba(246, 200, 95, 0.18);
      border: 1px solid rgba(246, 200, 95, 0.4);
      color: #ffe6a1;
      font-size: 0.78rem;
      font-weight: 850;
      text-transform: uppercase;
    }

    h1,
    h2,
    h3 {
      margin: 0;
      line-height: 1.08;
      letter-spacing: 0;
    }

    h1 {
      margin-top: 20px;
      font-size: clamp(2.7rem, 7vw, 5.8rem);
      font-weight: 900;
      max-width: 820px;
    }

    .hero p {
      max-width: 660px;
      margin: 24px 0 34px;
      font-size: clamp(1.06rem, 2vw, 1.25rem);
      color: rgba(255, 255, 255, 0.88);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .impact-strip {
      margin-top: -54px;
      position: relative;
      z-index: 5;
    }

    .impact-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      background: var(--blanco);
      border: 1px solid var(--borde);
      border-radius: 8px;
      box-shadow: var(--sombra);
      padding: 18px;
    }

    .impact-card {
      padding: 20px;
      border-radius: 8px;
      background: #fffdf9;
      border: 1px solid #f0e5d6;
    }

    .impact-card strong {
      display: block;
      color: var(--verde);
      font-size: 2rem;
      line-height: 1;
      margin-bottom: 8px;
    }

    .impact-card span {
      color: var(--gris);
      font-size: 0.94rem;
      font-weight: 700;
    }

    section {
      padding: 84px 0;
    }

    .section-head {
      max-width: 760px;
      margin-bottom: 38px;
    }

    .section-kicker {
      color: var(--coral);
      font-size: 0.78rem;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    h2 {
      color: var(--verde-oscuro);
      font-size: clamp(2rem, 4vw, 3.1rem);
      font-weight: 900;
    }

    .section-head p {
      color: var(--gris);
      margin: 16px 0 0;
      font-size: 1.07rem;
    }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 44px;
      align-items: center;
    }

    .rounded-photo {
      border-radius: 8px;
      min-height: 420px;
      width: 100%;
      object-fit: cover;
      box-shadow: var(--sombra);
    }

    .text-block p {
      color: var(--gris);
      font-size: 1.06rem;
      margin: 0 0 18px;
    }

    .services {
      background: var(--crema);
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .card {
      background: var(--blanco);
      border: 1px solid var(--borde);
      border-radius: 8px;
      padding: 28px;
      box-shadow: 0 10px 28px rgba(38, 50, 56, 0.07);
      transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: var(--sombra);
    }

    .icon {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      background: rgba(31, 122, 107, 0.1);
      color: var(--verde);
      font-size: 1.3rem;
      margin-bottom: 18px;
    }

    .card h3 {
      color: var(--verde-oscuro);
      font-size: 1.24rem;
      margin-bottom: 10px;
    }

    .card p,
    .step p {
      color: var(--gris);
      margin: 0;
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .step {
      padding: 26px;
      background: white;
      border: 1px solid var(--borde);
      border-radius: 8px;
    }

    .step-number {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--amarillo);
      color: var(--verde-oscuro);
      font-weight: 900;
      margin-bottom: 18px;
    }

    .step h3 {
      color: var(--verde-oscuro);
      font-size: 1.12rem;
      margin-bottom: 9px;
    }

    .donate {
      background:
        linear-gradient(135deg, rgba(17, 83, 71, 0.96), rgba(31, 122, 107, 0.9)),
        url("https://images.unsplash.com/photo-1592194996308-7b43878e84a6?auto=format&fit=crop&w=1600&q=82") center/cover;
      color: white;
    }

    .donate .section-kicker,
    .donate h2,
    .donate .section-head p {
      color: white;
    }

    .help-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .help-item {
      padding: 24px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.11);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .help-item i {
      color: var(--amarillo);
      margin-right: 8px;
    }

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

    .adoption-panel {
      border-radius: 8px;
      background: white;
      border: 1px solid var(--borde);
      padding: 34px;
      box-shadow: var(--sombra);
    }

    .check-list {
      list-style: none;
      padding: 0;
      margin: 20px 0 0;
      display: grid;
      gap: 14px;
    }

    .check-list li {
      display: flex;
      gap: 12px;
      color: var(--gris);
    }

    .check-list i {
      color: var(--verde);
      margin-top: 5px;
    }

    .cta {
      padding: 70px 0;
      background: var(--coral);
      color: white;
      text-align: center;
    }

    .cta h2 {
      color: white;
    }

    .cta p {
      max-width: 680px;
      margin: 16px auto 28px;
      color: rgba(255, 255, 255, 0.9);
      font-size: 1.08rem;
    }

    footer {
      padding: 34px 0;
      background: #123b35;
      color: rgba(255, 255, 255, 0.78);
    }

    .footer-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
    }

    .social {
      display: flex;
      gap: 12px;
    }

    .social a {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.1);
      color: white;
    }

    @media (max-width: 900px) {
      .nav-links {
        display: none;
      }

      .impact-grid,
      .card-grid,
      .steps-grid,
      .help-list,
      .split,
      .adoption-grid {
        grid-template-columns: 1fr;
      }

      .hero {
        min-height: 620px;
      }

      .impact-strip {
        margin-top: 0;
        padding-top: 18px;
      }

      section {
        padding: 64px 0;
      }

      .rounded-photo {
        min-height: 300px;
      }
    }

    @media (max-width: 560px) {
      .container {
        width: min(100% - 28px, 1120px);
      }

      .nav {
        min-height: 66px;
      }

      .brand span {
        max-width: 150px;
        line-height: 1.1;
      }

      .hero-actions,
      .btn {
        width: 100%;
      }

      .impact-card,
      .card,
      .step,
      .adoption-panel {
        padding: 22px;
      }
    }

.admin-bar .topbar {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .topbar {
    top: 46px;
  }
}
