/* ============================================
   LS MOTORS – TECNISERVICIO AUTOMOTRIZ
   Design System & Styles
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables (Design Tokens) ── */
:root {
  /* ── Colores de la Marca: LSMOTORS (Rojo, Negro y Blanco) ── */
  --color-yellow: #e31e24;         /* Rojo principal */
  --color-yellow-dark: #b8181d;
  --color-yellow-light: #ff4a4f;
  --color-blue: #e31e24;           /* Rojo principal */
  --color-blue-dark: #b8181d;
  --color-blue-light: #ff4a4f;
  --color-red: #e31e24;            /* Rojo principal */
  --color-red-dark: #b8181d;
  --color-red-light: #ff4a4f;
  --color-accent: #e31e24;         /* Acento rojo */
  --color-accent-dark: #b8181d;
  --color-accent-light: #ff4a4f;
  --color-primary: #0a0a0a;        /* Negro primario */
  --color-primary-dark: #000000;
  --color-primary-light: #1a1a1a;
  --color-white: #FFFFFF;
  --color-white-soft: #fcfcfc;    /* Blanco suave */
  --color-gray-50: #f8f9fa;       /* Gris muy claro */
  --color-gray-100: #e9ecef;      /* Gris claro */
  --color-gray-200: #dee2e6;      /* Gris medio-claro */
  --color-gray-300: #ced4da;      /* Gris medio */
  --color-gray-400: #adb5bd;      /* Gris medio-oscuro */
  --color-gray-500: #6c757d;      /* Gris oscuro */
  --color-gray-600: #495057;      /* Gris muy oscuro */
  --color-gray-700: #343a40;      /* Gris carbón */
  --color-gray-800: #212529;      /* Gris casi negro */
  --color-black: #0A0A0A;
  --color-success: #28A745;
  --color-whatsapp: #25D366;

  /* Typography */
  --font-heading: 'Montserrat', 'Arial Narrow', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 2px 16px rgba(10, 10, 10, 0.06);
  --shadow-card-hover: 0 8px 32px rgba(10, 10, 10, 0.12);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

/* ── Barra Tricolor del Taller ── */
.tricolor-bar {
  display: flex;
  height: 8px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

.tricolor-yellow {
  flex: 1;
  background: #e31e24;
}

.tricolor-red {
  flex: 1;
  background: #FFFFFF;
}

.tricolor-black {
  flex: 1;
  background: #0A0A0A;
  border-right: none;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 8px);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray-700);
  background-color: var(--color-white-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Section Base ── */
.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-red);
  background: rgba(227, 30, 36, 0.1);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-gray-500);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-whatsapp-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
}

.btn-lg .btn-whatsapp-icon {
  width: 22px;
  height: 22px;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(227, 30, 36, 0.35);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(227, 30, 36, 0.5);
}

.btn-secondary {
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(227, 30, 36, 0.3);
}

.btn-secondary:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(227, 30, 36, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.btn-hero-whatsapp {
  background: #1a1a1a;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.3);
}

.btn-hero-whatsapp:hover {
  background: #333333;
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10, 10, 10, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-ghost:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════ */
.header {
  position: fixed;
  top: 8px; /* below the tricolor bar */
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--color-red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(227, 30, 36, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 6px rgba(227, 30, 36, 0.3));
  transition: transform var(--transition-base);
}

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

.logo-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-red);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 1px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-gray-700);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-red);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-red);
  background: rgba(227, 30, 36, 0.05);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--color-red-dark);
  background: rgba(227, 30, 36, 0.08);
}

/* Separador vertical entre links y CTA */
.nav-cta {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(227, 30, 36, 0.25);
}

/* Botón WhatsApp custom en la nav y agenda cita */
.btn-nav-whatsapp,
.btn-agenda-cita {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-red);
  border: 2px solid var(--color-yellow);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-nav-whatsapp:hover,
.btn-agenda-cita:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
  border-color: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(227, 30, 36, 0.35);
}

.nav-whatsapp-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-white-soft);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(227, 30, 36, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(10, 10, 10, 0.06) 0%, transparent 40%),
    linear-gradient(rgba(10, 10, 10, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 8px);
}

.hero-bg {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, var(--color-white-soft) 100%);
  pointer-events: none;
}

/* Franja de color rojo en la parte inferior del hero */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-yellow) 0%, var(--color-red) 50%, var(--color-yellow) 100%);
  z-index: 3;
}

/* Glow rojo/amarillo en el fondo */
.hero::after {
  content: '';
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.08) 0%, rgba(10, 10, 10, 0.04) 50%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: var(--space-3xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(227, 30, 36, 0.08);
  border: 1px solid rgba(227, 30, 36, 0.2);
  color: var(--color-red-dark);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.5px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.5px;
}

.hero-title .accent {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

/* Benefit Cards */
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.benefit-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.benefit-card:hover {
  background: var(--color-gray-50);
  border-color: rgba(227, 30, 36, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-sm);
  background: rgba(227, 30, 36, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-red);
  fill: none;
  stroke-width: 2;
}

.benefit-card h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gray-800);
  letter-spacing: 0.3px;
}

/* ══════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════ */
.services {
  background: var(--color-white-soft);
  border-top: 1px solid var(--color-gray-200);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
  height: 220px; /* Horizontal split height */
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(11, 26, 48, 0.05);
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%; /* Image occupies left 40% */
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform var(--transition-slow);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: rgba(11, 26, 48, 0.15); /* Soft overlay on image */
  z-index: 1;
  transition: background var(--transition-base);
}

.service-card-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%; /* Starts where image ends */
  right: 0;
  z-index: 2;
  background: var(--color-white);
  padding: var(--space-lg);
  padding-left: 36px; /* Space to clear the floating icon */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-icon {
  width: 46px;
  height: 46px;
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: -23px; /* Float on the vertical line separating image and text */
  transform: translateY(-50%); /* Centered vertically */
  z-index: 3;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-yellow);
  fill: none;
  stroke-width: 2.2;
  transition: all var(--transition-base);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.service-card p {
  font-size: 0.8rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Hover effects */
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-blue);
  box-shadow: 0 12px 32px rgba(11, 26, 48, 0.15);
}

.service-card:hover .service-card-bg {
  transform: scale(1.06);
}

.service-card:hover .service-card-overlay {
  background: rgba(11, 26, 48, 0.25);
}

.service-card:hover .service-icon {
  background: var(--color-yellow);
  transform: scale(1.05);
}

.service-card:hover .service-icon svg {
  stroke: var(--color-black);
}

/* ══════════════════════════════════════
   APPOINTMENT FORM
   ══════════════════════════════════════ */
.appointment {
  background: linear-gradient(180deg, var(--color-white-soft) 0%, rgba(227, 30, 36, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.appointment::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(227, 30, 36, 0.03);
  pointer-events: none;
}

.appointment .section-tag {
  background: rgba(227, 30, 36, 0.1);
}

.appointment .section-title {
  color: var(--color-primary);
}

.appointment .section-subtitle {
  color: var(--color-gray-600);
}

.form-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-gray-700);
  letter-spacing: 0.3px;
}

.form-group label .required {
  color: var(--color-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-gray-800);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-red);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--color-white);
  color: var(--color-gray-800);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  margin-top: var(--space-lg);
  text-align: center;
}

.form-submit .btn {
  min-width: 280px;
  justify-content: center;
  font-size: 0.95rem;
  padding: 1rem 2rem;
}

.form-error {
  color: #FF6B6B;
  font-size: 0.75rem;
  display: none;
}

.form-group.error input,
.form-group.error select {
  border-color: #FF6B6B;
}

.form-group.error .form-error {
  display: block;
}

/* ══════════════════════════════════════
   PRODUCTS SECTION
   ══════════════════════════════════════ */
.products {
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(227, 30, 36, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

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

/* Ensure section header inside products is readable on dark background */
.products .section-title {
  color: var(--color-primary);
}

.products .section-subtitle {
  color: var(--color-gray-600);
}

/* Pestañas de Filtrado de Productos - Eliminado en la versión estática compacta */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.product-card-premium {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex !important; /* Siempre visible, no dinámico */
  flex-direction: row;
  align-items: center;
  padding: 0; /* Sin relleno para que la imagen sea flush a la izquierda */
  gap: 0;
  height: 170px; /* Altura un poco más grande */
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.product-card-premium:hover {
  transform: translateY(-3px);
  border-color: var(--color-blue);
  box-shadow: var(--shadow-md);
}

.product-card-img-container {
  width: 150px; /* Ancho de imagen incrementado */
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

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

.product-card-badge {
  display: none; /* Ocultar el badge flotante para mantener la compacidad */
}

.product-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  padding: var(--space-md) var(--space-lg); /* Espaciado interno cómodo */
  height: auto;
  position: relative;
  transform: none;
}

.product-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem; /* Título ligeramente más grande */
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
  line-height: 1.25;
}

.product-card-info h3 strong {
  color: var(--color-blue-dark);
}

.product-card-info p {
  color: var(--color-gray-500);
  font-size: 0.78rem; /* Texto de descripción más legible */
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 0;
}

.product-card-specs {
  display: none; /* Ocultar la lista de especificaciones */
}

.product-card-info .btn {
  align-self: flex-start;
  padding: 0.45rem 1.1rem; /* Botón ligeramente más grande */
  font-size: 0.76rem;
  min-height: auto;
  height: auto;
  width: auto;
  margin-top: 0;
  border-radius: var(--radius-sm);
}

/* ══════════════════════════════════════
   PROMOTIONS / COMBOS
   ══════════════════════════════════════ */
.promotions {
  background: var(--color-white-soft);
}

.combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.combo-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-gray-200);
  position: relative;
  transition: all var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.combo-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-red));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.combo-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.combo-card:hover::after {
  transform: scaleX(1);
}

.combo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-red);
  background: rgba(227, 30, 36, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  align-self: flex-start;
}

.combo-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.combo-price {
  font-size: 0.82rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  background: rgba(227, 30, 36, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-red);
  width: fit-content;
}

.combo-price .price-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-blue-dark);
}

.combo-card p {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.combo-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.combo-includes li {
  color: var(--color-gray-600);
  font-size: 0.78rem;
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.4;
}

.combo-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-blue);
  font-weight: bold;
}

.combo-footer {
  margin-top: auto;
  border-top: 1px dashed var(--color-gray-200);
  padding-top: var(--space-md);
}

.combo-terms {
  display: block;
  font-size: 0.7rem;
  color: var(--color-gray-400);
  margin-bottom: var(--space-sm);
  font-style: italic;
}

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

/* ══════════════════════════════════════
   WHY CHOOSE US
   ══════════════════════════════════════ */
.why-us {
  background: var(--color-white-soft);
  position: relative;
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.why-us-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.why-us-text > p {
  font-size: 1rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.why-us-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.why-point {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.why-point-icon {
  width: 36px;
  height: 36px;
  background: rgba(227, 30, 36, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-point-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-red);
  fill: none;
  stroke-width: 2.5;
}

.why-point span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.why-us-visual {
  position: relative;
}

.why-us-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-us-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.why-us-stat {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.why-us-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
}

.why-us-stat span {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
}

/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
.testimonials {
  background: var(--color-gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-gray-200);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-yellow);
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-author-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-author-info span {
  font-size: 0.75rem;
  color: var(--color-gray-400);
}

/* ══════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════ */
.contact {
  background: var(--color-white-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.contact-item:hover {
  background: var(--color-gray-100);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--color-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.contact-item p {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  line-height: 1.5;
}

.contact-socials {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-yellow);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 350px;
  background: var(--color-gray-100);
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--color-gray-400);
  font-size: 0.9rem;
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-gray-300);
  fill: none;
  stroke-width: 1.5;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  background: var(--color-primary-dark);
  border-top: 4px solid var(--color-red);
  padding: var(--space-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.3px;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-yellow);
  padding-left: 4px;
}

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-disclaimer {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.25) !important;
  max-width: 500px;
  line-height: 1.5 !important;
}

/* ══════════════════════════════════════
   FLOATING BUTTONS
   ══════════════════════════════════════ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(227, 30, 36, 0.2);
  transition: all var(--transition-base);
  animation: pulse-whatsapp 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(227, 30, 36, 0.4);
}

.floating-whatsapp-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 8px rgba(227, 30, 36, 0.3));
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(227, 30, 36, 0.2); }
  50% { box-shadow: 0 6px 24px rgba(227, 30, 36, 0.3), 0 0 0 8px rgba(227, 30, 36, 0.08); }
}

.floating-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--color-primary);
  padding: var(--space-sm) var(--space-md);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

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

/* ══════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .why-us-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .testimonials-grid .testimonial-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }

  .logo {
    height: 46px;
    gap: 0.5rem;
  }

  .logo-img {
    height: 46px;
  }

  .logo-slogan-new {
    display: none;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--color-primary-dark);
    padding: var(--space-xl);
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    display: block;
    padding: 0.9rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }

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

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .benefit-card {
    padding: var(--space-md);
  }

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

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Form */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: var(--space-lg);
  }

  /* Products */
  .product-card-premium {
    height: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }
  
  .product-card-img-container {
    height: 180px !important;
    width: 100% !important;
  }
  
  .product-card-info {
    position: absolute;
    bottom: auto;
    left: auto;
    right: auto;
    position: relative !important;
    transform: none !important;
    height: auto !important;
    padding: var(--space-lg) !important;
  }
  
  .product-card-specs {
    display: none !important;
  }

  /* Combos */
  .combos-grid {
    grid-template-columns: 1fr;
  }

  /* Why Us */
  .why-us-points {
    grid-template-columns: 1fr;
  }

  .why-us-stat {
    right: 10px;
    bottom: -15px;
    padding: var(--space-md);
  }

  .why-us-stat strong {
    font-size: 1.5rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 280px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Floating */
  .floating-whatsapp {
    bottom: 80px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .floating-cta-mobile {
    display: block;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }



  .benefit-card h4 {
    font-size: 0.72rem;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-500);
}

/* ── Selection ── */
::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

/* ── Translucent Section Backgrounds (Real Stock Photos) ── */
.hero, .services, .appointment, .products, .promotions, .why-us, .testimonials, .contact {
  position: relative;
  overflow: hidden;
}

.hero::before, .services::before, .appointment::before, .products::before, .promotions::before, .why-us::before, .testimonials::before, .contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08; /* Transparente y sutil (8%) */
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  background-image: url('../img/bg_hero.jpg');
  opacity: 0.05; /* Más suave en el Hero para no interferir con la cuadrícula (5%) */
}

.services::before {
  background-image: url('../img/bg_services.jpg');
}

.appointment::before {
  background-image: url('../img/bg_appointment.jpg');
}

.products::before {
  background-image: url('../img/bg_products.jpg');
}

.promotions::before {
  background-image: url('../img/bg_promotions.jpg');
}

.why-us::before {
  background-image: url('../img/bg_why_us.jpg');
}

.testimonials::before {
  background-image: url('../img/bg_testimonials.jpg');
}

.contact::before {
  background-image: url('../img/bg_contact.jpg');
}

/* ── Delivery Banner (Product Catalog Section) ── */
.delivery-banner {
  margin-top: var(--space-3xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  border: 1px solid rgba(227, 30, 36, 0.15);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Subtly glow overlay */
.delivery-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.delivery-banner-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.delivery-icon {
  width: 64px;
  height: 64px;
  background: rgba(227, 30, 36, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.delivery-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-red);
}

.delivery-text-block {
  flex-grow: 1;
}

.delivery-text-block h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

.delivery-text-block p {
  font-size: 0.92rem;
  color: var(--color-gray-200);
  line-height: 1.6;
}

.delivery-text-block p strong {
  color: var(--color-yellow);
  font-weight: 700;
}

.delivery-cta {
  flex-shrink: 0;
}

.delivery-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  font-size: 0.92rem;
}

/* Responsive adjustment for delivery banner */
@media (max-width: 768px) {
  .delivery-banner {
    padding: var(--space-xl);
  }
  
  .delivery-banner-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
  
  .delivery-icon {
    margin: 0 auto;
  }
  
  .delivery-cta {
    width: 100%;
  }
  
  .delivery-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Payment Methods Badges (Appointment Section) ── */
.payment-methods-badges {
  margin-top: var(--space-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.payment-title {
  font-weight: 700;
  color: var(--color-gray-600);
}

.payment-badge {
  background: var(--color-gray-50);
  color: var(--color-gray-700);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-fast);
}

.payment-badge:hover {
  background: var(--color-gray-100);
  border-color: var(--color-gray-300);
  color: var(--color-primary);
}

/* ── Product Delivery Tag (Catalog) ── */
.product-delivery-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(227, 30, 36, 0.05);
  color: var(--color-red-dark);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.2rem;
  margin-bottom: var(--space-xs);
  border: 1px solid rgba(227, 30, 36, 0.15);
  width: fit-content;
}

.product-delivery-tag svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ── Delivery Banner Glowing Animation & Badge ── */
.delivery-banner.animate-glow {
  border: 2px solid var(--color-red);
  box-shadow: 0 0 24px rgba(227, 30, 36, 0.2);
  animation: border-glow 3s infinite alternate;
}

@keyframes border-glow {
  0% {
    box-shadow: 0 0 16px rgba(227, 30, 36, 0.15);
    border-color: rgba(227, 30, 36, 0.6);
  }
  100% {
    box-shadow: 0 0 28px rgba(227, 30, 36, 0.35);
    border-color: var(--color-blue);
  }
}

.delivery-promo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 0.8rem var(--space-md);
  font-family: var(--font-heading);
  line-height: 1.1;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(227, 30, 36, 0.4);
}

.delivery-promo-badge .pct {
  font-size: 1.8rem;
  font-weight: 900;
}

.delivery-promo-badge .txt {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Delivery Section ── */
.delivery-promo-section {
  background: var(--color-white-soft);
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0; /* Slightly tighter padding than standard sections to keep it sleek */
}

.delivery-promo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/bg_delivery.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.delivery-promo-section .delivery-banner {
  margin-top: 0;
}

.delivery-section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-red);
  background: rgba(227, 30, 36, 0.12);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}


   ══════════════════════════════════════ */
.brands-section {
  background: var(--color-white-soft);
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
  padding: var(--space-3xl) 0;
  position: relative;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

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

@media (max-width: 576px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

.brand-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.brand-item:hover {
  border-color: var(--color-red);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}

.brand-logo {
  width: 48px;
  height: 48px;
  color: var(--color-gray-400);
  transition: all var(--transition-base);
}

.brand-item:hover .brand-logo {
  color: var(--color-red);
  transform: scale(1.08);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-gray-700);
  letter-spacing: 0.3px;
  transition: color var(--transition-fast);
}

.brand-item:hover .brand-name {
  color: var(--color-primary);
}


/* ══════════════════════════════════════
   HERO BRANDS (TRUST BAR)
   ══════════════════════════════════════ */
.hero-brands {
  margin-top: var(--space-3xl);
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  max-width: 1000px;
  width: 100%;
}

.hero-brands-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--color-red);
  text-transform: uppercase;
  text-align: center;
  display: block;
  width: 100%;
}

.hero-brands-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md) var(--space-lg);
  align-items: center;
  justify-items: center;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-brands-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-brands {
    padding: var(--space-lg) var(--space-md);
  }
  .hero-brands-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm) var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-brands-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}

.hero-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.hero-brand-item:hover {
  background: var(--color-white);
  border-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hero-brand-logo {
  height: 48px;
  width: auto;
  max-width: 85%;
  object-fit: contain;
  filter: brightness(0); /* Force black color for all logo pixels */
  opacity: 0.65;          /* Sleek black opacity by default */
  transition: all var(--transition-base);
}

.hero-brand-item:hover .hero-brand-logo {
  filter: brightness(0);
  opacity: 1;            /* Full black on hover */
}
