/* Arrom Abogados · estilos del sitio
   Fuentes alojadas en la propia web (licencia SIL OFL 1.1, ver assets/fonts). */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-ext-opsz-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-opsz-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-ext-opsz-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --color-bg: #FBFAF8;
  --color-surface: #F1EDE6;
  --color-text: #081B34;
  --color-accent: #A87C3E;
  --color-accent-700: #8A6430;
  --color-accent-600: #9A7038;
  --font-heading: "Cormorant Garamond", "Source Serif 4", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
}

/* Base heredada del sistema de diseño del proyecto */
*, *::before, *::after { box-sizing: border-box; }
html { background: #06152B; }
body { margin: 0; background: #FBFAF8; color: var(--color-text); font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-weight: 400; text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--font-heading) !important; font-weight: 500 !important; letter-spacing: 0.005em; }
h1 { font-size: 42px; } h2 { font-size: 32px; } h3 { font-size: 25px; } h4 { font-size: 20px; }
p { margin: 0 0 15px; }
a { color: #8A6430; text-decoration: none; text-underline-offset: 3px; }
a:hover { color: #081B34; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, :focus-visible { outline: 2px solid #A87C3E; outline-offset: 3px; }
::selection { background: color-mix(in srgb, #A87C3E 30%, transparent); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #FBFAF8; color: #081B34; padding: 10px 16px; border-radius: 2px; font-size: 15px; }
.skip-link:focus { top: 12px; }

/* Cabecera, menú y animaciones (del diseño original) */
header[data-hidden="1"] { transform: translateY(-105%); }
figure[data-reveal] > div { overflow: hidden; }
figure[data-reveal][data-armed="1"] > div { clip-path: inset(0 0 100% 0); }
figure[data-reveal][data-armed="1"] img { transform: scale(1.12); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); }
figure[data-reveal][data-in="1"] > div { clip-path: inset(0 0 0 0); transition: clip-path 1.15s cubic-bezier(.16,.8,.24,1); }
figure[data-reveal][data-in="1"] img { transform: scale(1); }
@keyframes introVeil { 0%, 34% { height: 100vh; } 100% { height: var(--hdr-h, 77px); } }
@keyframes introLogo { 0%, 34% { transform: translate(var(--logo-dx, 0px), var(--logo-dy, 0px)) scale(2.9); } 100% { transform: none; } }
@keyframes introFade { to { opacity: 0; } }
@keyframes introNavR { from { opacity: 0; transform: translateX(-46px); } to { opacity: 1; transform: none; } }
@keyframes introWedge { from { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); } to { clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); } }
@keyframes introUp { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.intro-veil { display: none; }
html.play-intro body { background: #06152B; }
html.play-intro .intro-veil { display: block; position: fixed; left: 0; top: 0; width: 100%; height: 100vh; background: #06152B; z-index: 90; overflow: hidden; pointer-events: none; animation: introVeil 2.3s cubic-bezier(.7,0,.2,1) forwards, introFade .35s ease 2.35s forwards; }
.intro-veil > .veil-logo { position: fixed; left: 0; top: 0; visibility: hidden; animation: introLogo 2.3s cubic-bezier(.7,0,.2,1) forwards; }
.intro-veil > .veil-logo[data-ready="1"] { visibility: visible; }
html.play-intro header [data-burger] { animation: introNavR .75s ease 2.15s backwards; }
html.play-intro header > span[aria-hidden] { animation: introWedge .26s cubic-bezier(.4,0,.5,1) 3.15s backwards; }
html.play-intro main, html.play-intro footer { animation: introUp 1.5s ease-out 0.85s backwards; }
header[data-mopen="1"] { z-index: 70 !important; transform: none !important; }
[data-burger] > span { position: absolute; left: 11px; width: 26px; height: 1.5px; background: currentColor; transition: transform .38s cubic-bezier(.7,0,.2,1), opacity .2s ease, top .38s cubic-bezier(.7,0,.2,1); }
[data-burger] > span:nth-child(1) { top: 14px; }
[data-burger] > span:nth-child(2) { top: 21.25px; }
[data-burger] > span:nth-child(3) { top: 28.5px; }
[data-burger][aria-expanded="true"] > span:nth-child(1) { top: 21.25px; transform: rotate(45deg); }
[data-burger][aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
[data-burger][aria-expanded="true"] > span:nth-child(3) { top: 21.25px; transform: rotate(-45deg); }
[data-menu] { transform: translateX(100%); visibility: hidden; transition: transform .7s cubic-bezier(.65,0,.25,1), visibility 0s linear .7s; }
[data-menu][data-open="1"] { transform: none; visibility: visible; transition: transform .7s cubic-bezier(.65,0,.25,1), visibility 0s; }
[data-menu] li { opacity: 0; transition: opacity .3s ease; }
[data-menu][data-open="1"] li { opacity: 1; transition: opacity .5s ease; }
[data-menu][data-open="1"] li:nth-child(1) { transition-delay: .32s; }
[data-menu][data-open="1"] li:nth-child(2) { transition-delay: .4s; }
[data-menu][data-open="1"] li:nth-child(3) { transition-delay: .48s; }
[data-menu] a, [data-menu] a > span { transition: color .25s ease; }
[data-menu]:focus { outline: none; }
[data-menu] a:hover > span, [data-menu] a:focus-visible > span { color: #D9B77C !important; }
@media (prefers-reduced-motion: reduce) {
  [data-menu], [data-menu][data-open="1"] { transform: none; opacity: 0; transition: opacity .01s, visibility 0s linear .01s; }
  [data-menu][data-open="1"] { opacity: 1; transition: opacity .01s, visibility 0s; }
  [data-menu] li, [data-menu][data-open="1"] li { transition: none !important; }
  [data-burger] > span { transition: none; }
  figure[data-reveal][data-armed="1"] > div { clip-path: none; }
  figure[data-reveal][data-armed="1"] img { transform: none; transition: none; }
}

/* Mapa: solo se carga si el visitante lo pide */
.mapa { display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; width: 100%; min-height: clamp(280px, 40vw, 440px); padding: 32px 24px; background: #F1EDE6; border-radius: 2px; }
.mapa p { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.6; color: rgba(8,27,52,0.8); }
.mapa iframe { width: 100%; height: clamp(280px, 40vw, 440px); border: 0; border-radius: 2px; filter: grayscale(1) contrast(1.05); }
.mapa.mapa-cargado { display: block; min-height: 0; padding: 0; background: none; }
.mapa-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; align-items: center; }
.mapa button { border: 0; cursor: pointer; font: inherit; background: #081B34; color: #FBFAF8; padding: 13px 24px; border-radius: 2px; font-size: 15px; letter-spacing: 0.04em; }
.mapa button:hover { background: #A87C3E; }
.mapa a { font-size: 15px; border-bottom: 1px solid #A87C3E; padding-bottom: 2px; }

/* Páginas legales */
.legal { max-width: 72ch; margin: 0 auto; display: grid; gap: clamp(32px, 4vw, 48px); }
.legal section { display: grid; gap: 14px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; margin: 0 0 6px; letter-spacing: 0.005em; }
.legal h3 { font-size: 20px; line-height: 1.3; margin: 8px 0 0; }
.legal p, .legal li { font-size: 17px; line-height: 30px; margin: 0; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal a { overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: rgba(168,124,62,0.6); }
.legal dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; font-size: 17px; line-height: 30px; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 0; } .legal dd { margin-bottom: 10px; } }
.legal .nota { font-size: 15px; line-height: 26px; color: rgba(8,27,52,0.72); }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 26px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(8,27,52,0.14); }
.legal th { font-weight: 600; }

/* Formulario */
.form-aviso { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(8,27,52,0.7); }

/* Estados :hover y :focus del diseño original */
.hv-1:hover { background: #8A6430 !important; }
.hv-2:hover { border-color: #A87C3E !important; color: #D9B77C !important; }
.hv-3:hover { color: #D9B77C !important; }
.hv-4:hover { opacity: 1 !important; }
.fc-5:focus { border-color: #A87C3E !important; }
.hv-6:hover { color: #081B34 !important; }
.hv-7:hover { background: #A87C3E !important; }
