/* -------------------------------------------------
   EXODO | Corralon + Construccion
   Autor: Codex
   Objetivo: sitio comercial, moderno y confiable
-------------------------------------------------- */

:root {
  --bg: #f7f7f5;
  --bg-alt: #ffffff;
  --ink: #0f1419;
  --ink-muted: #3e454c;
  --line: #e5e7eb;
  --accent: #c65b1f; /* naranja oscuro */
  --accent-2: #8d3a0f;
  --slate: #1f2937;
  --slate-2: #111827;
  --sand: #f0ebe3;
  --success: #1f9d61;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --text-color: var(--ink);
  --text-muted: var(--ink-muted);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text-color);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(92%, var(--maxw));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-tight {
  padding: 56px 0;
}

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}

.h1,
h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 2.5vw + 1.6rem, 3.6rem);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.h2,
h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.1vw + 1.2rem, 2.4rem);
  margin: 0 0 14px;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

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

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--slate);
  box-shadow: none;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(198, 91, 31, 0.12);
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.88rem;
}

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none;
    transition: none;
  }
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 20, 25, 0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.logo span {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.2em;
}

@media (max-width: 720px) {
  .logo-img {
    height: 40px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: var(--slate);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(198, 91, 31, 0.08);
}

.nav-cta {
  display: flex;
  gap: 10px;
}

.nav-cta .btn {
  padding: 8px 14px;
  font-size: 0.88rem;
}

.burger {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
}

/* ANIMACION INICIO DE PAGINA */
@media (prefers-reduced-motion: no-preference) {
  .nav .logo {
    opacity: 0;
    transform: translateY(16px);
    animation: intro-fade-up 0.35s ease-out 0.05s forwards;
    will-change: opacity, transform;
  }

  .hero h1,
  .page-hero h1 {
    opacity: 0;
    transform: translateY(16px);
    animation: intro-fade-up 0.45s ease-out 0.3s forwards;
    will-change: opacity, transform;
  }

  .hero .hero-actions,
  .page-hero .hero-actions {
    opacity: 0;
    transform: translateY(16px);
    animation: intro-fade-up 0.4s ease-out 0.75s forwards;
    will-change: opacity, transform;
  }
}

@keyframes intro-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */
.hero {
  position: relative;
  --text-color: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  color: var(--text-color);
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 45%),
    linear-gradient(120deg, rgba(12, 16, 22, 0.94) 0%, rgba(24, 31, 40, 0.95) 50%, rgba(14, 20, 27, 0.96) 100%);
  overflow: hidden;
  background-position: 50% var(--hero-parallax, 50%);
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/hero-bg.svg") center/cover no-repeat;
  opacity: 0.28;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  padding: 110px 0 120px;
}

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

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 22px;
  max-width: 520px;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  font-weight: 600;
}

.hero-points span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points span::before {
  content: ">";
  color: #ffb679;
  font-size: 1rem;
}

.hero p,
.hero .lead,
.hero .muted,
.page-hero p,
.page-hero .lead,
.page-hero .muted,
.dark-section p,
.dark-section .lead,
.dark-section .muted {
  color: var(--text-muted);
}

.hero .lead,
.page-hero .lead,
.dark-section .lead {
  color: var(--text-color);
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.stat {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
  text-align: center;
}

.stat strong {
  font-size: 1.8rem;
  color: var(--slate-2);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(15, 20, 25, 0.18);
}

.service-card h3 {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-muted);
}

.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* CONSTRUCTORA | SERVICIOS */
.constructora-services h2 {
  margin-bottom: 8px;
}

.services-block + .services-block {
  margin-top: 30px;
}

#servicios-integrales-lista {
  scroll-margin-top: 100px;
}

.services-group-title {
  margin: 0 0 16px;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b6470;
}

.services-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-premium-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
  padding: 30px;
  display: grid;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.14);
}

.service-premium-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: rgba(198, 91, 31, 0.1);
}

.service-premium-icon svg {
  width: 24px;
  height: 24px;
}

.service-premium-card h4 {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.12rem;
}

.service-premium-card .service-title-match {
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.service-premium-card .muted {
  color: #5f6873;
}

.service-premium-card .btn {
  margin-top: 4px;
  justify-self: start;
  box-shadow: none;
  min-width: 152px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.service-premium-card .service-calendar-btn {
  min-width: 152px;
}

.service-premium-card button.btn {
  appearance: none;
  -webkit-appearance: none;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(120deg, #201f1d, #2f2a25 60%, #4a2f1a);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  gap: 18px;
  align-items: center;
}

/* PROJECTS */
.proyectos {
  --slides-per-view: 1;
  --slider-gap: 12px;
  margin-top: 10px;
}

.proyectos .slider {
  position: relative;
  padding: 0 6px;
}

.proyectos .slider-container {
  overflow: hidden;
  border-radius: 22px;
  width: 100%;
}

.proyectos .slider-track {
  display: flex;
  gap: var(--slider-gap);
  transition: transform 0.78s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.proyectos .project-card {
  flex: 0 0 auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 20, 25, 0.1);
  overflow: hidden;
}

.proyectos .project-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe3e8;
}

.proyectos .project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.proyectos .project-card:hover .project-media img {
  transform: scale(1.045);
}

.proyectos .prev,
.proyectos .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate-2);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 20px rgba(15, 20, 25, 0.16);
}

.proyectos .prev {
  left: 14px;
}

.proyectos .next {
  right: 14px;
}

.proyectos .prev:hover,
.proyectos .next:hover {
  transform: translateY(-50%) scale(1.03);
}

.proyectos .prev:active,
.proyectos .next:active {
  transform: translateY(-50%) scale(0.96);
}

.proyectos .dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.proyectos .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.proyectos .dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}
.project {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(15, 20, 25, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(15, 20, 25, 0.18);
}

.project-media {
  /* increased from 280px for taller image display */
  height: 360px;
  overflow: hidden;
  border-radius: inherit;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.project:hover img {
  transform: scale(1.05);
}

.project-info {
  padding: 18px;
  color: var(--ink);
}

.project-info strong {
  display: block;
  margin-bottom: 4px;
}

@keyframes product-section-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes project-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project {
  animation: project-card-in 0.45s ease both;
}

.project:nth-child(2) {
  animation-delay: 0.05s;
}

.project:nth-child(3) {
  animation-delay: 0.1s;
}

.project:nth-child(4) {
  animation-delay: 0.15s;
}
@media (min-width: 700px) {
  .proyectos {
    --slides-per-view: 2;
  }
}

@media (min-width: 1024px) {
  .proyectos {
    --slides-per-view: 3;
  }
}

@media (max-width: 640px) {
  .proyectos .prev,
  .proyectos .next {
    width: 36px;
    height: 36px;
  }

  .proyectos .prev {
    left: 8px;
  }

  .proyectos .next {
    right: 8px;
  }
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 20px;
}

.feature h4 {
  margin: 0 0 8px;
  font-family: "Poppins", system-ui, sans-serif;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  align-items: center;
}

.about-card {
  background: var(--sand);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 91, 31, 0.15);
}

/* PRODUCTS */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  margin-top: 26px;
}

.product-catalog {
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-search {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 600px;
  position: relative;
}

.product-search-field {
  position: relative;
  width: 100%;
}

.product-search-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d8dee6;
  border-radius: 16px;
  padding: 13px 46px 13px 46px;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(15, 20, 25, 0.08);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.product-search-input::placeholder {
  color: #7b8794;
}

.product-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: #5f6b78;
  pointer-events: none;
}

.product-search-icon svg {
  width: 100%;
  height: 100%;
}

.product-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #e1e5ea;
  background: #fff;
  color: #576170;
  font-size: 1.1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-search-clear:hover {
  background: #f5f7fa;
  border-color: #cfd6de;
  color: #1f2937;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border: 1px solid #e0e6ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(15, 20, 25, 0.12);
  overflow: hidden;
  z-index: 15;
  animation: dropdown-fade-in 0.16s ease-out;
}

.search-group-label {
  padding: 10px 14px 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  background: #fafbfc;
}

.search-item,
.search-category-item {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.search-item:hover,
.search-category-item:hover {
  background: #f8fafc;
}

.search-item-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.search-item-name {
  font-weight: 700;
  color: var(--slate-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-highlight {
  background: rgba(0, 188, 212, 0.2);
  color: inherit;
  padding: 0 2px;
  border-radius: 4px;
}

.search-add-btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.search-add-btn:hover {
  background: var(--accent-2);
}

.search-empty {
  padding: 14px;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.search-feedback {
  min-height: 20px;
  font-size: 0.84rem;
  color: #14683f;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.search-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dropdown-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-search-input:focus {
  border-color: rgba(198, 91, 31, 0.5);
  box-shadow: 0 0 0 3px rgba(198, 91, 31, 0.14), 0 14px 28px rgba(15, 20, 25, 0.12);
  transform: scale(1.01);
  outline: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 14px;
  align-items: center;
  justify-items: center;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 20, 25, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 20, 25, 0.12);
}

.category-card:focus-visible {
  outline: 2px solid rgba(198, 91, 31, 0.5);
  outline-offset: 2px;
}

.category-card.is-active {
  border-color: rgba(198, 91, 31, 0.35);
  box-shadow: 0 16px 32px rgba(198, 91, 31, 0.18);
}

.category-card.active {
  border-color: rgba(198, 91, 31, 0.35);
  box-shadow: 0 16px 32px rgba(198, 91, 31, 0.18);
}

.category-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(198, 91, 31, 0.12);
  color: var(--accent-2);
}

.category-icon svg {
  width: 26px;
  height: 26px;
}

.category-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-list {
  display: grid;
  gap: 26px;
}

.product-empty {
  margin-top: 0;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  color: var(--ink-muted);
  background: #fff;
}

.product-section {
  display: grid;
  gap: 14px;
  animation: product-section-in 0.28s ease;
}

.product-section + .product-section {
  margin-top: 26px;
}

.product-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-section-title {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
}

.product-section-count {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(15, 20, 25, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(15, 20, 25, 0.18);
}

.product-card img {
  transition: transform 0.25s ease;
}

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

.product-card h4 {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
}

.product-meta {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-2);
}

.product-pick-label {
  display: inline-flex;
  width: fit-content;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #0f172a;
  background: rgba(198, 91, 31, 0.14);
  border-radius: 999px;
  padding: 5px 10px;
}

.product-qty-field {
  display: grid;
  gap: 6px;
}

.product-qty-field label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.product-qty-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.96rem;
}

.product-qty-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.96rem;
  background: #fff;
  color: var(--ink);
}
.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-actions .btn {
  padding: 10px 16px;
  box-shadow: none;
}

@media (max-width: 980px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.cart-panel {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 110px;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-header h3 {
  margin: 0 0 4px;
  font-family: "Poppins", system-ui, sans-serif;
}

.cart-total {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(141, 58, 15, 0.2);
  box-shadow: 0 8px 18px rgba(198, 91, 31, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: grid;
  gap: 8px;
  background: var(--bg);
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.qty-value {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
}

.cart-empty {
  margin: 0;
  color: var(--ink-muted);
}

.delivery-switch-wrap {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.delivery-switch-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate);
}

.delivery-switch-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.delivery-switch-label {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 600;
  transition: color 0.25s ease;
  line-height: 1.2;
}

.delivery-switch-label[data-role="retiro"] {
  text-align: right;
}

.delivery-switch-label[data-role="envio"] {
  text-align: left;
}

.delivery-switch-control[data-mode="retiro"] .delivery-switch-label[data-role="retiro"] {
  color: var(--slate-2);
}

.delivery-switch-control[data-mode="envio"] .delivery-switch-label[data-role="envio"] {
  color: var(--slate-2);
}

.delivery-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.delivery-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-switch-track {
  width: 64px;
  height: 34px;
  border-radius: 999px;
  background: #d7dce2;
  border: 1px solid #c7ced6;
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.delivery-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(15, 20, 25, 0.22);
  transition: transform 0.25s ease;
}

.delivery-switch input:checked + .delivery-switch-track {
  background: rgba(198, 91, 31, 0.34);
  border-color: rgba(198, 91, 31, 0.5);
}

.delivery-switch input:checked + .delivery-switch-track .delivery-switch-thumb {
  transform: translateX(30px);
}

.delivery-switch input:focus-visible + .delivery-switch-track {
  outline: 2px solid rgba(198, 91, 31, 0.5);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .product-search {
    max-width: none;
  }

  .delivery-switch-control {
    gap: 8px;
  }
}

.cart-whatsapp {
  width: 100%;
  justify-content: center;
}

.cart-whatsapp.is-disabled {
  opacity: 0.6;
  pointer-events: none;
  box-shadow: none;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.contact-card {
  background: var(--bg-alt);
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
}

.calendar-modal[hidden] {
  display: none;
}

.calendar-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  backdrop-filter: blur(4px);
}

.calendar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.64);
}

.calendar-modal-dialog {
  position: relative;
  width: min(92%, 580px);
  margin: 5vh auto;
  background: #fff;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.32);
  padding: 24px;
  display: grid;
  gap: 16px;
  animation: modal-in 0.26s ease-out;
}

.calendar-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.calendar-modal-head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.calendar-modal-head p {
  margin: 8px 0 0;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

#calendar-month-label {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.22rem;
  text-transform: capitalize;
  letter-spacing: 0.01em;
}

.calendar-nav-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.calendar-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  border-color: #c8d3df;
}

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.84rem;
  color: #5f6873;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calendar-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.calendar-legend .dot-available {
  background: #38bdf8;
}

.calendar-legend .dot-occupied {
  background: #ef4444;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  color: #6b7280;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-grid.is-month-enter {
  animation: calendar-month-in 0.22s ease;
}

.calendar-day {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #d8dee6;
  background: #f8fafc;
  color: #1f2937;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.calendar-day.is-ghost {
  opacity: 0.45;
  pointer-events: none;
}

.calendar-day.is-past {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

.calendar-day.is-available {
  background: #38bdf8;
  color: #fff;
  border-color: #0ea5e9;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(56, 189, 248, 0.28);
}

.calendar-day.is-available:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(56, 189, 248, 0.36);
}

.calendar-day.is-occupied {
  background: #ef4444;
  color: #fff;
  border-color: #dc2626;
  cursor: not-allowed;
  opacity: 0.48;
  position: relative;
}

.calendar-day.is-occupied::after {
  content: "🔒";
  position: absolute;
  right: 4px;
  top: 2px;
  font-size: 0.62rem;
  opacity: 0.9;
}

.calendar-day.is-selected {
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #0f172a, 0 14px 24px rgba(15, 23, 42, 0.24);
  transform: scale(1.05);
}

.calendar-confirm-btn {
  width: 100%;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.calendar-confirm-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.calendar-confirm-btn:not(:disabled):hover {
  transform: translateY(-2px);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes calendar-month-in {
  from {
    opacity: 0.55;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
.footer {
  padding: 26px 0 40px;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}

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

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  z-index: 30;
  font-size: 1.6rem;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* UTIL */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.muted {
  color: var(--text-muted);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}

/* PAGE HERO (INNER) */
.page-hero {
  position: relative;
  --text-color: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  color: var(--text-color);
  padding: 90px 0 90px;
  background: linear-gradient(120deg, rgba(12, 16, 22, 0.95), rgba(28, 34, 43, 0.96));
  overflow: hidden;
}

.dark-section {
  --text-color: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  color: var(--text-color);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/inner-hero.svg") center/cover no-repeat;
  opacity: 0.25;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-cta {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 4%;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    display: none;
  }

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

  .cta-band {
    padding: 32px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 640px) {
  .hero-content {
    padding: 90px 0 90px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .services-premium-grid {
    grid-template-columns: 1fr;
  }

  .service-premium-card {
    padding: 24px;
  }

}

.status-badge{
  padding:6px 12px;
  border-radius:20px;
  font-weight:600;
  color:white;
}

.abierto{
  background:#16a34a;
}

.cerrado{
  background:#dc2626;
}
.nav.is-scrolled {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}


