/* ══════════════════════════════════════════════════════════════
   CONTACTO PAGE — from contacto-asesor.html
   ══════════════════════════════════════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; }
.ph-left { background: var(--accent); padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.ph-left::before { content: ''; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); }
.ph-left::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255,255,255,.05); }
.ph-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 24px; }
.ph-eyebrow::before { content: ''; width: 28px; height: 2px; background: rgba(255,255,255,.35); }
.ph-left h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px,4.5vw,64px); font-weight: 600; line-height: 1.1; color: #fff; margin-bottom: 24px; letter-spacing: -.5px; position: relative; z-index: 1; }
.ph-left h1 i { font-style: italic; color: rgba(255,255,255,.6); }
.ph-desc { font-size: 15.5px; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,.65); max-width: 460px; position: relative; z-index: 1; margin-bottom: 36px; }
.ph-info-row { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.ph-info-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,.65); }
.ph-info-item strong { color: white; font-weight: 500; }
.ph-right { position: relative; overflow: hidden; }
.ph-right img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 8s ease; }
.ph-right:hover img { transform: scale(1.04); }
.ph-right::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right,rgba(27,79,114,.3) 0%,transparent 60%); }

/* ── PROMISE BAR ── */
.promise-bar { background: var(--ink); padding: 20px 64px; display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.pb-item { display: flex; align-items: center; gap: 14px; padding: 0 24px; border-right: 1px solid rgba(255,255,255,.08); }
.pb-item:first-child { padding-left: 0; }
.pb-item:last-child { border-right: none; }
.pb-icon { font-size: 20px; flex-shrink: 0; }
.pb-title { font-size: 13.5px; font-weight: 600; color: white; margin-bottom: 2px; }
.pb-sub { font-size: 12px; color: rgba(255,255,255,.45); }

/* ── MAIN LAYOUT ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 0; align-items: start; }

/* ── FORM AREA ── */
.form-area { padding: 72px 56px 80px 64px; border-right: 1px solid var(--line); }
.sec-label { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent2); margin-bottom: 16px; }
.sec-label::before { content: ''; width: 28px; height: 2px; background: var(--accent2); }
.sec-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px,3.5vw,48px); font-weight: 600; line-height: 1.1; color: var(--ink); margin-bottom: 12px; }
.sec-title i { font-style: italic; color: var(--accent); }
.sec-sub { font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--mid); margin-bottom: 48px; max-width: 560px; }

/* ── ADVISOR SELECTOR ── */
.advisor-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--slate); margin-bottom: 16px; }
.advisor-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 40px; }
.advisor-card { border: 1.5px solid var(--line); padding: 16px 12px 14px; cursor: pointer; text-align: center; transition: all .2s; background: white; }
.advisor-card:hover { border-color: var(--accent2); background: var(--tag); }
.advisor-card.selected { border-color: var(--accent); background: var(--tag); }
.advisor-card.selected .adv-name { color: var(--accent); }
.adv-photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; border: 2px solid var(--line); transition: border-color .2s; }
.advisor-card.selected .adv-photo, .advisor-card:hover .adv-photo { border-color: var(--accent2); }
.adv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adv-name { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; transition: color .2s; }
.adv-role { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.adv-spec { font-size: 10.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--accent2); }
.adv-any { display: flex; align-items: center; justify-content: center; height: 56px; width: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); margin: 0 auto 10px; font-size: 20px; }

/* ── FORM FIELDS ── */
.form-divider { height: 1px; background: var(--line); margin: 8px 0 36px; }
.fields-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--slate); margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-group { margin-bottom: 22px; }
.form-area label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.form-area label .optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 11.5px; }
.form-area input[type=text], .form-area input[type=email], .form-area input[type=tel], .form-area select, .form-area textarea {
  width: 100%; padding: 13px 16px; font-size: 14px; font-family: 'Outfit', sans-serif;
  color: var(--ink); background: white; border: 1.5px solid var(--line); outline: none;
  transition: border-color .2s; appearance: none;
}
.form-area input:focus, .form-area select:focus, .form-area textarea:focus { border-color: var(--accent2); }
.form-area input.err, .form-area select.err, .form-area textarea.err { border-color: var(--error); }
.form-area textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.form-area select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238f9faf' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field-error { font-size: 12px; color: var(--error); margin-top: 5px; display: none; }
.field-error.show { display: block; }

/* Asunto chips */
.asunto-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.asunto-chip { padding: 9px 18px; font-size: 13px; font-weight: 500; border: 1.5px solid var(--line); color: var(--mid); background: white; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .2s; }
.asunto-chip:hover { border-color: var(--accent2); color: var(--accent); }
.asunto-chip.on { background: var(--accent); color: white; border-color: var(--accent); }

/* Horario preferido */
.horario-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 22px; }
.horario-opt { padding: 11px 12px; font-size: 12.5px; font-weight: 500; text-align: center; border: 1.5px solid var(--line); color: var(--mid); background: white; cursor: pointer; transition: all .2s; }
.horario-opt:hover { border-color: var(--accent2); color: var(--accent); }
.horario-opt.on { background: var(--tag); color: var(--accent); border-color: var(--accent2); }

/* Submit */
.form-footer { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.btn-submit { padding: 15px 40px; font-size: 14px; font-weight: 700; background: var(--accent); color: white; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; letter-spacing: .3px; transition: all .25s; display: flex; align-items: center; gap: 10px; }
.btn-submit:hover { background: #154360; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(27,79,114,.25); }
.form-legal { font-size: 12px; color: var(--muted); line-height: 1.7; max-width: 320px; }
.form-legal a { color: var(--accent2); text-decoration: none; }

/* Success state */
.success-state { display: none; text-align: center; padding: 60px 40px; }
.success-state.show { display: block; }
.success-icon { font-size: 56px; margin-bottom: 24px; }
.success-title { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.success-title i { font-style: italic; color: var(--accent); }
.success-desc { font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--mid); max-width: 380px; margin: 0 auto 32px; }
.btn-back { padding: 13px 32px; font-size: 13.5px; font-weight: 600; background: var(--accent); color: white; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .2s; }
.btn-back:hover { background: #154360; }

/* ── SIDEBAR ── */
.contact-sidebar { padding: 72px 48px 80px 40px; position: sticky; top: 72px; }
.info-block { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ib-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.contact-item { display: flex; gap: 14px; margin-bottom: 16px; }
.contact-item:last-child { margin-bottom: 0; }
.ci-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--tag); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.ci-label { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.ci-value { font-size: 14px; font-weight: 500; color: var(--ink); }
.ci-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ci-value a { color: var(--accent2); text-decoration: none; }
.ci-value a:hover { text-decoration: underline; }

/* Horarios table */
.horario-table { width: 100%; }
.ht-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ht-row:last-child { border-bottom: none; }
.ht-day { color: var(--mid); }
.ht-hours { font-weight: 500; color: var(--ink); }
.ht-row.today .ht-day, .ht-row.today .ht-hours { color: var(--accent2); font-weight: 600; }
.open-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #1a6b45; margin-bottom: 14px; }
.open-dot { width: 7px; height: 7px; border-radius: 50%; background: #1a6b45; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* Map */
.map-wrap { width: 100%; height: 180px; overflow: hidden; position: relative; border: 1px solid var(--line); margin-bottom: 14px; }
.map-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(25%); }
.map-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.map-pin { display: flex; flex-direction: column; align-items: center; }
.map-pin-dot { width: 20px; height: 20px; background: var(--accent); border-radius: 50%; border: 3px solid white; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.map-pin-label { background: white; padding: 4px 10px; font-size: 11.5px; font-weight: 600; color: var(--accent); margin-top: 6px; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.1); white-space: nowrap; }
.map-link { font-size: 12.5px; font-weight: 500; color: var(--accent2); text-decoration: none; display: flex; align-items: center; gap: 5px; }
.map-link:hover { text-decoration: underline; }

/* Social */
.social-row { display: flex; gap: 8px; margin-top: 4px; }
.soc-btn { width: 38px; height: 38px; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .2s; }
.soc-btn:hover { border-color: var(--accent2); color: var(--accent); background: var(--tag); }

/* WhatsApp direct */
.wa-direct { background: #1a6b45; padding: 16px 20px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: background .2s; }
.wa-direct:hover { background: #155c38; }
.wa-direct-icon { font-size: 26px; }
.wa-direct-title { font-size: 13.5px; font-weight: 700; color: white; margin-bottom: 2px; }
.wa-direct-sub { font-size: 12px; color: rgba(255,255,255,.65); }

/* ── CTA ── */
.cta-sec { background: var(--accent); padding: 88px 64px; text-align: center; position: relative; overflow: hidden; }
.cta-sec::before { content: ''; position: absolute; left: 50%; top: -200px; transform: translateX(-50%); width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); }
.cta-sec h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px,4vw,54px); font-weight: 600; line-height: 1.1; color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-sec h2 i { font-style: italic; color: rgba(255,255,255,.6); }
.cta-sec p { font-size: 16px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.6); max-width: 460px; margin: 0 auto 40px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; position: relative; z-index: 1; }
