/* =========================================================================
   Oswald Martinez — sitio web del mariachi
   Paleta: morado oscuro + dorado + negros profundos.
   "Cortinas de terciopelo de escenario con la calidez de una celebracion."
   Mobile-first: los estilos base son para telefono; las @media agregan
   columnas y espacio en pantallas grandes.
   ========================================================================= */

/* ------------------------------ Variables ------------------------------ */
:root {
  --bg:           #100819;   /* fondo casi negro con tinte morado */
  --bg-2:         #190d2a;   /* morado muy oscuro (secciones alternas) */
  --surface:      #241439;   /* superficie de tarjetas */
  --surface-2:    #311c4d;   /* superficie elevada / hover */
  --primary:      #5b2384;   /* morado oscuro principal */
  --primary-300:  #a877cf;   /* morado claro para acentos de texto */
  --gold:         #d8a93a;   /* dorado oscuro (acento) */
  --gold-bright:  #f1c75a;   /* dorado claro para brillos */
  --text:         #f4ecdc;   /* blanco calido */
  --text-muted:   #b9a9cb;   /* texto secundario */
  --border:       rgba(216, 169, 58, 0.20);
  --border-soft:  rgba(168, 119, 207, 0.16);
  --shadow:       0 18px 40px -18px rgba(0, 0, 0, 0.85);
  --radius:       14px;
  --maxw:         1140px;
  --header-h:     66px;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  /* Sutil resplandor de "luz de velas" en las esquinas del fondo. */
  background-image:
    radial-gradient(ellipse 60% 50% at 12% 0%, rgba(91, 35, 132, 0.45), transparent 70%),
    radial-gradient(ellipse 50% 45% at 95% 8%, rgba(216, 169, 58, 0.10), transparent 70%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }
input, textarea, select { font-family: inherit; }

/* ------------------------------ Tipografia ----------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
}

/* ------------------------------ Layout --------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
  position: relative;
}
.section--alt { background-color: var(--bg-2); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head h2 {
  font-size: 2rem;
  margin: 10px 0 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Adorno de notas musicales arriba de los titulos de seccion. */
.section-motif {
  display: block;
  width: 56px;
  height: 22px;
  margin: 0 auto;
  color: var(--gold);
  opacity: 0.9;
}

/* ------------------------------ Botones -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  min-height: 50px;          /* objetivo tactil amplio */
  text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #2a1505;
  box-shadow: 0 10px 24px -10px rgba(216, 169, 58, 0.7);
}
.btn--gold:hover { box-shadow: 0 14px 30px -10px rgba(241, 199, 90, 0.85); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--gold);
}
.btn--outline:hover { background: rgba(216, 169, 58, 0.12); }

.btn--primary {
  background: linear-gradient(135deg, var(--primary-300), var(--primary));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(91, 35, 132, 0.9);
}
.btn--primary:hover { box-shadow: 0 14px 30px -12px rgba(168, 119, 207, 0.8); }

.btn--block { width: 100%; }

/* ------------------------------ Encabezado ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(16, 8, 25, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__icon { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.brand__name span { color: var(--gold); }

/* Navegacion */
.nav-toggle {
  background: transparent;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.nav-toggle svg { width: 26px; height: 26px; }

.main-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  transform: translateY(-130%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}
.main-nav.is-open { transform: translateY(0); }
.main-nav ul {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.main-nav a {
  display: block;
  padding: 14px 24px;
  font-weight: 500;
  color: var(--text);
  border-left: 3px solid transparent;
}
.main-nav a:hover { background: var(--surface); }
.main-nav a.is-active {
  color: var(--gold);
  border-left-color: var(--gold);
}
.main-nav .nav-cta { margin: 12px 24px 16px; }

/* ------------------------------ Hero ----------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 48px 0 64px;
  overflow: hidden;
}
.hero::before {
  /* Foco de luz teatral. */
  content: '';
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 90%;
  background: radial-gradient(ellipse at center, rgba(91, 35, 132, 0.55), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}
.hero__photo { width: 100%; max-width: 320px; }
.hero__content { max-width: 560px; }

.hero__name {
  font-size: clamp(2.6rem, 11vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 8px 0 6px;
}
.hero__name span { display: block; color: var(--gold); }

.hero__rule {
  width: 84px;
  height: 3px;
  margin: 16px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__tagline {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Notas musicales flotantes decorativas. */
.hero__notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--gold);
  opacity: 0.16;
}
.hero__notes svg { position: absolute; }
.note-1 { top: 14%;  left: 8%;  width: 30px; }
.note-2 { top: 24%;  right: 10%; width: 22px; }
.note-3 { bottom: 18%; left: 14%; width: 24px; }

/* ------------------- Marco de foto (placeholders) ---------------------- */
/* Cajas oscuras y elegantes que sustituyen las fotos reales del cliente. */
.photo-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(150deg, var(--surface-2), var(--surface) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary-300);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-frame::after {
  /* Brillo dorado tenue en la esquina. */
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse at top right, rgba(216, 169, 58, 0.16), transparent 70%);
  pointer-events: none;
}
.photo-frame svg { width: 54px; height: 54px; opacity: 0.85; }
.photo-frame__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 14px;
  text-align: center;
}
.photo-frame--portrait { aspect-ratio: 3 / 4; }
.photo-frame--square   { aspect-ratio: 1 / 1; }
.photo-frame--wide     { aspect-ratio: 4 / 3; }

/* Foto real dentro del marco: lo rellena por completo. */
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ------------------------------ Servicios ------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: linear-gradient(135deg, rgba(216,169,58,0.18), rgba(91,35,132,0.35));
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.24rem;
  margin-bottom: 8px;
  color: var(--gold-bright);
}
.service-card p { color: var(--text-muted); font-size: 0.96rem; }
.service-card--feature {
  border-color: var(--gold);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
}
.service-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2a1505;
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ------------------------------ Instrumentos --------------------------- */
.instrument-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.instrument-card .photo-frame { margin-bottom: 16px; }
.instrument-card h3 { font-size: 1.16rem; color: var(--gold-bright); margin-bottom: 6px; }
.instrument-card p { color: var(--text-muted); font-size: 0.92rem; }
.instrument-card__badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 12px;
}
.instrument-card--empty {
  border-style: dashed;
  border-color: var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  min-height: 220px;
}
.instrument-card--empty .plus {
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

/* ------------------------------ Galeria -------------------------------- */
.gallery-grid {
  columns: 2;
  column-gap: 14px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, border-color 0.2s ease;
}
.gallery-item:hover { transform: scale(1.02); border-color: var(--gold); }
.gallery-item img { width: 100%; height: auto; display: block; }
.gallery-item__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 12px 10px;
  font-size: 0.8rem;
  color: var(--text);
  background: linear-gradient(transparent, rgba(16, 8, 25, 0.92));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-item:hover .gallery-item__caption { opacity: 1; }

.gallery-empty,
.videos-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 4, 14, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.lightbox__caption {
  position: absolute;
  bottom: 26px;
  left: 0; right: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0 20px;
}
.lightbox__btn {
  position: absolute;
  background: rgba(36, 20, 57, 0.85);
  color: var(--text);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.lightbox__btn:hover { background: var(--primary); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev  { left: 12px;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 12px; top: 50%; transform: translateY(-50%); }

/* ------------------------------ Videos --------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-card__frame iframe { width: 100%; height: 100%; border: 0; }
.video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-card__poster {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card__play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(216, 169, 58, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  transition: transform 0.15s ease;
}
.video-card__poster:hover .video-card__play { transform: scale(1.08); }
.video-card__play svg { width: 26px; height: 26px; color: #2a1505; margin-left: 3px; }
/* Marcador para videos de ejemplo sin miniatura real. */
.video-card__fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary-300);
}
.video-card__fallback svg { width: 46px; height: 46px; opacity: 0.8; }
.video-card__fallback span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.video-card__body { padding: 14px 16px 18px; }
.video-card__body h3 { font-size: 1.04rem; color: var(--text); }

/* ------------------------------ Contacto ------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 169, 58, 0.15);
}

.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
}
.form-status.is-ok {
  display: block;
  background: rgba(70, 160, 90, 0.16);
  border: 1px solid rgba(110, 200, 130, 0.4);
  color: #b8e6c2;
}
.form-status.is-error {
  display: block;
  background: rgba(190, 70, 70, 0.16);
  border: 1px solid rgba(220, 110, 110, 0.4);
  color: #f0c0c0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-row__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(216,169,58,0.18), rgba(91,35,132,0.35));
  border: 1px solid var(--border);
}
.info-row__text strong { display: block; color: var(--text); font-size: 0.98rem; }
.info-row__text span { color: var(--text-muted); font-size: 0.92rem; }

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.social-link {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--gold);
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.social-link:hover { background: var(--surface-2); transform: translateY(-2px); }
.social-link svg { width: 22px; height: 22px; }

.map-frame {
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 260px; border: 0; }

/* ------------------------------ Sobre Mi ------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.about-photo { max-width: 360px; margin: 0 auto; width: 100%; }
.about-text h2 { font-size: 1.9rem; margin-bottom: 8px; }
.about-text p { color: var(--text-muted); margin-bottom: 14px; }
.about-text .signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 8px;
}

/* ------------------------------ Bloque CTA ----------------------------- */
.cta-band {
  text-align: center;
  background: linear-gradient(160deg, var(--primary), var(--bg-2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 { font-size: 1.9rem; margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); margin-bottom: 22px; }

/* ------------------------------ Pie ------------------------------------ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  padding: 40px 0 26px;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand .brand__name { font-size: 1.3rem; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 10px;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  padding: 5px 0;
  font-size: 0.94rem;
}
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ------------------------------ Admin ---------------------------------- */
.admin-wrap { max-width: 560px; margin: 0 auto; padding: 36px 20px 80px; }
.admin-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 22px;
}
.admin-card h2 { font-size: 1.3rem; color: var(--gold-bright); margin-bottom: 6px; }
.admin-card p.hint { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.admin-hidden { display: none; }
.admin-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.admin-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.88rem;
}
.admin-list__item img {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.admin-list__item .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.admin-del {
  background: rgba(190, 70, 70, 0.2);
  border: 1px solid rgba(220, 110, 110, 0.4);
  color: #f0c0c0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  min-height: 40px;
}
.admin-del:hover { background: rgba(190, 70, 70, 0.4); }

/* ------------------------------ 404 ------------------------------------ */
.notfound {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.notfound h1 { font-size: 4rem; color: var(--gold); }

/* ------------------------------ Utilidades ----------------------------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.is-loading { opacity: 0.55; pointer-events: none; }

/* =========================================================================
   BREAKPOINTS — mejoras para pantallas mas grandes
   ========================================================================= */

/* Tablet pequena */
@media (min-width: 560px) {
  .hero__cta { flex-direction: row; justify-content: center; }
  .gallery-grid { columns: 3; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet / desktop */
@media (min-width: 860px) {
  .section { padding: 84px 0; }
  .section-head h2 { font-size: 2.5rem; }

  /* Navegacion horizontal — se oculta el menu movil. */
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .main-nav ul { flex-direction: row; align-items: center; padding: 0; gap: 4px; }
  .main-nav a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 8px 14px;
    font-size: 0.95rem;
  }
  .main-nav a:hover { background: transparent; color: var(--gold); }
  .main-nav a.is-active { border-left: none; border-bottom-color: var(--gold); }
  .main-nav .nav-cta {
    margin: 0 0 0 12px;
    padding: 10px 20px;
    min-height: 42px;
  }
  .main-nav .nav-cta.is-active { border-bottom: none; }

  .hero__inner { flex-direction: row-reverse; text-align: left; gap: 48px; }
  .hero__photo { max-width: 380px; flex-shrink: 0; }
  .hero__content { flex: 1; }
  .hero__name { margin-top: 0; }
  .hero__rule { margin-left: 0; }
  .hero__cta { justify-content: flex-start; }
  .section-head .section-motif { margin-bottom: 4px; }

  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .instrument-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1.05fr 0.95fr; }
  .about-layout { grid-template-columns: 0.8fr 1.2fr; gap: 44px; }
  .about-photo { margin: 0; }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .footer-cols { display: flex; gap: 56px; }
}

/* Desktop ancho */
@media (min-width: 1100px) {
  .gallery-grid { columns: 4; }
  .hero__name { font-size: 4.4rem; }
}

/* Respeta la preferencia de movimiento reducido. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
