/* ══════════════════════════════════════════════════════════════
   SERVICIOS PAGE — from servicios.html
   ══════════════════════════════════════════════════════════════ */

/* ── HERO ── */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.ph-left {
  background: var(--accent);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.ph-left::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
}
.ph-left::after {
  content: ''; position: absolute; right: -20px; bottom: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.04);
}
.ph-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 24px; }
.ph-eyebrow::before { content: ''; width: 24px; height: 2px; background: rgba(255,255,255,.4); }
.ph-left h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(42px,4.5vw,64px); font-weight: 600; line-height: 1.08; color: white; margin-bottom: 24px; letter-spacing: -.5px; }
.ph-left h1 i { font-style: italic; color: rgba(255,255,255,.7); }
.ph-left p { font-size: 16px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.65); max-width: 440px; margin-bottom: 40px; }
.ph-cta-row { display: flex; gap: 12px; }
.ph-right { position: relative; overflow: hidden; }
.ph-right img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.85); }
.ph-right::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right,rgba(27,79,114,.35) 0%,transparent 50%); }
.ph-stats { position: absolute; bottom: 0; right: 0; display: flex; background: white; border-top: 1px solid var(--line); border-left: 1px solid var(--line); z-index: 2; }
.ph-stat { padding: 20px 32px; border-right: 1px solid var(--line); text-align: center; }
.ph-stat:last-child { border-right: none; }
.ph-stat-n { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; }
.ph-stat-n sup { font-size: 16px; color: var(--accent2); vertical-align: super; }
.ph-stat-l { font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: .3px; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ph-left > * { animation: fadeIn .7s ease both; }
.ph-left > *:nth-child(1) { animation-delay: .1s; }
.ph-left > *:nth-child(2) { animation-delay: .2s; }
.ph-left > *:nth-child(3) { animation-delay: .32s; }
.ph-left > *:nth-child(4) { animation-delay: .44s; }

/* ── SERVICE TABS ── */
.srv-tabs-wrap { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 150; }
.srv-tabs { display: flex; max-width: 1200px; margin: 0 auto; padding: 0 60px; overflow-x: auto; scrollbar-width: none; }
.srv-tabs::-webkit-scrollbar { display: none; }
.srv-tab { display: flex; align-items: center; gap: 8px; padding: 16px 24px; font-size: 13.5px; font-weight: 500; color: var(--mid); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; transition: all .2s; background: none; border-top: none; border-left: none; border-right: none; font-family: 'Outfit', sans-serif; letter-spacing: .2px; }
.srv-tab .tab-icon { font-size: 16px; }
.srv-tab:hover { color: var(--accent); }
.srv-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* ── SECTIONS COMMON ── */
.sec { padding: 96px 60px; }
.sec-dark { background: var(--ink); }
.sec-soft { background: var(--bg); }
.sec-white { background: var(--white); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent2); }
.eyebrow.light { color: rgba(255,255,255,.5); }
.eyebrow.light::before { background: rgba(255,255,255,.4); }
h2.sec-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px,3.8vw,52px); font-weight: 600; line-height: 1.1; letter-spacing: -.3px; }
h2.sec-title i { font-style: italic; color: var(--accent); }
h2.sec-title.light { color: white; }
h2.sec-title.light i { color: rgba(255,255,255,.6); }
.sec-lead { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--mid); max-width: 580px; margin-top: 16px; }
.sec-lead.light { color: rgba(255,255,255,.6); }
.link-arrow { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: gap .2s; }
.link-arrow:hover { gap: 12px; }

/* ── SERVICES GRID ── */
.services-overview { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--line); margin-top: 64px; }
.srv-card { background: white; padding: 0; overflow: hidden; cursor: pointer; transition: all .3s; position: relative; }
.srv-card:hover { background: var(--bg); }
.srv-card.active-srv { background: var(--accent); }
.srv-card-inner { padding: 40px 36px; }
.srv-num { font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 700; color: var(--line); line-height: 1; margin-bottom: 20px; transition: color .3s; }
.srv-card.active-srv .srv-num { color: rgba(255,255,255,.15); }
.srv-card:hover:not(.active-srv) .srv-num { color: #c5d8e8; }
.srv-icon-wrap { width: 52px; height: 52px; background: var(--tag); display: grid; place-items: center; font-size: 24px; margin-bottom: 20px; border: 1px solid #c5d8e8; transition: all .3s; }
.srv-card.active-srv .srv-icon-wrap { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.srv-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 12px; line-height: 1.2; transition: color .3s; }
.srv-card.active-srv h3 { color: white; }
.srv-card p { font-size: 14px; color: var(--mid); line-height: 1.75; transition: color .3s; }
.srv-card.active-srv p { color: rgba(255,255,255,.65); }
.srv-card-footer { padding: 20px 36px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; transition: all .3s; }
.srv-card.active-srv .srv-card-footer { border-top-color: rgba(255,255,255,.12); }
.srv-card-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.srv-card.active-srv .srv-card-tag { color: rgba(255,255,255,.45); }
.srv-detail-btn { font-size: 12.5px; font-weight: 600; color: var(--accent2); background: none; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; display: flex; align-items: center; gap: 5px; transition: all .2s; }
.srv-card.active-srv .srv-detail-btn { color: rgba(255,255,255,.8); }
.srv-detail-btn:hover { gap: 9px; }
.srv-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: transparent; transition: background .3s; }
.srv-card:hover:not(.active-srv)::after { background: var(--accent2); }
.srv-card.active-srv::after { background: rgba(255,255,255,.3); }

/* ── SERVICE DETAIL PANEL ── */
.srv-detail-panel { background: var(--bg); border: 1px solid var(--line); margin-top: 2px; overflow: hidden; max-height: 0; transition: max-height .5s cubic-bezier(0.16,1,0.3,1); }
.srv-detail-panel.open { max-height: 1000px; }
.sdp-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
.sdp-desc { padding: 48px; border-right: 1px solid var(--line); }
.sdp-desc h4 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.sdp-desc p { font-size: 14.5px; color: var(--mid); line-height: 1.8; margin-bottom: 20px; }
.sdp-process { padding: 48px; border-right: 1px solid var(--line); }
.sdp-process h5, .sdp-benefits h5 { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.process-steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: none; }
.step-n { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--accent2); line-height: 1; padding-top: 2px; }
.step-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.step-text span { font-size: 13px; color: var(--mid); line-height: 1.5; }
.sdp-benefits { padding: 48px; }
.benefit-list { display: flex; flex-direction: column; gap: 12px; }
.benefit { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: white; border: 1px solid var(--line); }
.b-icon { width: 32px; height: 32px; background: var(--tag); border: 1px solid #c5d8e8; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.b-text strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.b-text span { font-size: 12.5px; color: var(--mid); }

/* ── TIMELINE ── */
.timeline-section { padding: 96px 60px; background: var(--white); }
.timeline-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 72px; }
.timeline-visual { position: relative; height: 420px; }
.tl-img-main { position: absolute; right: 0; bottom: 0; width: 78%; height: 88%; object-fit: cover; }
.tl-img-accent { position: absolute; left: 0; top: 0; width: 48%; height: 52%; object-fit: cover; border: 4px solid white; box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.tl-badge { position: absolute; bottom: 28px; left: 0; background: var(--accent); color: white; padding: 18px 24px; text-align: center; }
.tl-badge strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; line-height: 1; }
.tl-badge span { font-size: 11px; letter-spacing: 1.5px; opacity: .75; }
.timeline-steps { position: relative; }
.timeline-steps::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl-step { display: grid; grid-template-columns: 40px 1fr; gap: 24px; margin-bottom: 36px; position: relative; }
.tl-step:last-child { margin-bottom: 0; }
.tl-dot { width: 40px; height: 40px; background: var(--accent); display: grid; place-items: center; font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 700; color: white; position: relative; z-index: 1; flex-shrink: 0; }
.tl-dot.done { background: var(--accent2); }
.tl-step-body { padding-top: 8px; }
.tl-step-body strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.tl-step-body p { font-size: 13.5px; color: var(--mid); line-height: 1.6; }

/* ── WHY GRID ── */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--line); margin-top: 64px; }
.why-cell { background: white; padding: 40px 32px; transition: background .3s; }
.why-cell:hover { background: var(--bg); }
.why-cell-icon { font-size: 32px; margin-bottom: 20px; }
.why-cell h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 12px; line-height: 1.2; }
.why-cell p { font-size: 13.5px; color: var(--mid); line-height: 1.75; }
.why-cell-num { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 700; color: var(--line); margin-top: 20px; line-height: 1; }

/* ── FAQ ── */
.faq-wrap { max-width: 800px; margin: 0 auto; margin-top: 64px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; cursor: pointer; gap: 20px; }
.faq-q span { font-size: 15.5px; font-weight: 500; color: var(--ink); }
.faq-arrow { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 18px; color: var(--muted); flex-shrink: 0; transition: all .3s; background: white; }
.faq-item.open .faq-arrow { background: var(--accent); color: white; border-color: var(--accent); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { font-size: 14.5px; color: var(--mid); line-height: 1.8; padding-bottom: 22px; }

/* ── CTA SECTION ── */
.cta-section { background: var(--accent); padding: 96px 60px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.cta-section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px,4vw,56px); font-weight: 600; color: white; line-height: 1.1; }
.cta-section h2 i { font-style: italic; color: rgba(255,255,255,.65); }
.cta-section p { font-size: 16px; color: rgba(255,255,255,.6); margin-top: 14px; line-height: 1.7; max-width: 520px; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.testi-card { background: white; padding: 36px; border: 1px solid var(--line); position: relative; transition: all .3s; }
.testi-card:hover { border-color: #b0c4d8; box-shadow: 0 8px 28px rgba(27,79,114,.08); }
.testi-stars { color: var(--accent2); font-size: 13px; letter-spacing: 2px; margin-bottom: 18px; }
.testi-q { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.7; margin-bottom: 24px; }
.testi-divider { width: 28px; height: 2px; background: var(--accent2); margin-bottom: 20px; }
.testi-who { display: flex; gap: 12px; align-items: center; }
.testi-av { width: 42px; height: 42px; background: var(--accent); color: white; font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testi-role { font-size: 12px; color: var(--muted); margin-top: 1px; }
.testi-srv-tag { position: absolute; top: 20px; right: 20px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; background: var(--tag); color: var(--accent2); border: 1px solid #c5d8e8; }
