:root {
  --blue: #123a82;
  --blue-dark: #071b45;
  --red: #e22c38;
  --graphite: #172033;
  --muted: #667085;
  --line: #d9e2f3;
  --soft: #f4f7fc;
  --shadow: 0 22px 70px rgba(7, 27, 69, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: #ffffff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px clamp(18px, 4vw, 54px);
  color: white;
  background: linear-gradient(135deg, #061638 0%, #0b2f74 58%, #13479a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 34px rgba(7, 27, 69, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-mark {
  color: #ff1d2d;
  font-weight: 1000;
  font-size: 2.85rem;
  line-height: 0.78;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 16px rgba(255, 29, 45, 0.35);
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.04rem;
  font-weight: 800;
}

.pd-menu-drop {
  position: relative;
}

.pd-menu-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 12px 7px 8px;
  color: white;
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(83, 255, 111, 0.44);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(4, 8, 13, 0.96), rgba(7, 24, 42, 0.96));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2), 0 0 22px rgba(58, 255, 96, 0.12);
}

.pd-menu-trigger::-webkit-details-marker {
  display: none;
}

.pd-menu-trigger:hover,
.pd-menu-trigger:focus-visible {
  border-color: rgba(83, 255, 111, 0.82);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.27), 0 0 28px rgba(58, 255, 96, 0.22);
}

.pd-logo-svg {
  width: 144px;
  height: auto;
  display: block;
}

.pd-menu-caret {
  color: #5fff72;
  font-size: 0.75rem;
  transition: transform 0.18s ease;
}

.pd-menu-drop[open] .pd-menu-caret {
  transform: rotate(180deg);
}

.pd-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 35;
  width: 315px;
  padding: 18px;
  color: white;
  border: 1px solid rgba(83, 255, 111, 0.36);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 8%, rgba(82, 255, 122, 0.2), transparent 26%),
    linear-gradient(135deg, #05070b 0%, #0b1020 54%, #05182f 100%);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pd-menu-panel strong {
  display: block;
  max-width: 245px;
  font-size: 1.08rem;
  line-height: 1.16;
}

.pd-menu-panel p {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  line-height: 1.38;
}

.pd-card-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.pd-social {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.18);
}

.pd-social svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.pd-facebook {
  background: #1877f2;
}

.pd-instagram {
  background: radial-gradient(circle at 30% 110%, #feda75 0 18%, #fa7e1e 32%, #d62976 56%, #962fbf 74%, #4f5bd5 100%);
}

.pd-whatsapp {
  background: #25d366;
}

.pd-youtube {
  background: #ff0000;
}

.pd-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  color: #031007;
  font-size: 0.88rem;
  font-weight: 950;
  border-radius: 8px;
  background: linear-gradient(135deg, #75ff65, #16d845);
  box-shadow: 0 12px 24px rgba(22, 216, 69, 0.22);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  place-items: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: white;
}

.header-cta,
.primary-button,
.secondary-button,
.text-button {
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.primary-button {
  color: white;
  background: var(--red);
  box-shadow: 0 10px 22px rgba(226, 44, 56, 0.22);
}

.header-cta {
  padding: 13px 20px;
  font-size: 1.02rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
}

.secondary-button {
  color: var(--blue);
  background: white;
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: 500px;
  padding: 42px clamp(18px, 4vw, 54px) 34px;
  background:
    radial-gradient(circle at 10% 10%, rgba(226, 44, 56, 0.12), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f4f7fc 48%, #eaf0fb 100%);
}

.hero-copy h1 {
  max-width: 610px;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  margin: 20px 0;
  color: #44516b;
  font-size: 1.08rem;
  line-height: 1.62;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  padding: 10px 12px;
  color: var(--blue);
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-carousel,
.carousel-slide,
.carousel-slide img {
  height: 450px;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s ease;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  overflow: hidden;
  color: white;
}

.carousel-slide img {
  width: 100%;
  object-fit: cover;
}

.carousel-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 6px;
  padding: 72px 22px 22px;
  background: linear-gradient(0deg, rgba(7, 27, 69, 0.92), rgba(7, 27, 69, 0));
}

.carousel-copy span {
  color: #ffccd0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.carousel-copy strong {
  font-size: 1.65rem;
  line-height: 1.05;
}

.carousel-copy small,
.carousel-copy em {
  max-width: 520px;
  font-style: normal;
  line-height: 1.35;
}

.carousel-copy small {
  font-weight: 900;
}

.carousel-controls {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(7, 27, 69, 0.55);
  border-radius: 999px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.carousel-dot.active {
  width: 24px;
  background: white;
}

.benefits,
.catalog-grid,
.local-seo,
.contact,
footer,
.section-head,
.filters {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 28px 0 62px;
}

.benefits article,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.benefits article {
  padding: 20px;
}

.benefits strong,
.benefits span {
  display: block;
}

.benefits strong {
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.benefits span {
  color: var(--muted);
  line-height: 1.5;
}

.section-head {
  padding: 12px 0 22px;
}

.section-head h2,
.local-seo h2,
.contact h2,
.product-page-hero h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.section-head p,
.local-seo p,
.contact p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--blue);
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active {
  color: white;
  background: var(--blue);
}

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

.product-card {
  display: block;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(7, 27, 69, 0.14);
}

.product-image {
  display: block;
  width: 100%;
  height: 210px;
  background-size: cover;
  background-position: center;
  background-color: #e9eef8;
}

.product-card-copy {
  display: block;
  padding: 20px;
}

.product-label,
.detail-category {
  display: block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-title {
  display: block;
  margin: 8px 0 10px;
  color: var(--blue-dark);
  font-size: 1.34rem;
}

.product-description {
  display: block;
  min-height: 112px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.product-price {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 1.16rem;
  font-weight: 900;
}

.text-button {
  display: inline-flex;
  padding: 0;
  color: var(--red);
  background: transparent;
}

.local-seo {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 76px;
  padding: 36px;
  background: var(--soft);
  border-radius: 8px;
}

.local-seo ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.9;
  color: #34405a;
  font-weight: 700;
}

.contact {
  margin-bottom: 48px;
  padding: 44px;
  color: white;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 8px;
}

.contact h2,
.contact p {
  color: white;
}

.site-footer {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.7fr;
  gap: 34px;
  padding: 44px clamp(18px, 4vw, 54px);
  color: white;
  background: linear-gradient(135deg, #061638 0%, #0b2f74 58%, #13479a 100%);
  border-top: 5px solid var(--red);
}

.site-footer p,
.site-footer span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.footer-brand p {
  max-width: 430px;
  margin: 14px 0 0;
}

.footer-contact,
.footer-social {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-contact strong,
.footer-social strong {
  color: white;
  font-size: 1.18rem;
}

.footer-logo {
  font-size: 1.42rem;
}

.footer-logo .brand-mark {
  color: #ff1d2d;
  font-size: 3.05rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.social-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  font-size: 1.75rem;
  font-weight: 1000;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24), inset 0 -3px 10px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.3), inset 0 -3px 10px rgba(0, 0, 0, 0.16);
  outline: none;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.social-icon.instagram {
  background: radial-gradient(circle at 28% 105%, #feda75 0 20%, #fa7e1e 36%, #d62976 58%, #962fbf 78%, #4f5bd5 100%);
}

.social-icon.whatsapp {
  background: #25d366;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.youtube {
  background: #ff0000;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: white;
  background: #25d366;
  border: 4px solid white;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.42);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.product-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.product-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 54px 0 42px;
}

.product-page-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 0.96;
}

.product-page-hero p {
  color: #44516b;
  font-size: 1.12rem;
  line-height: 1.72;
}

.product-page-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 10px 14px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(7, 27, 69, 0.08);
}

.back-link::before {
  content: "←";
  margin-right: 8px;
  color: var(--red);
  font-weight: 1000;
}

.price-box {
  display: grid;
  gap: 4px;
  max-width: 420px;
  margin: 24px 0 18px;
  padding: 16px;
  color: var(--graphite);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-box strong {
  color: var(--blue-dark);
  font-size: 2rem;
}

.price-box small,
.price-box span {
  color: var(--muted);
}

.product-info-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  margin-bottom: 56px;
}

.product-info-grid article {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-info-grid h2 {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 1.7rem;
}

.product-info-grid li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
}

.spec-list div {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-list dt {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 5px 0 0;
}

.product-seo a {
  color: var(--red);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    flex: 1;
    min-width: 0;
    font-size: 1.08rem;
  }

  .brand-mark {
    font-size: 2.35rem;
  }

  .menu-toggle {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  nav {
    display: none;
    order: 3;
    width: 100%;
    gap: 8px;
    padding-top: 6px;
  }

  .site-header.menu-open nav {
    display: grid;
  }

  nav a {
    display: block;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .pd-menu-drop {
    width: 100%;
    margin-top: 6px;
  }

  .pd-menu-trigger {
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(4, 8, 13, 0.96), rgba(7, 24, 42, 0.96));
  }

  .pd-logo-svg {
    width: 164px;
  }

  .pd-menu-panel {
    position: static;
    width: 100%;
    margin-top: 8px;
    padding: 16px;
  }

  .pd-menu-panel strong,
  .pd-menu-panel p {
    max-width: none;
  }

  .hero,
  .local-seo,
  .product-page-hero,
  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 26px;
    padding: 0 0 34px;
  }

  .hero-media {
    order: -1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: visible;
    margin-bottom: 42px;
    border-radius: 0;
  }

  .hero-copy {
    order: 2;
    padding: 0 18px;
  }

  .hero-carousel,
  .carousel-slide,
  .carousel-slide img {
    height: min(72vh, 560px);
    min-height: 430px;
  }

  .carousel-copy {
    padding: 62px 16px 16px;
  }

  .carousel-copy strong {
    font-size: 1.22rem;
  }

  .carousel-copy em {
    display: none;
  }

  .carousel-controls {
    left: 50%;
    right: auto;
    bottom: -30px;
    transform: translateX(-50%);
    background: rgba(7, 27, 69, 0.12);
  }

  .carousel-dot {
    background: rgba(18, 58, 130, 0.34);
  }

  .carousel-dot.active {
    background: var(--blue);
  }

  .benefits,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

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

  .spec-list {
    grid-template-columns: 1fr;
  }

  .product-page-image {
    order: -1;
    height: 320px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
}
