/* ============================================================
   Nabila Melli — CSS de marca sobre Bootstrap 5
   Estructura: base → componentes → secciones → mobile
   ============================================================ */

/* ——— Fuente custom ——— */
@font-face {
  font-family: "Walkway Bold";
  src: url("fonts/Walkway_Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ——— Variables ——— */
:root {
  --bg:           #f9f7f4;
  --bg-elevated:  #ffffff;
  --text:         #2c2a27;
  --text-muted:   rgba(44, 42, 39, 0.78);
  --text-soft:    rgba(44, 42, 39, 0.58);
  --gold:         #8f7234;
  --gold-dim:     rgba(143, 114, 52, 0.32);
  --rose:         #855a63;
  --midnight:     #f1ece4;
  --line:         rgba(44, 42, 39, 0.07);
  --hairline:     rgba(143, 114, 52, 0.35);
  --font-display: "Walkway Bold", Georgia, serif;
  --font-body:    "Walkway Bold", Georgia, serif;
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-fine:    cubic-bezier(0.33, 1, 0.68, 1);
  --header-h:     4.25rem;
}

/* ——— Reset base ——— */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

*,*::before,*::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: normal;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* evita scroll horizontal en móvil */
}

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

a { color: var(--gold); text-decoration: none; transition: color 0.3s var(--ease-out); }
a:hover { color: var(--rose); }

::selection { background: rgba(143, 114, 52, 0.18); color: var(--text); }


/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease-out),
              border-color 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(143,114,52,.06);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
  position: relative;
  padding-bottom: 0.1rem;
  white-space: nowrap;
}
.logo::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--hairline), transparent 85%);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.6s var(--ease-fine);
}
.logo:hover { color: var(--gold); }
.logo:hover::after { transform: scaleX(1); }

/* Nav desktop */
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  position: relative;
  padding: 0.3rem 0;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.4s var(--ease-out);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); }

/* Hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0; border: none; background: transparent; cursor: pointer; color: var(--text);
}
.nav-toggle span { display: block; width: 22px; height: 1px; background: currentColor; transition: transform 0.3s, opacity 0.3s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menú móvil desplegable */
.nav-mobile {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 0;
}
.nav-mobile[hidden] { display: none !important; }
.nav-mobile a {
  font-size: 0.9rem; color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  display: block;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); }


/* ================================================================
   HERO — sin foto, elegante
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 2rem 5rem;
  overflow: hidden;
  background-color: var(--bg);
}

/* Patrón de rombos sutil */
.hero-pattern {
  position: absolute; inset: 0; z-index: 0; opacity: 0.04;
  background-image:
    linear-gradient(45deg, var(--gold) 1px, transparent 1px),
    linear-gradient(-45deg, var(--gold) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Radiales de ambiente */
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 20% 30%, rgba(154,123,56,.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 80% 70%, rgba(143,79,94,.05) 0%, transparent 50%);
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 42rem;
  text-align: center;
}

.hero-ornament {
  width: 120px; height: 120px;
  margin: 0 auto 1.75rem;
  color: var(--gold); opacity: 0.85;
}
.hero-ornament svg { width: 100%; height: 100%; display: block; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  /* Escala fluida: nunca menor de 1.35rem, nunca mayor de 3.55rem */
  font-size: clamp(1.35rem, 5.2vw, 3.55rem);
  line-height: 1.14;
  letter-spacing: 0.015em;
  color: var(--text);
  margin: 0 0 1.1rem;
  white-space: nowrap; /* desktop: título en 1 línea */
}
.hero-title-inner { display: inline; }

/* Animación letra a letra */
.hero-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  animation: charIn 0.8s var(--ease-out) forwards;
  animation-delay: calc(0.04s + var(--char-i) * 0.04s);
  white-space: pre;
}
@keyframes charIn { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-char { opacity: 1; transform: none; animation: none; } }

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.8;
}
.fade-in-delay { opacity: 0; animation: fadeUp 1s var(--ease-out) 0.8s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .fade-in-delay { opacity: 1; animation: none; } }

/* CTAs del hero: siempre en fila, nunca apilados */
.hero-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;          /* nunca rompen a segunda línea */
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--gold); opacity: 0.5;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.scroll-indicator:hover { opacity: 1; }
.scroll-indicator-arrow {
  display: block; width: 18px; height: 18px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg); margin: 0 auto;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}
@media (prefers-reduced-motion: reduce) { .scroll-indicator { animation: none; } }


/* ================================================================
   BOTONES
   ================================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  white-space: nowrap;            /* el texto del botón nunca rompe */
  padding: 1rem 2.2rem;
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  overflow: hidden;
  transition: color .4s var(--ease-fine), border-color .4s var(--ease-fine),
              background .4s var(--ease-fine), transform .35s var(--ease-fine),
              box-shadow .4s var(--ease-fine);
}
.btn:hover {
  color: var(--bg-elevated);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(44,42,39,.08);
}
.btn:not(.btn-shimmer):hover { background: var(--gold); }

/* Botón hero dorado */
.btn-hero {
  padding: 1rem 2rem;
  border-color: var(--gold);
  color: var(--gold);
}

/* Botón hero Instagram (rosa) */
.btn-hero-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding: 1rem 2rem;
  border: 1px solid var(--rose);
  color: var(--rose);
  background: transparent;
  text-decoration: none;
  transition: background .4s var(--ease-fine), color .4s var(--ease-fine), transform .35s var(--ease-fine);
}
.btn-hero-ig:hover { background: var(--rose); color: #fff; transform: translateY(-1px); }

/* Shimmer fill */
.btn-shimmer::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: 0; pointer-events: none;
}
.btn-shimmer:hover::before { transform: scaleX(1); }
.btn-text { position: relative; z-index: 1; }

.btn-shimmer-sheen {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.32) 50%, transparent 60%);
  background-size: 200% 100%; opacity: 0; transition: opacity 0.3s;
}
.btn-shimmer:hover .btn-shimmer-sheen { opacity: 1; animation: shimmerSweep 0.9s var(--ease-out); }
@keyframes shimmerSweep { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Ripple */
.btn-ripple { overflow: hidden; }
.ripple {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  transform: translate(-50%,-50%) scale(0);
  animation: rippleGrow 0.6s var(--ease-out) forwards;
  pointer-events: none; z-index: 4;
}
@keyframes rippleGrow { to { transform: translate(-50%,-50%) scale(18); opacity: 0; } }

/* Botón encargar sobre imagen */
.btn-encargar {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.9);
  opacity: 0; z-index: 3;
  border-color: rgba(255,255,255,.88);
  color: #fff;
  background: rgba(20,18,15,.3);
  white-space: nowrap;
  text-decoration: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.product-card:hover .btn-encargar { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.btn-encargar:hover { background: var(--bg-elevated); color: var(--text); border-color: var(--bg-elevated); }

/* Botón CTA card encargo */
.btn-encargo-cta {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.1em; white-space: nowrap;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--gold); color: var(--gold); background: transparent;
  text-decoration: none;
  transition: background .4s var(--ease-fine), color .4s var(--ease-fine);
}
.btn-encargo-cta:hover { background: var(--gold); color: #fff; }


/* ================================================================
   SECTIONS — base
   ================================================================ */
.section {
  position: relative;
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 9vw, 6.5rem);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header de sección */
.section-header {
  text-align: center;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
/* Con ornamentos laterales → grid de 3 columnas */
.section-header--ornament {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  column-gap: 1rem; row-gap: 0.6rem;
}
.section-header--ornament .section-title { grid-column: 2; width: auto; justify-self: center; }
.title-ornament--left  { grid-column: 1; justify-self: end; }
.title-ornament--right { grid-column: 3; justify-self: start; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0; width: 100%;
}
.section-title-text { display: inline-block; }

.title-ornament { max-width: 110px; opacity: 0.48; transition: opacity 0.5s; }
.section-header:hover .title-ornament { opacity: 0.7; }
.title-ornament svg { width: 100%; height: auto; display: block; }

.title-line {
  width: 100%; grid-column: 1 / -1; height: 1px; margin-top: 0.4rem;
  background: linear-gradient(90deg, transparent, var(--hairline) 25%, rgba(143,114,52,.16) 50%, var(--hairline) 75%, transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 1.1s var(--ease-fine);
}
.reveal-title.is-visible .title-line { transform: scaleX(1); }

.section-lead {
  text-align: center; max-width: 34rem; margin: 0 auto 2.75rem;
  font-size: 1rem; color: var(--text-muted); line-height: 1.82;
  position: relative; padding-bottom: 1.2rem;
}
.section-lead::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 2.5rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

/* Scroll reveals */
.reveal-on-scroll, .reveal-stagger {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-on-scroll.is-visible, .reveal-stagger.is-visible { opacity: 1; transform: translateY(0); }

.reveal-title .section-title-text {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.75s var(--ease-out) 0.12s, transform 0.75s var(--ease-out) 0.12s;
}
.reveal-title.is-visible .section-title-text { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll, .reveal-stagger, .reveal-title .section-title-text { opacity: 1; transform: none; transition: none; }
  .reveal-title .title-line { transform: scaleX(1); }
}


/* ================================================================
   COLECCIÓN / CREACIONES
   ================================================================ */
.coleccion {
  background: linear-gradient(180deg, var(--bg) 0%, var(--midnight) 50%, var(--bg) 100%);
}

.product-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(44,42,39,.03);
  transition: border-color .5s var(--ease-fine), box-shadow .5s var(--ease-fine);
}
.product-card:hover {
  border-color: rgba(143,114,52,.2);
  box-shadow: 0 10px 36px rgba(44,42,39,.07), 0 0 0 1px rgba(143,114,52,.07);
}

.product-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.product-card:hover .product-media img { transform: scale(1.03); }

.product-media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.06) 0%, rgba(44,42,39,.4) 50%, rgba(133,90,99,.16) 100%);
  opacity: 0; transition: opacity .45s var(--ease-out); pointer-events: none;
}
.product-card:hover .product-media-overlay { opacity: 1; }

.product-body { padding: 1.2rem 1.2rem 1.5rem; }

.product-tag {
  display: inline-block;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 0.4rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500; color: var(--text);
  margin: 0 0 0.55rem; letter-spacing: 0.01em;
}
.product-desc {
  margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-price {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.03em;
}

/* Card CTA especial (sin imagen) */
.product-card--cta {
  background: linear-gradient(145deg, #faf8f4 0%, #f4ede3 100%);
  border-color: var(--hairline);
  padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.product-card--cta .product-name { font-size: 1.3rem; margin-bottom: 0.6rem; }
.product-card--cta .product-desc { -webkit-line-clamp: unset; line-clamp: unset; margin-bottom: 0; }

.cta-card-ornament {
  width: 52px; height: 52px; color: var(--gold); opacity: 0.72;
  margin: 0 auto 1.1rem;
}
.cta-card-ornament svg { width: 100%; height: auto; display: block; }


/* ================================================================
   SOBRE NOSOTROS
   ================================================================ */
.nosotros {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nosotros .section-header { margin-bottom: 2rem; }

.nosotros-texto {
  max-width: 640px; margin: 0 auto 2.75rem; text-align: center;
}
.nosotros-lead {
  font-size: 1.08rem; font-weight: 500; color: var(--text);
  margin-bottom: 1rem; line-height: 1.78;
}
.nosotros-lead strong { color: var(--gold); font-weight: 500; }
.nosotros-texto p { color: var(--text-muted); margin-bottom: 1rem; }

.rose-accent {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.05rem; color: var(--rose) !important; letter-spacing: 0.02em;
}

/* Pilares */
.nosotros-pillar {
  background: var(--bg); border: 1px solid var(--line);
  padding: 1.6rem 1.25rem; text-align: center; height: 100%;
  transition: border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nosotros-pillar:hover { border-color: var(--hairline); box-shadow: 0 4px 18px rgba(44,42,39,.05); }

.nosotros-pillar-icon {
  width: 38px; height: 38px; margin: 0 auto 0.9rem; color: var(--gold); opacity: 0.78;
}
.nosotros-pillar-icon svg { width: 100%; height: auto; display: block; }

.nosotros-pillar-title {
  display: block; font-family: var(--font-display);
  font-size: 1rem; font-weight: 500; color: var(--text);
  margin-bottom: 0.45rem; letter-spacing: 0.01em;
}
.nosotros-pillar-desc { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; margin: 0; }


/* ================================================================
   CONTACTO / ENCARGOS
   ================================================================ */
.contacto {
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(143,79,94,.05) 0%, transparent 52%), var(--bg);
}

.star-divider { max-width: 200px; }
.star-divider svg { width: 100%; height: auto; display: block; }

/* Formulario — override Bootstrap */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-label { font-size: 0.72rem; letter-spacing: 0.1em; font-weight: 500; color: var(--gold); }

.form-control {
  font-family: var(--font-body); font-size: 0.97rem; color: var(--text);
  background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: 0; padding: 0.8rem 0.95rem;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.form-control::placeholder { color: var(--text-soft); }
.form-control:focus {
  color: var(--text); background: var(--bg-elevated);
  border-color: rgba(143,114,52,.4);
  box-shadow: 0 0 0 3px rgba(143,114,52,.09);
  outline: none;
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* Info de contacto */
.contact-info-title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500;
  color: var(--text); margin: 0 0 1.1rem; letter-spacing: 0.02em;
}
.contact-address { font-style: normal; margin: 0 0 0.9rem; color: var(--text); line-height: 1.7; }
.contact-address strong { font-weight: 600; color: var(--text); }
.contact-phone, .contact-ig, .contact-hours { margin: 0 0 0.7rem; font-size: 1rem; }
.contact-phone a, .contact-ig a { color: var(--gold); }
.contact-ig-note { display: block; font-size: 0.88rem; color: var(--text-muted); margin-top: 0.18rem; }
.contact-hours { color: var(--text-muted); font-size: 0.92rem; letter-spacing: 0.03em; }


/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  border-top: 1px solid rgba(143,114,52,.13);
  padding: 2.5rem 1.5rem 3rem;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, #fdfcfa 100%);
}
.footer-inner { max-width: 1120px; margin: 0 auto; }

.footer-logo {
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--text); margin: 0 0 0.4rem;
}
.footer-logo::after {
  content: ""; display: block; width: 2.75rem; height: 1px;
  margin: 0.6rem auto 0;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}
.footer-copy { margin: 0 0 0.85rem; font-size: 0.9rem; letter-spacing: 0.05em; color: var(--text-muted); }
.footer-social { font-size: 0.9rem; letter-spacing: 0.05em; }
.footer-social a { color: var(--text); }
.footer-social a:hover { color: var(--gold); }
.footer-dot { margin: 0 0.45rem; color: var(--gold-dim); }


/* ================================================================
   RESPONSIVE — TABLET  (< 768px)
   ================================================================ */
@media (max-width: 767px) {
  /* Header */
  .nav { display: none; }
  .nav-toggle { display: flex; }

  /* Nosotros: pilares en 1 columna en tabla pequeña */
  .nosotros-pillar { padding: 1.25rem 1rem; }

  /* Contacto info: separación superior */
  .contact-info { padding-top: 0.5rem; }
}


/* ================================================================
   RESPONSIVE — MÓVIL  (< 576px)
   ================================================================ */
@media (max-width: 575px) {
  /* Secciones: menos padding lateral */
  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero */
  .hero {
    padding: calc(var(--header-h) + 2rem) 1.25rem 4rem;
    min-height: auto;             /* evita que el hero sea demasiado alto en móviles cortos */
    min-height: 100vh;
  }
  .hero-ornament { width: 90px; height: 90px; margin-bottom: 1.25rem; }
  .hero-title {
    /* En móvil pequeño el clamp puede no ser suficiente: forzamos un tamaño seguro */
    font-size: clamp(1.25rem, 7.5vw, 1.8rem);
    margin-bottom: 0.9rem;
    white-space: normal; /* móvil: permitir wrap */
  }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1.75rem; }

  /* Botones hero: más compactos pero SIEMPRE en fila */
  .hero-ctas { gap: 0.5rem; }
  .btn-hero,
  .btn-hero-ig {
    padding: 0.8rem 1.1rem;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    flex: 1;                      /* reparten el espacio disponible entre los dos */
    max-width: 160px;             /* pero ninguno se hace enorme */
  }

  /* Section header sin ornamentos */
  .section-header--ornament { grid-template-columns: 1fr; }
  .title-ornament { display: none; }
  .section-header--ornament .section-title { grid-column: 1; }

  /* Título de sección */
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Productos: 1 columna completa, cuerpo más compacto */
  .product-body { padding: 1rem; }
  .product-name { font-size: 1.05rem; }

  /* Card CTA */
  .product-card--cta { padding: 2rem 1.25rem; }
  .product-card--cta .product-name { font-size: 1.15rem; }

  /* Nosotros texto */
  .nosotros-texto { margin-bottom: 2rem; }
  .nosotros-lead { font-size: 1rem; }
  .nosotros-pillar { padding: 1.1rem 0.9rem; }
  .nosotros-pillar-title { font-size: 0.95rem; }

  /* Contacto info por debajo del formulario */
  .contact-info { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 0.5rem; }
  .contact-info-title { font-size: 1.15rem; }

  /* Footer */
  .site-footer { padding: 2rem 1.25rem 2.5rem; }
  .footer-logo { font-size: 1.1rem; }
}


/* ================================================================
   RESPONSIVE — PANTALLAS MUY PEQUEÑAS  (< 360px)
   ================================================================ */
@media (max-width: 359px) {
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .hero-title { font-size: 1.2rem; }
  /* En pantallas muy estrechas los botones sí pueden apilar */
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-hero, .btn-hero-ig { max-width: 100%; width: 100%; justify-content: center; }
}
