/* ============================================================
   FORMATEOS A DOMICILIO OSORNO — hoja de estilos
   Identidad: taller técnico / mesón de reparación, cálido y directo.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Color */
  --graphite: #10263B;
  --graphite-soft: #163752;
  --putty: #EFEAE0;
  --putty-dark: #E2DCCC;
  --orange: #FF5A2E;
  --orange-dark: #E5461D;
  --teal: #6FBE3E;
  --ink: #10263B;
  --paper: #F7F4EE;
  --line: rgba(16, 38, 59, 0.14);

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-w: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
/* (Estilos completos del header y menú móvil más abajo, sección
   "Header & Cabecera Móvil", para evitar reglas duplicadas). */

/* ---------- Banner promocional deslizante (ofertas) ---------- */

.promo-banner {
  background: #0d0221;
  overflow: hidden;
}

.banner-slider {
  position: relative;
  overflow: hidden;
}

.banner-track {
  display: flex;
  transition: transform 0.5s ease;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,47,208,0.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(76,224,255,0.16), transparent 45%),
    #12043a;
  position: relative;
}

.banner-icon {
  font-size: 1.7rem;
  filter: drop-shadow(0 0 6px rgba(76,224,255,0.8));
  flex-shrink: 0;
}

.banner-text {
  min-width: 0;
}

.banner-text h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 3px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,47,208,0.55), 0 0 18px rgba(76,224,255,0.35);
}

.banner-line {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
}

.banner-price {
  font-weight: 700;
  color: #4CE0FF;
  text-shadow: 0 0 8px rgba(76,224,255,0.6);
}

.banner-note {
  margin: 3px 0 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.banner-cta {
  background: linear-gradient(90deg, #FF2FD0, #4CE0FF);
  color: #0d0221;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(255,47,208,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.banner-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(76,224,255,0.6);
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 10px;
  background: #0d0221;
}

.banner-dots.hidden { display: none; }

.banner-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
}

.banner-dots .dot.active {
  background: #4CE0FF;
  box-shadow: 0 0 6px rgba(76,224,255,0.8);
}

@media (max-width: 640px) {
  .banner-slide {
    padding: 14px 18px;
    gap: 8px;
  }
  .banner-text h3 { font-size: 0.95rem; }
  .banner-line, .banner-note { font-size: 0.78rem; }
  .banner-cta { padding: 8px 14px; font-size: 0.78rem; }
}

/* ---------- Hero / Banner ---------- */

.hero {
  background: var(--graphite);
  background-image:
    radial-gradient(circle at 85% 20%, rgba(111,190,62,0.20), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255,90,46,0.16), transparent 40%);
  color: var(--paper);
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  margin: 0 0 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 1.05rem;
  color: var(--putty);
  opacity: 0.88;
  max-width: 46ch;
  margin: 0 0 28px;
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--orange);
  color: var(--graphite);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 28px;
}

.price-tag .amount {
  font-size: 1.6rem;
}

.price-tag .unit {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.75;
}

.modalidades {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.modalidad-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 14px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.modalidad-card:hover {
  border-color: var(--orange);
  background: rgba(255,255,255,0.09);
  transform: translateY(-2px);
}

.modalidad-card .m-precio {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--orange);
}

.modalidad-card .m-nombre {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--paper);
  margin: 4px 0 3px;
}

.modalidad-card .m-desc {
  font-size: 0.78rem;
  color: var(--putty);
  opacity: 0.75;
  line-height: 1.35;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.btn:hover { opacity: 0.92; }

.btn-primary {
  background: var(--teal);
  color: var(--graphite);
}

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

.btn-tarjeta:hover {
  background: var(--orange-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.28);
}

.hero-panel {
  background: var(--graphite-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 26px;
}

.hero-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 14px;
  color: var(--teal);
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.92rem;
  color: var(--putty);
}

.hero-panel li:last-child { border-bottom: none; }

.hero-panel li::before {
  content: '›';
  color: var(--orange);
  font-weight: 700;
}

/* ---------- Section shell ---------- */

.section {
  padding: 68px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 6px;
}

.section-head p {
  margin: 0;
  color: rgba(22,35,43,0.65);
  font-size: 0.96rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 14px;
  min-width: 240px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.92rem;
  width: 100%;
  font-family: var(--font-body);
  color: var(--ink);
}

/* ---------- Catalog ---------- */

.catalog {
  background: var(--putty);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card .photo {
  aspect-ratio: 4 / 3;
  background: var(--putty-dark);
  overflow: hidden;
  position: relative;
}

.product-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.25s ease;
}

.photo-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(16,38,59,0.55);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-nav.prev { left: 8px; }
.photo-nav.next { right: 8px; }
.photo-nav:hover { background: rgba(16,38,59,0.8); }

.photo-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.photo-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
}

.photo-dots .dot.active {
  background: #fff;
}

.stock-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--teal);
  color: var(--graphite);
}

.stock-flag.agotado {
  background: var(--graphite);
  color: var(--putty);
}

.product-card .body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0;
  line-height: 1.3;
}

.product-card .desc {
  font-size: 0.86rem;
  color: rgba(22,35,43,0.68);
  margin: 0;
  flex: 1;
}

.product-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--orange-dark);
}

.product-card .btn {
  margin-top: 4px;
  justify-content: center;
  background: var(--graphite);
  color: var(--paper);
  font-size: 0.88rem;
  padding: 10px 16px;
}

.product-card .btn:hover { background: var(--graphite-soft); }

.empty-state, .loading-state {
  text-align: center;
  padding: 60px 20px;
  color: rgba(22,35,43,0.55);
  grid-column: 1 / -1;
}

/* ---------- Delivery / Map ---------- */

.delivery {
  background: var(--graphite);
  color: var(--paper);
}

.delivery .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.delivery h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 14px;
}

.delivery p {
  color: var(--putty);
  opacity: 0.85;
  margin: 0 0 10px;
}

.delivery .addr {
  font-weight: 600;
  color: var(--teal);
  font-size: 1.02rem;
  margin-top: 18px;
}

.map-col {
  display: flex;
  flex-direction: column;
}

.map-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--putty);
  font-size: 0.9rem;
  font-weight: 500;
}

.map-caption .pin { flex-shrink: 0; }

/* ---------- Convenio Tarjeta Vecina ---------- */

.convenio {
  background: linear-gradient(120deg, #10163B 0%, #241A6B 55%, #3A2A8F 100%);
  padding: 0;
}

.convenio-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 34px 24px;
  flex-wrap: wrap;
}

.convenio-logo {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--teal);
  background: var(--graphite);
}

.convenio-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.convenio-texto {
  flex: 1;
  min-width: 260px;
}

.convenio-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--graphite);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.convenio-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

.convenio-titulo span { display: inline-block; margin-right: 8px; }
.convenio-titulo .c-blanco { color: var(--paper); }
.convenio-titulo .c-celeste { color: #3EC1F0; }
.convenio-titulo .c-dorado { color: #FFB100; }

.convenio-desc {
  color: var(--putty);
  opacity: 0.9;
  font-size: 0.96rem;
  max-width: 52ch;
  margin: 0 0 18px;
}

.convenio-desc strong { color: #FFB100; }

.convenio-tvo {
  flex-shrink: 0;
  width: 150px;
}

.convenio-tvo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .convenio-tvo { width: 120px; }
}

@media (max-width: 560px) {
  .convenio-inner { flex-direction: column; text-align: center; }
  .convenio-titulo span { margin-right: 0; display: block; }
  .convenio-tvo { order: 3; }
}

.site-footer {
  background: var(--graphite);
  color: rgba(247,244,238,0.55);
  padding: 26px 0;
  font-size: 0.84rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.site-footer a { color: var(--teal); text-decoration: none; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero .wrap, .delivery .wrap {
    grid-template-columns: 1fr;
  }
  .section { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ============================================================
   PANEL DE ADMINISTRACIÓN
   ============================================================ */

.admin-body {
  background: var(--putty);
  min-height: 100vh;
}

.admin-header {
  background: var(--graphite);
  color: var(--paper);
  padding: 18px 0;
}

.admin-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header h1 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
}

.admin-main {
  padding: 36px 0 80px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.panel h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--graphite);
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: #fff;
}

.field textarea { resize: vertical; min-height: 70px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.btn-secondary {
  background: transparent;
  color: var(--graphite);
  border: 1px solid var(--line);
}

.btn-danger {
  background: transparent;
  color: #C0392B;
  border: 1px solid rgba(192,57,43,0.35);
  padding: 6px 12px;
  font-size: 0.82rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: none;
  color: rgba(22,35,43,0.55);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.admin-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: middle;
}

.admin-table img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--putty-dark);
}

.row-actions {
  display: flex;
  gap: 8px;
}

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--graphite);
}

.login-box {
  background: var(--paper);
  border-radius: 10px;
  padding: 36px;
  width: 340px;
}

.login-box h1 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 20px;
}

.form-msg {
  font-size: 0.85rem;
  margin-top: 10px;
  min-height: 1em;
}

.form-msg.error { color: #C0392B; }
.form-msg.ok { color: #1E8E6D; }

.field-hint {
  font-size: 0.8rem;
  color: rgba(22,35,43,0.55);
  margin: 6px 0 0;
  line-height: 1.4;
}

.field input[type="file"] {
  padding: 8px;
  background: #fff;
  cursor: pointer;
}

/* ---------- Formas de pago ---------- */

.pagos-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 44px 24px;
}

.pagos-texto { flex: 1; min-width: 260px; }

.pagos-texto h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 8px;
}

.pagos-texto > p {
  margin: 0 0 12px;
  color: rgba(22,35,43,0.75);
  font-size: 0.95rem;
}

.pagos-recargo {
  font-size: 0.86rem;
  color: rgba(22,35,43,0.7);
  background: var(--putty);
  border-radius: 6px;
  padding: 10px 14px;
  max-width: 46ch;
}

.pagos-recargo strong { color: var(--ink); }

.pagos-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.pago-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(16,38,59,0.06);
}

.pago-mp { color: #00AEEF; text-transform: lowercase; }
.pago-visa { color: #1A1F71; font-style: italic; letter-spacing: 0.02em; }

@media (max-width: 700px) {
  .pagos-inner { flex-direction: column; align-items: flex-start; text-align: left; padding: 32px 24px; }
  .pagos-logos { width: 100%; }
}

/* ---------- Reseñas en Google ---------- */

.resenas { background: var(--putty); }

.resenas-inner {
  max-width: 560px;
  text-align: center;
  padding: 56px 24px;
}

.resenas-icon { margin: 0 auto 16px; display: block; }

.resenas-inner h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.resenas-inner p {
  color: rgba(22,35,43,0.7);
  font-size: 0.95rem;
  margin: 0 0 22px;
}

.migracion-log {
  margin-top: 12px;
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.82rem;
}

.migracion-log p { margin: 4px 0; }
.migracion-log p.ok { color: #1E8E6D; }
.migracion-log p.error { color: #C0392B; }

.hidden { display: none !important; }

/* Estilos de Stock Agotado / Pre-ordenar */
.product-card.agotado {
  opacity: 0.9;
}

.price.agotado {
  color: #D9381E !important;
}

.btn-preorden {
  background: #C0392B !important;
  color: #ffffff !important;
}

.btn-preorden:hover {
  background: #A93226 !important;
}

/* ============================================================
   VISOR DE IMÁGENES / LIGHTBOX CON ZOOM
   ============================================================ */
.photo-track img {
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.photo-track img:hover {
  filter: brightness(1.05);
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 26, 39, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.image-modal.active {
  display: flex;
  opacity: 1;
}

.image-modal-container {
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  padding: 10px;
}

.image-modal-content {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
}

.image-modal-content.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}

.image-modal-close {
  position: absolute;
  top: 18px;
  right: 28px;
  color: #ffffff;
  font-size: 38px;
  font-weight: 700;
  cursor: pointer;
  z-index: 2001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.image-modal-close:hover {
  background: var(--orange);
  transform: scale(1.1);
}

.image-modal-caption {
  margin-top: 14px;
  color: #E2E8F0;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.65);
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  font-family: var(--font-body);
}

@media (max-width: 600px) {
  .image-modal-content.zoomed {
    transform: scale(1.4);
  }
  .image-modal-close {
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 28px;
  }
}

/* ---------- Header & Cabecera Móvil ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--graphite);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--paper);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--orange);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--putty);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.header-links a:hover {
  color: var(--orange);
}

.nav-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.cta-whatsapp {
  background: #25D366;
  color: #0d381e !important;
  font-weight: 700 !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.88rem !important;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.cta-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

/* Botón Hamburguesa Móvil */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 7px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .header-right {
    gap: 10px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-links {
    display: flex;
    position: absolute;
    top: 68px;
    left: -24px;
    right: -24px;
    background: var(--graphite);
    flex-direction: column;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
    z-index: 999;
    transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
  }

  .header-links.active {
    max-height: 320px;
    opacity: 1;
    padding: 16px 24px 24px 24px;
  }

  .header-links a {
    font-size: 1.05rem;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .header-links a:last-child {
    border-bottom: none;
  }
}
