/* ══════════════════════════════════════════════════════════════
   SECTIONS — Hero, What Is, Durability, CTA, Footer
   ══════════════════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream-light) 0%, var(--cream) 60%, #EDD9C0 100%);
}
[data-theme="dark"] .hero {
  background: linear-gradient(160deg, #0E1420 0%, #141B2D 60%, #1A2238 100%);
}

/* Decorative paw pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(224,112,32,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(29,52,112,.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  /* Content first, image second on mobile (order not overridden = DOM order) */
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
[data-theme="dark"] .hero__title { color: #EEF2FF; }
.hero__title em { font-style: italic; color: var(--orange); }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}
.trust-item {
  padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  backdrop-filter: blur(8px);
}
[data-theme="dark"] .trust-item { background: rgba(255,255,255,.08); }

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-wrap {
  position: relative;
  border-radius: 26px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.1));
  backdrop-filter: blur(8px);
  box-shadow:
    0 35px 90px rgba(29,52,112,.28),
    0 15px 35px rgba(29,52,112,.18),
    0 0 0 3px rgba(224,112,32,.15);
  max-width: 520px;
  width: 100%;
  animation: heroFloat 4s ease-in-out infinite;
}

[data-theme="dark"] .hero__image-wrap {
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 10px 30px rgba(0,0,0,.3),
    0 0 0 6px rgba(240,140,64,.18);
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0px);
    box-shadow:
      0 30px 80px rgba(29,52,112,.22),
      0 10px 30px rgba(29,52,112,.15),
      0 0 0 6px rgba(224,112,32,.12);
  }
  50% {
    transform: translateY(-12px);
    box-shadow:
      0 42px 100px rgba(29,52,112,.28),
      0 16px 40px rgba(29,52,112,.18),
      0 0 0 6px rgba(224,112,32,.15);
  }
}

[data-theme="dark"] .hero__image-wrap {
  animation: heroFloatDark 4s ease-in-out infinite;
}
@keyframes heroFloatDark {
  0%, 100% {
    transform: translateY(0px);
    box-shadow:
      0 30px 80px rgba(0,0,0,.5),
      0 10px 30px rgba(0,0,0,.3),
      0 0 0 6px rgba(240,140,64,.18);
  }
  50% {
    transform: translateY(-12px);
    box-shadow:
      0 44px 110px rgba(0,0,0,.6),
      0 18px 50px rgba(0,0,0,.4),
      0 0 0 6px rgba(240,140,64,.22);
  }
}

/* Shadow on ground below the floating card */
.hero__visual::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 10%;
  right: 10%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(29,52,112,.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroShadow 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroShadow {
  0%, 100% { transform: scaleX(1); opacity: 0.7; }
  50% { transform: scaleX(0.8); opacity: 0.3; }
}

.hero__img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  transition: transform 0.6s ease;
}
.hero__image-wrap:hover {
  animation-play-state: paused;
}
.hero__image-wrap:hover .hero__img {
  transform: scale(1.03);
}

/* Floating badges */
.hero__badge-float {
  position: absolute;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--r-md);
  padding: 0.6rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  animation: float 3s ease-in-out infinite;
}
[data-theme="dark"] .hero__badge-float { background: var(--color-surface); }
[data-theme="dark"] .hero__badge-float strong { color: var(--color-primary); }
.hero__badge-float--1 { top: 1rem; left: 1rem; animation-delay: 0s; }
.hero__badge-float--2 { bottom: 1rem; right: 1rem; animation-delay: 1.5s; }
.hero__badge-float strong { font-size: 1rem; font-weight: 800; color: var(--navy); }
.hero__badge-float span { font-size: 0.72rem; color: var(--color-text-muted); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Hero wave */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero__wave svg { display: block; width: 100%; }

/* ── WHAT IS ─────────────────────────────────────────────────── */
.what-is { background: var(--color-bg-alt); }

.what-is__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .what-is__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.what-is__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.what-is__body {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.what-is__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.what-is__list li {
  padding: 0.55rem 0.85rem;
  background: var(--color-surface);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  border-left: 3px solid var(--color-accent);
}

.what-is__visual img {
  width: 100%;
  border-radius: var(--r-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}

/* ── DURABILITY ──────────────────────────────────────────────── */
.durability__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .durability__inner { grid-template-columns: 1fr; gap: 2rem; }
}

.durability__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.durability__body {
  font-size: 0.97rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}
.durability__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.durability__list li {
  padding: 0.5rem 0.75rem;
  background: var(--color-accent-soft);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ── CTA FINAL ───────────────────────────────────────────────── */
/* ── CTA FINAL ───────────────────────────────────────────────── */
.cta-final {
  background:
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 35%, rgba(255,255,255,.10), transparent 32%),
    radial-gradient(circle at 78% 62%, rgba(240,140,64,.16), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  pointer-events: none;
}

[data-theme="dark"] .cta-final {
  background:
    linear-gradient(135deg, #10192D 0%, #15224A 52%, #223A78 100%);
}

[data-theme="dark"] .cta-final::before {
  background:
    radial-gradient(circle at 22% 35%, rgba(255,255,255,.06), transparent 32%),
    radial-gradient(circle at 78% 62%, rgba(240,140,64,.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
}

.cta-final__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 600px;
  margin-inline: auto;
}

.cta-final__icon { 
  font-size: 3rem; 
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-final__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}

.cta-final__note {
  font-size: 0.85rem;
  color: rgba(255,255,255,.62);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding-block: 1.25rem;
  border-top: 3px solid var(--color-accent);
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer__logo-link {
  flex-shrink: 0;
  display: flex;
}
.footer__logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__nav {
  display: flex;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.footer__nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}
.footer__nav a:hover { color: #fff; }

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}
.footer__wa {
  font-size: 0.83rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-pill);
  transition: background 0.15s;
}
.footer__wa:hover { background: rgba(255,255,255,.22); }
.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,.35);
}

@media (max-width: 640px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
  }
  .footer__nav { justify-content: center; }
  .footer__right { align-items: center; }
}

/* Benefits section background */
.benefits { background: var(--color-bg-alt); }
.how-it-works { background: var(--color-bg); }
.sizes { background: var(--color-bg); }
.durability { background: var(--color-bg-alt); }
.testimonials { background: var(--color-bg); }
.faq { background: var(--color-bg-alt); }

/* Sizes CTA */
.sizes__cta {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════════════════════════════
   COMENTARIOS
   ══════════════════════════════════════════════════════════════ */
.comments { background: var(--color-bg-alt); }

.comments__container {
  max-width: 680px;
}

.comments__form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.comments-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comments-form__field {
  position: relative;
}

.comments-form__textarea {
  width: 100%;
  padding: 0.9rem 1rem 2rem;
  border: 1.5px solid var(--color-border-soft);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  resize: vertical;
  min-height: 130px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.comments-form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(29,52,112,.1));
}

.comments-form__char {
  position: absolute;
  bottom: 0.6rem;
  right: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  pointer-events: none;
}

.comments-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border-soft);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.comments-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft, rgba(29,52,112,.1));
}

.comments-form__btn {
  align-self: flex-start;
  padding: 0.7rem 1.8rem;
}

.comments-feedback {
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
}
.comments-feedback--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.comments-feedback--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* sr-only utility if not already present */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}