/* Andrés Gotta Golf · estilos del sitio
   Tokens: Design System AGG (blanco cálido, carbón, naranja como único acento; Alexandria + Sora). */

:root {
  --bg: #FAF7F2;
  --surface: #F3EEE7;
  --ink: #020202;
  --text: #383838;
  --muted: #6F6A64;
  --line: #D9D3CB;
  --accent: #E04F00;
  --accent-text: #B83F00;
  --accent-hover: #B83F00;
  --accent-button: #C84600; /* naranja de botones: texto blanco 4,85:1 (AA). #E04F00 da 3,97:1 */
  --on-dark: #F3EEE7;
  --display: Alexandria, "Arial Black", Arial, sans-serif;
  --body: Sora, "Segoe UI", Arial, sans-serif;
  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 1rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: .2em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--ink); line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 8px; top: -60px; background: #fff; color: var(--ink); padding: 10px 14px; z-index: 10; }
.skip:focus { top: 8px; }

.kicker { font-family: var(--display); font-size: .9375rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; }
.btn--accent { background: var(--accent-button); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost-light { border-color: #fff; color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Encabezado */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.logo img { width: 132px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .9375rem; font-weight: 400; }
.nav a { color: #fff; text-decoration: none; }
.nav a:hover { color: #FFD3B8; }
.nav .nav-cta { border: 1px solid #fff; padding: 9px 16px; font-weight: 600; }
.menu { display: none; }

/* Portada */
.hero { position: relative; color: #fff; min-height: min(760px, 100svh); display: flex; align-items: flex-end; background: #1d211c; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,14,12,.88) 0%, rgba(14,14,12,.72) 36%, rgba(14,14,12,.12) 66%, rgba(14,14,12,0) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: clamp(2.75rem, 6.5vw, 5rem); line-height: .98; letter-spacing: -.01em; max-width: 11ch; }
.hero .lead { margin-top: 24px; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.5; max-width: 36ch; color: var(--on-dark); }
.hero .actions { margin-top: 32px; }
.hero .role { margin-top: 44px; font-size: .875rem; color: #D9D3CB; }

/* Secciones */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: center; }
.split > * { flex: 1 1 380px; min-width: 0; }
.prose p + p { margin-top: 14px; }
.prose p { font-size: 1.125rem; }

/* Esquema del hoyo */
.hole { position: relative; background: var(--surface); margin: 0; }
.hole svg { display: block; width: 100%; height: auto; }
.hole .tag { position: absolute; background: #fff; padding: 5px 10px; font-size: .8125rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.hole .tag--pick { border-left: 3px solid var(--accent); }
.figcap { margin-top: 12px; font-size: .875rem; color: var(--muted); }

/* Puertas */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.door { background: var(--bg); padding: clamp(28px, 4vw, 40px); display: block; text-decoration: none; color: var(--text); }
.door h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 14px; }
.door p { font-size: 1.0625rem; }
.door .more { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--ink); }
a.door:hover .more { color: var(--accent-hover); }
.paths { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.paths a { background: var(--surface); padding: 14px 16px; text-decoration: none; color: var(--text); font-size: 1.0625rem; }
.paths a strong { font-weight: 600; color: var(--ink); }
.paths a:hover strong { color: var(--accent-hover); }

/* Quién */
.who { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 48px); align-items: center; }
.who picture img { width: 260px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.who .body { flex: 1 1 420px; }
.who h2 { margin-bottom: 14px; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.who .intro { font-size: 1.0625rem; max-width: 60ch; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 24px; }
.steps h3 { font-family: var(--body); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.steps h3 span { color: var(--accent-text); }

/* Lo último */
.latest-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.card { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.card .type { font-family: var(--display); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.card h3 { font-size: 1.375rem; line-height: 1.15; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--ink); }
a.card:hover .more { color: var(--accent-hover); }

/* Cierre */
.closing { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.closing .phrase { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; color: #fff; }
.closing p { margin-top: 8px; color: #D9D3CB; font-size: 1.0625rem; }

/* Pie */
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-block: 28px 40px; }
.site-footer img { width: 104px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .875rem; }
.footer-nav a { text-decoration: none; }
.legal { width: 100%; font-size: .8125rem; color: var(--muted); }

/* Móvil */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; color: #fff; border: 1px solid #fff; padding: 9px 14px; font-weight: 600; font-size: .9375rem; min-height: 44px; display: flex; align-items: center; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: #fff; color: var(--ink); }
  .menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg); min-width: 240px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
  .menu nav a { color: var(--ink); text-decoration: none; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .menu nav a:last-child { border-bottom: 0; font-weight: 600; }
  .hero { min-height: 620px; }
  .hero::before { background: linear-gradient(180deg, rgba(14,14,12,.35) 0%, rgba(14,14,12,.55) 40%, rgba(14,14,12,.9) 100%); }
  .hero picture img { object-position: 62% 40%; }
  .who picture img { width: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Página actual en el menú */
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .35em; }
/* Superficies del navegador */
::selection { background: #FBD9C4; color: var(--ink); }
p { text-wrap: pretty; }

/* Aviso de cookies */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; background: var(--ink); color: var(--on-dark); padding: 20px; border: 1px solid rgba(243,238,231,.18); box-shadow: 0 8px 24px rgba(0,0,0,.18); font-family: var(--body); }
.cookie-bar p { margin: 0 0 16px; font-size: .9375rem; line-height: 1.5; color: var(--on-dark); }
.cookie-bar__acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-bar .btn { min-height: 44px; padding: 10px 20px; cursor: pointer; font-family: inherit; }
.cookie-bar__no { background: transparent; color: var(--on-dark); border-color: rgba(243,238,231,.5); }
.cookie-bar__no:hover { border-color: var(--on-dark); }
.cookie-bar .btn:focus-visible, .cookie-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cookie-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .cookie-bar { animation: cookie-in .25s ease-out; } @keyframes cookie-in { from { opacity: 0; transform: translateY(8px); } } }
