/**
 * Easy Hogar by Egue — pages.css
 * Estilos específicos de páginas (Cotizador, Agenda, Recursos)
 * Se carga en todas las páginas vía functions.php
 */

/* ── COTIZADOR ── */
.cot-hero { padding: 10rem 4rem 4rem; text-align: center; position: relative; overflow: hidden; }
.cot-hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(201,168,76,0.05) 0%, transparent 65%); pointer-events: none; }
.cot-hero-label { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.cot-hero-label::before, .cot-hero-label::after { content: ''; width: 1.5rem; height: 1px; background: var(--gold); opacity: 0.5; }
.cot-hero-title { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; color: var(--text-white); line-height: 1.1; margin-bottom: 1rem; }
.cot-hero-sub { font-size: 0.9rem; color: var(--text-gray); max-width: 540px; margin: 0 auto 3rem; line-height: 1.9; }
.cot-main { padding: 2rem 4rem 6rem; max-width: 720px; margin: 0 auto; }
.cot-card-main { background: var(--bg-card); border: 1px solid var(--gold-border); border-radius: var(--r); padding: 3rem; position: relative; overflow: hidden; }
.cot-card-main::before { content: ''; position: absolute; top: 0; left: 3rem; right: 3rem; height: 1px; background: var(--gold); opacity: 0.35; }
.cot-progress { height: 3px; background: rgba(201,168,76,0.15); border-radius: 2px; margin-bottom: 2.5rem; overflow: hidden; }
.cot-progress-bar { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.5s; }
.cot-step-label { font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-gray); margin-bottom: 1.5rem; }
.cot-step-title { font-family: var(--serif); font-size: 1.4rem; color: var(--text-white); margin-bottom: 2rem; font-weight: 300; }
.field-label { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-gray); margin-bottom: 0.35rem; display: block; }
.styled-input, .styled-select { background: var(--bg); color: var(--text-light); border: 1px solid rgba(201,168,76,0.18); border-radius: var(--r-sm); padding: 0.85rem 1rem; font-size: 0.86rem; font-family: var(--sans); font-weight: 300; width: 100%; transition: border-color .25s; appearance: none; }
.styled-input::placeholder { color: var(--text-gray); opacity: 0.5; }
.styled-input:focus, .styled-select:focus { outline: none; border-color: var(--gold); }
.styled-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A84C' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; cursor: pointer; }
.toggle-group { display: flex; gap: 0.75rem; }
.toggle-btn { flex: 1; padding: 0.75rem; border: 1px solid rgba(201,168,76,0.2); border-radius: var(--r-sm); background: var(--bg); color: var(--text-gray); font-family: var(--sans); font-size: 0.8rem; cursor: pointer; transition: border-color .25s, background .25s, color .25s; text-align: center; }
.toggle-btn.active, .toggle-btn:hover { border-color: var(--gold); background: var(--gold-dim); color: var(--gold); }
.form-fields { display: flex; flex-direction: column; gap: 1rem; }
.result-card { background: var(--bg); border: 1px solid var(--gold-border); border-radius: var(--r); padding: 2.5rem; text-align: center; display: none; }
.result-card.visible { display: block; }
.result-range { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 300; color: var(--gold); font-style: italic; line-height: 1.1; margin-bottom: 0.5rem; }
.result-disclaimer { font-size: 0.75rem; color: var(--text-gray); line-height: 1.7; max-width: 420px; margin: 0.75rem auto 2rem; }
.cot-why { background: var(--bg-card); padding: 5rem 4rem; }
.cot-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.cot-why-card { background: var(--bg); border: 1px solid rgba(201,168,76,0.1); border-radius: var(--r); padding: 2rem; text-align: center; transition: border-color .25s; }
.cot-why-card:hover { border-color: rgba(201,168,76,0.35); }
.cot-why-num { font-family: var(--serif); font-size: 3rem; color: var(--gold); font-style: italic; opacity: 0.7; display: block; margin-bottom: 0.5rem; }
.cot-why-title { font-family: var(--serif); font-size: 1rem; color: var(--text-white); margin-bottom: 0.5rem; }
.cot-why-desc { font-size: 0.78rem; color: var(--text-gray); line-height: 1.8; }

/* ── AGENDA ── */
#hero.agenda-hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 72px; }
.agenda-hero-left { padding: 4rem 3rem 4rem 4rem; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.agenda-hero-right { background: var(--bg-card); border-left: 1px solid var(--gold-border); display: flex; flex-direction: column; justify-content: center; padding: 4rem 3rem; overflow-y: auto; }

/* ── RECURSOS ── */
.rec-hero { padding: 10rem 4rem 5rem; text-align: center; position: relative; overflow: hidden; }
.rec-hero-label { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.rec-hero-label::before, .rec-hero-label::after { content: ''; width: 1.5rem; height: 1px; background: var(--gold); opacity: 0.5; }
.rec-hero-title { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; color: var(--text-white); line-height: 1.1; margin-bottom: 1rem; }
.rec-hero-sub { font-size: 0.9rem; color: var(--text-gray); max-width: 540px; margin: 0 auto; line-height: 1.9; }
.rec-books-full { padding: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.rec-book-full { background: var(--bg-card); border: 1px solid rgba(201,168,76,0.15); border-radius: var(--r); overflow: hidden; transition: border-color .3s, transform .25s; }
.rec-book-full:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-4px); }
.rec-book-cover { height: 240px; background: linear-gradient(145deg, #1a1a18, #222220); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(201,168,76,0.1); position: relative; }
.rec-book-cover::before { content: ''; position: absolute; inset: 1.5rem; border: 1px solid rgba(201,168,76,0.12); }
.rec-book-cover-inner { text-align: center; position: relative; z-index: 1; }
.rec-book-cover-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--gold); font-style: italic; margin-bottom: 0.3rem; }
.rec-book-cover-sub { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-gray); opacity: 0.6; }
.rec-book-body { padding: 2rem; }
.rec-book-title { font-family: var(--serif); font-size: 1.3rem; color: var(--text-white); margin-bottom: 0.5rem; }
.rec-book-desc { font-size: 0.82rem; color: var(--text-gray); line-height: 1.85; margin-bottom: 1.2rem; }
.rec-book-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.rec-book-pill { font-size: 0.65rem; letter-spacing: 0.08em; color: var(--text-light); border: 1px solid rgba(201,168,76,0.2); padding: 0.3rem 0.8rem; border-radius: var(--r-pill); background: var(--gold-dim); }
.rec-form-section { background: var(--bg-card); padding: 5rem 4rem; }
.rec-form-card { max-width: 640px; margin: 0 auto; background: var(--bg); border: 1px solid var(--gold-border); border-radius: var(--r); padding: 3rem; position: relative; overflow: hidden; }
.rec-form-card::before { content: ''; position: absolute; top: 0; left: 3rem; right: 3rem; height: 1px; background: var(--gold); opacity: 0.35; }
.rec-form-title { font-family: var(--serif); font-size: 1.8rem; font-weight: 300; color: var(--text-white); margin-bottom: 0.3rem; }
.rec-form-sub { font-size: 0.78rem; color: var(--text-gray); margin-bottom: 2rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.privacy-note { font-size: 0.68rem; color: var(--text-gray); line-height: 1.6; text-align: center; margin-top: 0.5rem; }

/* ── RESPONSIVE PÁGINAS ── */
@media (max-width: 900px) {
  .cot-hero, .rec-hero { padding: 8rem 2rem 3rem; }
  .cot-main { padding: 2rem 2rem 4rem; }
  .rec-books-full { grid-template-columns: 1fr; padding: 2rem; }
  .rec-form-section { padding: 3rem 2rem; }
  .cot-why { padding: 3rem 2rem; }
  .cot-why-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  #hero.agenda-hero { grid-template-columns: 1fr; }
  .agenda-hero-left, .agenda-hero-right { padding: 3rem 2rem; }
  .agenda-hero-right { border-left: none; border-top: 1px solid var(--gold-border); }
}
