/**
 * BOSC Maderas y Tableros - Front Styles
 * Diseño completo con CSS variables y estilos para todas las secciones
 */

:root {
  /* Natural palette inspired by tree rings and earth tones */
  --background: 35 25% 97%;
  --foreground: 25 35% 18%;
  
  /* Status bar - dark earth brown */
  --status-bar: 25 40% 15%;
  --status-bar-foreground: 40 30% 95%;
  
  /* Navigation - warm beige */
  --nav-background: 35 20% 98%;
  --nav-foreground: 25 35% 20%;
  --nav-hover: 25 45% 25%;
  
  /* Primary - rich brown like tree rings */
  --primary: 25 45% 28%;
  --primary-foreground: 40 30% 95%;
  --primary-hover: 25 50% 35%;
  
  /* Brand green - forest/nature accent */
  --brand-green: 145 35% 32%;
  --brand-green-foreground: 0 0% 100%;
  --brand-green-hover: 145 40% 26%;
  
  /* Border - medium brown ring */
  --border: 30 20% 85%;
  
  /* Muted - soft beige */
  --muted-foreground: 25 20% 45%;
}

/* Base */
* {
  box-sizing: border-box;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Page content (páginas estáticas) – mismo layout que React Info/PrivacyPolicy/Terms */
.site-main .page-content {
  max-width: 56rem; /* max-w-4xl como en Info.tsx, PrivacyPolicy, TermsOfService */
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1.5rem 4rem; /* py-12 px-6 */
}
.site-main .page-header {
  margin-bottom: 2rem; /* mb-8 */
  text-align: center;
}
.site-main .page-title {
  font-size: 1.875rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) {
  .site-main .page-title {
    font-size: 2.25rem; /* text-3xl md:text-4xl */
  }
}
.site-main .page-body.entry-content {
  font-weight: 300;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}
.site-main .page-body.entry-content p {
  margin: 0 0 1rem;
}
.site-main .page-body.entry-content p:last-child {
  margin-bottom: 0;
}
.site-main .page-body.entry-content ul,
.site-main .page-body.entry-content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.site-main .page-body.entry-content li {
  margin-bottom: 0.5rem;
}
.site-main .page-body.entry-content li:last-child {
  margin-bottom: 0;
}
.site-main .page-body.entry-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
  color: hsl(var(--foreground));
}
.site-main .page-body.entry-content h2:first-child {
  margin-top: 0;
}

/* Header - design matching React (dark bar + light nav, logo centered) */
.site-header {
  width: 100%;
  z-index: 50;
}

.social-bar {
  width: 100%;
  background: hsl(var(--status-bar));
  color: hsl(var(--status-bar-foreground));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-bar-phone {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.social-bar-phone:hover {
  color: hsl(var(--status-bar-foreground));
}

.social-bar-links {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  padding: 0.25rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
}

.social-link:hover {
  color: hsl(var(--status-bar-foreground));
  background: rgba(255, 255, 255, 0.1);
}

.social-link .icon {
  width: 1rem;
  height: 1rem;
}

/* Navigation - sticky only the menu bar (social bar scrolls away) */
.main-navigation.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--nav-background));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.75rem 1.25rem;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Logo centered (absolute so menu and actions can sit on sides) */
.site-logo,
.site-logo-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.site-logo a,
.site-logo-text {
  display: block;
}

.site-logo img,
.site-logo .site-logo-img {
  max-height: 3.5rem;
  width: auto;
  display: block;
}

.site-logo-text {
  font-size: 1.25rem;
  font-weight: 400;
  color: hsl(var(--nav-foreground));
  text-decoration: none;
}

.site-logo-text:hover {
  color: hsl(var(--nav-hover));
}

/* Left: menu (wrapper keeps logo centered) */
.nav-menu-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.nav-inner .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-menu li {
  margin: 0;
  list-style: none;
  position: relative;
}

.nav-menu a {
  color: hsl(var(--nav-foreground));
  text-decoration: none;
  font-weight: 300;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: hsl(var(--nav-hover));
}

/* Right: cart + menu toggle */
.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.nav-cart {
  background: none;
  border: none;
  color: hsl(var(--nav-foreground));
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  transition: color 0.2s, transform 0.2s;
}

.nav-cart:hover {
  color: hsl(var(--nav-hover));
}

.nav-cart {
  position: relative;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  font-size: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: hsl(var(--nav-foreground));
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

/* Hero Section */
.hero-section {
  width: 100%;
  position: relative;
  margin-bottom: 4rem;
}

.hero-slides-container {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.hero-caption-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 1.5rem;
  opacity: 0;
  transition: opacity 0.6s ease-out;
  box-sizing: border-box;
}

.hero-caption-content.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-caption-inner {
  max-width: 56rem;
  width: 100%;
}

.hero-title,
.hero-subtitle {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 300;
  margin: 0.25rem 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-description {
  font-size: clamp(0.9375rem, 1.25vw, 1.125rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  margin: 0.5rem auto 0;
  line-height: 1.5;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
  transition: color 0.2s;
}

.hero-nav:hover {
  color: white;
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

/* Hero dots - same bar style as Google Reviews section */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.hero-dot {
  height: 4px;
  width: 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
  background: white;
}

.hero-dot-prev,
.hero-dot-next {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.hero-dot-prev:hover,
.hero-dot-next:hover {
  color: white;
}

/* Sections */
.homepage-sections {
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

/* Lo más buscado - closer to screen edges like header */
.lo-mas-buscado-section .section-inner {
  max-width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.products-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.products-carousel-arrow {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.9);
  color: hsl(var(--foreground));
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-top: -1rem;
}

.products-carousel-arrow:hover {
  background: hsl(var(--background));
  border-color: hsl(var(--border));
}

@media (min-width: 768px) {
  .products-carousel-arrow {
    display: flex;
  }
}

.products-carousel-prev {
  order: 1;
}

.products-carousel-next {
  order: 3;
}

.products-carousel {
  order: 2;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0.25rem;
}

@media (min-width: 768px) {
  .products-carousel {
    padding: 0 0.5rem;
  }
}

.products-carousel::-webkit-scrollbar {
  display: none;
}

.products-carousel-track {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 1rem;
}

.product-card {
  position: relative;
  flex: 0 0 calc(45% - 0.375rem);
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .product-card {
    flex: 0 0 calc(33.333% - 0.5rem);
  }
}

@media (min-width: 768px) {
  .product-card {
    flex: 0 0 calc(25% - 0.5625rem);
  }
}

@media (min-width: 1024px) {
  .product-card {
    flex: 0 0 calc(20% - 0.6rem);
  }
}

.product-link {
  text-decoration: none;
  color: inherit;
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  max-width: 200px;
  margin: 0 auto 0.5rem;
  overflow: hidden;
  background: hsl(var(--muted-foreground) / 0.1);
}

@media (min-width: 768px) {
  .product-image-wrapper {
    max-width: none;
  }
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bosc-badge-oferta {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border-radius: 0;
}

.product-info {
  text-align: center;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.product-quick-view-btn {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: hsl(var(--foreground));
  background: transparent;
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.product-quick-view-btn:hover {
  background: hsl(var(--muted-foreground) / 0.08);
  border-color: hsl(var(--primary));
}

.product-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.4;
}

/* Brands - una línea, caben en pantalla, bordes redondeados */
.brands-section {
  padding: 2rem 0;
}

.brands-section-static {
  overflow: hidden;
}

.brands-static-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  max-width: min(1400px, 100%);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  box-sizing: border-box;
}

.brand-logo {
  height: 4rem;
  max-height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .brands-static-inner {
    gap: 2rem 3rem;
    padding: 1.5rem 2rem;
  }
  .brand-logo {
    height: 5.5rem;
    max-height: 7rem;
    border-radius: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .brands-static-inner {
    gap: 3rem 4rem;
    padding: 2rem 2rem;
  }
  .brand-logo {
    height: 7rem;
    max-height: 9rem;
    border-radius: 1.25rem;
  }
}

/* Tree Rings Section */
.tree-rings-section {
  padding: 0 1.5rem;
  margin-bottom: 3rem;
}

.tree-rings-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.tree-rings-header .section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.category-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  border-color: hsl(var(--primary) / 0.3);
}

.category-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-content {
  padding: 1.5rem;
}

.category-title {
  font-size: 1.125rem;
  font-weight: 400;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.category-card:hover .category-title {
  color: hsl(var(--primary));
}

.category-description {
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.interactive-zone-caption {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.interactive-zone {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .interactive-zone {
    flex-direction: row;
    align-items: stretch;
    min-height: 580px;
  }
}

.interactive-left {
  flex: 1 1 65%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted-foreground) / 0.08);
}

@media (min-width: 1024px) {
  .interactive-left {
    min-height: 580px;
  }
}

.interactive-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interactive-image-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: contain;
  object-position: center;
}

.interactive-hotspot {
  position: absolute;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid hsl(220 10% 40%);
  background: hsl(220 10% 40% / 0.5);
  opacity: 0.65;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s, box-shadow 0.2s;
  transform: translate(-50%, -50%);
}

.interactive-hotspot:hover,
.interactive-hotspot.is-selected {
  opacity: 1;
  background: hsl(220 10% 45% / 0.7);
  border-color: hsl(220 10% 30%);
  box-shadow: 0 0 0 2px hsl(var(--background));
}

.interactive-hotspot-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: white;
}

.interactive-right {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

@media (min-width: 1024px) {
  .interactive-right {
    padding: 1.5rem 0 1.5rem 1.5rem;
    max-width: 400px;
  }
}

.interactive-right-title {
  font-size: 1.125rem;
  font-weight: 400;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.interactive-card-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.interactive-arrow {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.interactive-arrow:hover {
  background: hsl(var(--muted-foreground) / 0.1);
}

.interactive-card-slider {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.interactive-card-slide {
  display: none;
}

.interactive-card-slide.is-visible {
  display: block;
}

.interactive-card-inner {
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--background));
  padding: 1rem;
  overflow: hidden;
}

.interactive-card-image {
  aspect-ratio: 3 / 4;
  max-height: 280px;
  margin: 0 auto 0.75rem;
  overflow: hidden;
  background: hsl(var(--muted-foreground) / 0.1);
  border-radius: 0.25rem;
}

.interactive-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interactive-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: hsl(var(--muted-foreground) / 0.15);
}

.interactive-card-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(var(--foreground));
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.interactive-card-cta {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  background: white;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.interactive-card-cta:hover {
  background: hsl(var(--muted-foreground) / 0.05);
  border-color: hsl(var(--muted-foreground) / 0.3);
  color: hsl(var(--foreground));
}

.interactive-pagination {
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 0.75rem;
  tabular-nums: true;
}

/* Fallback when no products (image only) */
.interactive-zone-fallback .interactive-image-wrapper img {
  width: 100%;
  height: auto;
}

.interactive-text {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.875rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.tree-rings-cta {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--foreground));
  font-weight: 300;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid hsl(var(--foreground));
  padding-bottom: 0.25rem;
  transition: border-color 0.2s, color 0.2s;
}

.cta-link:hover {
  border-color: hsl(var(--brand-green));
  color: hsl(var(--brand-green));
}

/* Shipping */
.shipping-section {
  width: 100%;
  padding-top: 1rem;
  margin-bottom: 3rem;
}

.shipping-background {
  position: relative;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .shipping-background {
    min-height: 260px;
  }
}

.shipping-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.5) contrast(1.25) saturate(1.5) grayscale(0.5);
}

.shipping-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--foreground) / 0.4);
}

.shipping-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 1.5rem;
  text-align: center;
  color: white;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .shipping-content {
    min-height: 260px;
  }
}

.shipping-content-inner {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.shipping-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.shipping-text {
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 400;
  margin: 0;
  opacity: 0.95;
}

/* CTA Section */
.cta-section {
  padding: 0 1.5rem;
  padding-top: 1rem;
}

.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.cta-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 300;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-description {
  font-size: 1rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background: hsl(var(--primary-hover));
}

.btn-outline {
  background: transparent;
  color: hsl(var(--brand-green));
  border: 1px solid hsl(var(--brand-green));
}

.btn-outline:hover {
  background: hsl(var(--brand-green));
  color: hsl(var(--brand-green-foreground));
}

.cta-image {
  aspect-ratio: 4 / 3;
  background: hsl(var(--muted-foreground) / 0.1);
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  border-radius: 0.5rem;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Timeline */
.timeline-section {
  padding: 4rem 0.75rem;
  background: #F9FAFB;
}

@media (min-width: 640px) {
  .timeline-section {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .timeline-section {
    padding: 5rem 1.5rem;
  }
}

.timeline-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 300;
  color: hsl(var(--foreground));
  text-align: center;
  margin-bottom: 0.5rem;
}

.timeline-subtitle {
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.milestones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .milestones-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

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

.milestone-card {
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: left;
  transition: box-shadow 0.2s;
}

@media (min-width: 768px) {
  .milestone-card {
    padding: 1.5rem;
  }
}

.milestone-card:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.milestone-default {
  background: white;
}

.milestone-soft {
  background: #F6F8FE;
}

.milestone-year {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 300;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.milestone-title {
  font-size: 1rem;
  font-weight: 400;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.milestone-description {
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Google Reviews */
.google-reviews-section {
  padding: 4rem 1.5rem;
  background: hsl(var(--background));
}

.reviews-inner {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.reviews-nav {
  padding: 0.5rem;
  color: hsl(var(--foreground) / 0.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.reviews-nav:hover {
  color: hsl(var(--foreground));
}

.reviews-content {
  flex: 1;
  text-align: center;
}

.review-item {
  display: none;
}

.review-item.active {
  display: block;
}

.review-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.review-quote {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 300;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.review-author {
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.review-dot {
  height: 4px;
  width: 24px;
  border-radius: 9999px;
  border: none;
  background: hsl(var(--muted-foreground) / 0.3);
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.review-dot:hover {
  background: hsl(var(--muted-foreground) / 0.6);
}

.review-dot.active {
  background: hsl(var(--foreground));
}

.google-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.google-logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .google-logo {
    height: 2.5rem;
  }
}

/* Footer */
.site-footer {
  width: 100%;
  background: hsl(var(--status-bar));
  color: hsl(var(--status-bar-foreground));
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 6rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand {
  max-width: 28rem;
}

.footer-logo-link {
  display: block;
}

.footer-logo {
  max-width: 8rem;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.contact-label {
  font-weight: 400;
  color: hsl(var(--status-bar-foreground));
  margin-bottom: 0.25rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.footer-column {
  min-width: 0;
}

.footer-column-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(var(--status-bar-foreground));
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: hsl(var(--status-bar-foreground));
}

.footer-social {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: hsl(var(--status-bar-foreground));
}

/* Cart drawer - Carrito de Cotización (slide-out) */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer.is-open .cart-drawer-backdrop {
  opacity: 1;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 24rem;
  height: 100%;
  background: hsl(var(--background));
  border-left: 1px solid hsl(var(--border));
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.cart-drawer.is-open .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.cart-drawer-title {
  font-size: 1.125rem;
  font-weight: 300;
  color: hsl(var(--foreground));
  margin: 0;
}

.cart-drawer-close {
  padding: 0.5rem;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: color 0.2s;
}

.cart-drawer-close:hover {
  color: hsl(var(--muted-foreground));
}

.cart-drawer-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.cart-drawer-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1.5rem;
}

.cart-drawer-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cart-drawer-item-image {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  background: hsl(var(--muted-foreground) / 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.cart-drawer-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer-item-details {
  flex: 1;
  min-width: 0;
}

.cart-drawer-item-cat {
  font-size: 0.75rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.25rem;
}

.cart-drawer-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin: 0 0 0.5rem;
}

.cart-drawer-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid hsl(var(--border));
}

.cart-drawer-qty-btn {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s;
}

.cart-drawer-qty-btn:hover {
  background: hsl(var(--muted-foreground) / 0.1);
}

.cart-drawer-qty-num {
  min-width: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.cart-drawer-summary {
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.cart-drawer-summary p {
  margin: 0 0 0.25rem;
}

.cart-drawer-cta-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0 0 1rem;
}

.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-drawer-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Quick view modal - Vista rápida (overlay like reference) */
.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.quick-view-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.quick-view-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.quick-view-modal.is-open .quick-view-backdrop {
  opacity: 1;
}

.quick-view-panel {
  position: relative;
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.98);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 1;
}

.quick-view-modal.is-open .quick-view-panel {
  transform: scale(1);
  opacity: 1;
}

.quick-view-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  padding: 0.5rem;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: color 0.2s;
}

.quick-view-close:hover {
  color: hsl(var(--muted-foreground));
}

.quick-view-inner {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.quick-view-loading,
.quick-view-error {
  text-align: center;
  padding: 2rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.quick-view-content {
  padding-top: 2rem;
}

.quick-view-header {
  margin-bottom: 1.25rem;
}

.quick-view-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin: 0 0 0.25rem;
  padding-right: 2rem;
}

.quick-view-meta {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.5rem;
}

.quick-view-detail-link {
  font-size: 0.875rem;
  color: hsl(var(--primary));
  text-decoration: none;
  transition: color 0.2s;
}

.quick-view-detail-link:hover {
  color: hsl(var(--primary-hover));
  text-decoration: underline;
}

.quick-view-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .quick-view-body {
    grid-template-columns: 1fr;
  }
}

.quick-view-image {
  aspect-ratio: 3/4;
  max-height: 20rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: hsl(var(--muted-foreground) / 0.1);
}

.quick-view-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.quick-view-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-view-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quick-view-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(var(--foreground));
}

.quick-view-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.quick-view-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-view-qty-btn {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  background: hsl(var(--muted-foreground) / 0.1);
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  cursor: pointer;
  color: hsl(var(--foreground));
  transition: background 0.2s;
}

.quick-view-qty-btn:hover {
  background: hsl(var(--muted-foreground) / 0.15);
}

.quick-view-qty-input {
  width: 4rem;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.quick-view-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  margin-top: 0.25rem;
}

.quick-view-footer {
  padding-top: 0.5rem;
  border-top: 1px solid hsl(var(--border));
}

.quick-view-add-quote {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.quick-view-add-quote:hover {
  background: hsl(var(--primary-hover));
}

/* Interactive card CTA as button (Vista rápida) */
.interactive-card-cta {
  font: inherit;
  cursor: pointer;
  text-align: center;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: hsl(var(--foreground));
  background: transparent;
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.interactive-card-cta:hover {
  background: hsl(var(--muted-foreground) / 0.08);
  border-color: hsl(var(--primary));
  color: hsl(var(--foreground));
}

.nav-cart-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* Responsive - mobile */
@media (max-width: 767px) {
  .nav-menu-wrap {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
}
