/* ==========================================================================
   COPYFAX - Papelería y Copistería en Triana (Sevilla)
   Hoja de estilos moderna, limpia y responsive
   ========================================================================== */

:root {
  /* Paleta de colores */
  --color-primary: #0e2a47;        /* Azul marino profundo de marca */
  --color-primary-hover: #163b63;
  --color-primary-light: #e0f2fe;
  
  --color-accent-blue: #0284c7;   /* Azul cian */
  --color-accent-green: #16a34a;  /* Verde */
  --color-accent-magenta: #e11d48;/* Magenta */
  --color-accent-yellow: #f59e0b; /* Amarillo / ámbar */
  --color-whatsapp: #25d366;      /* Verde WhatsApp */
  --color-whatsapp-hover: #20bd5a;
  
  /* Fondos y textos */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;

  /* Sombras y radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.16);

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Barra superior de aviso / contacto rápido */
.top-bar {
  background-color: var(--color-primary);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.85;
}

.top-bar-item a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Encabezado / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--color-accent-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent-blue);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Botones genéricos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  border-color: var(--border-light);
  background-color: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background-color: var(--bg-alt);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Botón menú móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, #f0f7ff 0%, var(--bg-page) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(2, 132, 199, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.18;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.hero-title span.highlight {
  color: var(--color-accent-blue);
  position: relative;
  display: inline-block;
}

.hero-title span.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(2, 132, 199, 0.18);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e0f2fe;
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 18px;
  height: 18px;
}

.highlight-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

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

/* Tarjeta visual del Hero con foto de la fachada */
.hero-visual {
  position: relative;
}

.store-card {
  position: relative;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.store-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.store-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.store-card:hover .store-image-wrap img {
  transform: scale(1.03);
}

.store-image-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.store-card-info {
  padding: 1.2rem 0.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.store-card-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
}

.store-card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background-color: #fef3c7;
  color: #b45309;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
}

/* Nota destacada integrada dentro de la tarjeta de la tienda */
.store-card-footer-note {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-note-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-note-icon svg {
  width: 18px;
  height: 18px;
}

.store-note-text {
  font-size: 0.82rem;
  color: #166534;
  line-height: 1.4;
}

.store-note-text strong {
  font-weight: 800;
  color: #14532d;
}

/* SECCIÓN PASOS: ENVÍO DE DOCUMENTOS */
.section {
  padding: 5rem 0;
}

.section-bg-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent-blue);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Pasos / Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #bae6fd;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.step-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: #e0f2fe;
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.step-action {
  margin-top: 1.25rem;
}

/* SECCIÓN SERVICIOS: 3 tarjetas exactas en 1 fila en escritorio */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.service-top {
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

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

/* Variantes de color para iconos */
.icon-blue { background-color: #e0f2fe; color: #0284c7; }
.icon-green { background-color: #dcfce7; color: #16a34a; }
.icon-magenta { background-color: #ffe4e6; color: #e11d48; }
.icon-amber { background-color: #fef3c7; color: #d97706; }
.icon-purple { background-color: #f3e8ff; color: #9333ea; }
.icon-slate { background-color: #e2e8f0; color: #475569; }

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: #16a34a;
  flex-shrink: 0;
}

/* Banner de servicio tradicional / fax */
.traditional-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background-color: #f1f5f9;
  color: #475569;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
}

/* SECCIÓN CALCULADORA DE PRECIOS ORIENTATIVA */
.calculator-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-form-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.calc-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.calc-radio-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.calc-radio-card.active {
  border-color: var(--color-accent-blue);
  background-color: #f0f9ff;
  font-weight: 700;
  color: var(--color-accent-blue);
}

.calc-number-input {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calc-number-input input[type="range"] {
  flex: 1;
  accent-color: var(--color-accent-blue);
  cursor: pointer;
}

.calc-number-display {
  width: 70px;
  padding: 0.5rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.calc-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.calc-result-box {
  background: linear-gradient(145deg, var(--color-primary) 0%, #17385c 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.calc-result-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.calc-price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

.calc-note {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* SECCIÓN POR QUÉ COPYFAX (CONÓCENOS) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature-box {
  background-color: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.about-feature-box h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.about-feature-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-gallery {
  position: relative;
}

.about-card-banner {
  background: linear-gradient(135deg, #0e2a47 0%, #1e4976 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-card-banner::before {
  content: 'TRIANA';
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

/* SECCIÓN UBICACIÓN Y HORARIOS */
.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: #e0f2fe;
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.contact-item-content p, .contact-item-content a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-item-content a:hover {
  color: var(--color-accent-blue);
  text-decoration: underline;
}

/* Horarios */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 1rem;
}

.schedule-table tr {
  border-bottom: 1px solid var(--border-light);
}

.schedule-table tr:last-child {
  border-bottom: none;
}

.schedule-table td {
  padding: 0.6rem 0;
}

.schedule-table td.day {
  font-weight: 700;
  color: var(--color-primary);
}

.schedule-table td.hours {
  text-align: right;
  color: var(--text-muted);
}

/* Mapa */
.map-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.map-card-footer {
  padding: 1.25rem 1.75rem;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 1rem;
}

/* FORMULARIO DE CONSULTA RÁPIDA */
.quick-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

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

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

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* FOOTER */
.site-footer {
  background-color: #091a2c;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--color-accent-blue);
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* BOTÓN FLOTANTE WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  animation: float-pulse 3s infinite ease-in-out;
}

.floating-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes float-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets, Portátiles y Móviles)
   Garantiza que la web nunca se rompa al encoger la ventana o en pantallas pequeñas
   ========================================================================== */

/* TABLETS Y PANTALLAS MEDIANAS (<= 992px) */
@media (max-width: 992px) {
  /* Barra superior limpia y centrada */
  .top-bar-left {
    display: none;
  }
  
  .top-bar-content {
    justify-content: center;
  }

  .top-bar-right {
    gap: 0.85rem;
    font-size: 0.82rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Cabecera: Activar menú hamburguesa para evitar que los enlaces choquen */
  .navbar {
    padding: 0.65rem 0;
    position: relative;
  }

  .brand-logo img {
    height: 40px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    cursor: pointer;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-xl);
    border-bottom: 2px solid var(--border-light);
    display: none;
    z-index: 1000;
  }

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

  .nav-link {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.05rem;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-actions {
    display: none;
  }

  /* Hero en tablets y ventanas medianas */
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

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

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  /* Pasos a 1 columna centrada */
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 1.5rem;
  }

  /* Servicios: en tablets 1 o 2 columnas según espacio */
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  /* Contacto y mapa */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-card iframe {
    min-height: 320px;
    height: 320px;
  }

  /* Pie de página */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* SMARTPHONES Y PANTALLAS ESTRECHAS (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.85rem 1.2rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .store-image-wrap img {
    height: 280px;
  }

  .map-card iframe {
    min-height: 280px;
    height: 280px;
  }

  .map-card-footer {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  /* Botón flotante circular en móviles */
  .floating-whatsapp {
    padding: 0.9rem;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}

/* PANTALLAS MUY PEQUEÑAS (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .schedule-table td {
    display: block;
    width: 100%;
  }

  .schedule-table td.hours {
    text-align: left;
    padding-top: 0.15rem;
    padding-bottom: 0.75rem;
  }

  .schedule-table tr {
    display: block;
    padding: 0.35rem 0;
  }
}
