:root {
  --ink: #213547;
  --muted: #5f6f7d;
  --blue: #1d9bf0;
  --blue-dark: #0871b7;
  --pink: #ff5fa2;
  --yellow: #ffd447;
  --green: #42c77a;
  --orange: #ff8a3d;
  --paper: #ffffff;
  --soft: #f8fbff;
  --line: #e7edf5;
  --shadow: 0 18px 45px rgba(30, 58, 90, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito", Arial, sans-serif;
  background: var(--soft);
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(35, 55, 75, 0.08);
  backdrop-filter: blur(14px);
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 7px 16px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--orange));
}

.navbar {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: var(--pink);
  box-shadow: 6px 6px 0 var(--yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--blue-dark);
  background: #eaf6ff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 84px 0 72px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(12, 121, 188, 0.92), rgba(68, 201, 125, 0.78)),
    radial-gradient(circle at 18% 20%, rgba(255, 212, 71, 0.95), transparent 28%),
    url("../img/catalogo/hero-funtastic.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -2px;
  height: 74px;
  background:
    radial-gradient(48px 38px at 48px 36px, var(--soft) 98%, transparent 101%) 0 0 / 96px 72px repeat-x;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 38px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Baloo 2", "Nunito", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: 4.7rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 1.45rem;
}

.hero-text {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 1.24rem;
  font-weight: 700;
}

.hero-actions,
.product-footer,
.final-cta-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--pink);
  box-shadow: 0 10px 0 rgba(139, 29, 78, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 10px 0 rgba(122, 94, 8, 0.22);
}

.hero-actions {
  margin-top: 28px;
}

.hero-panel {
  padding: 28px;
  border: 3px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.hero-panel-main strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 2rem;
  line-height: 1.05;
}

.quick-stats {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.quick-stats span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--ink);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 800;
}

.quick-stats strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--blue);
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  display: block;
}

.shape-sun {
  top: 12%;
  right: 8%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--yellow);
}

.shape-ball {
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, #ffffff 0 12px, var(--pink) 12px 24px);
}

.shape-ball-one {
  left: 5%;
  bottom: 20%;
  width: 72px;
  height: 72px;
}

.shape-ball-two {
  right: 20%;
  bottom: 18%;
  width: 46px;
  height: 46px;
  background: repeating-linear-gradient(45deg, #ffffff 0 9px, var(--orange) 9px 18px);
}

.shape-slide {
  right: 7%;
  bottom: 19%;
  width: 150px;
  height: 86px;
  border-radius: 12px 12px 42px 12px;
  background: var(--pink);
  transform: rotate(-8deg);
}

.intro-band,
.catalog-section,
.conditions,
.final-cta {
  padding: 72px 0;
}

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

.service-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(28, 53, 76, 0.08);
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 14px;
  color: #ffffff;
  border-radius: 14px;
  background: var(--green);
  font-weight: 900;
}

.service-grid article:nth-child(2) .service-icon {
  background: var(--pink);
}

.service-grid article:nth-child(3) .service-icon {
  background: var(--orange);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading p:last-child,
.conditions p,
.final-cta p {
  color: var(--muted);
  font-weight: 700;
}

.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 6px;
  overflow-x: auto;
}

.filter-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 15px;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filter-btn.is-active {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

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

.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(32, 54, 78, 0.1);
}

.product-image {
  position: relative;
  min-height: 170px;
  background:
    radial-gradient(circle at 24% 32%, rgba(255, 255, 255, 0.85) 0 18px, transparent 19px),
    linear-gradient(135deg, #dff5ff, #fff4c3 55%, #ffe1ef);
}

.product-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.product-image img[src] {
  color: transparent;
}

.product-image img:not([src]),
.product-image img[src=""] {
  display: none;
}

.product-image span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 11px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(33, 53, 71, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-body {
  display: flex;
  min-height: 360px;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
}

.product-category {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.product-details div {
  padding: 12px;
  border-radius: 8px;
  background: #f5f8fc;
}

.product-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-details dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.product-note {
  margin: 0;
  padding: 10px 12px;
  color: #705100;
  border-radius: 8px;
  background: #fff5c8;
  font-weight: 800;
}

.product-footer {
  justify-content: space-between;
  margin-top: auto;
}

.product-footer strong {
  color: var(--pink);
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.btn-card {
  min-height: 42px;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--blue);
}

.btn-outline {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--blue-dark);
  border: 2px solid #d5ecff;
  background: #ffffff;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.detail-header {
  position: relative;
}

.detail-hero {
  padding: 78px 0 64px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 113, 183, 0.94), rgba(66, 199, 122, 0.84)),
    url("../img/catalogo/hero-funtastic.jpg") center / cover;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: end;
}

.detail-price-card {
  padding: 24px;
  border: 3px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.detail-price-card span {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-price-card strong {
  display: block;
  margin: 8px 0;
  color: var(--yellow);
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 3.2rem;
  line-height: 1;
}

.detail-price-card p {
  margin: 0;
  font-weight: 800;
}

.detail-section {
  padding: 64px 0;
}

.detail-section-light {
  background: #ffffff;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.detail-gallery,
.detail-info,
.detail-columns article,
.related-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(32, 54, 78, 0.1);
}

.detail-gallery {
  padding: 14px;
}

.detail-main-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.detail-thumbs button {
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.detail-thumbs button.is-active {
  border-color: var(--pink);
}

.detail-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-info {
  padding: 24px;
}

.detail-info h2,
.detail-columns h2 {
  font-size: 2rem;
}

.detail-specs {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.detail-specs div {
  padding: 14px;
  border-radius: 8px;
  background: #f5f8fc;
}

.detail-specs dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-specs dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.detail-columns article {
  padding: 24px;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--green);
}

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

.related-card {
  overflow: hidden;
  padding-bottom: 16px;
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.related-card span,
.related-card strong {
  display: block;
  padding: 0 16px;
}

.related-card span {
  margin-top: 14px;
  color: var(--pink);
  font-weight: 900;
}

.related-card strong {
  margin-top: 4px;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.conditions {
  background: #ffffff;
}

.conditions-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

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

.condition-list li {
  padding: 18px 18px 18px 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 800;
  position: relative;
}

.condition-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--green);
}

.final-cta {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-dark), #16a56b);
}

.final-cta .eyebrow,
.final-cta p {
  color: #fff0a8;
}

.final-cta-inner {
  justify-content: space-between;
}

.final-cta-inner div {
  max-width: 700px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: #20c760;
  box-shadow: 0 14px 34px rgba(23, 120, 64, 0.35);
  font-weight: 1000;
}

.site-footer {
  padding: 28px 0;
  color: #d9ecf5;
  background: #153042;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 800;
}

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

  .hero {
    min-height: auto;
    padding: 58px 0 78px;
  }

  .hero-grid,
  .conditions-grid,
  .detail-hero-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 20px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .service-grid,
  .catalog-grid,
  .detail-columns,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container,
  .navbar {
    width: min(100% - 24px, 1120px);
  }

  .top-strip {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

  .navbar {
    min-height: 66px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1.06rem;
  }

  .hero-actions,
  .final-cta-inner,
  .product-footer,
  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-panel-main strong {
    font-size: 1.55rem;
  }

  .intro-band,
  .catalog-section,
  .conditions,
  .final-cta {
    padding: 54px 0;
  }

  .service-grid,
  .catalog-grid,
  .detail-columns,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    padding: 48px 0;
  }

  .detail-section {
    padding: 46px 0;
  }

  .detail-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-body {
    min-height: auto;
  }

  .filters {
    margin-right: -12px;
    margin-left: -12px;
    padding-left: 12px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}
