/* pgeagolf.com · los colores y letras de PGEA (iguales a la app) */
:root {
  --ink: #141414;
  --ivory: #FBF8F3;
  --tile: #F1ECE4;
  --line: #E3DCD2;
  --muted: #57504A;
  --soft: #6F6861;
  --red: #B03D29;
  --red-dark: #8E2F1F;
  --red-on-dark: #E58B76;
  --on-dark: #D9D2C8;
  --on-dark-soft: #B3AAA0;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 860px; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.dark .eyebrow { color: var(--red-on-dark); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
h2.big { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; }
.lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.dark { background: var(--ink); color: var(--ivory); }
.dark .lead { color: var(--on-dark); }
.tile { background: var(--tile); }
.brand-serif { font-family: var(--serif); font-style: italic; font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border-radius: 999px; padding: 12px 24px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
.btn-red { background: var(--red); color: #FFFFFF; }
.btn-red:hover { background: var(--red-dark); color: #FFFFFF; }
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-ink:hover { background: #2A2826; color: var(--ivory); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ivory); }
.btn-ghost-light { border-color: rgba(251,248,243,0.45); color: var(--ivory); }
.btn-ghost-light:hover { border-color: var(--ivory); color: var(--ivory); }
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--ivory); color: var(--ink); text-decoration: none; border-radius: 14px; padding: 12px 20px; min-height: 52px; }
.store:hover { background: #FFFFFF; color: var(--ink); }
.store small { display: block; font-size: 12px; color: var(--soft); }
.store strong { display: block; font-size: 17px; }

/* Encabezado */
.site-header { background: var(--ink); color: var(--ivory); position: sticky; top: 0; z-index: 10; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.brand img { height: 38px; width: auto; display: block; }
.brand span { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 19px; color: #E9DFD1; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-weight: 600; font-size: 15px; }
.menu a { color: var(--ivory); text-decoration: none; }
.menu a:hover, .menu a.on { color: var(--red-on-dark); }
.menu .btn { padding: 9px 18px; font-size: 15px; }
@media (max-width: 720px) {
  .brand span { display: none; }
  .menu { gap: 6px 14px; font-size: 14px; }
  .menu .hide-sm { display: none; }
  .menu .btn { padding: 8px 14px; font-size: 14px; }
  .site-header nav { flex-wrap: nowrap; }
}

/* Portada */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px; padding-top: 64px; }
.hero-text { flex: 1 1 460px; min-width: 0; padding-bottom: 88px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 900; font-size: clamp(42px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--red-on-dark); }
.hero-text p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--on-dark); max-width: 520px; }
.hero-note { font-size: 14px; color: var(--on-dark-soft); }
.hero-note a { color: var(--red-on-dark); font-weight: 600; }
.hero-phones { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; height: 600px; }
.phone { border-radius: 36px; border: 9px solid #2A2826; box-shadow: 0 40px 80px rgba(0,0,0,0.5); display: block; background: #2A2826; }
.hero-phones .back { width: 240px; position: relative; top: 70px; right: -36px; transform: rotate(-6deg); }
.hero-phones .front { width: 280px; position: relative; z-index: 1; }
@media (max-width: 720px) {
  .hero-text { padding-bottom: 8px; }
  .hero-phones { height: auto; padding-top: 8px; }
  .hero-phones .back { top: 40px; right: -24px; }
  .hero-phones .back { width: 170px; }
  .hero-phones .front { width: 200px; }
}

/* Secciones */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; font-weight: 800; }
.card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card svg { width: 30px; height: 30px; }
a.card { text-decoration: none; color: var(--ink); }
a.card:hover { border-color: var(--ink); color: var(--ink); }

/* Bloques grandes con capturas */
.feature { border-radius: 32px; padding: 56px 48px 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px; overflow: hidden; }
.feature + .feature { margin-top: 32px; }
.feature-text { flex: 1 1 380px; min-width: 0; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.feature-shots { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; gap: 20px; align-items: flex-start; }
.feature-shots img { width: 230px; border-radius: 30px 30px 0 0; border: 8px solid var(--ink); border-bottom: 0; display: block; }
.feature.dark .feature-shots img { border-color: #2A2826; }
.feature-shots img.low { margin-top: 60px; margin-bottom: -60px; }
.feature.reverse { flex-wrap: wrap-reverse; }
@media (max-width: 720px) {
  .feature { padding: 36px 22px 0; border-radius: 24px; }
  .feature-shots { gap: 14px; }
  .feature-shots img { width: 46%; border-width: 6px; border-radius: 24px 24px 0 0; }
  .feature-shots img.low { margin-top: 40px; margin-bottom: -40px; }
}

/* Reloj */
.watch { width: 210px; height: 210px; border-radius: 50%; background: #000; border: 12px solid #2A2826; box-shadow: 0 24px 50px rgba(20,20,20,0.25); overflow: hidden; }
.watch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.watch.low { margin-top: 70px; }
@media (max-width: 720px) { .watch { width: 150px; height: 150px; } }

/* Navegador (cuenta en la web) */
.browser { background: var(--ink); border-radius: 24px; padding: 14px 14px 0; box-shadow: 0 30px 60px rgba(20,20,20,0.18); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 12px; font-size: 12px; color: var(--on-dark-soft); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #5A534D; display: inline-block; }
.browser-bar span { margin-left: 12px; }
.browser-body { background: #1E1C1A; border-radius: 12px 12px 0 0; height: 300px; overflow: hidden; display: flex; justify-content: center; gap: 16px; padding-top: 18px; align-items: flex-start; }
.browser-body img { width: 190px; border-radius: 14px; display: block; }

/* Formulario de contacto */
.form { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--ivory); font-weight: 600; font-size: 14px; }
.chips input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; flex: 1 1 200px; min-width: 0; }
.field input, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--ivory); color: var(--ink); min-height: 44px; }
.field textarea { resize: vertical; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }
.form-msg { margin: 0; font-weight: 600; }

/* Novedades */
.release { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.release ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: #3F3934; }
.pill { display: inline-flex; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 5px 12px; background: var(--ink); color: var(--ivory); }
.pill.soon { background: #F7E8E4; color: var(--red); }

/* Páginas de texto (privacidad, términos, soporte…) */
.page-head { padding-top: 56px; padding-bottom: 56px; }
.page-head h1 { font-weight: 900; font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.doc { padding-top: 48px; padding-bottom: 88px; font-size: 16px; line-height: 1.65; color: #2B2724; }
.doc h2 { font-size: 22px; font-weight: 800; margin: 36px 0 8px; }
.doc .card { margin-top: 16px; }
.doc .card h2 { margin-top: 0; }
.updated { color: var(--soft); font-size: 14px; margin: 0; }

/* Descargar y pie */
.cta { background: var(--red); color: #FFFFFF; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { font-weight: 900; font-size: clamp(32px, 4vw, 52px); line-height: 1; }
.cta p { margin: 8px 0 0; font-size: 26px; color: #FBE3DC; }
.site-footer { background: var(--ink); color: var(--on-dark-soft); }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer .col strong { color: var(--ivory); }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.site-footer .legal { border-top: 1px solid #2E2B28; padding-top: 18px; padding-bottom: 32px; font-size: 13px; }
