﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --topbar-height: 0px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section p {
  color: var(--color-muted);
  max-width: 640px;
}

.has-brand-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.has-brand-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/logo/vector_logo_gold.svg");
  background-repeat: no-repeat;
  background-size: var(--brand-size, min(900px, 78vw, 70vh));
  background-position: var(--brand-x, 78%) var(--brand-y, 55%);
  opacity: var(--brand-opacity, 0.10);
  transform: rotate(var(--brand-rotate, -8deg)) scale(var(--brand-scale, 0.94));
  transform-origin: center;
  mix-blend-mode: soft-light;
  filter: blur(0.8px) saturate(0.95) contrast(1.08) brightness(1.02) drop-shadow(0 0 18px rgba(198, 153, 86, 0.10));
  -webkit-mask-image: radial-gradient(circle at 55% 55%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 55%, rgba(0, 0, 0, 0.35) 78%, rgba(0, 0, 0, 0) 92%);
  mask-image: radial-gradient(circle at 55% 55%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 55%, rgba(0, 0, 0, 0.35) 78%, rgba(0, 0, 0, 0) 92%);
  pointer-events: none;
  z-index: 1;
}

.has-brand-bg > .section-content {
  position: relative;
  z-index: 2;
}

#carritos.has-brand-bg {
  --brand-opacity: 0.10;
  --brand-size: min(950px, 80vw, 70vh);
  --brand-x: 78%;
  --brand-y: 58%;
  --brand-rotate: -8deg;
  --brand-scale: 0.94;
}

#como-funciona.has-brand-bg {
  --brand-opacity: 0.09;
  --brand-size: min(900px, 78vw, 62vh);
  --brand-x: 70%;
  --brand-y: 45%;
  --brand-rotate: -10deg;
  --brand-scale: 0.93;
}

#galeria.has-brand-bg {
  --brand-opacity: 0.085;
  --brand-size: min(900px, 78vw, 64vh);
  --brand-x: 76%;
  --brand-y: 52%;
  --brand-rotate: -7deg;
  --brand-scale: 0.94;
}

#preguntas.has-brand-bg {
  --brand-opacity: 0.10;
  --brand-size: min(950px, 80vw, 70vh);
  --brand-x: 74%;
  --brand-y: 52%;
  --brand-rotate: -8deg;
  --brand-scale: 0.94;
}

#contacto.has-brand-bg {
  --brand-opacity: 0.11;
  --brand-size: min(980px, 82vw, 72vh);
  --brand-x: 78%;
  --brand-y: 50%;
  --brand-rotate: -8deg;
  --brand-scale: 0.94;
}

.carritos {
  position: relative;
  overflow: hidden;
}

.carritos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/patterns/food-pattern.svg");
  background-repeat: repeat;
  background-size: 420px 420px;
  opacity: 0.20;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 1) 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 1) 100%);
}

.carritos .container {
  position: relative;
  z-index: 1;
}

.how {
  position: relative;
  overflow: hidden;
}

.how.has-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/patterns/how-pattern.svg");
  background-repeat: repeat;
  background-size: 420px 420px;
  opacity: 0.20;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.9) 78%, rgba(0, 0, 0, 1) 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.9) 78%, rgba(0, 0, 0, 1) 100%);
}

.how .container {
  position: relative;
  z-index: 1;
}

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

.how-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin-bottom: 34px;
}

.how-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid rgba(198, 154, 98, 0.22);
  background: linear-gradient(140deg, rgba(21, 17, 13, 0.92), rgba(10, 8, 6, 0.96));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.step-icon-slot {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.step-icon {
  width: 70%;
  height: 70%;
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.step-badge {
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(21, 17, 13, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.2px;
}

.how-card h3 {
  font-size: 1.25rem;
}

.how-card p {
  color: rgba(244, 239, 230, 0.82);
}

.how-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: -6px;
}

.gallery {
  position: relative;
  overflow: hidden;
  --gallery-row-size: 56px;
  --gallery-col-size: 140px;
  --gallery-col-width: clamp(260px, 18vw, 320px);
}

.gallery.has-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/patterns/gallery-pattern.svg");
  background-repeat: repeat;
  background-size: 520px 520px;
  opacity: 0.20;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.85) 78%, rgba(0, 0, 0, 1) 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.85) 78%, rgba(0, 0, 0, 1) 100%);
}

.gallery .container {
  position: relative;
  z-index: 1;
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 154, 98, 0.2);
  background: rgba(13, 11, 8, 0.6);
  padding: 18px;
}

.gallery-carousel.is-static {
  overflow-x: auto;
  scrollbar-width: thin;
}

.gallery-track {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  will-change: transform;
}

.gallery-track.is-static {
  transform: none;
}

.gallery-masonry {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: var(--gallery-col-width);
}

.gallery-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(198, 154, 98, 0.2);
  box-shadow: var(--shadow-soft);
  background: #0f0c09;
  cursor: pointer;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(198, 154, 98, 0.08), rgba(0, 0, 0, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-tile:hover::after {
  opacity: 1;
}

.tile--sm {
  height: clamp(160px, 18vw, 190px);
}

.tile--md {
  height: clamp(220px, 24vw, 260px);
}

.tile--lg {
  height: clamp(320px, 30vw, 380px);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 10000;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.82);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 980px);
  max-height: 86vh;
  display: grid;
  place-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 154, 98, 0.25);
  box-shadow: var(--shadow-soft);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(198, 154, 98, 0.3);
  background: rgba(13, 11, 8, 0.9);
  color: var(--color-text);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.faq {
  position: relative;
}

.faq-selector {
  position: relative;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(198, 154, 98, 0.25);
  background: rgba(13, 11, 8, 0.65);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.faq-selector-track {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}

.faq-selector-track::-webkit-scrollbar {
  height: 4px;
}

.faq-selector-track::-webkit-scrollbar-thumb {
  background: rgba(198, 154, 98, 0.4);
  border-radius: 999px;
}

.faq-tab {
  position: relative;
  border: none;
  background: transparent;
  color: var(--color-text);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  scroll-snap-align: start;
  white-space: nowrap;
  z-index: 1;
}

.faq-tab.is-active {
  color: #1a1206;
}

.faq-indicator {
  position: absolute;
  inset: 6px auto 6px 6px;
  height: calc(100% - 12px);
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-strong));
  border-radius: 999px;
  transition: transform 0.3s ease, width 0.3s ease;
  z-index: 0;
}

.faq-panel {
  margin-top: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 154, 98, 0.2);
  background: rgba(13, 11, 8, 0.6);
  padding: 12px;
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(198, 154, 98, 0.12);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--color-text);
  padding: 16px 14px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--color-accent);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 14px 16px;
  color: rgba(244, 239, 230, 0.82);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 240px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .faq-indicator,
  .faq-answer,
  .faq-question::after {
    transition: none;
  }
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
}

/* Topbar + header layout */
.topbar,
.mobile-topbar {
  position: sticky;
  top: 0;
  z-index: 11;
  display: none;
  background: var(--color-accent);
  color: rgba(26, 18, 6, 0.92);
  border-bottom: 1px solid rgba(26, 18, 6, 0.2);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 20px;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: inherit;
  transition: opacity 0.2s ease;
}

.topbar__link:hover {
  opacity: 0.85;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.topbar__icon {
  width: 18px;
  height: 18px;
  display: block;
}

.mobile-topbar {
  height: 30px;
}

.mobile-topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: inherit;
}

.site-header {
  position: sticky;
  top: var(--topbar-height);
  z-index: 10;
  background: rgba(13, 11, 8, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  gap: 32px;
}

.brand {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.mobile-action {
  display: none;
  align-items: center;
  justify-content: center;
}

.mobile-action__icon {
  width: 24px;
  height: 24px;
  display: block;
}

.brand-logo {
  display: block;
  height: 78px;
  width: auto;
  max-height: 78px;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.brand:hover .brand-logo {
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(198, 154, 98, 0.35));
}

.nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--color-surface);
  padding: 10px;
  border-radius: var(--radius-md);
  position: absolute;
  top: 68px;
  right: 5%;
  box-shadow: var(--shadow-soft);
}

.nav a {
  color: var(--color-text);
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--color-accent);
}

.nav-open .nav {
  display: flex;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  background-color: var(--color-bg);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  background: rgba(6, 5, 4, 0.55);
}

.hero::after {
  background: linear-gradient(120deg, rgba(6, 5, 4, 0.85), rgba(6, 5, 4, 0.2) 55%, rgba(6, 5, 4, 0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.hero .lead {
  font-size: 1.1rem;
  color: rgba(244, 239, 230, 0.85);
  max-width: 560px;
}

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

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-layer.is-active {
  opacity: 1;
}

.hero.hero-fallback .hero-layer {
  opacity: 0;
}

.hero.hero-fallback .hero-layer.is-active {
  opacity: 1;
  background-image: linear-gradient(120deg, rgba(198, 154, 98, 0.25), rgba(13, 11, 8, 0.95));
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(21, 17, 13, 0.75);
  color: var(--color-text);
  font-size: 0.85rem;
  letter-spacing: 0.2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-strong));
  color: #1a1206;
  box-shadow: 0 10px 20px rgba(198, 154, 98, 0.35);
}

.btn-ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

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

.carritos-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.carrito-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(198, 154, 98, 0.25);
  box-shadow: var(--shadow-soft);
  background-color: #0f0c09;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.carrito-card::before,
.carrito-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.carrito-card::before {
  background: rgba(6, 5, 4, 0.45);
}

.carrito-card::after {
  background: linear-gradient(180deg, rgba(6, 5, 4, 0.05) 10%, rgba(6, 5, 4, 0.85) 85%);
}

.carrito-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.carrito-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.card-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.card-layer.is-active {
  opacity: 1;
}

.carrito-card.card-fallback .card-layer {
  opacity: 0;
}

.carrito-card.card-fallback .card-layer.is-active {
  opacity: 1;
  background-image: linear-gradient(120deg, rgba(198, 154, 98, 0.2), rgba(13, 11, 8, 0.95));
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  text-align: center;
}

.card-content h3 {
  font-size: 1.4rem;
}

.card-content p {
  color: rgba(244, 239, 230, 0.85);
  font-size: 0.98rem;
}

.card-tagline {
  font-weight: 600;
  color: var(--color-text);
}

.btn-card {
  margin-top: 6px;
  padding: 10px 18px;
  font-size: 0.92rem;
  background: rgba(244, 239, 230, 0.14);
  color: var(--color-text);
  border: 1px solid rgba(244, 239, 230, 0.3);
  box-shadow: none;
}

.carrito-card:hover .btn-card,
.carrito-card:focus-visible .btn-card {
  background: rgba(244, 239, 230, 0.22);
}

.carritos-bullets {
  display: grid;
  gap: 22px;
  margin: 22px 0 28px;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.carritos-cta {
  display: flex;
  justify-content: center;
}

.contact {
  position: relative;
}

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

.contact-info {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-info h3 {
  font-size: 1.3rem;
}

.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 154, 98, 0.25);
  background: rgba(13, 11, 8, 0.75);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  backdrop-filter: blur(8px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(198, 154, 98, 0.25);
  background: rgba(8, 7, 5, 0.9);
  color: var(--color-text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(224, 182, 122, 0.7);
  box-shadow: 0 0 0 2px rgba(224, 182, 122, 0.2);
}

.form-field input:invalid,
.form-field select:invalid,
.form-field textarea:invalid {
  border-color: rgba(217, 96, 87, 0.6);
}

.input-group {
  display: grid;
  grid-template-columns: auto 1fr;
  border-radius: 12px;
  border: 1px solid rgba(198, 154, 98, 0.25);
  background: rgba(8, 7, 5, 0.9);
  overflow: hidden;
}

.input-group .input-prefix {
  padding: 12px 14px;
  color: var(--color-muted);
  border-right: 1px solid rgba(198, 154, 98, 0.2);
}

.input-group input {
  border: none;
  background: transparent;
}

.helper-text {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.combobox {
  position: relative;
}

.combobox-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(13, 11, 8, 0.98);
  border: 1px solid rgba(198, 154, 98, 0.2);
  border-radius: 12px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: var(--shadow-soft);
  display: none;
  z-index: 5;
}

.combobox-list.is-open {
  display: grid;
}

.combobox-option {
  text-align: left;
  background: transparent;
  color: var(--color-text);
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
}

.combobox-option.is-active,
.combobox-option:hover {
  background: rgba(198, 154, 98, 0.12);
}

.legal-text {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.site-footer {
  padding: 40px 0;
  color: var(--color-muted);
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  background: #26d366;
  color: #ffffff;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
  background: #1fb957;
}

.wa-icon {
  width: 56px;
  height: 56px;
  display: block;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 32px;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .brand-logo {
    height: 78px;
    max-height: 78px;
  }

  .nav-toggle {
    display: none;
  }

  .section {
    padding: 100px 0;
  }

  .hero-content {
    gap: 22px;
  }

  .hero {
    min-height: 80vh;
  }

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

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

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

  .step-icon-slot {
    height: 122px;
  }

  .gallery {
    --gallery-col-width: clamp(240px, 26vw, 300px);
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    height: 78px;
    max-height: 78px;
  }

  .header-inner {
    padding: 16px 0;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }

  .wa-icon {
    width: 52px;
    height: 52px;
  }
}

@media (min-width: 1024px) {
  .brand-logo {
    height: 80px;
    max-height: 80px;
  }
}

@media (min-width: 1024px) {
  .carritos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .carritos-bullets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .gallery {
    --gallery-col-width: clamp(260px, 20vw, 320px);
  }
}

@media (max-width: 640px) {
  .carritos::before {
    opacity: 0.20;
    background-size: 460px 460px;
  }

  .how.has-pattern::before {
    opacity: 0.20;
    background-size: 460px 460px;
  }

  .gallery {
    --gallery-col-width: clamp(280px, 72vw, 340px);
  }

  .gallery.has-pattern::before {
    opacity: 0.035;
    background-size: 520px 520px;
  }
}

@media (min-width: 1024px) {
  :root {
    --topbar-height: 38px;
  }

  .topbar {
    display: block;
  }

  .mobile-topbar {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --topbar-height: 30px;
  }

  .mobile-topbar {
    display: block;
  }

  .topbar {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .brand {
    justify-self: center;
  }

  .mobile-action {
    display: inline-flex;
    justify-self: start;
  }
}
