:root {
  --radius: 0.625rem;
  --background: oklch(0.99 0.008 80);
  --foreground: oklch(0.18 0.02 60);
  --card: oklch(1 0 0);
  --primary: oklch(0.62 0.12 65);
  --secondary: oklch(0.96 0.02 80);
  --muted: oklch(0.95 0.015 80);
  --muted-foreground: oklch(0.5 0.03 65);
  --border: oklch(0.9 0.02 80);
  --bronze: oklch(0.55 0.13 55);
  --bronze-dark: oklch(0.32 0.08 55);
  --gold: oklch(0.78 0.14 82);
  --whatsapp: oklch(0.62 0.17 145);
  --gradient-bronze: linear-gradient(135deg, oklch(0.55 0.13 55), oklch(0.78 0.14 82));
  --shadow-elegant: 0 20px 50px -15px oklch(0.32 0.08 55 / 0.35);
  --shadow-gold: 0 10px 30px -10px oklch(0.78 0.14 82 / 0.5);
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand,
.footer-brand {
  font-family: var(--font-display);
}

.section-shell {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

.text-gradient {
  background: var(--gradient-bronze);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid oklch(0.9 0.02 80 / 0.4);
  background: oklch(0.99 0.008 80 / 0.8);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - 32px, 1280px);
  min-height: 73px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-bronze);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 32px;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 999px;
  background: var(--whatsapp);
  padding: 8px 16px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 10px 24px oklch(0.18 0.02 60 / 0.16);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-whatsapp:hover,
.button-whatsapp:hover,
.popup-whatsapp:hover {
  filter: brightness(1.08);
}

.header-whatsapp img,
.button img,
.footer-whatsapp img,
.popup-whatsapp img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 73px;
  color: #fff;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(180deg, oklch(0.15 0.02 60 / 0.55), oklch(0.15 0.02 60 / 0.75) 60%, oklch(0.15 0.02 60 / 0.95));
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 73px);
  align-items: center;
  gap: 48px;
  padding-block: 64px;
}

.hero-copy {
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  border: 1px solid oklch(0.78 0.14 82 / 0.4);
  border-radius: 999px;
  background: rgb(0 0 0 / 0.3);
  padding: 7px 16px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  animation: dotPulse 1.4s ease-in-out infinite;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero-copy > p {
  max-width: 600px;
  margin-top: 24px;
  color: rgb(255 255 255 / 0.86);
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px) scale(1.015);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
}

.button-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 18px 34px rgb(0 0 0 / 0.24);
}

.button-bronze {
  background: var(--gradient-bronze);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
  border-top: 1px solid rgb(255 255 255 / 0.15);
  padding-top: 24px;
}

.hero-stats article {
  min-width: 96px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: 96px;
}

.about-media {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
}

.about-glow {
  position: absolute;
  inset: -12px;
  border-radius: 24px;
  background: var(--gradient-bronze);
  opacity: 0.2;
  filter: blur(24px);
}

.about-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-elegant);
}

.kicker {
  color: var(--bronze);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about h2,
.section-heading h2,
.final-cta h2 {
  margin-top: 12px;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
}

.lead,
.section-heading p {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.lead {
  margin-top: 24px;
}

.lead strong {
  color: var(--foreground);
}

.check-list,
.popup-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.popup-list li {
  position: relative;
  min-height: 24px;
  margin-top: 12px;
  padding-left: 34px;
}

.check-list li::before,
.popup-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gradient-bronze);
}

.check-list li::after,
.popup-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.about-button {
  margin-top: 32px;
}

.machines-section,
.reviews-section {
  border-block: 1px solid var(--border);
  background: oklch(0.96 0.02 80 / 0.4);
  padding-block: 96px;
}

.section-heading {
  max-width: 690px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  margin-top: 16px;
}

.machines-grid {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}

.machine-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.machine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

.machine-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--secondary);
}

.machine-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.machine-card:hover .machine-image img {
  transform: scale(1.05);
}

.machine-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  background: var(--gradient-bronze);
  padding: 4px 10px;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgb(0 0 0 / 0.18);
}

.machine-body {
  display: flex;
  min-height: 236px;
  flex-direction: column;
  padding: 24px;
}

.machine-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}

.machine-body p {
  flex: 1;
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.machine-body .button {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 12px 16px;
  font-size: 0.875rem;
}

.rating-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--foreground);
  font-size: 0.875rem;
}

.rating-line span,
.reviews-score p {
  color: var(--muted-foreground);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.reviews-layout {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}

.reviews-score {
  text-align: center;
}

.reviews-score h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 900;
}

.reviews-score .stars {
  justify-content: center;
  margin-top: 12px;
}

.reviews-score p {
  margin-top: 12px;
  font-size: 0.875rem;
}

.reviews-score strong {
  color: var(--foreground);
}

.google-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
}

.google-line svg {
  width: 20px;
  height: 20px;
}

.carousel-wrap {
  position: relative;
  min-width: 0;
}

.reviews-wrap {
  width: 100%;
  max-width: calc(100vw - 32px);
  margin-inline: auto;
  padding-inline: 28px;
}

.carousel-window {
  overflow: hidden;
}

.reviews-wrap .carousel-window {
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.review-slide,
.media-slide {
  flex: 0 0 var(--slide-width, 100%);
  min-width: 0;
  padding-inline: 6px;
}

.review-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 18px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 0.04);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--gradient-bronze);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
}

.review-meta {
  min-width: 0;
  flex: 1;
}

.review-meta strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1.2;
}

.review-meta span {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.google-icon {
  width: 20px;
  height: 20px;
}

.review-card .stars {
  margin-top: 16px;
}

.review-card p {
  margin-top: 12px;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
}

.carousel-button,
.round-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--gradient-bronze);
  color: #fff;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.2);
  transition: transform 0.2s ease;
}

.carousel-button:hover,
.round-button:hover {
  transform: scale(1.08);
}

.carousel-button svg,
.round-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
}

.carousel-button:hover {
  transform: translateY(-50%) scale(1.08);
}

.carousel-button.prev {
  left: 0;
}

.carousel-button.next {
  right: 0;
}

.gallery-section {
  padding-block: 96px;
}

.gallery-block {
  margin-top: 48px;
}

.photos-block {
  margin-top: 64px;
}

.gallery-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.gallery-title-row h3 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 800;
}

.desktop-arrows {
  display: none;
  gap: 8px;
}

.gallery-wrap {
  padding-inline: 40px;
}

.media-slide {
  padding-inline: 8px;
}

.media-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  background: var(--secondary);
  box-shadow: var(--shadow-elegant);
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card img {
  transition: transform 0.55s ease;
}

.media-card:hover img {
  transform: scale(1.05);
}

.media-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 16px 16px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.82), transparent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  pointer-events: none;
}

.mobile-only {
  display: grid;
}

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--gradient-bronze);
  padding-block: 96px;
  color: #fff;
  text-align: center;
}

.final-cta p {
  margin-top: 16px;
  color: rgb(255 255 255 / 0.9);
  font-size: 1.125rem;
}

.final-button {
  margin-top: 32px;
  background: #fff;
  color: var(--bronze-dark);
  font-size: 1.0625rem;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.22);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
  background: var(--background);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
}

.site-footer p:not(.footer-brand) {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--whatsapp);
  font-size: 0.875rem;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 999px;
  background: var(--whatsapp);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.26);
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

.floating-whatsapp img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.popup[hidden] {
  display: none;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.6);
  backdrop-filter: blur(5px);
}

.popup-card {
  position: relative;
  width: min(100%, 448px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.36);
  animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.62);
  color: #fff;
}

.popup-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.popup-image {
  width: 100%;
  height: 224px;
  object-fit: cover;
  object-position: center;
}

.popup-body {
  padding: 24px;
}

.popup-offer {
  border-radius: 20px;
  background: var(--gradient-bronze);
  padding: 24px;
  color: #fff;
  text-align: center;
  box-shadow: 0 14px 30px oklch(0.32 0.08 55 / 0.22);
}

.popup-offer span {
  display: inline-block;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.25);
  padding: 5px 12px;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
}

.popup-offer h2 {
  margin-top: 12px;
  font-size: 3rem;
  line-height: 0.96;
  font-weight: 900;
}

.popup-offer p {
  margin-top: 12px;
  color: rgb(255 255 255 / 0.95);
  font-size: 0.875rem;
  line-height: 1.5;
}

.popup-list {
  margin-top: 20px;
}

.popup-list li {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.popup-list li::before {
  background: #dcfce7;
}

.popup-list li::after {
  border-color: #16a34a;
}

.popup-whatsapp {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 24px rgb(0 0 0 / 0.16);
}

.popup-no {
  width: 100%;
  margin-top: 8px;
  background: transparent;
  padding: 8px;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 oklch(0.62 0.17 145 / 0.6);
  }
  50% {
    box-shadow: 0 0 0 14px oklch(0.62 0.17 145 / 0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease-out both;
}

.pulse-glow {
  animation: pulseGlow 2s infinite;
}

@media (min-width: 640px) {
  .section-shell {
    width: min(100% - 48px, 1280px);
  }

  .header-whatsapp span {
    display: inline;
  }

  .machines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-wrap {
    max-width: min(100%, 896px);
    padding-inline: 54px;
  }

  .gallery-wrap {
    padding-inline: 0;
  }

  .mobile-only {
    display: none;
  }

  .desktop-arrows {
    display: flex;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .about {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    padding-block: 96px;
  }

  .about {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .about-media {
    margin-inline: 0;
  }

  .machines-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .reviews-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .reviews-score {
    text-align: left;
  }

  .reviews-score .stars,
  .google-line {
    justify-content: flex-start;
  }
}

@media (max-width: 639px) {
  .header-whatsapp {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .header-whatsapp span {
    display: none;
  }

  .brand {
    font-size: 1.375rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: 660px;
    padding-block: 72px 48px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .about,
  .machines-section,
  .reviews-section,
  .gallery-section,
  .final-cta {
    padding-block: 72px;
  }

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

  .section-heading h2,
  .about h2,
  .final-cta h2 {
    font-size: 2.25rem;
  }

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

  .floating-whatsapp img {
    width: 32px;
    height: 32px;
  }

  .popup-body {
    padding: 18px;
  }
}
