:root {
  --blue: #005DFF;
  --lime: #A7C957;
  --green: #4F772D;
  --cream: #F8F4E8;
  --ink: #3A3A3A;
  --white: #FFFFFF;
  --paper: #fffaf0;
  --clay: #e7d4ad;
  --line: rgba(58, 58, 58, 0.14);
  --shadow: 12px 12px 0 rgba(58, 58, 58, 0.12);
  --radius: 22px;
  --font: "Nunito", "Avenir Next", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(58, 58, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 58, 58, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 12% 18%, rgba(0, 93, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 86% 8%, rgba(167, 201, 87, 0.28), transparent 20rem),
    var(--cream);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 250, 240, 0.94);
  border: 2px solid var(--ink);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 10px 0 rgba(58, 58, 58, 0.08);
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 30px clamp(24px, 5vw, 58px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  transition: padding 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 16px 0 rgba(58, 58, 58, 0.1);
  padding-bottom: 20px;
  padding-top: 20px;
  transform: translateY(-4px);
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 900;
  gap: 12px;
  letter-spacing: -0.04em;
}

.brand img,
.footer-brand img {
  border: 2px solid var(--ink);
  border-radius: 18px 6px 18px 6px;
  box-shadow: 6px 6px 0 rgba(0, 93, 255, 0.16);
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.main-nav {
  display: flex;
  gap: clamp(20px, 3vw, 45px);
  justify-content: center;
}

.main-nav a {
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  position: relative;
  text-transform: uppercase;
  z-index: 0;
}

.main-nav a::after {
  background: var(--blue);
  bottom: -12px;
  content: "";
  height: 9px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
  z-index: -1;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--blue);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.mini-action {
  align-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: var(--green);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mini-action:last-child {
  background: var(--blue);
  color: var(--white);
}

.mini-action:hover {
  box-shadow: 5px 5px 0 rgba(58, 58, 58, 0.18);
  transform: translate(-2px, -2px) rotate(-4deg);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  width: 30px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  margin: 0 auto;
  max-width: 1280px;
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 56px) clamp(92px, 10vw, 150px);
}

.hero-overlap {
  min-height: 940px;
  position: relative;
}

.hero-overlap::before {
  position: absolute;
  left: clamp(20px, 5vw, 56px);
  right: clamp(20px, 5vw, 56px);
  bottom: clamp(30px, 5vw, 78px);
  height: 76px;
  content: "8 paseos B\0000e1sico  /  12 paseos Premium  /  2 clases incluidas";
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-inline: 26px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: ticker 12s linear infinite;
}

.hero-image {
  margin-left: auto;
  width: min(76%, 820px);
  transform: rotate(1deg);
}

.hero-image img {
  aspect-ratio: 1.35 / 1;
  border: 2px solid var(--ink);
  border-radius: 34px 34px 120px 34px;
  box-shadow: var(--shadow);
  height: min(620px, 68vw);
  object-fit: cover;
  width: 100%;
  transition: transform 700ms ease, filter 700ms ease;
}

.hero-image:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.hero-panel {
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 34px 90px 34px 34px;
  box-shadow: 14px 14px 0 rgba(0, 93, 255, 0.28);
  color: var(--white);
  left: clamp(20px, 4vw, 56px);
  padding: clamp(34px, 5vw, 64px);
  position: absolute;
  top: clamp(118px, 12vw, 170px);
  width: min(560px, calc(100% - 40px));
}

.hero-panel::after {
  position: absolute;
  right: -28px;
  top: -28px;
  width: 88px;
  aspect-ratio: 1;
  content: "";
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  animation: nudge 3.8s ease-in-out infinite;
}

.hero-panel h1,
.page-hero h1,
.about-panel h1,
.contact-copy h1 {
  font-size: clamp(3.1rem, 6.2vw, 6.2rem);
  letter-spacing: -0.08em;
  line-height: 0.95;
  margin: 0 0 22px;
}

.hero-panel p {
  max-width: 520px;
}

.eyebrow {
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green);
}

.button {
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.02em;
  min-height: 52px;
  padding: 0 30px;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  box-shadow: 7px 7px 0 rgba(58, 58, 58, 0.16);
  transform: translate(-3px, -3px);
}

.button.light {
  background: var(--white);
  color: var(--ink);
}

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

.button.outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.section {
  margin: 0 auto;
  max-width: 1280px;
  padding: clamp(72px, 9vw, 122px) clamp(20px, 5vw, 56px);
}

.promo-strip {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 90px);
  grid-template-columns: 330px 1fr;
}

.promo-box {
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
  color: var(--white);
  min-height: 260px;
  padding: 34px;
}

.promo-box span {
  display: block;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.92;
}

.promo-box strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.25;
  margin-top: 18px;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5.3rem);
  letter-spacing: -0.075em;
  line-height: 1;
  margin: 0 0 20px;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 12px;
}

.promo-copy p,
.section-heading p,
.pricing-body p,
.contact-copy p,
.about-panel p {
  max-width: 720px;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  max-width: 850px;
  text-align: center;
}

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

.catalog-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.catalog-card:hover {
  box-shadow: 16px 16px 0 rgba(0, 93, 255, 0.18);
  transform: translate(-4px, -7px) rotate(-1deg);
}

.catalog-card img {
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  width: 100%;
  transition: transform 650ms ease;
}

.catalog-card:hover img {
  transform: scale(1.07);
}

.catalog-card div {
  padding: 28px;
}

.catalog-card p {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.catalog-card a {
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 900;
}

.catalog-card.featured {
  transform: translateY(36px);
}

.catalog-card.featured:hover {
  transform: translate(-4px, 24px) rotate(1deg);
}

.quality-band {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.quality-card {
  background: var(--paper);
  border-block: 2px solid var(--ink);
  min-height: 300px;
  padding: clamp(32px, 5vw, 56px);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.quality-card:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-8px);
}

.quality-card span {
  color: var(--blue);
  display: block;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 70px;
}

.stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  background: var(--green);
  border: 2px solid var(--ink);
  color: var(--white);
  padding: clamp(34px, 5vw, 56px) 18px;
  transition: transform 180ms ease, background 180ms ease;
}

.stat:hover {
  background: var(--blue);
  transform: rotate(-1deg) scale(1.02);
}

.stat strong {
  display: block;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.stat span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.split-heading {
  align-items: end;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 40px;
}

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

.product-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 26px 26px 8px 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-bottom: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  box-shadow: 14px 14px 0 rgba(79, 119, 45, 0.2);
  transform: translate(-4px, -7px);
}

.product-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.product-card h3,
.product-card p,
.product-card strong {
  margin-left: 24px;
  margin-right: 24px;
}

.product-card h3 {
  margin-top: 24px;
}

.product-card p {
  color: rgba(58, 58, 58, 0.72);
  margin-bottom: 10px;
}

.product-card strong {
  color: var(--blue);
  font-size: 1.25rem;
}

.page-hero {
  margin: 0 auto;
  max-width: 1050px;
  padding: clamp(86px, 11vw, 150px) 24px clamp(54px, 7vw, 100px);
  text-align: center;
}

.page-hero.compact h1 {
  color: var(--ink);
}

.pricing-grid {
  display: grid;
  gap: 34px;
}

.pricing-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 30px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) 1fr;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pricing-card:hover {
  box-shadow: 18px 18px 0 rgba(0, 93, 255, 0.16);
  transform: translate(-5px, -5px);
}

.pricing-media {
  min-height: 680px;
  position: relative;
}

.pricing-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.pricing-media span {
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  left: 28px;
  padding: 10px 18px;
  position: absolute;
  text-transform: uppercase;
  top: 28px;
}

.pricing-body {
  padding: clamp(34px, 5vw, 66px);
}

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

.check-list li {
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  background: var(--lime);
  border: 5px solid rgba(0, 93, 255, 0.12);
  border-radius: 999px;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 10px;
}

.price-pills {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 28px;
}

.price-pills span {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 18px;
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  padding: 18px;
}

.price-pills small {
  color: rgba(58, 58, 58, 0.72);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.zones {
  background:
    radial-gradient(circle at 15% 30%, rgba(167, 201, 87, 0.28), transparent 20rem),
    var(--green);
  color: var(--white);
  max-width: none;
}

.zones .eyebrow {
  color: var(--lime);
}

.zone-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 0 auto;
  max-width: 920px;
}

.zone-grid span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  padding: 13px 20px;
  transition: transform 180ms ease, background 180ms ease;
}

.zone-grid span:hover {
  background: var(--blue);
  transform: translateY(-4px) rotate(-2deg);
}

.about-hero {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: 0.9fr 1.1fr;
}

.about-panel {
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 34px 100px 34px 34px;
  box-shadow: var(--shadow);
  color: var(--white);
  padding: clamp(34px, 5vw, 64px);
}

.about-image {
  aspect-ratio: 1.25 / 1;
  border: 2px solid var(--ink);
  border-radius: 100px 34px 34px 34px;
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

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

.process-grid article {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.process-grid article:hover {
  box-shadow: 14px 14px 0 rgba(0, 93, 255, 0.16);
  transform: translate(-4px, -6px);
}

.process-grid strong {
  color: var(--blue);
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 44px;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(36px, 6vw, 78px);
  grid-template-columns: 0.9fr 1fr;
}

.contact-copy {
  padding-top: 60px;
}

.contact-list {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.contact-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.contact-form {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 64px);
}

.contact-form h2 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.contact-form label {
  display: block;
  font-weight: 900;
  margin-top: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--cream);
  border: 2px solid rgba(58, 58, 58, 0.24);
  border-radius: 16px;
  color: var(--ink);
  display: block;
  font: inherit;
  margin-top: 8px;
  min-height: 54px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 5px 5px 0 rgba(0, 93, 255, 0.12);
  outline: none;
  transform: translate(-2px, -2px);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  background: #e8efdc;
  border-top: 2px solid var(--ink);
}

.footer-main {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 1fr;
  margin: 0 auto;
  max-width: 1280px;
  padding: clamp(58px, 8vw, 92px) clamp(20px, 5vw, 56px);
}

.footer-main h3 {
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-main a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 22px clamp(20px, 5vw, 56px);
}

.reveal {
  opacity: 0;
  transform: translateY(38px) rotate(-1deg);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.catalog-grid .reveal:nth-child(2),
.quality-band .reveal:nth-child(2),
.product-grid .reveal:nth-child(2),
.process-grid .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.catalog-grid .reveal:nth-child(3),
.quality-band .reveal:nth-child(3),
.product-grid .reveal:nth-child(3),
.process-grid .reveal:nth-child(3) {
  transition-delay: 180ms;
}

@keyframes ticker {
  0% { text-indent: 0; }
  50% { text-indent: 44px; }
  100% { text-indent: 0; }
}

@keyframes nudge {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8px, 8px) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .main-nav.open {
    background: var(--paper);
    border-top: 2px solid var(--ink);
    display: grid;
    gap: 18px;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding-top: 20px;
  }

  .hero-overlap {
    display: flex;
    flex-direction: column-reverse;
    min-height: auto;
  }

  .hero-image {
    width: 100%;
  }

  .hero-panel {
    top: auto;
    position: relative;
    left: auto;
    width: 100%;
  }

  .hero-overlap::before {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

  .promo-strip,
  .about-hero,
  .contact-layout,
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .catalog-grid,
  .quality-band,
  .stats,
  .product-grid,
  .process-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .catalog-card.featured {
    transform: none;
  }

  .catalog-card.featured:hover {
    transform: translate(-4px, -7px) rotate(-1deg);
  }

  .pricing-media {
    min-height: 420px;
  }

  .split-heading,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  .site-header {
    margin-top: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand img,
  .footer-brand img {
    height: 46px;
    width: 46px;
  }

  .hero.hero-overlap {
    min-height: calc(100vh - 76px);
    padding-top: 24px;
    padding-bottom: 74px;
  }

  .hero-panel h1 {
    font-size: clamp(3rem, 4.8vw, 4.65rem);
  }

  .hero-image img {
    height: clamp(380px, 35vw, 490px);
  }

  .hero-overlap::before {
    bottom: 14px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .brand span {
    font-size: 1.25rem;
  }

  .hero {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .hero-panel {
    padding: 30px 22px;
  }

  .hero-panel::after {
    right: 18px;
    top: -22px;
    width: 58px;
  }

  .hero-panel h1,
  .page-hero h1,
  .about-panel h1,
  .contact-copy h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .price-pills {
    grid-template-columns: 1fr;
  }
}

/* Hero composition fix: clear hierarchy on desktop and mobile. */
.hero.hero-overlap {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(340px, 0.82fr) minmax(420px, 1fr);
  max-width: 1240px;
  min-height: auto;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(96px, 10vw, 150px);
}

.hero-overlap::before {
  left: auto;
  right: clamp(20px, 5vw, 56px);
  bottom: clamp(28px, 4vw, 54px);
  width: min(610px, 48%);
  height: auto;
  min-height: 64px;
  padding: 18px 24px;
  background: rgba(58, 58, 58, 0.94);
  border-radius: 999px;
  box-shadow: 0 22px 50px rgba(58, 58, 58, 0.16);
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.35;
  text-indent: 0;
  z-index: 3;
}

.hero-panel {
  left: auto;
  max-width: 560px;
  padding: clamp(34px, 5vw, 58px);
  position: relative;
  top: auto;
  width: auto;
  z-index: 4;
}

.hero-panel h1 {
  max-width: 10ch;
  margin-bottom: 26px;
}

.hero-panel p:not(.eyebrow) {
  max-width: 460px;
  margin-bottom: 0;
}

.hero-panel .button {
  margin-top: 30px;
}

.hero-image {
  margin: 0;
  width: 100%;
}

.hero-image img {
  height: clamp(460px, 46vw, 620px);
}

@media (max-width: 980px) {
  .hero.hero-overlap {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 34px 20px 78px;
  }

  .hero-panel {
    order: 1;
    width: 100%;
  }

  .hero-panel h1 {
    max-width: 12ch;
  }

  .hero-image {
    order: 2;
    width: 100%;
  }

  .hero-image img {
    height: min(430px, 76vw);
    object-position: center;
  }

  .hero-overlap::before {
    order: 3;
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 58px;
    margin-top: 0;
    padding: 16px 18px;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .hero.hero-overlap {
    padding: 26px 14px 64px;
  }

  .hero-panel {
    padding: 28px 22px 30px;
  }

  .hero-panel h1 {
    display: block;
    max-width: 11ch;
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 13vw, 3.55rem);
  }

  .hero-panel .eyebrow {
    margin-bottom: 10px;
  }

  .hero-panel p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-panel .button {
    width: 100%;
    margin-top: 22px;
  }

  .hero-image img {
    height: 320px;
    border-radius: 30px;
  }

  .hero-overlap::before {
    border-radius: 24px;
    font-size: 0.78rem;
  }
}

/* Final hero art direction: original composition, clearer hierarchy. */
.hero.hero-overlap {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(500px, 1.1fr);
  grid-template-areas: "copy media";
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  max-width: 1280px;
  min-height: calc(100vh - 92px);
  padding: clamp(34px, 5vw, 66px) clamp(20px, 5vw, 56px) clamp(86px, 8vw, 116px);
}

.hero-panel {
  grid-area: copy;
  align-self: center;
  width: 100%;
  max-width: 520px;
  padding: clamp(28px, 3.4vw, 44px);
  background: linear-gradient(145deg, rgba(255, 253, 247, 0.9), rgba(255, 253, 247, 0.72));
  border: 1px solid rgba(58, 58, 58, 0.08);
  border-radius: 34px;
  box-shadow: 0 26px 80px rgba(58, 58, 58, 0.1);
  backdrop-filter: blur(14px);
}

.hero-panel::after {
  right: -18px;
  top: -22px;
  width: 74px;
}

.hero-panel h1 {
  max-width: 10.5ch;
  margin-bottom: 20px;
  font-size: clamp(3.15rem, 5.2vw, 5.25rem);
  line-height: 0.96;
}

.hero-panel p:not(.eyebrow) {
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-panel .button {
  width: auto;
  min-width: 240px;
  margin-top: 24px;
}

.hero-image {
  grid-area: media;
  align-self: center;
  width: 100%;
}

.hero-image img {
  height: clamp(430px, 39vw, 540px);
  border-radius: 42px 42px 120px 42px;
  object-position: center;
}

.hero-overlap::before {
  left: auto;
  right: clamp(20px, 5vw, 56px);
  bottom: clamp(22px, 3vw, 40px);
  width: min(720px, calc(58% - 20px));
  min-height: 58px;
  padding: 15px 24px;
  border-radius: 24px;
  font-size: clamp(0.85rem, 1.45vw, 1.05rem);
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  animation: none;
  z-index: 5;
}

.promo-strip {
  padding-top: clamp(44px, 6vw, 72px);
}

@media (max-width: 980px) {
  .hero.hero-overlap {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media";
    gap: 22px;
    min-height: auto;
    padding: 30px 20px 38px;
  }

  .hero-panel {
    max-width: none;
    padding: 30px 24px;
  }

  .hero-panel h1 {
    max-width: 10.5ch;
    font-size: clamp(2.9rem, 10vw, 4.4rem);
  }

  .hero-panel .button {
    min-width: 0;
  }

  .hero-image img {
    height: min(460px, 72vw);
    border-radius: 32px 32px 72px 32px;
  }

  .hero-overlap::before {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 0;
    order: 3;
  }
}

@media (max-width: 620px) {
  .hero.hero-overlap {
    padding: 24px 14px 34px;
  }

  .hero-panel {
    border-radius: 28px;
    padding: 26px 22px;
  }

  .hero-panel::after {
    right: 18px;
    top: -20px;
    width: 54px;
  }

  .hero-panel h1 {
    max-width: 11ch;
    margin-bottom: 16px;
    font-size: clamp(2.5rem, 12vw, 3.4rem);
    line-height: 1;
  }

  .hero-panel p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-panel .button {
    width: 100%;
    margin-top: 20px;
  }

  .hero-image img {
    height: 330px;
    border-radius: 28px;
  }

  .hero-overlap::before {
    min-height: auto;
    padding: 14px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .promo-strip {
    padding-top: 44px;
  }
}

/* Wireframe 2 refinement: quieter product-led visual system. */
body {
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 93, 255, 0.11), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(167, 201, 87, 0.24), transparent 22rem),
    linear-gradient(180deg, #fffdf7 0%, var(--cream) 48%, #eef5df 100%);
}

.site-header {
  width: min(1240px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 14px clamp(16px, 3vw, 28px);
  background: rgba(255, 253, 247, 0.86);
  border: 1px solid rgba(58, 58, 58, 0.1);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(58, 58, 58, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 22px 60px rgba(58, 58, 58, 0.12);
  padding-bottom: 12px;
  padding-top: 12px;
  transform: none;
}

.brand img,
.footer-brand img {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0, 93, 255, 0.16);
}

.main-nav {
  justify-self: center;
  gap: 6px;
  padding: 6px;
  background: rgba(58, 58, 58, 0.045);
  border-radius: 999px;
}

.main-nav a {
  border-radius: 999px;
  padding: 9px 14px;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a::after {
  display: none;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(58, 58, 58, 0.08);
}

.mini-action {
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(58, 58, 58, 0.08);
}

.hero-overlap {
  min-height: 760px;
}

.hero-overlap::before {
  background: rgba(58, 58, 58, 0.92);
  border: 0;
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(58, 58, 58, 0.14);
}

.hero-image {
  width: min(68%, 780px);
  transform: none;
}

.hero-image img {
  border: 0;
  border-radius: 38px;
  box-shadow: 0 30px 90px rgba(58, 58, 58, 0.16);
}

.hero-panel {
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(58, 58, 58, 0.1);
  border-radius: 36px;
  box-shadow: 0 28px 80px rgba(58, 58, 58, 0.14);
  color: var(--ink);
}

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

.button.light {
  background: var(--ink);
  color: var(--white);
}

.hero-panel::after {
  border: 0;
  box-shadow: 0 18px 42px rgba(167, 201, 87, 0.28);
}

.hero-panel h1,
.page-hero h1,
.about-panel h1,
.contact-copy h1 {
  font-size: clamp(2.9rem, 5.4vw, 5.25rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.6rem);
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.button {
  border: 0;
  border-radius: 999px;
}

.button:hover {
  box-shadow: 0 16px 34px rgba(0, 93, 255, 0.18);
  transform: translateY(-2px);
}

.promo-box,
.catalog-card,
.product-card,
.pricing-card,
.process-grid article,
.contact-form,
.about-panel {
  border: 1px solid rgba(58, 58, 58, 0.1);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(58, 58, 58, 0.1);
}

.catalog-card,
.product-card,
.pricing-card,
.process-grid article,
.contact-form {
  background: rgba(255, 253, 247, 0.88);
}

.catalog-card:hover,
.product-card:hover,
.pricing-card:hover,
.process-grid article:hover {
  box-shadow: 0 32px 90px rgba(58, 58, 58, 0.14);
  transform: translateY(-6px);
}

.catalog-card.featured,
.catalog-card.featured:hover {
  transform: translateY(24px);
}

.quality-card {
  border: 0;
}

.stat {
  border: 0;
}

.price-pills span,
.pricing-media span {
  border: 0;
  border-radius: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid rgba(58, 58, 58, 0.12);
  border-radius: 18px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
    width: calc(100% - 24px);
  }

  .nav-toggle {
    align-items: center;
    background: var(--ink);
    border-radius: 16px;
    display: flex;
    height: 46px;
    justify-content: center;
    width: 48px;
  }

  .nav-toggle span {
    background: var(--white);
  }

  .main-nav.open {
    background: rgba(255, 253, 247, 0.98);
    border: 1px solid rgba(58, 58, 58, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(58, 58, 58, 0.12);
    margin-top: 8px;
    padding: 14px;
  }

  .main-nav.open a {
    padding: 12px 14px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-panel {
    border-radius: 30px;
  }

  .hero-overlap::before {
    height: auto;
    min-height: 58px;
  }
}

@media (max-width: 620px) {
  .brand img {
    height: 44px;
    width: 44px;
  }

  .brand span {
    max-width: 175px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-panel h1,
  .page-hero h1,
  .about-panel h1,
  .contact-copy h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .hero-image img {
    height: 320px;
  }

  .hero-overlap::before {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding-inline: 16px;
    white-space: normal;
  }

  .catalog-card.featured,
  .catalog-card.featured:hover {
    transform: none;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
}
