/* ============================================================
   CODDit · styles.css  (Navy + Dorado · Watermark con luz)
   ============================================================ */
:root {
    --primary: #1d3a5f;
    --primary-hover: #112238;
    --primary-soft: rgba(29, 58, 95, 0.08);
    --gold: #c9a961;
    --gold-hover: #b39556;
    --gold-soft: rgba(201, 169, 97, 0.15);

    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #596573;
    --border: #e2e8f0;

    --font: 'Inter', sans-serif;
    --radius: 12px;
    --shadow-sm: 0 4px 12px rgba(29, 58, 95, 0.08);
    --shadow-md: 0 10px 30px rgba(29, 58, 95, 0.12);
    --shadow-lg: 0 22px 50px rgba(29, 58, 95, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: #e8eef7; }
body {
    font-family: var(--font);
    background: transparent;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================================
   FONDO PRINCIPAL: degradado azul → blanco + logo fundido
   ============================================================ */
.bg-watermark {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%,
            rgba(29, 58, 95, 0.18) 0%,
            rgba(29, 58, 95, 0.08) 35%,
            transparent 70%),
        linear-gradient(180deg,
            #d8e3f0 0%,
            #e8eef7 30%,
            #f3f6fb 65%,
            #ffffff 100%);
}

/* Halo azul al costado derecho como ambient light */
.bg-watermark::after {
    content: "";
    position: absolute;
    top: 8%;
    right: -15%;
    width: 60vw;
    max-width: 950px;
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle at center,
        rgba(29, 58, 95, 0.18) 0%,
        rgba(29, 58, 95, 0.10) 25%,
        rgba(29, 58, 95, 0.04) 45%,
        transparent 70%);
    filter: blur(20px);
}

/* Logo navy asomando por la derecha, fundido con el azul */
.bg-watermark::before {
    content: "";
    position: absolute;
    top: 12%;
    right: -10%;
    width: 45vw;
    max-width: 720px;
    aspect-ratio: 1 / 1;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.35;
    transform: rotate(-8deg);
    filter:
        contrast(0.85) saturate(1.1)
        drop-shadow(0 0 60px rgba(29, 58, 95, 0.25))
        drop-shadow(0 0 140px rgba(29, 58, 95, 0.18));
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0.7) 70%, transparent 95%);
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0.7) 70%, transparent 95%);
}

/* ============================================================
   PANEL CRISTAL
   ============================================================ */
.glass-panel {
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(6px) saturate(1.3);
    -webkit-backdrop-filter: blur(6px) saturate(1.3);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(29, 58, 95, 0.10), 0 1px 3px rgba(29, 58, 95, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
.title { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 1.4rem; color: var(--text-dark); }
.subtitle { font-size: 1.15rem; color: var(--text-muted); font-weight: 400; max-width: 620px; margin-bottom: 2.4rem; line-height: 1.55; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1rem; color: var(--text-dark); }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-dark); }
p { color: var(--text-muted); font-size: 1rem; }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.2rem; display: inline-block; }

/* ============================================================
   ESTRUCTURA
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.section { padding: 6rem 0; background: transparent; }
.hero { padding: 9rem 0 4rem; background: transparent; }
.section-header { margin-bottom: 3.5rem; max-width: 720px; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.85rem 1.9rem; font-size: 0.98rem; font-weight: 600;
    text-decoration: none; cursor: pointer; transition: all 0.3s;
    border-radius: var(--radius); border: 2px solid transparent;
    font-family: inherit;
}
.btn-full { width: 100%; }
.btn-primary { background: var(--primary); color: var(--bg-white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); color: white; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--bg-white); }
.btn-gold { background: var(--gold); color: var(--bg-white); }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,169,97,0.35); color: white; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar { position: fixed; top: 0; width: 100%; padding: 1rem 0; background: rgba(232, 238, 247, 0.85); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); z-index: 100; border-bottom: 1px solid rgba(29, 58, 95, 0.08); transition: all 0.3s; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 38px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; margin: 0 1rem; font-size: 0.93rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 1.2rem; }
.icon-link { color: var(--text-muted); display: flex; transition: color 0.2s; }
.icon-link:hover { color: var(--gold); }

/* Hamburguesa */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 0; }
.nav-toggle span { width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: 0.3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero-grid { display: flex; flex-direction: column; gap: 1.8rem; }
.hero-content { padding: 3.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 4rem; padding: 2rem 3rem; justify-content: space-around; }
.stat-box { display: flex; flex-direction: column; min-width: 160px; }
.stat-icon { display: flex; align-items: baseline; color: var(--primary); margin-bottom: 0.4rem; }
.stat-icon h3 { font-size: 3rem; line-height: 1; letter-spacing: -0.04em; margin: 0; color: var(--primary); font-weight: 800; }
.stat-icon span { font-size: 1.1rem; font-weight: 600; margin-left: 4px; color: var(--gold); }
.stat-box p { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--text-dark); }

/* ============================================================
   SERVICIOS — Iconos SVG y mini-features
   ============================================================ */
.card { padding: 2.2rem 2rem; border: 1px solid rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(6px) saturate(1.3); -webkit-backdrop-filter: blur(6px) saturate(1.3); border-radius: var(--radius); transition: all 0.35s; box-shadow: 0 8px 28px rgba(29, 58, 95, 0.08), 0 1px 2px rgba(29, 58, 95, 0.04); display: flex; flex-direction: column; }
.hover-up:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-md); }

.icon-wrapper {
    width: 56px; height: 56px;
    background: var(--gold-soft);
    border: 1px solid rgba(201, 169, 97, 0.4);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
    color: var(--gold);
    transition: all 0.35s;
}
.icon-wrapper svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .icon-wrapper { background: var(--gold); color: var(--bg-white); border-color: var(--gold); transform: scale(1.05); }

.service-card h3 { margin-bottom: 0.5rem; }
.service-card > p { margin-bottom: 1.2rem; }
.feature-list { list-style: none; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.55rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.45; }
.feature-list li svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 4px; stroke: var(--gold); fill: none; stroke-width: 3; }

/* ============================================================
   METODOLOGÍA
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; position: relative; }
.step-card {
    padding: 2rem 1.6rem;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px) saturate(1.3);
    -webkit-backdrop-filter: blur(6px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius);
    text-align: left;
    transition: all 0.35s;
    box-shadow: 0 8px 28px rgba(29, 58, 95, 0.08), 0 1px 2px rgba(29, 58, 95, 0.04);
    position: relative;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 20px rgba(29, 58, 95, 0.25);
}
.step-card:hover .step-num { background: var(--gold); box-shadow: 0 10px 22px rgba(201,169,97,0.4); }
.step-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.45rem; color: var(--text-dark); }
.step-card p { font-size: 0.9rem; line-height: 1.55; }

/* ============================================================
   PLANES — con bullet list
   ============================================================ */
.plan-card { padding: 2.4rem 2rem; transition: all 0.35s; }
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.plan-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.plan-header h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0; }
.plan-line { height: 2px; width: 40px; background: var(--gold); margin-bottom: 1.2rem; }
.plan-card > p { margin-bottom: 1.4rem; min-height: 3rem; }
.tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: var(--primary-soft); padding: 0.35rem 0.85rem; border-radius: 50px; color: var(--text-dark); }
.tag-primary { background: var(--primary); color: var(--bg-white); }

.featured-plan { border: 2px solid var(--primary); box-shadow: var(--shadow-md); transform: scale(1.02); position: relative; }
.featured-plan::before {
    content: "Más elegido";
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--bg-white);
    padding: 0.3rem 1rem; border-radius: 50px;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}

.plan-tasks { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.5rem; }
.plan-tasks li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--text-dark); line-height: 1.5; }
.plan-tasks li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; stroke: var(--gold); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   PROYECTOS PUNTUALES
   ============================================================ */
.project-card { padding: 2rem 1.8rem; transition: all 0.35s; }
.project-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.project-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.65rem; }
.project-card h3 { margin-bottom: 0.5rem; }
.project-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-soft); border: 1px solid rgba(29,58,95,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; color: var(--primary); transition: all 0.35s; }
.project-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.project-card:hover .project-icon { background: var(--primary); color: var(--bg-white); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-box { padding: 0; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.contact-info { padding: 3.5rem; background: rgba(29, 58, 95, 0.04); border-right: 1px solid var(--border); }
.contact-info h2 { margin-bottom: 1rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.8rem; }
.detail-item { display: flex; align-items: center; gap: 0.8rem; font-weight: 500; color: var(--text-dark); font-size: 0.95rem; }
.detail-item a { color: var(--text-dark); text-decoration: none; transition: color 0.2s; }
.detail-item a:hover { color: var(--gold); }
.detail-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--gold-soft); border: 1px solid rgba(201,169,97,0.35);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); flex-shrink: 0;
}
.detail-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.contact-form { padding: 3.5rem; }
.contact-form form { display: flex; flex-direction: column; gap: 1.3rem; }
.input-group { display: flex; flex-direction: column; gap: 0.45rem; }
.input-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.input-group input, .input-group textarea {
    width: 100%; padding: 0.9rem; border: 1px solid var(--border); border-radius: 8px;
    background: var(--bg-white); font-family: inherit; font-size: 0.96rem; outline: none;
    transition: border-color 0.2s; color: var(--text-dark);
}
.input-group input:focus, .input-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29, 58, 95, 0.1); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { padding: 3rem 0 1.8rem; border-top: 1px solid rgba(29, 58, 95, 0.08); margin-top: 2rem; background: rgba(232, 238, 247, 0.5); backdrop-filter: blur(10px); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer-brand img { height: 36px; margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.88rem; max-width: 30ch; line-height: 1.6; }
.footer-col h5 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dark); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.55rem; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 2.2rem auto 0; padding: 1.6rem 2rem 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; color: var(--text-muted); font-size: 0.83rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.25s; margin: 0; }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

/* ============================================================
   FLOTANTES + CHAT
   ============================================================ */
.floating-stack { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 12px; z-index: 999; align-items: flex-end; }
.fab-btn { width: 55px; height: 55px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--bg-white); transition: transform 0.2s; box-shadow: 0 8px 16px rgba(0,0,0,0.15); text-decoration: none; }
.fab-btn:hover { transform: scale(1.1); }
.fab-wa { background: #25D366; }
.fab-chat { background: var(--primary); }

.chat-window { position: fixed; bottom: 100px; right: 30px; width: 350px; background: var(--bg-white); border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,0.18); display: none; flex-direction: column; border: 1px solid var(--border); overflow: hidden; }
.chat-header { padding: 1.1rem 1.2rem; background: var(--primary); color: var(--bg-white); display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.chat-close { background: none; border: none; font-size: 1.5rem; color: var(--bg-white); cursor: pointer; line-height: 1; }
.chat-body { padding: 1.1rem; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 0.8rem; background: #f8fafc; }
.msg { padding: 0.85rem 1rem; font-size: 0.92rem; border-radius: 10px; max-width: 86%; line-height: 1.5; }
.msg.bot { background: var(--bg-white); border: 1px solid var(--border); align-self: flex-start; }
.msg.bot strong { color: var(--gold); }
.msg.user { background: var(--primary); color: var(--bg-white); align-self: flex-end; }
.chat-options { padding: 0.9rem 1.1rem 1rem; display: flex; flex-direction: column; gap: 0.45rem; background: var(--bg-white); border-top: 1px solid var(--border); max-height: 260px; overflow-y: auto; }
.chat-option { padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-white); cursor: pointer; font-weight: 500; font-size: 0.86rem; text-align: left; transition: all 0.2s; color: var(--text-dark); font-family: inherit; line-height: 1.35; }
.chat-option:hover { border-color: var(--primary); color: var(--primary); background: rgba(29, 58, 95, 0.04); }

/* ============================================================
   ANIMACIONES
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: all 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .grid-3, .grid-4, .steps-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1.6rem; align-items: flex-start; }
    .hero-content, .glass-panel { padding: 2.2rem; }
    .contact-box { grid-template-columns: 1fr; }
    .contact-info { border-right: none; border-bottom: 1px solid var(--border); padding: 2.5rem; }
    .contact-form { padding: 2.5rem; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open { display: flex; position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem; background: var(--bg-white); padding: 2rem; border-left: 1px solid var(--border); box-shadow: -10px 0 30px rgba(0,0,0,0.06); z-index: 99; }
    .nav-links.open a { margin: 0; font-size: 1.1rem; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .featured-plan { transform: scale(1); }
    .chat-window { width: calc(100vw - 40px); right: 20px; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .bg-watermark::before { background-size: 130vw auto; }
    .bg-watermark::after { width: 130vw; height: 130vw; }
}

/* ============================================================
   QUIÉNES SOMOS — Experiencia + Misión + Manifiesto
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}
.about-experience, .about-mission { padding: 2.5rem; display: flex; flex-direction: column; }
.about-icon {
    width: 60px; height: 60px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
    box-shadow: 0 10px 24px rgba(29, 58, 95, 0.25);
}
.about-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-tag {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--gold); margin-bottom: 0.9rem; display: inline-block;
}
.about-experience h3, .about-mission h3 {
    font-size: 1.5rem; font-weight: 700; line-height: 1.25;
    color: var(--text-dark); margin-bottom: 1rem;
}
.about-experience p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; }
.about-mission p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; }
.about-mission .quote {
    margin-top: 1.2rem; padding: 1.1rem 1.3rem;
    border-left: 3px solid var(--gold);
    background: rgba(201, 169, 97, 0.08);
    font-style: italic; font-size: 1.05rem; color: var(--primary); font-weight: 600;
    line-height: 1.5; border-radius: 4px;
}

/* Header del manifiesto */
.manifesto-header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.manifesto-header .eyebrow { margin-bottom: 1rem; }
.manifesto-title {
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 700; color: var(--text-dark);
    letter-spacing: -0.02em; line-height: 1.3;
}

/* Cards del manifiesto */
.manifesto-card { padding: 2rem 1.7rem; position: relative; }
.manifesto-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 14px 36px rgba(29, 58, 95, 0.12); }
.manifesto-num {
    font-size: 2.4rem; font-weight: 800; line-height: 1;
    color: var(--gold); margin-bottom: 1rem;
    letter-spacing: -0.04em; opacity: 0.85;
}
.manifesto-card h4 {
    font-size: 1.1rem; font-weight: 700; color: var(--text-dark);
    margin-bottom: 0.65rem; line-height: 1.3;
}
.manifesto-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-experience, .about-mission { padding: 2rem; }
}

/* ============================================================
   TECNOLOGÍAS Y CERTIFICACIONES
   ============================================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.tech-card {
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}
.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 14px 36px rgba(29, 58, 95, 0.12);
}
.tech-icon {
    width: 54px; height: 54px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.3rem;
    box-shadow: 0 10px 24px rgba(29, 58, 95, 0.25);
}
.tech-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tech-card h3 {
    font-size: 1.25rem; font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
    line-height: 1.3;
}
.tech-card > p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}
.tech-list {
    list-style: none;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tech-list li {
    background: rgba(201, 169, 97, 0.12);
    border: 1px solid rgba(201, 169, 97, 0.35);
    color: var(--primary);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}
.tech-card:hover .tech-list li {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--gold);
}

/* Nota final de honestidad */
.tech-note {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    max-width: 800px;
    margin: 2.5rem auto 0;
    padding: 1.3rem 1.6rem;
    background: rgba(29, 58, 95, 0.05);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
}
.tech-note svg {
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 2px;
}
.tech-note p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}
.tech-note p strong {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 600px) {
    .tech-grid { grid-template-columns: 1fr; }
    .tech-note { flex-direction: column; gap: 0.6rem; padding: 1.2rem; }
}

/* ============================================================
   PLANES — Extras: promesa de tiempo + nota de inversión
   ============================================================ */
.plans-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.plans-promise, .plans-pricing {
    padding: 2rem;
    display: flex;
    gap: 1.3rem;
    align-items: flex-start;
}
.pp-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 18px rgba(29, 58, 95, 0.22);
}
.pp-icon-gold {
    background: var(--gold);
    box-shadow: 0 8px 18px rgba(201, 169, 97, 0.32);
}
.pp-icon svg { width: 22px; height: 22px; }
.plans-promise h4, .plans-pricing h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.55rem;
}
.plans-promise p, .plans-pricing p {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.plans-promise p strong, .plans-pricing p strong {
    color: var(--primary);
    font-weight: 700;
}
.plans-cta {
    display: inline-flex;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
}

@media (max-width: 900px) {
    .plans-extras { grid-template-columns: 1fr; }
}

/* ============================================================
   FORM — Microcopy "qué pasa después de contactar"
   ============================================================ */
.form-microcopy {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.7rem;
    margin-top: 1.2rem;
    padding: 0.95rem 1.05rem;
    background: rgba(29, 58, 95, 0.05);
    border-radius: 8px;
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    color: var(--text-dark) !important;
}
.form-microcopy svg {
    width: 17px; height: 17px;
    color: var(--gold);
    margin-top: 2px;
}
.form-microcopy strong {
    color: var(--primary);
    font-weight: 700;
}

/* ============================================================
   FAQ — Acordeón con <details>/<summary>
   ============================================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 920px;
    margin: 0 auto;
}
.faq-item {
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.3rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--gold-soft);
    border: 1px solid rgba(201, 169, 97, 0.35);
    position: relative;
    transition: all 0.3s ease;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--gold);
    border-radius: 1px;
    top: 50%; left: 50%;
    transition: transform 0.3s ease;
}
.faq-icon::before {
    width: 11px; height: 2px;
    transform: translate(-50%, -50%);
}
.faq-icon::after {
    width: 2px; height: 11px;
    transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon { background: var(--primary); border-color: var(--primary); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--bg-white); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer {
    padding: 0 1.6rem 1.4rem;
    color: var(--text-muted);
}
.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
}
.faq-answer strong { color: var(--primary); font-weight: 700; }
.faq-answer em { color: var(--text-dark); font-style: italic; }
.faq-item[open] { box-shadow: 0 12px 32px rgba(29, 58, 95, 0.10); border-color: rgba(201, 169, 97, 0.3); }

@media (max-width: 600px) {
    .faq-item summary { padding: 1.1rem 1.2rem; font-size: 0.95rem; }
    .faq-answer { padding: 0 1.2rem 1.2rem; }
    .plans-promise, .plans-pricing { padding: 1.7rem; flex-direction: column; gap: 1rem; }
}

/* ============================================================
   SECCIÓN: PARA QUIÉN ES CODDIT
   ============================================================ */
.section-tight { padding: 3.5rem 0 4rem; }

.audience-wrapper {
    padding: 3.2rem 3rem;
    max-width: 1050px;
    margin: 0 auto;
}
.audience-intro { text-align: center; max-width: 740px; margin: 0 auto 2.8rem; }
.audience-intro .eyebrow { margin-bottom: 1rem; }
.audience-intro h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 1.1rem;
}
.audience-intro p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.audience-profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-bottom: 2.4rem;
}
.audience-card {
    padding: 1.9rem 1.8rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(29, 58, 95, 0.10);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}
.audience-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 10px 28px rgba(29, 58, 95, 0.10);
}
.audience-icon {
    width: 50px; height: 50px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.1rem;
    box-shadow: 0 8px 18px rgba(29, 58, 95, 0.22);
}
.audience-icon-gold {
    background: var(--gold);
    box-shadow: 0 8px 18px rgba(201, 169, 97, 0.32);
}
.audience-icon svg { width: 24px; height: 24px; }
.audience-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.55rem;
}
.audience-card p {
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.audience-card p strong { color: var(--primary); font-weight: 700; }
.audience-card p em { color: var(--text-dark); font-style: italic; }

.audience-cta {
    text-align: center;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border);
}
.audience-cta p {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.1rem;
}

@media (max-width: 800px) {
    .audience-wrapper { padding: 2.3rem 1.8rem; }
    .audience-profiles { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================================
   CÓMO TRABAJAMOS — Arquitectura + Implementación
   ============================================================ */
.how-we-work {
    padding: 2.8rem 2.8rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.hww-header { text-align: center; max-width: 680px; margin: 0 auto 2.2rem; }
.hww-header .eyebrow { margin-bottom: 0.9rem; }
.hww-header h3 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}
.hww-header p {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.hww-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 1.8rem;
}
.hww-card {
    padding: 1.8rem 1.7rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(29, 58, 95, 0.10);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.hww-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 10px 28px rgba(29, 58, 95, 0.10); }

.hww-icon {
    width: 50px; height: 50px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.1rem;
    box-shadow: 0 8px 18px rgba(29, 58, 95, 0.22);
}
.hww-icon-gold {
    background: var(--gold);
    box-shadow: 0 8px 18px rgba(201, 169, 97, 0.32);
}
.hww-icon svg { width: 24px; height: 24px; }

.hww-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}
.hww-card p {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.hww-card p strong { color: var(--primary); font-weight: 700; }

.hww-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    width: 40px;
}
.hww-divider svg { width: 28px; height: 28px; opacity: 0.6; }

.hww-note {
    padding: 1.2rem 1.4rem;
    background: rgba(29, 58, 95, 0.05);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
}
.hww-note p {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}
.hww-note p strong { color: var(--primary); font-weight: 700; }

/* ============================================================
   CASO RECIENTE
   ============================================================ */
.case-study {
    padding: 2.5rem 2.6rem;
    margin-top: 2.2rem;
    margin-bottom: 2.8rem;
    position: relative;
    border-left: 4px solid var(--gold);
}

.case-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 169, 97, 0.14);
    border: 1px solid rgba(201, 169, 97, 0.4);
    color: var(--gold);
    padding: 0.4rem 0.95rem;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.case-badge svg { width: 14px; height: 14px; }

.case-content h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.case-summary {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.6rem;
}
.case-summary strong { color: var(--primary); font-weight: 700; }

.case-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    background: rgba(29, 58, 95, 0.04);
    border-radius: 10px;
    margin-bottom: 1.4rem;
}
.case-meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
.case-meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}
.case-meta-value {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.case-note {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
    font-style: italic;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 800px) {
    .how-we-work { padding: 2rem 1.8rem; }
    .hww-grid { grid-template-columns: 1fr; }
    .hww-divider { display: none; }
    .case-study { padding: 2rem 1.8rem; }
    .case-content h3 { font-size: 1.25rem; }
    .case-meta { padding: 1.1rem 1.2rem; }
}

/* Grid específico para 5 capacidades — fuerza 5 columnas en desktop */
.grid-capabilities {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}
.grid-capabilities .service-card {
    padding: 1.7rem 1.4rem;
}
.grid-capabilities .service-card h3 {
    font-size: 1.05rem;
}
.grid-capabilities .service-card > p {
    font-size: 0.9rem;
    line-height: 1.55;
}
.grid-capabilities .feature-list li {
    font-size: 0.82rem;
}
.grid-capabilities .icon-wrapper {
    width: 48px; height: 48px;
}
.grid-capabilities .icon-wrapper svg {
    width: 22px; height: 22px;
}

@media (max-width: 1100px) {
    .grid-capabilities { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-capabilities { grid-template-columns: 1fr; }
}
