/* ==========================================================
   Arbolbit — dirección visual "Noir"
   Negro absoluto, platino cálido y el cian del árbol como luz.
   ========================================================== */

:root {
    --black: #141415;          /* carbón */
    --ink: #1b1b1d;
    --ink-2: #232326;
    --glass: rgba(255, 255, 255, 0.045);
    --glass-border: rgba(255, 255, 255, 0.10);
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.20);
    --platinum: #f5f5f6;
    --smoke: #a3a3ab;
    --smoke-2: #74747c;
    --pink: #ec4f8c;
    --orange: #f6a13a;
    --magenta-glow: rgba(176, 48, 122, 0.55);
    --amber-glow: rgba(232, 137, 43, 0.45);
    --grad: linear-gradient(95deg, #ec4f8c 0%, #f27a5e 50%, #f6a13a 100%);
    --gold: #f6a13a;           /* acento cálido (naranja) */
    --gold-soft: rgba(246, 161, 58, 0.35);
    --bit: #3fd6cf;
    --bit-soft: rgba(63, 214, 207, 0.14);
    --petrol: #0e4f6e;

    --serif: "Syne", "Helvetica Neue", Arial, sans-serif;
    --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

    --wrap: 1240px;
    --gutter: clamp(20px, 5vw, 64px);
    --section: clamp(96px, 14vw, 180px);
    --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--black);
    color: var(--platinum);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

::selection { background: var(--bit); color: var(--black); }

:focus-visible {
    outline: 1px solid var(--bit);
    outline-offset: 4px;
}

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- Tipografía ---------- */

.display {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.02;
}

.h-xl { font-size: clamp(44px, 6.6vw, 96px); }
.h-lg { font-size: clamp(38px, 5.2vw, 72px); }
.h-md { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }

.kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--smoke);
    font-size: 14px;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.kicker::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.lead {
    color: var(--smoke);
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.7;
    max-width: 34em;
}

/* ---------- Botones ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 30px;
    border: 1px solid var(--platinum);
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.btn-solid { background: var(--platinum); color: var(--black); }
.btn-solid:hover { background: var(--bit); border-color: var(--bit); }

.btn-ghost { background: transparent; color: var(--platinum); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--platinum); }

.btn svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--platinum);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 4px;
    transition: border-color .3s;
}
.text-link:hover { border-color: var(--bit); }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    transition: background .4s, border-color .4s, backdrop-filter .4s;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(20, 20, 21, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand img { width: 30px; height: auto; }

.brand span {
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: -0.01em;
}

.nav {
    display: flex;
    gap: 40px;
    font-size: 15px;
    color: var(--smoke);
}

.nav a { position: relative; transition: color .3s; }
.nav a:hover { color: var(--platinum); }

.header-cta { min-height: 44px; padding: 0 22px; font-size: 14px; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: transparent;
    color: var(--platinum);
    cursor: pointer;
    position: relative;
}

.menu-toggle span,
.menu-toggle span::before {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform .3s var(--ease);
}
.menu-toggle span { top: 18px; }
.menu-toggle span::before { left: 0; right: 0; top: 7px; }

body.menu-open .menu-toggle span { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .menu-toggle span::before { transform: translateY(-7px) rotate(-90deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 140px 0 96px;
    overflow: hidden;
    isolation: isolate;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
}

.hero h1 { max-width: 9.5em; }
.hero h1 .soft { color: var(--smoke); }

.hero .lead { margin-top: 36px; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    margin-top: 48px;
}

.hero-tree {
    position: relative;
    justify-self: center;
    width: min(100%, 500px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.hero-tree::before {
    content: "";
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(63, 214, 207, 0.26), rgba(14, 79, 110, 0.16) 55%, transparent 100%);
    filter: blur(20px);
    z-index: -1;
}

.hero-tree .ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.hero-tree .ring.inner { inset: 13%; border-color: rgba(63, 214, 207, 0.18); }

.hero-tree .ring.inner::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 7px;
    height: 7px;
    margin-left: -3.5px;
    border-radius: 50%;
    background: var(--bit);
    box-shadow: 0 0 18px var(--bit);
}

.hero-tree img {
    width: 58%;
    height: auto;
    aspect-ratio: 339 / 360;
    object-fit: contain;
    filter: drop-shadow(0 0 28px rgba(63, 214, 207, 0.35));
}

.hero-meta {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 36px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--wrap);
    margin: 0 auto;
    color: var(--smoke-2);
    font-size: 13px;
}

/* Secuencia de entrada: un único momento orquestado */
@media (prefers-reduced-motion: no-preference) {
    .hero h1 { animation: rise 1.2s var(--ease) both; }
    .hero .lead, .hero-actions { animation: fade 1s var(--ease) .5s both; }
    .hero-tree img { animation: bloom 2.2s var(--ease) .2s both; }
    .hero-tree::before { animation: fade 2.4s ease .4s both; }
    .hero-tree .ring.inner { animation: orbit 40s linear infinite; }

    @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
    @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
    @keyframes bloom {
        from { opacity: 0; filter: drop-shadow(0 0 0 rgba(63, 214, 207, 0)) brightness(.4); transform: scale(.96); }
        to { opacity: 1; filter: drop-shadow(0 0 28px rgba(63, 214, 207, .35)) brightness(1); transform: none; }
    }
    @keyframes orbit { to { transform: rotate(360deg); } }
}

/* ---------- Franja de compromisos ---------- */

.pledges {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pledges .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pledges .wrap > div {
    padding: 34px 28px 34px 0;
    color: var(--smoke);
    font-size: 15px;
    line-height: 1.5;
}

.pledges .wrap > div + div { padding-left: 28px; border-left: 1px solid var(--line); }

.pledges strong {
    display: block;
    margin-bottom: 4px;
    color: var(--platinum);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}

/* ---------- Secciones ---------- */

.section { padding: var(--section) 0; }

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 48px;
    align-items: end;
    margin-bottom: clamp(56px, 7vw, 96px);
}

.section-head .lead { justify-self: end; max-width: 26em; }

/* ---------- Servicios ---------- */

.service-index { border-top: 1px solid var(--line); }

.service-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 56px;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
}

.service-row::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 0;
    background: var(--bit);
    transition: width .7s var(--ease);
}

.service-row:hover::after,
.service-row:focus-within::after { width: 100%; }

.service-row h3 {
    font-family: var(--serif);
    font-size: clamp(30px, 3.6vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    transition: color .4s;
}

.service-row .area { margin-top: 10px; color: var(--smoke-2); font-size: 14px; }

.service-row .desc { color: var(--smoke); max-width: 30em; }
.service-row .desc em { display: block; margin-top: 10px; font-style: normal; color: var(--platinum); font-size: 15px; }

.arrow-link {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    transition: background .4s var(--ease), border-color .4s, color .4s;
}

.arrow-link svg { width: 16px; height: 16px; }

.arrow-link::before { content: ""; position: absolute; inset: 0; }

.service-row:hover .arrow-link { background: var(--platinum); border-color: var(--platinum); color: var(--black); }
.service-row:hover h3 { color: #fffaf1; }

/* ---------- Asistente IA ---------- */

.ai {
    position: relative;
    background: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.ai::before {
    content: "";
    position: absolute;
    right: -20%;
    top: -30%;
    width: 70%;
    aspect-ratio: 1;
    background: radial-gradient(closest-side, var(--magenta-glow), transparent);
    pointer-events: none;
}

.ai-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: center;
}

.ai .lead { margin-top: 28px; }

.capabilities {
    list-style: none;
    margin: 48px 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.capabilities li {
    display: flex;
    gap: 18px;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
}

.capabilities li::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bit);
    transform: translateY(-2px);
}

/* Demostración del asistente */
.chat {
    position: relative;
    width: 100%;
    max-width: 440px;
    justify-self: center;
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
    box-shadow: 0 40px 120px -40px rgba(63, 214, 207, .25);
    overflow: hidden;
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}

.chat-head .avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--black);
}

.chat-head .avatar img { width: 24px; }

.chat-head strong { display: block; font-weight: 600; font-size: 15px; }
.chat-head small { display: flex; align-items: center; gap: 7px; color: var(--smoke); font-size: 13px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bit); box-shadow: 0 0 10px var(--bit); }

.chat-body { display: grid; gap: 14px; padding: 26px 22px; }

.bubble {
    max-width: 82%;
    padding: 13px 17px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.5;
}

.bubble.bot { background: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.user { justify-self: end; background: var(--platinum); color: var(--black); border-bottom-right-radius: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 13px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--smoke); }

.slots { display: flex; gap: 8px; margin-top: 10px; }
.slots span { padding: 6px 12px; border-radius: 10px; background: var(--bit-soft); color: var(--bit); font-size: 13px; font-weight: 600; }

.chat-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 16px 16px;
    padding: 10px 10px 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--smoke-2);
    font-size: 14px;
}

.chat-input i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bit); color: var(--black); font-style: normal; font-weight: 700; }

/* ---------- Filosofía ---------- */

.manifesto blockquote {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(44px, 7vw, 108px);
    line-height: 1;
    letter-spacing: -0.025em;
}

.manifesto blockquote span { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.manifesto-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: clamp(40px, 6vw, 96px);
    margin-top: clamp(56px, 7vw, 96px);
    padding-top: 48px;
    border-top: 1px solid var(--line);
}

.manifesto-body > p { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principles h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 12px; }
.principles p { color: var(--smoke); font-size: 15px; }

/* ---------- Proyectos ---------- */

.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.project {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 460px;
    padding: clamp(28px, 3.5vw, 48px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(90% 70% at 100% 0%, rgba(236, 79, 140, .22), transparent 60%),
        radial-gradient(70% 60% at 0% 100%, rgba(246, 161, 58, .14), transparent 60%),
        var(--ink);
    overflow: hidden;
    transition: border-color .5s;
}

.project:hover { border-color: var(--line-strong); }

.project .type { color: var(--smoke); font-size: 14px; }

.project h3 {
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.project p { color: var(--smoke); max-width: 26em; }
.project .text-link { margin-top: 32px; }
.project .text-link::after { content: ""; position: absolute; inset: 0; }

/* ---------- Método ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.steps article { padding: 40px 32px 0 0; }
.steps article + article { padding-left: 32px; border-left: 1px solid var(--line); }

.steps .num {
    display: block;
    font-family: var(--serif);
    font-size: 64px;
    line-height: 1;
    color: var(--gold);
    margin-bottom: 40px;
}

.steps h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 12px; }
.steps p { color: var(--smoke); font-size: 15px; }

/* ---------- Contacto ---------- */

.contact {
    border-top: 1px solid var(--line);
    background:
        radial-gradient(50% 60% at 0% 100%, var(--amber-glow), transparent 70%),
        radial-gradient(40% 50% at 100% 0%, rgba(176, 48, 122, .30), transparent 70%),
        var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: start;
}

.contact .lead { margin-top: 28px; }

.contact-links { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }

.contact-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    transition: color .3s;
}

.contact-links a small { display: block; color: var(--smoke-2); font-size: 13px; }
.contact-links a span { font-family: var(--serif); font-size: 26px; }
.contact-links a svg { width: 16px; height: 16px; color: var(--smoke); transition: color .3s, transform .3s var(--ease); }
.contact-links a:hover svg { color: var(--bit); transform: translate(2px, -2px); }

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.form label { display: grid; gap: 10px; color: var(--smoke); font-size: 13px; letter-spacing: .01em; }
.form .full { grid-column: 1 / -1; }

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--platinum);
    font: inherit;
    font-size: 16px;
    transition: border-color .3s;
}

.form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--smoke) 50%), linear-gradient(135deg, var(--smoke) 50%, transparent 50%);
    background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

.form select option { background: var(--ink-2); color: var(--platinum); }

.form textarea { resize: vertical; min-height: 120px; }
.form ::placeholder { color: var(--smoke-2); }

.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--bit); }

.form .btn { justify-self: start; margin-top: 8px; }

.hidden-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
    grid-column: 1 / -1;
    padding: 16px 20px;
    border-radius: 22px;
    font-size: 15px;
}
.notice.success { border: 1px solid rgba(63, 214, 207, .4); background: var(--bit-soft); color: var(--platinum); }
.notice.error { border: 1px solid rgba(232, 118, 102, .45); background: rgba(232, 118, 102, .1); color: #f3c9c1; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; }

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-word {
    font-family: var(--serif);
    font-size: clamp(64px, 13vw, 190px);
    line-height: .85;
    letter-spacing: -0.035em;
    color: var(--platinum);
}

.footer-word span { color: var(--bit); }

.footer-nav { display: grid; gap: 10px; color: var(--smoke); font-size: 15px; text-align: right; }
.footer-nav a:hover { color: var(--platinum); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--smoke-2);
    font-size: 13px;
}

/* ---------- Equipo ---------- */

.team { padding-top: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.member figure {
    position: relative;
    margin: 0 0 24px;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(80% 60% at 50% 30%, rgba(201, 169, 110, .12), transparent 70%),
        var(--ink-2);
}

.member figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(.12) saturate(.9) contrast(1.02);
    transition: transform 1.2s var(--ease);
}

.member:hover figure img { transform: scale(1.03); }

.member figure.empty { display: grid; place-items: center; }
.member figure.empty img { width: 30%; height: auto; opacity: .25; filter: grayscale(.3); }

.member h3 { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.member .role { margin-top: 6px; color: var(--gold); font-size: 14px; }
.member .bio { margin-top: 14px; color: var(--smoke); font-size: 15px; max-width: 28em; }

.team-note {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.35;
    max-width: 30em;
}

@media (max-width: 1040px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Páginas de servicio
   ========================================================== */

.svc-hero { padding: 180px 0 var(--section); position: relative; overflow: hidden; }

.svc-hero::before {
    content: "";
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(63, 214, 207, .14), rgba(14, 79, 110, .14) 50%, transparent);
    pointer-events: none;
}

.back-link { display: inline-flex; gap: 10px; color: var(--smoke); font-size: 14px; margin-bottom: 56px; transition: color .3s; }
.back-link:hover { color: var(--platinum); }

.svc-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: end;
}

.svc-hero h1 { font-size: clamp(42px, 6.2vw, 88px); max-width: 12em; }
.svc-hero .lead { margin-top: 36px; }

.svc-summary {
    padding: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.svc-summary img { width: 44px; margin-bottom: 40px; }
.svc-summary h2 { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-bottom: 16px; }
.svc-summary p { color: var(--smoke); font-size: 16px; }

.includes { border-top: 1px solid var(--line); }
.includes li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.25;
}
.includes { list-style: none; margin: 0; padding: 0; }
.includes li::before {
    content: "";
    width: 9px;
    height: 9px;
    margin-top: .5em;
    border-radius: 50%;
    border: 1px solid var(--bit);
}

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.benefits article {
    padding: 40px 36px 44px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--ink);
}

.benefits h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-bottom: 16px; }
.benefits p { color: var(--smoke); font-size: 16px; }
.benefits article::before { content: ""; display: block; width: 32px; height: 1px; background: var(--gold); margin-bottom: 48px; }

.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps.three p { color: var(--platinum); font-size: 19px; line-height: 1.5; }

.svc-cta { text-align: center; border-top: 1px solid var(--line); }
.svc-cta h2 { margin: 0 auto; max-width: 12em; }
.svc-cta .lead { margin: 28px auto 48px; }
.svc-cta .hero-actions { justify-content: center; margin-top: 0; }

.other-services { border-top: 1px solid var(--line); padding: 56px 0; }
.other-services .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; }
.other-services small { color: var(--smoke-2); font-size: 14px; margin-right: 8px; }
.other-services a { font-family: var(--serif); font-size: 22px; color: var(--smoke); transition: color .3s; }
.other-services a:hover { color: var(--platinum); }

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1040px) {
    .nav, .header-cta { display: none; }
    .menu-toggle { display: block; }

    body.menu-open .nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 24px var(--gutter);
        background: var(--black);
        border-top: 1px solid var(--line);
    }

    body.menu-open .nav a {
        padding: 18px 0;
        border-bottom: 1px solid var(--line);
        font-family: var(--serif);
        font-size: 34px;
        color: var(--platinum);
    }

    body.menu-open .site-header { background: var(--black); }

    .hero-grid, .ai-grid, .contact-grid, .svc-hero-grid { grid-template-columns: 1fr; }
    .hero-tree { width: min(70%, 380px); order: -1; justify-self: start; }
    .hero { padding-top: 120px; }
    .hero-meta { display: none; }

    .section-head { grid-template-columns: 1fr; gap: 24px; }
    .section-head .lead { justify-self: start; }

    .pledges .wrap { grid-template-columns: 1fr 1fr; }
    .pledges .wrap > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .pledges .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }

    .manifesto-body { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .steps article:nth-child(3) { padding-left: 0; border-left: 0; }
    .steps article:nth-child(n+3) { margin-top: 40px; }
    .steps.three { grid-template-columns: 1fr; }
    .steps.three article { padding-left: 0; border-left: 0; margin-top: 0; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
    .steps.three .num { margin-bottom: 20px; font-size: 48px; }

    .benefits { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .header-inner { height: 72px; }
    body.menu-open .nav { top: 72px; }

    .hero-tree { width: 64%; }
    .hero-actions { gap: 20px; }
    .hero-actions .btn { width: 100%; }

    .pledges .wrap { grid-template-columns: 1fr; }
    .pledges .wrap > div, .pledges .wrap > div + div { padding: 24px 0; border-left: 0; }
    .pledges .wrap > div + div { border-top: 1px solid var(--line); }

    .service-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
    .arrow-link { width: 48px; height: 48px; }

    .principles { grid-template-columns: 1fr; gap: 28px; }
    .projects { grid-template-columns: 1fr; }
    .project { min-height: 380px; }

    .steps { grid-template-columns: 1fr; }
    .steps article, .steps article + article { padding: 32px 0; border-left: 0; margin-top: 0; border-bottom: 1px solid var(--line); }
    .steps .num { margin-bottom: 20px; font-size: 48px; }

    .form { grid-template-columns: 1fr; }
    .form .btn { width: 100%; }
    .contact-links a span { font-size: 22px; }

    .footer-nav { text-align: left; }
    .svc-hero { padding-top: 130px; }
    .svc-summary { padding: 28px; }
    .includes li { grid-template-columns: 24px 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}


/* ==========================================================
   Capa "vibrante": brillos difusos, degradados y vidrio
   (el árbol y su animación conservan el cian original)
   ========================================================== */

h1, h2, h3, .display, blockquote, .footer-word, .project h3 { font-weight: 600; }
.display { letter-spacing: -0.03em; }
.pledges strong, .principles h3, .steps h3, .member h3, .benefits h3, .contact-links a span, .other-services a { font-weight: 600; letter-spacing: -0.02em; }
.service-row h3 { font-weight: 600; letter-spacing: -0.025em; }
.brand span { font-weight: 700; letter-spacing: -0.02em; }

/* Brillos ambientales del hero */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.hero::before { width: 46vw; height: 46vw; left: -18vw; top: 28%; background: var(--magenta-glow); opacity: .7; }
.hero::after { width: 34vw; height: 34vw; right: -12vw; top: -8vw; background: var(--amber-glow); opacity: .8; }

/* Titular con degradado */
.hero h1 {
    background: linear-gradient(100deg, #ffffff 0%, #d9d9de 45%, #8d8d95 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero h1 .grad,
.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero h1 .grad { display: inline-block; padding-bottom: .06em; }

/* Tarjetas de vidrio flotantes junto al árbol */
.glass-stat {
    position: absolute;
    z-index: 2;
    padding: 18px 22px;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    line-height: 1.2;
}
.glass-stat strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.glass-stat span { color: var(--smoke); font-size: 13px; }
.glass-stat.a { left: -4%; top: 16%; }
.glass-stat.b { right: -2%; bottom: 12%; }

/* Franja inclinada de servicios */
.marquee {
    position: relative;
    z-index: 3;
    margin: -24px -2vw 0;
    padding: 18px 0;
    background: #222225;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transform: rotate(-2.2deg);
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.marquee-track { display: flex; width: max-content; }
.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    font-family: var(--serif);
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 600;
    white-space: nowrap;
}
.marquee-track span::after {
    content: "✦";
    font-size: 1.1em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
    .marquee-track { animation: marquee 38s linear infinite; }
    @keyframes marquee { to { transform: translateX(-50%); } }
}

/* Franja de compromisos como banda de vidrio */
.pledges { margin-top: 96px; border: 0; }
.pledges .wrap {
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0 12px;
}
.pledges .wrap > div { padding-left: 28px; }
.pledges strong { font-size: 26px; }

/* Brillos en secciones */
#servicios { position: relative; isolation: isolate; }
#servicios::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -10%;
    top: 30%;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    background: var(--amber-glow);
    opacity: .35;
    filter: blur(120px);
}
.ai { background: transparent; border: 0; }
.ai::after {
    content: "";
    position: absolute;
    left: -15%;
    bottom: -20%;
    width: 50%;
    aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(246, 161, 58, .28), transparent);
    pointer-events: none;
}

/* Detalles con el degradado cálido */
.kicker::before { background: var(--grad); }
.service-row::after { background: var(--grad); }
.steps .num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.benefits article::before { background: var(--grad); height: 2px; }

.capabilities li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(246, 161, 58, .14);
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    transform: translateY(3px);
}

.btn-solid { background: #ffffff; border-color: #ffffff; color: #111; }
.btn-solid:hover { background: var(--grad); border-color: transparent; color: #fff; }
.text-link:hover { border-color: var(--orange); }

.project, .benefits article, .form, .svc-summary, .member figure { border-color: var(--glass-border); }
.member .role { color: var(--orange); }

.footer-word { font-weight: 700; }

@media (max-width: 1040px) {
    .glass-stat.a { left: auto; right: -30%; top: 10%; }
    .glass-stat.b { right: -30%; bottom: 8%; }
}
@media (max-width: 720px) {
    .glass-stat { padding: 12px 16px; border-radius: 16px; }
    .glass-stat strong { font-size: 22px; }
    .glass-stat.a { right: -38%; }
    .glass-stat.b { right: -38%; }
    .pledges { margin-top: 72px; }
    .pledges .wrap { padding: 0 20px; }
    .pledges .wrap > div, .pledges .wrap > div + div { padding-left: 0; }
}

/* Ajustes de la capa vibrante */
main { overflow-x: clip; }
.hero-meta { display: none; }
.pledges .wrap { max-width: var(--wrap); width: calc(100% - var(--gutter) * 2); }
.ai::before { top: 4%; right: -18%; width: 58%; }
.ai::after { bottom: 2%; }
@media (max-width: 720px) {
    .hero-tree { width: 100%; max-width: 360px; justify-self: stretch; display: grid; grid-template-columns: 1fr; }
    .glass-stat { display: none; }
}
.svc-hero::before { background: radial-gradient(closest-side, var(--magenta-glow), transparent); opacity: .7; }
.svc-hero::after { content: ""; position: absolute; left: -15%; bottom: -10%; width: 45%; aspect-ratio: 1; background: radial-gradient(closest-side, var(--amber-glow), transparent); opacity: .6; pointer-events: none; }
.svc-hero > .wrap { position: relative; z-index: 1; }

/* Bloque de equipo multidisciplinario */
.team-panel {
    position: relative;
    padding: clamp(36px, 6vw, 88px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(236, 79, 140, .18), transparent 70%),
        radial-gradient(50% 70% at 0% 100%, rgba(246, 161, 58, .14), transparent 70%),
        var(--glass);
    overflow: hidden;
}
.team-panel h2 { max-width: 14em; }
.team-panel .lead { margin-top: 28px; }
.disciplines { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; }
.disciplines li { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--platinum); background: rgba(255,255,255,.03); }

/* ---------- Preguntas frecuentes ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .lead { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    cursor: pointer;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.faq-list summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-size: 20px;
    color: var(--smoke);
    transition: transform .35s var(--ease), color .3s, border-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--orange); border-color: var(--orange); }
.faq-list summary:hover h3 { color: #fff; }
.faq-list details p { padding: 0 56px 28px 0; color: var(--smoke); max-width: 40em; }
address.footer-nav { font-style: normal; }
@media (max-width: 1040px) { .faq-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .faq-list details p { padding-right: 0; } }
