/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video,
.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

.hero-picture,
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-picture.is-hidden,
.hero-video.is-hidden {
  display: none !important;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-media video {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--pw-gradient-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: calc(var(--pw-header-h) + var(--pw-space-3xl)) var(--pw-space-4xl);
}

.hero-panel {
  max-width: 560px;
  padding: clamp(var(--pw-space-xl), 5vw, var(--pw-space-3xl));
  border-radius: var(--pw-radius-ripple);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 48px rgba(0, 136, 204, 0.1);
}

/* Fresh section atmosphere */
.section-fresh {
  background: var(--pw-gradient-fresh);
  position: relative;
}

.section-fresh::after,
.section-aqua::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 24 C150 48 350 0 600 24 C850 48 1050 0 1200 24 L1200 48 L0 48 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.section-aqua {
  background: var(--pw-gradient-aqua);
  position: relative;
}

.section-fresh .benefit-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.section-fresh .benefit-card:hover {
  box-shadow: var(--pw-shadow-glow);
}

.hero-brand {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: var(--pw-gradient-water);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--pw-space-md);
}

.hero-headline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--pw-deep-ocean);
  margin-bottom: var(--pw-space-md);
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--pw-river-stone);
  margin-bottom: var(--pw-space-xl);
}

/* Mobile: hero image visible, CTA below (not covering banner) */
@media (max-width: 767px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    overflow: visible;
  }

  .hero-media {
    position: relative;
    flex: none;
    width: 100%;
    height: clamp(320px, 65svh, 540px);
    overflow: hidden;
  }

  .hero-media img,
  .hero-media video,
  .hero-picture img {
    object-fit: cover;
    object-position: top center;
    animation: none;
    transform: none;
  }

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: clamp(320px, 65svh, 540px);
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(247, 249, 252, 0.3) 82%,
      rgba(247, 249, 252, 0.85) 100%
    );
  }

  .hero-content {
    position: relative;
    flex: none;
    padding: var(--pw-space-md) 0 var(--pw-space-2xl);
    margin-top: calc(-1 * var(--pw-space-md));
  }

  .hero-panel {
    max-width: 100%;
    padding: var(--pw-space-lg);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 136, 204, 0.1);
  }

  .hero-brand {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    margin-bottom: var(--pw-space-sm);
  }

  .hero-headline {
    font-size: 1.125rem;
    line-height: 1.35;
  }

  .hero-sub {
    font-size: 0.9375rem;
    margin-bottom: var(--pw-space-lg);
  }

  .hero .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .hero .btn-group .btn {
    width: 100%;
  }
}

/* Benefits */
.benefits-grid {
  display: grid;
  gap: var(--pw-space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  padding: var(--pw-space-xl);
  text-align: center;
  transition: transform var(--pw-transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--pw-space-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 194, 203, 0.2), rgba(0, 136, 204, 0.15));
  color: var(--pw-crystal-blue);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-card h3 {
  margin-bottom: var(--pw-space-sm);
  font-size: 1rem;
}

.benefit-card p {
  font-size: 0.875rem;
  margin: 0 auto;
}

/* Product cards */
.products-grid {
  display: grid;
  gap: var(--pw-space-xl);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .products-grid--catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  padding: var(--pw-space-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--pw-transition), box-shadow var(--pw-transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pw-shadow-glow);
}

.product-card--featured {
  grid-column: 1 / -1;
}

@media (min-width: 960px) {
  .product-card--featured {
    flex-direction: row;
    align-items: center;
    gap: var(--pw-space-2xl);
  }
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--pw-space-lg);
}

.product-card--featured .product-image-wrap {
  flex: 0 0 280px;
  margin-bottom: 0;
}

.product-image-wrap img {
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 136, 204, 0.12));
}

.product-placeholder {
  width: 100%;
  height: 200px;
  border-radius: var(--pw-radius-fluid);
  background: linear-gradient(145deg, var(--pw-ice-frost), rgba(0, 194, 203, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--pw-crystal-blue);
  opacity: 0.6;
}

.product-logo {
  position: absolute;
  top: 0;
  right: 0;
  height: 32px;
  opacity: 0.9;
}

.product-body {
  flex: 1;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pw-crystal-blue);
  margin: var(--pw-space-sm) 0 var(--pw-space-md);
}

.product-desc {
  font-size: 0.9375rem;
  margin-bottom: var(--pw-space-lg);
  flex: 1;
}

/* Featured ice section */
.featured-ice {
  background: var(--pw-gradient-frost);
  position: relative;
  overflow: hidden;
}

.featured-ice::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 35%);
  pointer-events: none;
}

.featured-ice .section-header h2,
.featured-ice .section-header p {
  color: var(--pw-pure-white);
}

.featured-ice .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.featured-ice-inner {
  display: grid;
  gap: var(--pw-space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .featured-ice-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-ice-panel {
  padding: var(--pw-space-2xl);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--pw-radius-ripple);
  color: white;
}

.featured-ice-panel h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: var(--pw-space-md);
}

.featured-ice-panel ul {
  margin: var(--pw-space-lg) 0;
}

.featured-ice-panel li {
  padding: var(--pw-space-sm) 0;
  padding-left: var(--pw-space-lg);
  position: relative;
  font-size: 0.9375rem;
}

.featured-ice-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pw-fresh-aqua);
  font-weight: 700;
}

/* How it works */
.steps-row {
  display: grid;
  gap: var(--pw-space-xl);
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 768px) {
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .steps-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-item {
  text-align: center;
  position: relative;
}

.step-item h3 {
  margin-bottom: var(--pw-space-sm);
}

.step-item p {
  font-size: 0.9375rem;
  margin: 0 auto;
}

.step-bubble {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--pw-space-lg);
  border-radius: 50%;
  background: var(--pw-ice-frost);
  border: 2px dashed var(--pw-fresh-aqua);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pw-crystal-blue);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: var(--pw-space-xl);
  grid-template-columns: 1fr;
  justify-items: stretch;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid:not(.testimonials-grid--home) > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--pw-space-xl) / 2);
    justify-self: center;
  }
}

@media (min-width: 768px) {
  .testimonials-grid--home {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid--home > :last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}

@media (min-width: 960px) {
  .testimonials-grid--page {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonials-cta {
  text-align: center;
  margin-top: var(--pw-space-2xl);
}

.testimonial-card {
  padding: var(--pw-space-xl);
  position: relative;
  border-radius: 24px 24px 24px 8px;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 4rem;
  line-height: 1;
  color: var(--pw-ice-frost);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--pw-space-md);
  margin-bottom: var(--pw-space-md);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-meta h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-meta span {
  font-size: 0.8125rem;
  color: var(--pw-river-stone);
}

.testimonial-text {
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--pw-space-md);
}

/* Page hero (inner pages) */
.page-hero {
  padding-block: calc(var(--pw-header-h) + var(--pw-space-3xl)) var(--pw-space-2xl);
  background: linear-gradient(180deg, var(--pw-ice-frost) 0%, var(--pw-glass-frost) 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: var(--pw-space-md);
}

.page-hero p {
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* Order page */
.order-layout {
  display: grid;
  gap: var(--pw-space-2xl);
}

@media (min-width: 960px) {
  .order-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

.order-form-panel {
  padding: clamp(var(--pw-space-xl), 4vw, var(--pw-space-2xl));
}

.order-summary {
  padding: var(--pw-space-xl);
  position: sticky;
  top: calc(var(--pw-header-h) + var(--pw-space-lg));
}

.order-summary h3 {
  margin-bottom: var(--pw-space-lg);
  padding-bottom: var(--pw-space-md);
  border-bottom: 1px solid var(--pw-ice-frost);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--pw-space-sm);
  font-size: 0.9375rem;
}

.summary-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pw-crystal-blue);
  margin-top: var(--pw-space-md);
  padding-top: var(--pw-space-md);
  border-top: 2px solid var(--pw-ice-frost);
}

/* About */
.about-split {
  display: grid;
  gap: var(--pw-space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  border-radius: var(--pw-radius-ripple);
  overflow: hidden;
  box-shadow: var(--pw-shadow-soft);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.about-values {
  display: grid;
  gap: var(--pw-space-lg);
  margin-top: var(--pw-space-2xl);
}

.value-item {
  padding: var(--pw-space-lg);
  display: flex;
  gap: var(--pw-space-md);
  align-items: flex-start;
}

.value-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--pw-fresh-aqua);
  margin-top: 2px;
}

.map-section {
  margin-top: var(--pw-space-2xl);
}

.map-embed {
  border-radius: var(--pw-radius-fluid);
  overflow: hidden;
  margin-top: var(--pw-space-lg);
  box-shadow: var(--pw-shadow-soft);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* Policy */
.policy-content {
  max-width: 760px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: var(--pw-space-2xl);
  margin-bottom: var(--pw-space-md);
  font-size: 1.25rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  font-size: 0.9375rem;
  margin-bottom: var(--pw-space-md);
}

.policy-content ul {
  list-style: disc;
  padding-left: var(--pw-space-xl);
  margin-bottom: var(--pw-space-lg);
}

/* CTA band */
.cta-band {
  background: var(--pw-gradient-water);
  color: white;
  text-align: center;
  padding-block: var(--pw-space-3xl);
}

.cta-band h2 {
  color: white;
  margin-bottom: var(--pw-space-md);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto var(--pw-space-xl);
}

.cta-band .btn-secondary {
  background: white;
  border-color: white;
}

/* Service area */
.service-area__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-area__content h2,
.service-area__content p {
  margin-inline: auto;
  text-align: center;
}

.service-area {
  text-align: center;
}

.service-radius {
  display: inline-flex;
  align-items: center;
  gap: var(--pw-space-sm);
  padding: var(--pw-space-md) var(--pw-space-xl);
  border-radius: var(--pw-radius-pill);
  background: var(--pw-ice-frost);
  color: var(--pw-crystal-blue);
  font-weight: 600;
  margin: var(--pw-space-lg) 0;
}

/* FAQ accordion */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 136, 204, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--pw-space-lg) 0;
  font-weight: 600;
  color: var(--pw-deep-ocean);
  text-align: left;
  gap: var(--pw-space-md);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--pw-transition);
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 24rem;
  padding-bottom: var(--pw-space-lg);
  background: var(--pw-ice-frost);
  margin: 0 calc(-1 * var(--pw-space-md));
  padding-inline: var(--pw-space-md);
  border-radius: var(--pw-radius-soft);
}

.faq-answer p {
  font-size: 0.9375rem;
  padding-top: var(--pw-space-sm);
}

/* Order notice */
.section--compact {
  padding-top: 0;
}

.order-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--pw-space-md);
  padding: var(--pw-space-lg);
  border-left: 4px solid var(--pw-aqua-500);
  color: var(--pw-deep-ocean);
}

.order-notice svg {
  flex-shrink: 0;
  color: var(--pw-aqua-500);
  margin-top: 2px;
}

.order-notice p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  letter-spacing: 0.025em;
  word-spacing: 0.05em;
}


/* Ripple effect on primary buttons */
.btn-primary .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
