/* Páginas /guias — actividad y guía. Usa los tokens de site.css. */
.g-ahead{ background:var(--ink-deep); color:var(--cream); padding:clamp(34px,6vw,64px) 0 clamp(28px,5vw,48px); }
.g-ahead .in{ max-width:760px; margin:0 auto; padding:0 20px; }
.g-ahead .kicker{ font-size:10.5px; letter-spacing:3.2px; text-transform:uppercase; color:var(--gold-hi); font-weight:600; }
.g-ahead h1{ font-family:var(--serif); font-weight:400; font-size:clamp(30px,6.6vw,50px); line-height:1.06; letter-spacing:-.02em; margin-top:14px; color:var(--cream); text-wrap:balance; }
.g-ahead .lead{ margin-top:14px; font-size:16.5px; line-height:1.6; color:rgba(230,226,217,.82); max-width:60ch; text-wrap:pretty; }
.g-ahead .acts{ margin-top:22px; display:flex; gap:10px; flex-wrap:wrap; }
.goldrule{ height:3px; background:linear-gradient(90deg,var(--gold),transparent); }
.g-wrap{ max-width:760px; margin:0 auto; padding:26px 20px 110px; font-size:16px; line-height:1.72; color:var(--ink); }
.g-wrap h2{ font-family:var(--serif); font-weight:400; color:var(--navy); font-size:26px; line-height:1.15; margin:34px 0 10px; text-wrap:balance; }
.g-wrap p{ margin-bottom:14px; text-wrap:pretty; }
.g-wrap a{ color:var(--gold); }
.g-wrap strong{ color:var(--navy); }
.g-photo{ margin:0 0 6px; }
.g-photo img{ width:100%; height:auto; display:block; border-radius:14px; background:var(--line); aspect-ratio:16/9; object-fit:cover; }
.g-photo figcaption{ margin-top:7px; font-size:11.5px; color:var(--muted); }
.g-facts{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; margin:18px 0 6px; }
.g-facts div{ background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:12px 14px; }
.g-facts small{ display:block; font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:3px; }
.g-facts b{ font-size:14.5px; color:var(--navy); font-weight:600; line-height:1.4; }
.g-prices{ background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:6px 18px; margin:16px 0; }
.g-price{ display:grid; grid-template-columns:1fr auto; gap:4px 14px; padding:14px 0; border-bottom:1px solid var(--line); }
.g-price:last-child{ border-bottom:none; }
.g-price .c{ font-size:15px; color:var(--ink); }
.g-price .p{ font-weight:700; color:var(--navy); white-space:nowrap; text-align:right; }
.g-price .src{ grid-column:1 / -1; font-size:12px; color:var(--muted); line-height:1.5; }
.g-price .src a{ color:var(--muted); }
.g-note{ font-size:13px; color:var(--muted); line-height:1.6; }
.g-tips{ list-style:none; margin:10px 0 0; padding:0; counter-reset:t; }
.g-tips li{ position:relative; padding:12px 0 12px 42px; border-bottom:1px solid var(--line); counter-increment:t; }
.g-tips li::before{ content:counter(t,decimal-leading-zero); position:absolute; left:0; top:12px; font-family:var(--serif); font-style:italic; color:var(--gold); font-size:20px; line-height:1.2; }
.g-list{ margin:10px 0 0; padding:0; list-style:none; }
.g-item{ background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:16px 18px; margin-bottom:12px; }
.g-item h3{ font-family:var(--serif); font-weight:400; font-size:21px; color:var(--navy); line-height:1.2; }
.g-item .meta{ font-size:11px; letter-spacing:1.6px; text-transform:uppercase; color:var(--gold); margin:4px 0 8px; }
.g-item p{ margin-bottom:8px; font-size:15px; }
.g-item .src{ font-size:12px; color:var(--muted); }
.g-item .src a{ color:var(--muted); }
.g-more{ margin-top:26px; padding-top:18px; border-top:1px solid var(--line); font-size:14.5px; }
/* visor del PDF */
.g-viewer{ background:#d9d4c8; border-radius:14px; padding:10px; max-height:78vh; overflow-y:auto; -webkit-overflow-scrolling:touch; margin:14px 0; }
.g-viewer img{ display:block; width:100%; height:auto; background:#fff; border-radius:4px; box-shadow:0 2px 10px rgba(0,0,0,.12); }
.g-viewer img + img{ margin-top:10px; }
.g-viewer-cap{ font-size:12px; color:var(--muted); }
/* botón fijo */
.g-fab{ position:fixed; left:0; right:0; bottom:0; z-index:40; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); background:linear-gradient(180deg,rgba(243,240,233,0),rgba(243,240,233,.96) 38%); display:flex; justify-content:center; }
.g-fab .btn{ width:100%; max-width:520px; min-height:52px; font-size:15.5px; display:flex; align-items:center; justify-content:center; border:0; cursor:pointer; font-family:var(--sans); }
/* hoja del formulario */
.g-sheet{ position:fixed; inset:0; z-index:60; display:none; }
.g-sheet.open{ display:block; }
.g-sheet .bg{ position:absolute; inset:0; background:rgba(3,8,31,.55); }
.g-sheet .panel{ position:absolute; left:0; right:0; bottom:0; max-height:92vh; overflow-y:auto; background:var(--cream-lt); border-radius:20px 20px 0 0; padding:22px 20px calc(24px + env(safe-area-inset-bottom)); box-shadow:0 -12px 40px rgba(0,0,0,.25); }
@media (min-width:760px){ .g-sheet .panel{ left:50%; right:auto; bottom:auto; top:50%; transform:translate(-50%,-50%); width:560px; border-radius:20px; max-height:90vh; } }
.g-sheet .x{ position:absolute; top:12px; right:12px; width:44px; height:44px; border:0; background:transparent; font-size:26px; line-height:1; color:var(--navy); cursor:pointer; }
.g-sheet h2{ font-family:var(--serif); font-weight:400; color:var(--navy); font-size:26px; line-height:1.15; margin:0 40px 4px 0; }
.g-sheet .sub{ font-size:14px; color:var(--muted); margin-bottom:14px; }
.g-form .f{ margin-bottom:12px; }
.g-form label{ display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:5px; }
.g-form label .opt{ font-weight:400; color:var(--muted); }
.g-form input,.g-form select,.g-form textarea{ width:100%; font:inherit; font-size:16px; padding:12px 13px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); min-height:46px; }
.g-form textarea{ min-height:84px; resize:vertical; }
.g-form input:focus,.g-form select:focus,.g-form textarea:focus{ outline:2px solid var(--gold-lt); border-color:var(--gold); }
.g-form .row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.g-form .tel{ display:grid; grid-template-columns:118px 1fr; gap:8px; }
.g-form .err{ display:none; color:#a12a2a; font-size:13px; margin:6px 0 0; }
.g-form button[type=submit]{ width:100%; min-height:52px; margin-top:6px; border:0; cursor:pointer; font-family:var(--sans); font-size:15.5px; }
.g-form button[disabled]{ opacity:.6; cursor:wait; }
.g-form .fine{ font-size:12px; color:var(--muted); text-align:center; margin-top:10px; }
.g-ok{ display:none; text-align:center; padding:12px 4px 6px; }
.g-ok img{ width:46px; height:46px; margin:0 auto 10px; display:block; }
.g-ok h2{ margin:0 0 8px; }
.g-ok h2 em{ color:var(--gold); }
.g-ok p{ font-size:15px; line-height:1.6; margin-bottom:16px; }
.g-ok .btn{ width:100%; min-height:50px; display:flex; align-items:center; justify-content:center; }
.g-ok .back{ display:inline-block; margin-top:12px; font-size:13.5px; color:var(--navy); }
body.g-lock{ overflow:hidden; }
@media (max-width:420px){ .g-form .row{ grid-template-columns:1fr; } }

/* ===== Ajuste 9-nov-2026 =====
   site.css define .g-item y .g-list para /grupos (rejilla de foto + texto). En /guias esas mismas clases son
   tarjetas simples: sin esta anulación, en escritorio el texto y la fuente quedaban en dos columnas apretadas. */
.g-wrap .g-list{ display:block; margin-top:14px; }
.g-wrap .g-item, .g-wrap .g-item:nth-child(even){ display:block; grid-template-columns:none; overflow:visible; padding:20px 22px 16px; border-radius:16px; box-shadow:0 14px 34px -24px rgba(23,41,87,.3); }
.g-wrap .g-item h3{ font-size:23px; }
.g-wrap .g-item .meta{ margin:6px 0 10px; line-height:1.6; }
.g-wrap .g-item .src{ margin-top:12px; padding-top:10px; border-top:1px solid var(--line); margin-bottom:0; }
.g-wrap h2{ margin-top:46px; }
.g-wrap h2::before{ content:''; display:block; width:38px; height:2px; background:var(--gold-lt); margin-bottom:16px; }
.g-prices{ border-radius:16px; box-shadow:0 14px 34px -24px rgba(23,41,87,.3); }
.g-price .p{ font-size:16px; }
.g-facts div{ border-radius:14px; }
/* índice /guias/: tarjetas enteras clicables, dos columnas en escritorio */
.g-idx{ display:grid !important; grid-template-columns:1fr; gap:14px; }
.g-idx .g-item{ position:relative; margin:0; transition:transform .25s, box-shadow .25s; }
.g-idx .g-item h3 a::after{ content:''; position:absolute; inset:0; }
.g-idx .g-item:hover{ transform:translateY(-3px); box-shadow:0 20px 40px -22px rgba(23,41,87,.4); }
.g-idx .g-item p:last-child{ margin-bottom:0; color:var(--muted); font-size:14.5px; line-height:1.6; }
@media (max-width:559px){
  /* datos rápidos como una sola ficha con filas: evita la tarjeta huérfana */
  .g-facts{ display:block; background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:2px 16px; }
  .g-facts div{ display:grid; grid-template-columns:96px 1fr; gap:12px; align-items:baseline; background:none; border:0; border-bottom:1px solid var(--line); border-radius:0; padding:12px 0; }
  .g-facts div:last-child{ border-bottom:0; }
  .g-facts small{ margin:0; }
}
@media (min-width:900px){
  .g-wrap{ font-size:17px; padding-bottom:90px; }
  .g-wrap h2{ font-size:31px; margin-top:56px; }
  .g-wrap .g-item p:not([class]){ font-size:16px; }
  .g-wrap:has(.g-idx){ max-width:1040px; }
  .g-idx{ grid-template-columns:1fr 1fr; gap:18px; }
  /* botón de cotizar: píldora abajo a la derecha, sin tapar el texto */
  .g-fab{ left:auto; right:28px; bottom:28px; padding:0; background:none; }
  .g-fab .btn{ width:auto; padding:0 34px; min-height:54px; box-shadow:0 16px 36px rgba(3,8,31,.28); }
}
@media (min-width:900px){ body:has(.g-idx) .g-ahead .in{ max-width:1040px; } }
