@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --navy: #1a2e44;
    --navy-deep: #0f1d2e;
    --teal: #1e8fa3;
    --teal-light: #2aafc5;
    --teal-pale: #e8f4f7;
    --gold: #c9963a;
    --white: #ffffff;
    --off-white: #f5f7f8;
    --gray: #6b7c8e;
    --gray-light: #dde4ea;
    --text: #1a2e44;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(15,29,46,0.97);
    backdrop-filter: blur(12px);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    border-bottom: 1px solid rgba(30,143,163,0.3);
}
.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
}
.nav-logo span { color: var(--teal-light); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal-light); }
.nav-cta {
    background: var(--teal);
    color: white !important;
    padding: 0.45rem 1.2rem;
    border-radius: 2px;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-light) !important; }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 5% 60px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 70% 40%, rgba(30,143,163,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(30,143,163,0.07) 0%, transparent 60%);
}
.hero-grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(30,143,163,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,143,163,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 1.8rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(30,143,163,0.4);
    border-radius: 2px;
    animation: fadeInUp 0.6s ease both;
}
.hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--teal-light);
    border-radius: 50%;
}
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s 0.1s ease both;
}
.hero h1 strong { font-weight: 700; color: var(--teal-light); display: block; }
.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeInUp 0.6s 0.3s ease both;
}
.btn-primary {
    background: var(--teal);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-secondary {
    background: transparent;
    color: rgba(255,255,255,0.8);
    padding: 0.9rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--teal-light); color: var(--teal-light); }
.hero-stats {
    position: absolute;
    right: 5%; bottom: 15%;
    display: flex; flex-direction: column; gap: 1.5rem;
    animation: fadeInUp 0.6s 0.4s ease both;
}
.stat {
    text-align: right;
    border-right: 2px solid var(--teal);
    padding-right: 1.2rem;
}
.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem; font-weight: 700;
    color: var(--white); line-height: 1;
}
.stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}
.iso-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2rem; }
.iso-badge {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--teal);
    border-radius: 2px;
    color: var(--teal);
    background: rgba(30,143,163,0.06);
}

/* ── SECCIONES BASE ── */
section { padding: 90px 5%; }
.section-tag {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 0.8rem;
    display: flex; align-items: center; gap: 0.6rem;
}
.section-tag::before {
    content: ''; display: block;
    width: 24px; height: 1px; background: var(--teal);
}
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600; color: var(--navy);
    line-height: 1.15; margin-bottom: 1rem;
}
.section-lead {
    font-size: 1.05rem; color: var(--gray);
    line-height: 1.7; max-width: 620px;
    font-weight: 300; margin-bottom: 3rem;
}

/* ── PROBLEMA ── */
.problema { background: var(--navy); color: white; }
.problema .section-title { color: white; }
.problema .section-lead { color: rgba(255,255,255,0.6); }
.problema .section-tag { color: var(--teal-light); }
.problema .section-tag::before { background: var(--teal-light); }
.problema-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px; background: rgba(30,143,163,0.2);
    border: 1px solid rgba(30,143,163,0.2); margin-top: 3rem;
}
.problema-item {
    background: rgba(255,255,255,0.03);
    padding: 2rem 2.5rem; transition: background 0.2s;
}
.problema-item:hover { background: rgba(30,143,163,0.08); }
.problema-icon { font-size: 1.5rem; margin-bottom: 1rem; display: block; }
.problema-item h3 { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 0.5rem; }
.problema-item p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.6; font-weight: 300; }

/* ── METODOLOGÍA ── */
.metodologia { background: var(--off-white); }
.fases {
    display: grid; grid-template-columns: repeat(5,1fr);
    margin-top: 3rem; border: 1px solid var(--gray-light);
    border-radius: 4px; overflow: hidden;
}
.fase {
    padding: 2rem 1.5rem; background: white;
    border-right: 1px solid var(--gray-light);
    position: relative; transition: background 0.2s;
}
.fase:last-child { border-right: none; }
.fase:hover { background: var(--teal-pale); }
.fase-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem; font-weight: 700;
    color: var(--teal); opacity: 0.2; line-height: 1; margin-bottom: 0.5rem;
}
.fase-icon { font-size: 1.4rem; margin-bottom: 1rem; display: block; }
.fase h3 {
    font-size: 0.9rem; font-weight: 700; color: var(--navy);
    margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.fase p { font-size: 0.82rem; color: var(--gray); line-height: 1.5; font-weight: 300; }
.fase-arrow {
    position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; background: var(--teal);
    clip-path: polygon(0 0, 100% 50%, 0 100%); z-index: 2;
}
.fase:last-child .fase-arrow { display: none; }

/* ── SERVICIOS ── */
.servicios { background: white; }
.servicios-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1.5rem; margin-top: 3rem;
}
.servicio-card {
    background: white; border: 1px solid var(--gray-light);
    padding: 2rem; border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative; overflow: hidden;
}
.servicio-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--teal); transform: scaleX(0);
    transition: transform 0.3s; transform-origin: left;
}
.servicio-card:hover { border-color: var(--teal-light); box-shadow: 0 8px 32px rgba(30,143,163,0.1); transform: translateY(-2px); }
.servicio-card:hover::before { transform: scaleX(1); }
.servicio-num { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700; color: var(--teal); margin-bottom: 1rem; display: block; }
.servicio-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.servicio-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.servicio-card p { font-size: 0.87rem; color: var(--gray); line-height: 1.6; font-weight: 300; }

/* ── BENEFICIOS ── */
.beneficios { background: var(--navy); }
.beneficios .section-title { color: white; }
.beneficios .section-lead { color: rgba(255,255,255,0.6); }
.beneficios .section-tag { color: var(--teal-light); }
.beneficios .section-tag::before { background: var(--teal-light); }
.beneficios-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1px; background: rgba(255,255,255,0.08);
    margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.beneficio { background: var(--navy); padding: 2rem; transition: background 0.2s; }
.beneficio:hover { background: rgba(30,143,163,0.1); }
.beneficio-icon { font-size: 1.6rem; margin-bottom: 1rem; display: block; }
.beneficio h3 { font-size: 0.95rem; font-weight: 600; color: white; margin-bottom: 0.5rem; }
.beneficio p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; font-weight: 300; }

/* ── COMPARATIVA ── */
.comparativa { background: var(--off-white); }
.tabla-wrapper { overflow-x: auto; margin-top: 2.5rem; border-radius: 4px; border: 1px solid var(--gray-light); }
table { width: 100%; border-collapse: collapse; background: white; font-size: 0.87rem; }
thead tr { background: var(--navy); color: white; }
th { padding: 1rem 1.2rem; text-align: left; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; }
th:first-child { border-right: 2px solid rgba(30,143,163,0.4); }
td { padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--gray-light); color: var(--text); }
td:first-child { font-weight: 500; border-right: 2px solid var(--gray-light); color: var(--navy); font-size: 0.85rem; }
.col-optima { background: rgba(30,143,163,0.05); font-weight: 600; color: var(--navy) !important; border-left: 2px solid var(--teal) !important; border-right: 2px solid var(--teal) !important; }
tr:hover td { background: rgba(30,143,163,0.03); }
tr:hover td.col-optima { background: rgba(30,143,163,0.1); }
.check { color: #1e8fa3; font-weight: 700; }
.partial { color: var(--gold); }
.cross { color: #b0bec5; }
.table-section-header td { background: var(--navy-deep); color: var(--teal-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.6rem 1.2rem; }

/* ── HONORARIOS ── */
.honorarios { background: white; }

/* Tarifa principal — horizontal, centrada */
.honorarios-principal {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}
.precio-card-horizontal {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--navy);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 760px;
}
.precio-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
}
.precio-card-left {
    flex: 1;
    padding: 3rem 3rem 3rem 3.5rem;
    border-right: 1px solid rgba(30,143,163,0.3);
}
.precio-card-right {
    padding: 3rem 3.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}
.precio-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 1.5rem;
    display: block;
}
.precio-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}
.precio-unit {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.5rem;
}
.precio-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.precio-features li {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.precio-features li::before {
    content: '✓';
    color: var(--teal-light);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── SERVICIOS ADICIONALES ── */
.servicios-adicionales {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--gray-light);
}
.servicios-adic-header {
    text-align: center;
    margin-bottom: 3rem;
}
.servicios-adic-header .section-tag {
    justify-content: center;
}
.servicios-adic-header .section-tag::before {
    display: none;
}
.servicios-adic-intro {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
    font-weight: 300;
}
.servicios-adic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.servicio-adic-card {
    background: var(--navy);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(30,143,163,0.25);
}
.servicio-adic-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
}
.servicio-adic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(30,143,163,0.2);
}
.servicio-adic-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}
.servicio-adic-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--teal-light);
    margin-bottom: 1rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.servicio-adic-card p {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    font-weight: 300;
}

.precio-opcional {
    background: rgba(201,150,58,0.15);
    border: 1px solid rgba(201,150,58,0.3);
    padding: 0.7rem 1rem;
    border-radius: 2px;
    font-size: 0.82rem;
    color: #e8b84b;
    text-align: center;
}

/* ── CALIDAD ── */
.calidad { background: var(--off-white); }
.calidad-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.calidad-card { background: white; padding: 1.8rem; border-radius: 4px; border: 1px solid var(--gray-light); transition: border-color 0.2s; }
.calidad-card:hover { border-color: var(--teal); }
.calidad-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.calidad-card p { font-size: 0.84rem; color: var(--gray); line-height: 1.6; font-weight: 300; }

/* ── PASOS ── */
.pasos { background: var(--navy); }
.pasos .section-title { color: white; }
.pasos .section-lead { color: rgba(255,255,255,0.6); }
.pasos .section-tag { color: var(--teal-light); }
.pasos .section-tag::before { background: var(--teal-light); }
.pasos-list { display: flex; margin-top: 3rem; position: relative; }
.pasos-list::before { content: ''; position: absolute; top: 30px; left: 30px; right: 30px; height: 2px; background: rgba(30,143,163,0.3); }
.paso { flex: 1; padding: 0 1rem; text-align: center; position: relative; }
.paso-dot { width: 60px; height: 60px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; color: white; position: relative; z-index: 1; border: 3px solid var(--navy); }
.paso h3 { font-size: 0.88rem; font-weight: 700; color: var(--teal-light); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.paso p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.5; font-weight: 300; }

/* Disponibilidad box — centrada */
.disponibilidad-box {
    margin-top: 3rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(30,143,163,0.3);
    border-radius: 4px;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
.disp-item { font-size: 0.87rem; color: rgba(255,255,255,0.6); }
.disp-item strong { color: var(--teal-light); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }

/* ── QUIÉNES ── */
.quienes { background: white; }
.quienes-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.quienes-text .section-lead { margin-bottom: 0; }
.quienes-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quienes-card { background: var(--teal-pale); border: 1px solid rgba(30,143,163,0.15); padding: 1.5rem; border-radius: 4px; }
.quienes-card h4 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.quienes-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.5; font-weight: 300; }

/* ── CONTACTO ── */
.contacto { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); text-align: center; padding: 100px 5%; }
.contacto .section-tag { justify-content: center; color: var(--teal-light); }
.contacto .section-tag::before { background: var(--teal-light); }
.contacto .section-title { color: white; margin-bottom: 1rem; }
.contacto .section-lead { color: rgba(255,255,255,0.6); margin: 0 auto 2.5rem; }
.contacto-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.contacto-dato { font-size: 0.87rem; color: rgba(255,255,255,0.5); }
.contacto-dato strong { display: block; color: var(--teal-light); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }

/* ── FOOTER ── */
footer { background: var(--navy-deep); padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: rgba(255,255,255,0.5); }
.footer-logo span { color: var(--teal-light); }
footer p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ── ANIMACIONES ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-stats { display: none; }
    .fases { grid-template-columns: 1fr 1fr; }
    .servicios-grid { grid-template-columns: 1fr 1fr; }
    .beneficios-grid { grid-template-columns: 1fr 1fr; }
    .calidad-grid { grid-template-columns: 1fr 1fr; }
    .honorarios-grid { grid-template-columns: 1fr; }
    .quienes-inner { grid-template-columns: 1fr; }
    .pasos-list { flex-direction: column; }
    .pasos-list::before { display: none; }
    .nav-links { display: none; }
    .problema-grid { grid-template-columns: 1fr; }
    .servicios-adic-grid { grid-template-columns: 1fr; }
    .precio-card-horizontal { flex-direction: column; max-width: 100%; }
    .precio-card-left { border-right: none; border-bottom: 1px solid rgba(30,143,163,0.3); padding: 2.5rem 2rem; }
    .precio-card-right { padding: 2rem; }
}
@media (max-width: 600px) {
    .servicios-grid { grid-template-columns: 1fr; }
    .beneficios-grid { grid-template-columns: 1fr; }
    .calidad-grid { grid-template-columns: 1fr; }
    .fases { grid-template-columns: 1fr; }
    .quienes-cards { grid-template-columns: 1fr; }
    .servicios-adic-grid { grid-template-columns: 1fr; }
}

/* ── TABLA KPIs ── */
.tabla-kpis td {
    color: rgba(0, 0, 0, 0.6) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.tabla-kpis td:first-child {
    color: rgba(0, 0, 0, 0.6)  !important;
    border-right: none !important;
    font-weight: 300 !important;
}
.tabla-kpis th {
    border-right: none !important;
}