/* Fuentes alojadas en la propia web (sin llamadas a Google Fonts) */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/playfair-display-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/playfair-display-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/playfair-display-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 600; font-display: swap; src: url(fonts/playfair-display-latin-600-italic.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/playfair-display-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dm-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/dm-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Sacramento'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/sacramento-latin-400-normal.woff2) format('woff2'); }

/* Navegación */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(18px, 5vw, 64px); background: transparent; border-bottom: 1px solid transparent; transition: background .35s ease, box-shadow .35s ease, padding .35s ease; }
.site-nav.is-scrolled { padding: 10px clamp(18px, 5vw, 64px); box-shadow: 0 6px 24px rgba(0,53,56,0.08); border-bottom-color: rgba(0,53,56,0.07); }
.site-nav.is-solid { background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav-logo { height: 52px; width: auto; display: block; transition: filter .35s ease; }
.nav-link { color: #003538; transition: color .35s ease; }
.page-home .site-nav:not(.is-solid) .nav-logo { filter: brightness(0) invert(1); }
.page-home .site-nav:not(.is-solid) .nav-link { color: #FFFFFF; }

.ham { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: none; background: transparent; cursor: pointer; }
.ham-line { display: block; width: 24px; height: 2px; border-radius: 2px; background: #003538; transition: transform .3s ease, opacity .25s ease, background .35s ease; }
.page-home .site-nav:not(.is-solid) .ham-line { background: #FFFFFF; }
.site-nav.menu-open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.menu-open .ham-line:nth-child(2) { opacity: 0; }
.site-nav.menu-open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel { position: fixed; top: 0; left: 0; right: 0; z-index: 99; padding: 88px clamp(20px, 5vw, 64px) 32px; background: rgba(255,255,255,0.98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(0,53,56,0.12); }
.mobile-panel[hidden] { display: none; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .ham { display: flex; }
  .nav-logo { height: 44px; }
}
@media (min-width: 861px) {
  .mobile-panel { display: none !important; }
}

:focus-visible { outline: 2px solid #B3966F; outline-offset: 3px; }
