/* Interaction, gallery and responsive refinements. */
[hidden] { display: none !important; }
:root { --header-height: 150px; }
section, main { scroll-margin-top: calc(var(--header-height) + 20px); }
:focus-visible { outline: 3px solid #A47726; outline-offset: 5px; }
.skip-link { position: fixed; top: 10px; left: 15px; z-index: 2000; padding: 12px 20px; color: white; background: var(--navy); transform: translateY(-180%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1320px, 92%); }
.header { background: #071522; }
.nav-container { min-height: 150px; gap: 26px; }
.header-logo { width: 156px; height: 140px; padding: 4px; border-radius: 8px; }
.nav { gap: clamp(14px, 1.8vw, 28px); }
.nav a { font-size: 14px; white-space: nowrap; }
.nav a[aria-current] { color: var(--gold-light); }
.nav .nav-cta { background: var(--gold-light); color: var(--navy-dark); padding: 13px 22px; border-radius: 40px; }
.nav .nav-cta::after { display: none; }
.menu-btn { min-width: 48px; min-height: 48px; }
.hero { min-height: calc(100svh - 150px); background: radial-gradient(ellipse at 85% 60%, #12385F 0, transparent 55%), #071522; }
.hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 55px; padding-block: 75px; }
.hero h1 { font-size: clamp(58px, 5.7vw, 88px); }
.hero-description { font-size: 18px; line-height: 1.8; }
.hero-image { aspect-ratio: 4 / 3; }
.hero-image-frame { padding: 9px; border-radius: 30px; }
.hero-image { border-radius: 23px; }
.hero-buttons { gap: 12px; }
.hero .btn-primary { color: var(--navy-dark); background: var(--gold-light); }
.hero .btn { padding-inline: 25px; }
.hero-benefits { gap: 12px; }
.benefit { gap: 9px; }
.benefit small { color: #b9b6af; }
.section { padding-block: 95px; }
.section-heading h2 { font-size: clamp(38px, 4vw, 58px); }
.section-heading p, .about-card p, .service-card p, .appointment-info > p { color: #12385F; }
.about-card.featured p { color: #ccd4df; }
.promotions-heading > p { color: #c0c6cf; }
.service-card { min-height: 260px; }
.about-card { min-height: 280px; }
.frames-showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; }
.frames-photo { position: relative; background: #F8F8F0; display: block; }
.frames-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.frames-content { padding: clamp(28px, 4.5vw, 65px); }
.frames-content h3 { font-size: clamp(38px, 4vw, 56px); }
.frames-content .btn { padding: 14px 25px; }
.zoom-link { position: relative; display: block; }
.zoom-hint { position: absolute; bottom: 18px; right: 18px; color: #fff; background: #071522ee; border: 1px solid #ffffff30; padding: 9px 17px; border-radius: 30px; font-size: 13px; pointer-events: none; }
.zoom-link:hover .zoom-hint { background: #12385F; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.news-card { overflow: hidden; border: 1px solid #ffffff20; border-radius: 24px; background: #ffffff06; }
.news-image { background: #F8F8F0; }
.news-image img { width: 100%; height: 480px; object-fit: contain; }
.news-copy { padding: 32px; }
.news-copy .promo-tag { display: block; font-size: 11px; letter-spacing: 2px; }
.news-copy h3 { font-family: Georgia, serif; font-weight: 500; font-size: 33px; line-height: 1.15; margin: 12px 0 18px; }
.news-copy p { color: #c4c7c9; line-height: 1.8; }
.text-link { display: inline-block; color: var(--gold-light); margin-top: 24px; font-weight: 650; border-bottom: 1px solid #D7A64880; padding-bottom: 5px; }
.appointment-grid { gap: 60px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.appointment-form { padding: 40px; min-width: 0; }
fieldset { border: 0; min-width: 0; }
.form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-group { min-width: 0; }
.form-group input, .form-group select, .form-group textarea { min-width: 0; max-width: 100%; font-size: 16px; }
.form-group textarea { min-height: 100px; }
.field-hint, .form-note, .optional { color: #12385F; font-size: 12px; line-height: 1.65; }
.field-hint { display: block; margin-top: 7px; }
.form-note { margin-bottom: 20px; }
.appointment-detail small { color: #12385F; }
.request-result { margin-top: 25px; border-top: 1px solid #ddd6c6; padding-top: 25px; }
.request-result h4 { color: var(--navy-dark); font-size: 21px; margin-bottom: 12px; }
.request-result p { font-size: 14px; overflow-wrap: anywhere; }
.request-result pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.7 'Segoe UI', sans-serif; background: #F8F8F0; border-radius: 12px; margin-block: 18px; padding: 18px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-actions .btn { font-size: 14px; padding: 12px 20px; min-height: 48px; }
.btn-outline { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.form-status { font-size: 13px; color: var(--navy); margin-top: 12px; }
.form-status:empty { margin: 0; }
.form-notice { background: #F8F8F0; padding: 18px; margin-bottom: 20px; }
.form-notice a { text-decoration: underline; overflow-wrap: anywhere; }
.contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.contact-card { gap: 9px; }
.contact-card > a { font-size: clamp(19px, 2vw, 26px); }
.contact-number { margin-bottom: 24px; }
.copy-email { align-self: flex-start; background: none; border: 0; border-bottom: 1px solid #A47726; padding: 10px 0; color: #A47726; font-size: 14px; }
#contactStatus { min-height: 20px; font-size: 13px; }
.contact-card .map-link { color: var(--gold-light); font-family: inherit; font-size: 14px; margin-top: 20px; text-decoration: underline; text-underline-offset: 5px; }
.footer-logo { width: 180px; height: auto; border-radius: 8px; }
.footer-bottom { color: #a4a7a3; }
.developer-credit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 12px; }
.footer-bottom .developer-credit span { color: #b9bcb8; font-size: 12px; }
.developer-credit strong { color: #D7A648; font-weight: 600; }
.developer-credit img { width: 86px; height: auto; border-radius: 4px; }
.location-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.contact-card .waze-link { text-decoration: none; border: 1px solid #D7A64880; border-radius: 24px; padding: 10px 18px; }
.contact-card .waze-link:hover { background: #ffffff0d; }
.footer-brand-area p { color: #b4b7b3; }
.image-dialog { margin: auto; border: 1px solid #ffffff25; border-radius: 18px; background: #071522; color: white; padding: 52px 20px 18px; width: fit-content; max-width: min(94vw, 1100px); max-height: 94dvh; overflow: auto; }
.image-dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
.image-dialog img { display: block; width: auto; height: auto; max-height: 74dvh; max-width: 100%; margin: auto; object-fit: contain; }
.image-dialog p { font-size: 13px; margin-top: 14px; max-width: 650px; }
.dialog-close { position: absolute; right: 10px; top: 6px; border: 0; background: transparent; color: white; width: 42px; height: 42px; font-size: 21px; }
.modal-open { overflow: hidden; }
.clipboard-helper { position: fixed; left: -9999px; top: 0; }
@media (max-width: 1200px) { .hero-benefits { grid-template-columns: 1fr; gap: 13px; } .hero-grid { gap: 35px; } .appointment-grid { gap: 35px; } .news-image img { height: 400px; } }
@media (max-width: 1000px) {
  .nav-container { min-height: 126px; flex-wrap: wrap; gap: 0; }
  .header-logo { width: 136px; height: 118px; }
  .js .menu-btn { display: block; margin-left: auto; }
  .nav { position: static; width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0 20px; background: #071522; box-shadow: none; }
  .js .nav { position: absolute; top: 100%; left: 0; display: none; padding: 12px 4% 22px; max-height: calc(100dvh - 126px); overflow-y: auto; border-top: 1px solid #ffffff20; box-shadow: 0 15px 25px #0004; }
  .js .nav.active { display: flex; }
  .nav a { font-size: 16px; padding: 11px 6px; border-bottom: 1px solid #ffffff15; }
  .nav a::after { display: none; }
  .nav .nav-cta { text-align: center; margin-top: 12px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 62px; }
  .hero-grid { padding-block: 55px; }
  .hero .btn { padding-inline: 22px; }
  .appointment-form { padding: 30px; }
  .news-image img { height: 350px; }
}
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-content { max-width: 650px; }
  .hero-visual { max-width: 650px; }
  .hero-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-buttons { margin-bottom: 30px; }
  .section { padding-block: 70px; }
  .frames-showcase { grid-template-columns: 1fr; }
  .frames-photo img { min-height: 0; height: auto; max-height: 580px; }
  .frames-content { padding: 40px; }
  .appointment-grid, .contact-grid { grid-template-columns: 1fr; }
  .news-copy { padding: 24px; }
  .news-copy h3 { font-size: 28px; }
}
@media (max-width: 600px) {
  .container { width: 90%; }
  .nav-container { min-height: 116px; }
  .header-logo { width: 122px; height: 108px; }
  .js .nav { max-height: calc(100dvh - 116px); }
  .hero h1 { font-size: clamp(45px, 11.5vw, 65px); letter-spacing: -2px; }
  .hero-description { font-size: 16px; }
  .hero-grid { padding-top: 40px; padding-bottom: 45px; }
  .hero-benefits { grid-template-columns: 1fr; gap: 15px; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; }
  .hero-image-frame { border-radius: 24px; padding: 7px; }
  .hero-image { border-radius: 18px; aspect-ratio: 4 / 3; }
  .section-heading h2, .appointment-info h2 { font-size: 39px; }
  .news-grid { grid-template-columns: 1fr; gap: 25px; }
  .news-image img { height: auto; max-height: none; }
  .frames-content { padding: 35px 25px; }
  .frames-content h3 { font-size: 38px; }
  .appointment-form { padding: 28px 20px; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-header h3 { font-size: 32px; }
  .contact-card { padding: 28px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding-block: 25px; }
  .result-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Paleta de referencia: blanco, azul noche, azul profundo y dorado. Solo colores. */
html { color-scheme: only light; }
.header, .nav { background: #FFFFFF; }
.nav a, .menu-btn { color: #12385F; }
.nav a:hover, .nav a[aria-current] { color: #A47726; }
.nav .nav-cta, .hero .btn-primary, .btn-primary { background: #D7A648; color: #FFFFFF; }
.nav .nav-cta:hover, .btn-primary:hover { background: #C7973C; color: #FFFFFF; }
.hero { background: radial-gradient(ellipse at 85% 60%, #F8F8F0 0, transparent 55%), #FFFFFF; }
.hero h1, .hero-description, .benefit strong { color: #12385F; }
.hero h1 span { color: #D7A648; }
.hero .eyebrow, .benefit-number { color: #B88A32; }
.benefit small { color: #202223; }
.hero .btn-secondary { color: #12385F; background: #FFFFFF; border-color: #12385F; }
.hero .btn-secondary:hover { background: #F8F8F0; }
.hero-benefits, .hero-image-frame { border-color: rgba(18, 56, 95, .16); }
.hero-image-frame { background: #F8F8F0; }
@media (max-width: 1100px) {
  .nav { background: #FFFFFF; }
  .js .nav, .nav a { border-color: rgba(18, 56, 95, .12); }
}
/* Dorado de la muestra en los titulares y fondo blanco en Sobre nosotros. */
.about-section { background: #FFFFFF; }
.section-heading h2 span { color: #D7A648; }
.section-tag, .section-eyebrow { color: #B88A32; }
