:root {
  color-scheme: light;
  --ink: #151714;
  --muted: #687169;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #e2ded4;
  --forest: #103d35;
  --teal: #0f766e;
  --gold: #d9a74c;
  --rose: #d95f59;
  --shadow: 0 24px 70px rgba(21, 23, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 13px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(226, 222, 212, 0.82);
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.primary-button {
  padding: 0 22px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.24);
}

.secondary-button {
  padding: 0 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(18, 23, 18, 0.72), rgba(18, 23, 18, 0.16) 55%, rgba(18, 23, 18, 0.48)),
    url("./assets/cat-dog-hero.png") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-overlay {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto 96px clamp(18px, 7vw, 92px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.feature-copy h2,
.final-cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(64px, 10vw, 132px);
}

.hero-copy {
  max-width: 640px;
  margin: 20px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.35;
}

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

.quick-strip {
  position: relative;
  z-index: 5;
  display: grid;
  width: min(1160px, calc(100% - 36px));
  margin: -42px auto 86px;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-strip article {
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 8px;
  font-size: 15px;
}

.quick-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section,
.feature-band,
.final-cta {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 92px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.feature-copy h2,
.final-cta h2 {
  font-size: clamp(34px, 5vw, 58px);
}

#colecciones .section-heading {
  max-width: 1000px;
}

#colecciones .section-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr;
  gap: 18px;
}

.collection-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.74));
}

.collection-card span,
.collection-card strong {
  position: relative;
}

.collection-card span {
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.collection-card strong {
  max-width: 340px;
  font-size: 25px;
  line-height: 1.12;
}

.dog {
  background-image: url("./assets/dog-card.jpg");
}

.cat {
  background-image: url("./assets/cat-card.jpg");
}

.care {
  background-image: url("./assets/social-preview.jpg");
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 167, 76, 0.28), transparent 26%),
    linear-gradient(135deg, #10221d, #103d35 58%, #0f766e);
  box-shadow: var(--shadow);
}

.feature-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.6;
}

.primary-button.dark {
  margin-top: 10px;
  color: #171411;
  background: var(--gold);
  box-shadow: none;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-showcase article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.product-showcase img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-showcase div {
  padding: 14px;
}

.product-showcase span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-showcase strong {
  display: block;
  margin-top: 5px;
  line-height: 1.25;
}

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

.benefit-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.benefit-grid span {
  color: var(--rose);
  font-weight: 950;
}

.benefit-grid h3 {
  margin: 42px 0 10px;
  font-size: 23px;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 48px 22px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(18, 23, 18, 0.76), rgba(18, 23, 18, 0.3)),
    url("./assets/social-preview.jpg") center/cover;
  box-shadow: var(--shadow);
}

.final-cta .primary-button {
  margin-top: 24px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .quick-strip,
  .collection-grid,
  .feature-band,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-showcase img {
    aspect-ratio: 16 / 10;
  }

  .collection-card {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 640px;
    background-position: center;
  }

  .hero-overlay {
    margin: 0 auto 72px;
  }

  .hero h1 {
    font-size: clamp(56px, 17vw, 82px);
  }

  .quick-strip {
    margin-top: -28px;
  }

  .section,
  .feature-band,
  .final-cta {
    margin-bottom: 68px;
  }

  .footer {
    flex-direction: column;
  }
}

/* === Página de producto individual (producto-caza-salta-se-divierte.html) === */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px) 0;
}

.product-hero img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 8px;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 18px;
}

.price-now {
  color: var(--gold);
  font-size: 32px;
  font-weight: 900;
}

.color-options {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 980px) {
  .product-hero {
    grid-template-columns: 1fr;
  }
}

/* === Web Oferta ESBDGG: tarjetas de servicio, portfolio, formulario === */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card.featured {
  border: 2px solid var(--teal);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), transparent 40%);
}

.service-card span.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #171411;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.service-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.service-card a.evidence-link {
  color: var(--teal);
  font-weight: 900;
  font-size: 14px;
}

.portfolio-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 167, 76, 0.28), transparent 26%),
    linear-gradient(135deg, #10221d, #103d35 58%, #0f766e);
  box-shadow: var(--shadow);
}

.portfolio-band img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
}

.contact-form button {
  justify-self: start;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

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

  .portfolio-band {
    grid-template-columns: 1fr;
  }
}
