:root {
    --cm-gold: #B48742;
    --cm-ink: #40484F;
    --cm-slate: #6C82A7;
    --cm-sky: #ADC9E2;
    --cm-ease-out: cubic-bezier(.16, 1, .3, 1);
    --font-titulos: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-texto: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body,
p, li, label, input, textarea, select, button {
    font-family: var(--font-texto);
}
body { font-weight: 400; }

h1, h2, h3,
.service-category {
    font-family: var(--font-titulos);
    font-weight: 700;
    letter-spacing: 0;
}
h1 { line-height: 1.05; }
.section h2, .services-cta h2, .cta-about h2 { font-size: clamp(2.3rem, 6vw, 3.2rem); line-height: 1.1; }
h3 { line-height: 1.15; }

h4, h5, h6,
.hero-lema,
.sv-hero__lema,
.service-subtitle,
.client-position {
    font-family: var(--font-texto);
    font-weight: 500;
}
.hero-lema,
.sv-hero__lema,
.service-subtitle { color: var(--cm-slate); }

.btn, .btn-login, button, .slider-btn, .sv-btn,
nav ul li a,
.client-name,
strong, b {
    font-family: var(--font-texto);
    font-weight: 700;
}

.logo-nav .logo-text { display: none !important; }
.logo-nav img { max-height: 64px; height: 64px; width: 64px; filter: none; }
.logo-nav:hover img { filter: none; }

.hero .hero-content p {
    text-align: justify;
    hyphens: manual;
}

h1.hero-logo {
    margin: 0 0 2rem;
    line-height: 0;
    background: none;
    -webkit-text-fill-color: initial;
    max-width: 100%;
}
h1.hero-logo::after { content: none; }
.hero-logo__img {
    display: block;
    width: min(760px, 88vw);
    height: auto;
    margin: 0 auto;
}

.hero--logo .hero-logo__img { animation: cmLogoIn 1.2s var(--cm-ease-out) both; }
.hero--logo .sv-hero__content > h1 { animation: cmLogoIn 1.1s var(--cm-ease-out) both; }
.hero--logo .hero-lema,
.hero--logo .sv-hero__lema { animation: cmRise .9s var(--cm-ease-out) .35s both; }
.hero--logo .hero-content > p,
.hero--logo .sv-hero__content > p { animation: cmRise .9s var(--cm-ease-out) .5s both; }
.hero--logo .hero-btns,
.hero--logo .sv-hero__btns { animation: cmRise .9s var(--cm-ease-out) .65s both; }
@keyframes cmLogoIn {
    from { opacity: 0; transform: translateY(18px) scale(.97); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: none; }
}

@media (min-width: 769px) {
    .hero--logo {
        background:
            radial-gradient(900px 600px at 22% 50%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, 0) 70%),
            linear-gradient(120deg, #EEF3F8 0%, #DCE7F1 55%, #C9DAEA 100%);
    }
    .hero.hero--logo,
    .sv-hero.hero--logo {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 110px;
        box-sizing: border-box;
    }
    .hero-about.hero--logo {
        height: auto;
        min-height: 72vh;
        padding: 120px 0 70px;
        box-sizing: border-box;
    }

    .hero--logo .hero-video-container,
    .hero--logo .sv-hero__media {
        position: absolute !important;
        top: 0;
        bottom: 0;
        right: 0;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        aspect-ratio: 3 / 5;
        max-width: 46vw;
        z-index: 1;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%);
        mask-image: linear-gradient(to right, transparent 0%, #000 26%);
    }
    .hero--logo .hero-video,
    .hero--logo .sv-hero__video {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        object-fit: cover;
        object-position: 100% 30% !important;
        filter: none;
        animation: none !important;
        transform: none !important;
    }
    .hero--logo .video-overlay,
    .hero--logo .video-mask,
    .hero--logo .sv-hero__overlay { display: none !important; }

    .hero.hero--logo .hero-content,
    .sv-hero.hero--logo .sv-hero__content { position: relative; z-index: 4; }
    .hero.hero--logo .hero-content > *:not(.hero-btns) { max-width: min(600px, 46vw); }
    .hero.hero--logo .hero-logo__img { width: min(540px, 40vw, 70vh); margin: 0; }
    .hero.hero--logo h1.hero-logo { margin-bottom: clamp(1rem, 3vh, 1.8rem); }
    .hero.hero--logo .hero-lema { margin-bottom: clamp(1rem, 3vh, 2rem); }
    .hero.hero--logo .hero-content > p { text-align: justify; }
    .hero.hero--logo .hero-btns { margin-top: clamp(20px, 4vh, 40px); }

    .hero-about.hero--logo > .container { position: relative; z-index: 4; width: 100%; }
    .hero-about.hero--logo .hero-content-about { margin: 0; text-align: left; max-width: 46vw; }
    .hero-about.hero--logo .hero-logo__img { width: min(560px, 40vw); margin: 0; }
    .hero-about.hero--logo h1.hero-logo { margin: 0; }

    .sv-hero__content > *:not(.sv-hero__btns) { max-width: min(600px, 46vw); }
}
@keyframes svZoom { from { transform: scale(1); } to { transform: scale(1.05); } }

@media (max-width: 768px) {
    .hero-video-container,
    .sv-hero__media { display: none !important; }

    .hero--logo {
        background:
            radial-gradient(1100px 520px at 50% 42%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 70%),
            linear-gradient(180deg, #EEF3F8 0%, #DCE7F1 65%, #C9DAEA 100%);
        justify-content: center !important;
        text-align: center;
    }
    .hero.hero--logo,
    .hero-about.hero--logo,
    .sv-hero.hero--logo { height: auto; min-height: 0; }
    .hero.hero--logo     { padding: 120px 0 110px; }
    .hero-about.hero--logo { padding: 120px 0 70px; }
    .sv-hero.hero--logo  { padding: 120px 0 110px; }

    .hero--logo .hero-content,
    .hero--logo .sv-hero__content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero--logo .hero-content > *,
    .hero--logo .sv-hero__content > * { max-width: 760px !important; }

    .hero-about.hero--logo > .container { width: 100%; }
    .hero-about.hero--logo .hero-content-about { margin: 0 auto; max-width: 760px; width: 100%; padding: 0 20px; box-sizing: border-box; }
    .hero-about.hero--logo h1.hero-logo { width: 100%; margin-bottom: 0; }
    .hero-about.hero--logo .hero-logo__img { width: min(700px, 100%); }

    .hero--logo .hero-lema,
    .hero--logo .sv-hero__lema {
        position: relative;
        border-left: none;
        padding: 24px 0 0;
        margin-bottom: 1.8rem;
        text-align: center;
    }
    .hero--logo .hero-lema::before,
    .hero--logo .sv-hero__lema::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 64px;
        height: 2px;
        background: var(--cm-gold);
        transform: translateX(-50%);
    }
    .hero--logo .hero-content > p,
    .hero--logo .sv-hero__content > p {
        text-align: justify;
        text-align-last: center;
    }
    .hero--logo .hero-btns,
    .hero--logo .sv-hero__btns { justify-content: center; }
    .sv-hero.hero--logo h1 { text-align: center; }
}

.service-card p,
.benefit-card p,
.mission-card p,
.vision-card p {
    text-align: justify;
    text-align-last: center;
    hyphens: auto;
    -webkit-hyphens: auto;
}
.testimonial-text,
.about-text p,
.value-content p,
.service-content p,
.feature-content p,
.footer-logo p {
    text-align: justify;
    hyphens: manual;
}

.footer-content {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) !important;
    align-items: start;
}
.footer-logo__img {
    display: block;
    width: min(270px, 80vw);
    height: auto;
    margin-bottom: 18px;
}
.footer-logo p { max-width: 440px; }
.social-icon { transition: transform .3s var(--cm-ease-out), background-color .3s ease, color .3s ease; }
.social-icon:hover,
.social-icon:focus-visible { transform: translateY(-4px) scale(1.06); }
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr !important; text-align: center; }
    .footer-logo p,
    .footer-logo__img { margin-left: auto; margin-right: auto; }
    .footer-logo p { text-align-last: center; }
    .footer-social h4:after { left: 50% !important; transform: translateX(-50%); }
    .social-icons { justify-content: center; }
}

.sv-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
    color: var(--cm-ink);
}
.sv-hero__content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1400px;
    padding: 0 clamp(20px, 8vw, 80px);
}
.sv-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.02;
    margin: 0 0 1.5rem;
    color: var(--cm-ink);
    -webkit-text-fill-color: var(--cm-ink);
    background: none;
    text-align: left;
}
.sv-hero h1::after { content: none; }
.sv-hero__lema {
    font-size: clamp(1.15rem, 2.2vw, 1.8rem);
    line-height: 1.3;
    padding-left: 20px;
    border-left: 4px solid var(--cm-gold);
    margin-bottom: 2rem;
}
.sv-hero p {
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.8;
    font-weight: 500;
    color: var(--cm-ink);
    text-align: justify;
    margin-bottom: 0;
}
.sv-hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(15px, 3vw, 25px);
    margin-top: 40px;
}
.sv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: clamp(13px, 2vw, 18px) clamp(26px, 4vw, 42px);
    border-radius: 50px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    text-decoration: none;
    transition: transform .35s var(--cm-ease-out), box-shadow .35s ease, background-color .3s ease, border-color .3s ease;
}
.sv-btn--primary {
    background: linear-gradient(135deg, #D9BC8C 0%, #EFE2CB 100%);
    color: var(--cm-ink);
    box-shadow: 0 10px 30px rgba(64, 72, 79, .15);
}
.sv-btn--ghost {
    background: rgba(255, 255, 255, .35);
    color: var(--cm-ink);
    border: 2px solid var(--cm-ink);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.sv-btn:hover,
.sv-btn:focus-visible { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(180, 135, 66, .32); }
.sv-btn--ghost:hover,
.sv-btn--ghost:focus-visible { border-color: var(--cm-gold); background: rgba(255, 255, 255, .55); }
@media (max-width: 768px) {
    .sv-btn { width: 100%; justify-content: center; }
}

.sv-jump {
    position: relative;
    z-index: 5;
    margin-top: -60px;
    padding: 0 20px;
}
.sv-jump__inner {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    border-top: 3px solid var(--cm-gold);
    box-shadow: 0 18px 40px rgba(64, 72, 79, .12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.sv-jump__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    text-decoration: none;
    color: var(--cm-ink);
    position: relative;
}
.sv-jump__item { animation: svJumpIn .9s var(--cm-ease-out) both; }
.sv-jump__item:nth-child(2) { animation-delay: .1s; }
.sv-jump__item:nth-child(3) { animation-delay: .2s; }
.sv-jump__item:nth-child(4) { animation-delay: .3s; }
@keyframes svJumpIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.sv-jump__item + .sv-jump__item { border-left: 1px solid rgba(64, 72, 79, .08); }
.sv-jump__icon {
    flex: 0 0 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(173, 201, 226, .35);
    color: var(--cm-gold);
    font-size: 1.1rem;
    transition: background-color .3s ease, color .3s ease, transform .4s var(--cm-ease-out);
}
.sv-jump__text strong { display: block; font-size: .98rem; line-height: 1.25; }
.sv-jump__text span { display: block; font-size: .82rem; color: var(--cm-slate); line-height: 1.35; margin-top: 2px; }
.sv-jump__item::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 12px;
    height: 2px;
    background: var(--cm-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--cm-ease-out);
}
.sv-jump__item:hover::after,
.sv-jump__item:focus-visible::after { transform: scaleX(1); }
.sv-jump__item:hover .sv-jump__icon,
.sv-jump__item:focus-visible .sv-jump__icon { background: var(--cm-gold); color: #fff; transform: rotate(-8deg) scale(1.06); }

html.cm-motion .cm-reveal {
    animation: none !important;
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(var(--cm-x, 0), var(--cm-y, 56px), 0) rotate(var(--cm-r, 0deg)) scale(.94);
    transition:
        opacity .7s ease,
        filter .7s ease,
        transform 1s var(--cm-ease-out),
        box-shadow .4s ease;
    transition-delay: calc(var(--cm-i, 0) * 110ms);
    will-change: transform, opacity;
}
html.cm-motion .cm-reveal[data-cm-dir="left"]  { --cm-x: -80px; --cm-y: 0px; --cm-r: -2deg; }
html.cm-motion .cm-reveal[data-cm-dir="right"] { --cm-x:  80px; --cm-y: 0px; --cm-r:  2deg; }
html.cm-motion .cm-reveal[data-cm-dir="zoom"]  { --cm-x: 0px; --cm-y: 24px; }
html.cm-motion .cm-reveal.cm-above[data-cm-dir]       { --cm-y: -56px; }
html.cm-motion .cm-reveal.cm-above[data-cm-dir="left"],
html.cm-motion .cm-reveal.cm-above[data-cm-dir="right"] { --cm-y: -24px; }
html.cm-motion .cm-reveal.is-in { opacity: 1; filter: none; transform: none; }
html.cm-motion .cm-reveal.cm-tilt.is-in:hover {
    transition: transform .25s ease-out, box-shadow .4s ease;
    transition-delay: 0s;
    transform: perspective(900px) rotateX(var(--cm-tx, 0deg)) rotateY(var(--cm-ty, 0deg)) translateY(-8px);
}
@media (max-width: 768px) {
    html.cm-motion .cm-reveal[data-cm-dir="left"]  { --cm-x: -40px; }
    html.cm-motion .cm-reveal[data-cm-dir="right"] { --cm-x:  40px; }
}

html.cm-motion .testimonial-slide.active .testimonial-video-col { animation: cmFromLeft .9s var(--cm-ease-out) both; }
html.cm-motion .testimonial-slide.active .testimonial-content-col { animation: cmFromRight .9s var(--cm-ease-out) .12s both; }
html.cm-motion .testimonial-slide.active .client-info { animation: cmRise .7s var(--cm-ease-out) .45s both; }
@keyframes cmFromLeft  { from { opacity: 0; transform: translateX(-60px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes cmFromRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes cmRise      { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html.cm-motion .cm-reveal { opacity: 1; filter: none; transform: none; transition: none; }
    html.cm-motion .testimonial-slide.active * { animation: none !important; }
    .sv-jump__item,
    .sv-hero__video,
    .hero--logo .hero-logo__img,
    .hero--logo .hero-lema, .hero--logo .sv-hero__lema,
    .hero--logo .hero-content > p, .hero--logo .sv-hero__content > p,
    .hero--logo .hero-btns, .hero--logo .sv-hero__btns,
    .hero--logo .sv-hero__content > h1 { animation: none; }
}

.cm-bienvenida {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 20px;
}
.cm-bienvenida[hidden] { display: none; }
.cm-bienvenida__fondo {
    position: absolute;
    inset: 0;
    background: rgba(64, 72, 79, .55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .4s ease;
}
.cm-bienvenida__caja {
    position: relative;
    display: grid;
    grid-template-columns: 360px 1fr;
    width: 100%;
    max-width: 820px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border-top: 4px solid var(--cm-gold);
    box-shadow: 0 30px 80px rgba(64, 72, 79, .35);
    opacity: 0;
    transform: translateY(30px) scale(.96);
    transition: opacity .5s var(--cm-ease-out), transform .6s var(--cm-ease-out);
}
.cm-bienvenida.is-open .cm-bienvenida__fondo { opacity: 1; }
.cm-bienvenida.is-open .cm-bienvenida__caja { opacity: 1; transform: none; }
.cm-bienvenida__foto {
    min-height: 100%;
    background:
        radial-gradient(300px 260px at 50% 30%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #DCE7F1 0%, #ADC9E2 100%);
}
.cm-bienvenida__foto picture,
.cm-bienvenida__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}
.cm-bienvenida__texto {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.cm-bienvenida__logo { width: 220px; height: auto; margin-bottom: 22px; }
.cm-bienvenida h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--cm-ink);
    text-align: left;
    margin: 0 0 12px;
}
.cm-bienvenida h2::after,
.cm-bienvenida h2:after { content: none; display: none; }
.cm-bienvenida p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--cm-ink);
    margin: 0 0 26px;
}
.cm-bienvenida__entrar { border: none; cursor: pointer; min-width: 200px; justify-content: center; font-size: 1.1rem; }
.cm-bienvenida__x {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--cm-ink);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(64, 72, 79, .15);
}
.cm-bienvenida__x:hover,
.cm-bienvenida__x:focus-visible { color: var(--cm-gold); }
@media (max-width: 768px) {
    .cm-bienvenida { padding: 16px; }
    .cm-bienvenida__caja {
        grid-template-columns: 1fr;
        max-width: 380px;
        max-height: 88vh;
        overflow-y: auto;
    }
    .cm-bienvenida__foto { height: 230px; min-height: 0; }
    .cm-bienvenida__foto img { object-position: 50% 0%; }
    .cm-bienvenida__texto { padding: 24px 22px 26px; align-items: center; text-align: center; }
    .cm-bienvenida__logo { width: 180px; margin-bottom: 14px; }
    .cm-bienvenida h2 { text-align: center; font-size: 2rem; }
    .cm-bienvenida p { font-size: .98rem; margin-bottom: 20px; }
    .cm-bienvenida__entrar { width: 100%; justify-content: center; }
}

.cm-musica {
    position: fixed;
    left: max(20px, env(safe-area-inset-left));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--cm-gold);
    background: #fff;
    box-shadow: 0 8px 24px rgba(64, 72, 79, .18);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .3s var(--cm-ease-out);
}
.cm-musica[hidden] { display: none; }
.cm-musica:hover,
.cm-musica:focus-visible { transform: scale(1.08); }
.cm-musica__barras { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.cm-musica__barras i {
    display: block;
    width: 3px;
    height: 5px;
    border-radius: 2px;
    background: var(--cm-gold);
}
.cm-musica.is-playing .cm-musica__barras i { animation: cmBarra 1s ease-in-out infinite; }
.cm-musica.is-playing .cm-musica__barras i:nth-child(2) { animation-delay: .2s; }
.cm-musica.is-playing .cm-musica__barras i:nth-child(3) { animation-delay: .4s; }
.cm-musica.is-playing .cm-musica__barras i:nth-child(4) { animation-delay: .1s; }
.cm-musica:not(.is-playing)::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 2px;
    background: var(--cm-slate);
    transform: rotate(-45deg);
    border-radius: 2px;
}
@keyframes cmBarra { 0%, 100% { height: 5px; } 50% { height: 18px; } }
@media (prefers-reduced-motion: reduce) {
    .cm-musica.is-playing .cm-musica__barras i { animation: none; height: 12px; }
    .cm-bienvenida__caja, .cm-bienvenida__fondo { transition: none; }
}


.sv-jump__inner { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sv-jump__item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 20px 10px 24px;
}
.sv-jump__item + .sv-jump__item { border-top: none; }
.sv-jump__text strong { font-size: .9rem; }
.sv-jump__text span { font-size: .76rem; }
.sv-jump__item::after { left: 18px; right: 18px; bottom: 10px; }
@media (min-width: 1101px) {
    .sv-jump__item:nth-child(7) { border-left: none; }
    .sv-jump__item:nth-child(n+7) { border-top: 1px solid rgba(64, 72, 79, .08); }
}
@media (max-width: 1100px) {
    .sv-jump__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sv-jump__item:nth-child(4n+1) { border-left: none; }
    .sv-jump__item:nth-child(n+5) { border-top: 1px solid rgba(64, 72, 79, .08); }
}
@media (max-width: 640px) {
    .sv-jump__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sv-jump__item:nth-child(odd) { border-left: none; }
    .sv-jump__item:nth-child(even) { border-left: 1px solid rgba(64, 72, 79, .08); }
    .sv-jump__item:nth-child(n+3) { border-top: 1px solid rgba(64, 72, 79, .08); }
    .sv-jump__item { padding: 16px 8px 20px; }
}

.service-media--icono {
    display: grid;
    place-items: center;
    background:
        radial-gradient(420px 300px at 30% 30%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(135deg, #EEF3F8 0%, #DCE7F1 55%, #ADC9E2 100%);
}
.service-media__icono {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid var(--cm-gold);
    color: var(--cm-gold);
    font-size: 3.4rem;
    box-shadow: 0 20px 50px rgba(64, 72, 79, .12);
    transition: transform .6s var(--cm-ease-out);
}
.service-row:hover .service-media__icono { transform: scale(1.06) rotate(-4deg); }

.services-cta p.services-cta-destacado {
    font-weight: 600;
    color: var(--cm-gold);
}
.service-media--icono { align-self: stretch; min-height: 350px; }
@media (max-width: 768px) { .service-media--icono { min-height: 240px; } }
.feature-content p.feature-destacado { margin-top: 6px; font-weight: 600; color: var(--cm-gold); text-align: left; }

.servicios-foto,
.hero-foto-movil { display: none; }

@media (min-width: 1200px) {
    .services-content--foto {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 390px);
        grid-template-areas:
            "titulo  titulo"
            "tarjetas foto"
            "boton   foto";
        column-gap: 30px;
        align-items: start;
    }
    .services-content--foto > h2 { grid-area: titulo; }
    .services-content--foto > .services-grid {
        grid-area: tarjetas;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }
    .services-content--foto > div:not(.services-grid):not(.servicios-foto) { grid-area: boton; }
    .servicios-foto {
        display: block;
        grid-column: 2;
        grid-row: 2 / span 2;
        align-self: start;
        position: relative;
        pointer-events: none;
    }
    .servicios-foto img {
        display: block;
        width: 100%;
        height: auto;
        -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
        mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
        filter: drop-shadow(0 24px 30px rgba(64, 72, 79, .18));
        animation: cmFlotar 6s ease-in-out infinite;
    }
    .servicios-foto::after {
        content: "";
        position: absolute;
        left: 18%;
        right: 18%;
        bottom: 6%;
        height: 26px;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgba(64, 72, 79, .22), rgba(64, 72, 79, 0));
        animation: cmSombra 6s ease-in-out infinite;
        z-index: -1;
    }
}
@keyframes cmFlotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes cmSombra { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.85); opacity: .7; } }

@media (max-width: 768px) {
    .hero-foto-movil {
        display: block;
        width: min(300px, 76vw);
        height: min(340px, 44vh);
        margin: -10px auto -14px;
        overflow: hidden;
        position: relative;
        z-index: 0;
        animation: cmLogoIn 1.1s var(--cm-ease-out) both;
    }
    .hero-foto-movil img {
        display: block;
        width: 100%;
        height: auto;
        -webkit-mask-image: linear-gradient(to bottom, #000 48%, transparent 92%);
        mask-image: linear-gradient(to bottom, #000 48%, transparent 92%);
    }
    .hero--logo .hero-content > .hero-foto-movil { max-width: none !important; }
    .hero--logo .hero-content > h1.hero-logo { position: relative; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .servicios-foto img, .servicios-foto::after, .hero-foto-movil { animation: none; }
}

.contacto-foto { display: none; }
@media (min-width: 1200px) {
    .contact-container { grid-template-columns: clamp(280px, 24vw, 360px) minmax(0, 1fr) minmax(0, 1fr) !important; gap: 40px !important; }
    .contacto-foto {
        display: block;
        align-self: center;
        position: relative;
        pointer-events: none;
    }
    .contacto-foto img {
        display: block;
        width: 100%;
        height: auto;
        -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
        mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
        filter: drop-shadow(0 24px 30px rgba(64, 72, 79, .16));
        animation: cmFlotar 6s ease-in-out infinite;
    }
}
@media (prefers-reduced-motion: reduce) { .contacto-foto img { animation: none; } }

@media (min-width: 769px) {
    .sv-hero.hero--logo .sv-hero__media .sv-hero__video { object-position: 58% 28% !important; }
}

@media (max-width: 768px) {
    .hero-foto-movil {
        width: min(230px, 60vw);
        height: min(250px, 34vh);
        margin: -16px auto -10px;
    }
}

@media (max-width: 1199px) {
    .services-content--foto { display: flex; flex-direction: column; }
    .services-content--foto > .servicios-foto { order: 0; }
    .services-content--foto > h2 { order: 1; }
    .services-content--foto > .services-grid { order: 2; }
    .services-content--foto > .services-cta { order: 3; }
    .services-content--foto > .servicios-foto,
    .titulo-foto {
        display: block;
        position: relative;
        width: 132px;
        height: 150px;
        margin: 0 auto -4px;
        overflow: hidden;
        pointer-events: none;
    }
    .services-content--foto > .servicios-foto img,
    .titulo-foto img {
        display: block;
        width: 100%;
        height: auto;
        -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
        animation: none;
        filter: none;
    }
    .services-content--foto > .servicios-foto::after { content: none; }
}
@media (min-width: 1200px) { .titulo-foto { display: none; } }

@media (max-width: 768px) {
    .contact-item { align-items: center; }
    .contact-item .contact-text { width: 100%; }
}
@media (max-width: 768px) {
    .testimonial-text { hyphens: auto; -webkit-hyphens: auto; }
}

@media (min-width: 769px) {
    .hero.hero--logo       { --video-ar: .718; }
    .hero-about.hero--logo { --video-ar: .6; min-height: 88vh; }
    .sv-hero.hero--logo    { --video-ar: .564; }

    .hero--logo .hero-video-container,
    .hero--logo .sv-hero__media {
        aspect-ratio: var(--video-ar) !important;
        max-width: 46vw !important;
        right: 0 !important;
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, #000 12%, #000 100%),
            linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
        -webkit-mask-composite: source-in;
        mask-image:
            linear-gradient(to right, transparent 0%, #000 12%, #000 100%),
            linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
        mask-composite: intersect;
    }
    .hero--logo .hero-video,
    .hero--logo .sv-hero__video,
    .sv-hero.hero--logo .sv-hero__media .sv-hero__video {
        object-fit: cover;
        object-position: 50% 25% !important;
    }
}
@media (min-width: 1100px) {
    .hero--logo .hero-video-container,
    .hero--logo .sv-hero__media {
        right: 25vw !important;
        transform: translateX(50%) !important;
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
            linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
            linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
    }
}
@media (min-width: 769px) {
    .hero--logo .hero-video-container,
    .hero--logo .sv-hero__media { top: 96px !important; }
}

@media (min-width: 1200px) {
    .contact-container {
        grid-template-columns: clamp(280px, 26vw, 380px) minmax(0, 1fr) !important;
        grid-template-areas:
            "info info"
            "foto form";
        gap: 34px 40px !important;
    }
    .contact-container > .contact-info {
        grid-area: info;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
    .contact-container > .contact-info .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        margin: 0;
        height: 100%;
    }
    .contact-container > .contact-info .contact-text { width: 100%; }
    .contact-container > .contacto-foto { grid-area: foto; align-self: center; }
    .contact-container > .contact-form { grid-area: form; }
    .contact-form input,
    .contact-form select,
    .contact-form textarea { font-size: 1.05rem; }
}

.contact-item .contact-text { container-type: inline-size; min-width: 0; }
.contact-correos,
.contact-telefonos { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
.contact-item .contact-text p.contact-correos { font-size: .9rem; }
@supports (font-size: 1cqi) {
    .contact-item .contact-text p.contact-correos { font-size: clamp(.72rem, 6.4cqi, 1.05rem); }
}

.cm-srv { position: relative; width: 100%; }
.cm-srv__lema {
    text-align: center;
    font-family: var(--font-titulos);
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cm-ink);
    margin: -10px 0 26px;
}

.cm-srv__menu {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 26px;
    background: rgba(64, 72, 79, .09);
    border-top: 3px solid var(--cm-gold);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(64, 72, 79, .10);
}
.cm-srv__pill {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-width: 0;
    padding: 20px 10px 18px;
    border: 0;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    text-align: center;
    text-align-last: center;
    font: inherit;
    transition: background-color .3s ease;
}
.cm-srv__pill::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--cm-gold);
    transform: scaleX(0);
    transition: transform .4s var(--cm-ease-out);
}
.cm-srv__pill-icono {
    width: 30px;
    height: 38px;
    margin-bottom: 8px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(173, 201, 226, .45);
    color: var(--cm-gold);
    font-size: .95rem;
    transition: background-color .3s ease, color .3s ease, transform .4s var(--cm-ease-out);
}
.cm-srv__pill-texto {
    min-width: 0;
    font-family: var(--font-texto);
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.2;
    color: var(--cm-ink);
    overflow-wrap: break-word;
}
.cm-srv__pill-sub {
    min-width: 0;
    font-family: var(--font-texto);
    font-weight: 400;
    font-size: .74rem;
    line-height: 1.3;
    color: var(--cm-gold);
    overflow-wrap: break-word;
}
.cm-srv__pill:hover { background: #FBF8F2; }
.cm-srv__pill:hover .cm-srv__pill-icono { transform: translateY(-2px); }
.cm-srv__pill:focus-visible { outline: 2px solid var(--cm-gold); outline-offset: -4px; }
.cm-srv__pill.is-active { background: #FBF6EC; }
.cm-srv__pill.is-active::after { transform: scaleX(1); }
.cm-srv__pill.is-active .cm-srv__pill-icono { background: var(--cm-gold); color: #fff; }
@media (max-width: 1199px) {
    .cm-srv__menu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .cm-srv__menu {
        display: flex;
        overflow-x: auto;
        margin: 0 0 18px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .cm-srv__menu::-webkit-scrollbar { display: none; }
    .cm-srv__pill { flex: 0 0 132px; padding: 16px 8px 14px; scroll-snap-align: center; }
    .cm-srv__pill-texto { font-size: .82rem; }
    .cm-srv__pill-sub { font-size: .7rem; }
}
@media (max-width: 380px) {
    .cm-srv__pill { flex-basis: 118px; }
    .cm-srv__pill-texto { font-size: .78rem; }
}

.cm-srv__escenario {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 430px;
    padding: 46px 40px 96px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23C9A15E'/%3E%3Cstop offset='.5' stop-color='%23E6CB93'/%3E%3Cstop offset='1' stop-color='%23B48742'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 60 C200 20 400 100 600 60 S1000 20 1200 55 V120 H0Z' fill='url(%23g)'/%3E%3C/svg%3E") bottom / 100% 80px no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1200 V22 C900 60 600 0 300 30 C150 45 60 35 0 28Z' fill='%23ffffff' fill-opacity='.85'/%3E%3C/svg%3E") top / 100% 46px no-repeat,
        linear-gradient(180deg, #C9DAEA 0%, #ADC9E2 100%);
    box-shadow: 0 24px 50px rgba(64, 72, 79, .14);
}
.cm-srv__panel {
    display: grid;
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    min-height: 290px;
}
.cm-srv__panel[hidden] { display: none; }
.cm-srv__lado {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    position: relative;
}
.cm-srv__lado::after {
    content: "";
    position: absolute;
    top: -6px;
    bottom: -6px;
    right: -18px;
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
}
.cm-srv__icono {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--cm-gold);
    font-size: 2.6rem;
    box-shadow: 0 14px 30px rgba(64, 72, 79, .12);
}
.cm-srv__etiqueta {
    margin: 0;
    font-family: var(--font-titulos);
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cm-gold);
}
.cm-srv__titulo {
    margin: 0;
    padding: 16px 24px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(64, 72, 79, .12);
    font-family: var(--font-titulos);
    font-weight: 700;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.15;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--cm-gold);
    max-width: 320px;
}
.cm-srv__contenido {
    display: flex;
    align-items: center;
    gap: 26px;
    min-width: 0;
}
.cm-srv__textos { position: relative; flex: 1; min-width: 0; }
.cm-srv__lista { list-style: none; margin: 0; padding: 0; display: none; }
.cm-srv__lista.is-active { display: block; }
.cm-srv__lista li {
    position: relative;
    padding-left: 22px;
    margin: 0 0 11px;
    font-family: var(--font-titulos);
    font-weight: 600;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.35;
    color: var(--cm-ink);
    text-align: left;
}
.cm-srv__lista li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cm-gold);
    box-shadow: 0 0 0 4px rgba(180, 135, 66, .18);
}
.cm-srv__lista li strong { font-weight: 700; display: block; }
.cm-srv__sub {
    display: block;
    margin-top: 6px;
    padding-left: 18px;
    position: relative;
    font-size: .88em;
    font-weight: 600;
}
.cm-srv__sub::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--cm-gold);
    border-radius: 2px;
    background: #fff;
}
.cm-srv__nota {
    display: inline-block;
    margin: 6px 0 0;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    font-family: var(--font-titulos);
    font-style: italic;
    font-weight: 700;
    color: var(--cm-gold);
}
.cm-srv__paginas { display: flex; gap: 6px; margin-top: 14px; }
.cm-srv__paginas span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .8); transition: width .4s var(--cm-ease-out), background-color .3s ease; }
.cm-srv__paginas span.is-active { width: 24px; background: var(--cm-gold); }
.cm-srv__fotos { flex: 0 0 auto; display: flex; gap: 12px; }
.cm-srv__fotos img {
    display: block;
    width: clamp(120px, 13vw, 170px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
    border: 4px solid #fff;
    box-shadow: 0 14px 30px rgba(64, 72, 79, .2);
}
.cm-srv__ilus { flex: 1; display: grid; place-items: center; }
.cm-ilus { width: min(240px, 100%); height: auto; overflow: visible; }

.cm-srv__controles {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}
.cm-srv__flecha {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--cm-gold);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(64, 72, 79, .18);
    transition: transform .3s var(--cm-ease-out), background-color .3s ease, color .3s ease;
}
.cm-srv__flecha:hover,
.cm-srv__flecha:focus-visible { transform: scale(1.1); background: var(--cm-gold); color: #fff; }
.cm-srv__progreso { flex: 1; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .55); overflow: hidden; }
.cm-srv__progreso span { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.cm-srv.is-corriendo .cm-srv__progreso span { animation: cmProgreso var(--dur, 6s) linear forwards; }
.cm-srv.is-pausado .cm-srv__progreso span { animation-play-state: paused; }
@keyframes cmProgreso { from { width: 0; } to { width: 100%; } }

.cm-srv__panel.is-active .cm-srv__icono { animation: cmSrvPop .7s var(--cm-ease-out) both; }
.cm-srv__panel.is-active .cm-srv__etiqueta { animation: cmSrvSube .6s var(--cm-ease-out) .1s both; }
.cm-srv__panel.is-active .cm-srv__titulo { animation: cmSrvSube .7s var(--cm-ease-out) .15s both; }
.cm-srv__panel.is-active .cm-srv__lista.is-active li { animation: cmSrvItem .6s var(--cm-ease-out) both; animation-delay: calc(.35s + var(--k) * .22s); }
.cm-srv__panel.is-active .cm-srv__nota { animation: cmSrvSube .6s var(--cm-ease-out) 1.4s both; }
.cm-srv__panel.is-active .cm-srv__fotos img { animation: cmSrvFoto .8s var(--cm-ease-out) both; animation-delay: calc(.5s + var(--k) * .3s); }
.cm-srv__panel.is-active .cm-srv__ilus { animation: cmSrvPop .8s var(--cm-ease-out) .35s both; }
@keyframes cmSrvPop  { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes cmSrvSube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cmSrvItem { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes cmSrvFoto { from { opacity: 0; transform: translateY(26px) rotate(4deg) scale(.92); } to { opacity: 1; transform: none; } }

.cm-ilus__marco { animation: cmMarco 2.4s ease-in-out infinite; transform-origin: 100px 100px; }
.cm-ilus__escaneo { animation: cmEscaneo 2.6s ease-in-out infinite; }
.cm-ilus__ojos { animation: cmParpadeo 4s infinite; transform-origin: 100px 92px; }
.cm-ilus__sonrisa { stroke-dasharray: 60; animation: cmSonrisa 3s ease-in-out infinite; }
.cm-ilus__iris { animation: cmMirada 4s ease-in-out infinite; }
.cm-ilus__burbuja { transform-box: fill-box; transform-origin: center; }
.cm-ilus__burbuja--si { animation: cmBurbuja 3.2s ease-in-out infinite; }
.cm-ilus__burbuja--no { animation: cmBurbuja 3.2s ease-in-out 1.6s infinite; }
.cm-ilus__corazon { transform-box: fill-box; transform-origin: center; animation: cmLatido 1.4s ease-in-out infinite; }
.cm-ilus__globo { transform-box: fill-box; transform-origin: center; animation: cmGlobo 6s ease-in-out infinite; }
@keyframes cmMarco    { 0%, 100% { transform: scale(1); } 50% { transform: scale(.94); } }
@keyframes cmEscaneo  { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .6; } 85% { opacity: .6; } 100% { transform: translateY(112px); opacity: 0; } }
@keyframes cmParpadeo { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes cmSonrisa  { 0% { stroke-dashoffset: 60; } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes cmMirada   { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-14px); } 65% { transform: translateX(14px); } }
@keyframes cmBurbuja  { 0%, 100% { transform: scale(.85); opacity: .35; } 25%, 50% { transform: scale(1); opacity: 1; } }
@keyframes cmLatido   { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
@keyframes cmGlobo    { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

@media (max-width: 860px) {
    .cm-srv__escenario { padding: 40px 20px 90px; min-height: 0; }
    .cm-srv__panel { grid-template-columns: 1fr; gap: 22px; min-height: 0; }
    .cm-srv__lado::after { display: none; }
    .cm-srv__icono { width: 84px; height: 84px; font-size: 2rem; }
    .cm-srv__contenido { flex-direction: column; align-items: stretch; }
    .cm-srv__fotos { justify-content: center; }
    .cm-srv__fotos img { width: min(42vw, 160px); }
    .cm-srv__controles { left: 20px; right: 20px; bottom: 20px; }
}

.cm-datos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
}
.cm-dato {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    text-decoration: none;
    color: var(--cm-ink);
}
.cm-dato--ancho { grid-column: 1 / -1; justify-self: center; }
.cm-dato__icono {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--cm-gold);
    font-size: 1.2rem;
    box-shadow: 0 10px 24px rgba(64, 72, 79, .14);
    transition: transform .4s var(--cm-ease-out), background-color .3s ease, color .3s ease;
}
.cm-dato__texto { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.cm-dato__etiqueta {
    font-family: var(--font-titulos);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--cm-gold);
}
.cm-dato__valor {
    font-family: var(--font-titulos);
    font-weight: 700;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    line-height: 1.2;
    color: var(--cm-ink);
    white-space: nowrap;
}
.cm-dato--correo .cm-dato__valor { font-size: clamp(.95rem, 1.25vw, 1.15rem); }
.cm-dato:hover .cm-dato__icono,
.cm-dato:focus-visible .cm-dato__icono { background: var(--cm-gold); color: #fff; transform: rotate(-8deg) scale(1.06); }
.cm-datos__extra {
    margin: 26px 0 0;
    font-size: .92rem;
    color: var(--cm-slate);
    text-align: center;
    line-height: 1.6;
}
.cm-datos__extra i { color: var(--cm-gold); margin-right: 4px; }

html.cm-motion .cm-datos .cm-dato .cm-dato__icono,
html.cm-motion .cm-redes .cm-dato .cm-dato__icono { opacity: 0; transform: scale(.3) rotate(-30deg); }
html.cm-motion .cm-datos .cm-dato .cm-dato__texto,
html.cm-motion .cm-redes .cm-dato .cm-dato__texto { opacity: 0; transform: translateX(-14px); }
html.cm-motion .cm-datos.is-visible .cm-dato__icono,
html.cm-motion .cm-redes.is-visible .cm-dato__icono {
    opacity: 1; transform: none;
    transition: opacity .5s ease, transform .7s var(--cm-ease-out), background-color .3s ease, color .3s ease;
    transition-delay: calc(var(--k) * .28s), calc(var(--k) * .28s), 0s, 0s;
}
html.cm-motion .cm-datos.is-visible .cm-dato__texto,
html.cm-motion .cm-redes.is-visible .cm-dato__texto {
    opacity: 1; transform: none;
    transition: opacity .5s ease, transform .6s var(--cm-ease-out);
    transition-delay: calc(var(--k) * .28s + .18s);
}

.contact-info { min-width: 0; }
@media (min-width: 1200px) {
    .contact-container {
        grid-template-columns: clamp(280px, 26vw, 380px) minmax(0, 1fr) !important;
        grid-template-areas:
            "foto info"
            "foto form" !important;
        gap: 36px 46px !important;
        align-items: start;
    }
    .contact-container > .contact-info { grid-area: info; display: block !important; }
    .contact-container > .contacto-foto { grid-area: foto; align-self: end; }
    .contact-container > .contact-form { grid-area: form; }
}
@media (max-width: 1199px) {
    .contact-container > .contact-info { display: block !important; }
}
@media (max-width: 560px) {
    .cm-datos { grid-template-columns: 1fr; gap: 16px; }
    .cm-dato--ancho { justify-self: start; }
    .cm-dato__valor { font-size: 1.15rem; }
}

.cm-redes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 6px;
}
.cm-redes .cm-dato__icono { flex-basis: 46px; height: 46px; font-size: 1.05rem; }
.cm-redes .cm-dato__valor { font-size: 1.1rem; white-space: normal; }
@media (max-width: 768px) {
    .cm-redes { align-items: center; }
    .cm-redes .cm-dato { width: min(300px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
    .cm-srv *, .cm-ilus * { animation: none !important; }
    html.cm-motion .cm-datos .cm-dato *,
    html.cm-motion .cm-redes .cm-dato * { opacity: 1 !important; transform: none !important; }
}
@media (min-width: 1200px) {
    .cm-srv__panel--fotos .cm-srv__fotos img { width: clamp(110px, 9vw, 140px); }
    .cm-srv__panel--fotos { grid-template-columns: minmax(200px, 28%) minmax(0, 1fr); }
}
@media (min-width: 561px) {
    .cm-datos { grid-template-rows: repeat(3, auto); grid-auto-flow: column; }
    .cm-datos .cm-dato--ancho { grid-row: 4; grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
    .contact-container > .contacto-foto { align-self: start; margin-top: -20px; }
}
.cm-dato__valor { white-space: normal; }
.cm-dato--correo .cm-dato__valor,
.cm-dato:not(.cm-dato--red) .cm-dato__valor { white-space: nowrap; }
@media (max-width: 400px) {
    .cm-datos .cm-dato[href*="facebook"] .cm-dato__valor { white-space: normal; }
}

.footer-content--simple {
    grid-template-columns: 1fr !important;
    justify-items: center;
    text-align: center;
}
.footer-content--simple .footer-logo { display: flex; flex-direction: column; align-items: center; }
.footer-content--simple .footer-logo__img { margin-left: auto; margin-right: auto; }
.footer-content--simple .footer-logo p { max-width: 560px; text-align: center; text-align-last: center; }



.cm-srv__lista li strong { font-family: var(--font-titulos); font-weight: 700; }

.srv-animado { padding: 70px 0 30px; }
.srv-animado__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch; }
.srv-animado__foto { display: none; pointer-events: none; }
.srv-animado__foto picture { display: block; }
.srv-animado__foto img { display: block; width: 100%; height: auto; }
@media (min-width: 1200px) {
    .srv-animado__grid { grid-template-columns: minmax(0, 1fr) clamp(380px, 36vw, 560px); }
    .srv-animado__foto {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        position: relative;
        min-height: 0;
    }
    .srv-animado__foto picture { width: 100%; height: 100%; }
    .srv-animado__foto img {
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
        -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
        mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
        filter: drop-shadow(0 24px 30px rgba(64, 72, 79, .18));
        animation: cmFlotar 6s ease-in-out infinite;
    }
    .srv-animado__foto::after {
        content: "";
        position: absolute;
        left: 22%;
        right: 22%;
        bottom: 2%;
        height: 26px;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgba(64, 72, 79, .22), rgba(64, 72, 79, 0));
        animation: cmSombra 6s ease-in-out infinite;
        z-index: -1;
    }
    .srv-animado .cm-srv__panel--fotos .cm-srv__fotos img { width: clamp(110px, 9vw, 140px); }
    .srv-animado .cm-srv__panel--fotos { grid-template-columns: minmax(200px, 28%) minmax(0, 1fr); }
}
@media (max-width: 1199px) {
    .srv-animado__foto {
        display: block;
        order: -1;
        width: 176px;
        height: 196px;
        margin: 0 auto -6px;
        overflow: hidden;
    }
    .srv-animado__foto img {
        -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
    }
}
@media (prefers-reduced-motion: reduce) { .srv-animado__foto img, .srv-animado__foto::after { animation: none; } }

.sv-jump__text strong { overflow-wrap: break-word; hyphens: manual; }
@media (min-width: 1101px) and (max-width: 1366px) {
    .sv-jump__text strong { font-size: .84rem; }
}

.service-media--ilus {
    display: grid;
    place-items: center;
    align-self: stretch;
    min-height: 350px;
    padding: 30px;
    background:
        radial-gradient(420px 300px at 30% 30%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(135deg, #EEF3F8 0%, #DCE7F1 55%, #ADC9E2 100%);
}
.service-media--ilus .cm-ilus {
    width: clamp(170px, 62%, 270px);
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(64, 72, 79, .14));
    transition: transform .6s var(--cm-ease-out);
}
.service-row:hover .service-media--ilus .cm-ilus { transform: scale(1.05); }
@media (max-width: 768px) {
    .service-media--ilus { min-height: 250px; padding: 24px; }
    .service-media--ilus .cm-ilus { width: clamp(160px, 52vw, 220px); }
}
@media (max-height: 820px) and (min-width: 1025px) {
    .service-media--ilus { min-height: 300px; }
    .service-media--ilus .cm-ilus { width: clamp(160px, 52%, 230px); }
}

.cm-ilus__flota { animation: cmFlotar 5s ease-in-out infinite; }
.cm-ilus__trazo { stroke-dasharray: 60; stroke-dashoffset: 60; animation: cmTrazo 4s ease-in-out infinite; animation-delay: calc(var(--k) * .35s); }
.cm-ilus__pop { transform-box: fill-box; transform-origin: center; animation: cmPopIlus 4s var(--cm-ease-out) infinite; }
.cm-ilus__sello { animation: cmSellar 3.2s ease-in-out infinite; }
.cm-ilus__marca { opacity: 0; animation: cmMarca 3.2s ease-in-out infinite; }
.cm-ilus__punto { animation: cmPunto 1.2s ease-in-out infinite; animation-delay: calc(var(--k) * .15s); }
.cm-ilus__ventana { animation: cmVentana 4.8s ease-in-out infinite; animation-delay: calc(var(--k) * .3s); }
.cm-ilus__bandera { transform-box: fill-box; transform-origin: left center; animation: cmBandera 1.8s ease-in-out infinite; }
.cm-ilus__barra { transform-box: fill-box; transform-origin: center bottom; animation: cmCrecer 4s var(--cm-ease-out) infinite; animation-delay: calc(var(--k) * .2s); }
.cm-ilus__curva { stroke-dasharray: 160; stroke-dashoffset: 160; animation: cmCurva 4s ease-in-out infinite; }
.cm-ilus__anillos { transform-box: fill-box; transform-origin: center; animation: cmGlobo 5s ease-in-out infinite; }
.cm-ilus__brillo { transform-box: fill-box; transform-origin: center; animation: cmBrillo 2.4s ease-in-out infinite; animation-delay: calc(var(--k) * .7s); }
.cm-ilus__barrido { animation: cmBarrido 3s ease-in-out infinite; }
@keyframes cmTrazo    { 0%, 8% { stroke-dashoffset: 60; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 60; } }
@keyframes cmPopIlus  { 0%, 40% { transform: scale(0); } 52% { transform: scale(1.15); } 60%, 88% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes cmSellar   { 0%, 15% { transform: translate(16px, -44px); } 38%, 50% { transform: translate(0, 0); } 72%, 100% { transform: translate(16px, -44px); } }
@keyframes cmMarca    { 0%, 40% { opacity: 0; } 46%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cmPunto    { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-7px); } }
@keyframes cmVentana  { 0%, 30%, 100% { fill: #ADC9E2; } 12%, 20% { fill: #B48742; } }
@keyframes cmBandera  { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-8deg) scaleX(.9); } }
@keyframes cmCrecer   { 0% { transform: scaleY(.15); } 35%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
@keyframes cmCurva    { 0%, 15% { stroke-dashoffset: 160; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 160; } }
@keyframes cmBrillo   { 0%, 100% { transform: scale(.4); opacity: .3; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes cmBarrido  { 0% { transform: translateX(0); } 50% { transform: translateX(150px); } 100% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
    .service-media--ilus .cm-ilus * { animation: none !important; }
    .cm-ilus__trazo, .cm-ilus__curva { stroke-dashoffset: 0; }
    .cm-ilus__marca { opacity: 1; }
    .cm-ilus__sello { transform: translate(16px, -44px); }
}

.footer-content--contacto { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) !important; align-items: center; }
.footer-contacto { min-width: 0; }
.footer-contacto .cm-datos__extra { margin-top: 22px; }
@media (max-width: 1100px) {
    .footer-content--contacto { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
    .footer-content--contacto .footer-logo { display: flex; flex-direction: column; align-items: center; }
    .footer-content--contacto .footer-logo p { text-align: center; text-align-last: center; }
    .footer-contacto { width: min(640px, 100%); }
}
@media (max-width: 560px) {
    .footer-contacto .cm-datos { width: fit-content; max-width: 100%; margin-inline: auto; }
}

@media (min-width: 769px) {
    .sv-hero.hero--logo .sv-hero__media {
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, #000 6%, #000 100%),
            linear-gradient(to bottom, #000 0%, #000 93%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, #000 6%, #000 100%),
            linear-gradient(to bottom, #000 0%, #000 93%, transparent 100%);
    }
}
@media (min-width: 1100px) {
    .sv-hero.hero--logo .sv-hero__media {
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%),
            linear-gradient(to bottom, #000 0%, #000 93%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%),
            linear-gradient(to bottom, #000 0%, #000 93%, transparent 100%);
    }
}

html.cm-jump-anim .sv-jump__item {
    animation: none;
    opacity: 0;
    transform: perspective(700px) translate3d(0, 90px, 0) rotateX(-75deg) scale(.6);
    transform-origin: 50% 100%;
    transition:
        opacity .45s ease,
        transform 1s cubic-bezier(.34, 1.56, .64, 1),
        background-color .3s ease;
    transition-delay: calc(var(--c, 0) * 120ms);
}
html.cm-jump-anim .sv-jump__item.cm-above {
    transform: perspective(700px) translate3d(0, -90px, 0) rotateX(75deg) scale(.6);
    transform-origin: 50% 0%;
}
html.cm-jump-anim .sv-jump__item.is-in { opacity: 1; transform: none; }
html.cm-jump-anim .sv-jump__item .sv-jump__icon {
    transform: scale(0) rotate(-200deg);
    transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), background-color .3s ease, color .3s ease;
    transition-delay: calc(var(--c, 0) * 120ms + .35s);
}
html.cm-jump-anim .sv-jump__item.is-in .sv-jump__icon { transform: none; }
html.cm-jump-anim .sv-jump__item.is-in:hover .sv-jump__icon,
html.cm-jump-anim .sv-jump__item.is-in:focus-visible .sv-jump__icon { transform: rotate(-8deg) scale(1.06); transition-delay: 0s; }
html.cm-jump-anim .sv-jump__item.is-in::after { animation: cmJumpRaya 1.2s ease-in-out both; animation-delay: calc(var(--c, 0) * 120ms + .55s); animation-fill-mode: none; }
@keyframes cmJumpRaya { 0% { transform: scaleX(0); } 45%, 60% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

@media (max-width: 768px) {
    html.cm-motion .cm-reveal[data-cm-dir="left"]  { --cm-x: -70px; --cm-r: -3deg; }
    html.cm-motion .cm-reveal[data-cm-dir="right"] { --cm-x:  70px; --cm-r:  3deg; }
    html.cm-motion .cm-reveal { --cm-y: 70px; }
    html.cm-motion .cm-reveal.cm-above[data-cm-dir] { --cm-y: -70px; }
}
html.cm-motion .cm-datos:not(.is-visible) .cm-dato .cm-dato__texto,
html.cm-motion .cm-redes:not(.is-visible) .cm-dato .cm-dato__texto { transform: translateX(-40px); }

@media (min-width: 769px) {
    .sv-hero.hero--logo .sv-hero__media {
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, #000 2%, #000 100%),
            linear-gradient(to bottom, #000 0%, #000 97%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, #000 2%, #000 100%),
            linear-gradient(to bottom, #000 0%, #000 97%, transparent 100%);
    }
}
@media (min-width: 1100px) {
    .sv-hero.hero--logo .sv-hero__media {
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, #000 2%, #000 98%, transparent 100%),
            linear-gradient(to bottom, #000 0%, #000 97%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, #000 2%, #000 98%, transparent 100%),
            linear-gradient(to bottom, #000 0%, #000 97%, transparent 100%);
    }
}
@media (max-width: 420px) {
    .service-actions .btn { white-space: normal; max-width: 100%; padding: 14px 26px; line-height: 1.3; }
}

@media (min-width: 769px) {
    .hero--logo .hero-btns,
    .hero--logo .sv-hero__btns { max-width: min(600px, 46vw); flex-wrap: wrap; gap: 14px; }
}
@media (min-width: 769px) and (max-width: 1099px) {
    .hero--logo .hero-btns .btn,
    .hero--logo .sv-hero__btns a { flex: 1 1 100%; justify-content: center; }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .services-content--foto { grid-template-columns: minmax(0, 1fr) clamp(230px, 20vw, 290px); column-gap: 24px; }
    .services-content--foto > .services-grid { gap: 18px; }
    .services-content--foto .service-card { padding: 34px 22px; }
    .services-content--foto .service-card h3 { font-size: 1.35rem; }
}
@media (min-width: 769px) and (max-width: 1199px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 26px !important; }
    .services-grid > .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 13px); justify-self: center; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
    .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
    .services-grid > .service-card:last-child:nth-child(odd) { grid-column: auto; width: auto; }
    .services-grid > .service-card { padding: 32px 22px; }
}

@media (max-width: 1199px) {
    .contact-container { grid-template-columns: minmax(0, 1fr) !important; gap: 36px !important; }
    .contact-container > .contact-info .cm-datos { max-width: 680px; margin-inline: auto; }
}
@media (max-width: 1439px) {
    .cm-dato__valor { font-size: clamp(1rem, 1.45vw, 1.25rem); }
    .cm-dato--correo .cm-dato__valor { font-size: clamp(.9rem, 1.15vw, 1.05rem); }
    .cm-datos .cm-dato[href*="facebook"] .cm-dato__valor { white-space: normal; }
}
@media (max-width: 1199px) {
    .cm-dato__valor { font-size: 1.15rem; }
    .cm-dato--correo .cm-dato__valor { font-size: 1rem; }
}
@media (min-width: 769px) and (max-width: 1199px) and (orientation: portrait) {
    .hero.hero--logo,
    .sv-hero.hero--logo,
    .hero-about.hero--logo { min-height: 0; }
}
@media (max-width: 1199px) {
    .section h2 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); overflow-wrap: break-word; }
}
@media (min-width: 769px) and (max-width: 1199px) and (orientation: portrait) {
    .hero.hero--logo,
    .sv-hero.hero--logo { padding-top: 150px; }
}
@media (max-width: 1099px) {
    .about-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 40px; }
}
@media (max-width: 420px) {
    .contact-form .btn { white-space: normal; padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 600px) and (max-width: 1199px) {
    .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px !important; }
}
@media (min-width: 1200px) {
    .benefits-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
}

.sv-jump.sv-jump--pildoras { margin-top: 44px; padding: 0 20px; }
.sv-jump--pildoras .sv-jump__inner {
    max-width: 1020px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 30px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
.sv-jump--pildoras .sv-jump__item {
    grid-column: auto !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-height: 60px;
    padding: 8px 26px 8px 9px;
    border: 0 !important;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(64, 72, 79, .13);
    text-align: left;
}
.sv-jump--pildoras .sv-jump__icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #F4ECE1;
    color: var(--cm-gold);
}
.sv-jump--pildoras .sv-jump__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sv-jump--pildoras .sv-jump__text { min-width: 0; }
.sv-jump--pildoras .sv-jump__text strong {
    display: block;
    font-family: var(--font-titulos);
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.12;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--cm-gold);
}
.sv-jump--pildoras .sv-jump__item--largo .sv-jump__text strong { font-size: .9rem; letter-spacing: .02em; }
.sv-jump--pildoras .sv-jump__item::after { left: 76px; right: 30px; bottom: 7px; }
@media (max-width: 1100px) {
    .sv-jump--pildoras .sv-jump__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
    .sv-jump--pildoras .sv-jump__text strong { font-size: 1rem; }
    .sv-jump--pildoras .sv-jump__item--largo .sv-jump__text strong { font-size: .84rem; }
}
@media (max-width: 680px) {
    .sv-jump.sv-jump--pildoras { margin-top: 32px; }
    .sv-jump--pildoras .sv-jump__inner { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .sv-jump--pildoras .sv-jump__item { padding: 7px 20px 7px 8px; min-height: 56px; gap: 13px; }
    .sv-jump--pildoras .sv-jump__icon { flex-basis: 42px; width: 42px; height: 42px; }
    .sv-jump--pildoras .sv-jump__icon svg { width: 24px; height: 24px; }
}
@media (max-width: 360px) {
    .sv-jump--pildoras .sv-jump__text strong { font-size: .92rem; }
    .sv-jump--pildoras .sv-jump__item--largo .sv-jump__text strong { font-size: .8rem; }
}

.sv-jump--pildoras .sv-jump__titulo {
    margin: 0 auto 26px;
    padding: 0;
    text-align: center;
    font-family: var(--font-titulos);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--cm-gold);
    background: linear-gradient(90deg, #A97B35 0%, #B48742 35%, #D2AE68 75%, #C9A15E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sv-jump--pildoras .sv-jump__titulo::before,
.sv-jump--pildoras .sv-jump__titulo::after { content: none; }
@media (max-width: 680px) {
    .sv-jump--pildoras .sv-jump__titulo { margin-bottom: 20px; }
}

/* =====================================================================
   Redes sociales y datos de contacto · Entrada marcada (noviembre 2026)
   Mismo diseño y misma animación en Contáctanos (inicio), footer de
   Servicios y "Síguenos" de Sobre mí. Se repite cada vez que el bloque
   vuelve a entrar en pantalla (lo controla js/animaciones.js).
   ===================================================================== */
html.cm-redes-anim .cm-datos,
html.cm-redes-anim .cm-redes { --rd-dist: 190px; }
@media (max-width: 768px) {
    html.cm-redes-anim .cm-datos,
    html.cm-redes-anim .cm-redes { --rd-dist: 90px; }
}
html.cm-redes-anim .cm-dato[data-rd="l"] { --rd-x: calc(var(--rd-dist) * -1); --rd-ry:  80deg; --rd-rz: -10deg; }
html.cm-redes-anim .cm-dato[data-rd="r"] { --rd-x: var(--rd-dist);            --rd-ry: -80deg; --rd-rz:  10deg; }

/* Estado de reposo: el sistema anterior (transiciones suaves) queda neutralizado */
html.cm-redes-anim.cm-motion .cm-datos .cm-dato .cm-dato__icono,
html.cm-redes-anim.cm-motion .cm-redes .cm-dato .cm-dato__icono {
    position: relative;
    opacity: 1;
    transform: none;
    transition: transform .4s var(--cm-ease-out), background-color .3s ease, color .3s ease;
    transition-delay: 0s;
}
html.cm-redes-anim.cm-motion .cm-datos .cm-dato .cm-dato__texto,
html.cm-redes-anim.cm-motion .cm-redes .cm-dato .cm-dato__texto {
    opacity: 1;
    transform: none;
    transition: none;
}
html.cm-redes-anim.cm-motion .cm-datos .cm-dato:hover .cm-dato__icono,
html.cm-redes-anim.cm-motion .cm-datos .cm-dato:focus-visible .cm-dato__icono,
html.cm-redes-anim.cm-motion .cm-redes .cm-dato:hover .cm-dato__icono,
html.cm-redes-anim.cm-motion .cm-redes .cm-dato:focus-visible .cm-dato__icono {
    transform: rotate(-8deg) scale(1.06);
}

/* Antes de entrar: ocultos */
html.cm-redes-anim .cm-datos:not(.is-redes-in) .cm-dato,
html.cm-redes-anim .cm-redes:not(.is-redes-in) .cm-dato { opacity: 0; }

/* Entrada: vuelo 3D desde el lado, rebote, giro del ícono con doble onda dorada y texto que se revela */
html.cm-redes-anim .cm-datos.is-redes-in .cm-dato,
html.cm-redes-anim .cm-redes.is-redes-in .cm-dato {
    --rd-d: calc(var(--k, 0) * .45s);
    opacity: 1;
    transform-origin: 50% 50%;
    animation: cmRedVuelo 1.9s cubic-bezier(.22, .8, .3, 1) var(--rd-d) backwards;
}
html.cm-redes-anim .cm-datos.is-redes-in .cm-dato__icono,
html.cm-redes-anim .cm-redes.is-redes-in .cm-dato__icono {
    animation: cmRedIcono 1.7s cubic-bezier(.3, 1.35, .5, 1) calc(var(--rd-d) + .45s) backwards;
}
html.cm-redes-anim .cm-datos.is-redes-in .cm-dato__icono::before,
html.cm-redes-anim .cm-datos.is-redes-in .cm-dato__icono::after,
html.cm-redes-anim .cm-redes.is-redes-in .cm-dato__icono::before,
html.cm-redes-anim .cm-redes.is-redes-in .cm-dato__icono::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 3px solid var(--cm-gold);
    opacity: 0;
    pointer-events: none;
    animation: cmRedOnda 1.5s ease-out calc(var(--rd-d) + 1.25s) both;
}
html.cm-redes-anim .cm-datos.is-redes-in .cm-dato__icono::after,
html.cm-redes-anim .cm-redes.is-redes-in .cm-dato__icono::after {
    border-width: 2px;
    animation-delay: calc(var(--rd-d) + 1.6s);
}
html.cm-redes-anim .cm-datos.is-redes-in .cm-dato__texto,
html.cm-redes-anim .cm-redes.is-redes-in .cm-dato__texto {
    animation: cmRedTexto 1.2s cubic-bezier(.22, .8, .3, 1) calc(var(--rd-d) + .9s) backwards;
}
html.cm-redes-anim .cm-datos.is-redes-in .cm-dato__etiqueta,
html.cm-redes-anim .cm-redes.is-redes-in .cm-dato__etiqueta {
    animation: cmRedEtiqueta 1.3s cubic-bezier(.22, .8, .3, 1) calc(var(--rd-d) + .95s) backwards;
}

@keyframes cmRedVuelo {
    0%   { opacity: 0; filter: blur(10px); transform: perspective(800px) translate3d(var(--rd-x, 0px), 46px, 0) rotateY(var(--rd-ry, 0deg)) rotate(var(--rd-rz, 0deg)) scale(.3); }
    55%  { opacity: 1; filter: blur(0);    transform: perspective(800px) translate3d(calc(var(--rd-x, 0px) * -.1), -12px, 0) rotateY(calc(var(--rd-ry, 0deg) * -.12)) scale(1.12); }
    75%  {                                 transform: perspective(800px) translate3d(calc(var(--rd-x, 0px) * .03), 3px, 0) scale(.96); }
    100% { opacity: 1; filter: none;       transform: none; }
}
@keyframes cmRedIcono {
    0%   { transform: scale(0) rotate(-540deg); background: var(--cm-gold); color: #fff; }
    60%  { transform: scale(1.45) rotate(18deg); background: var(--cm-gold); color: #fff; box-shadow: 0 0 0 10px rgba(180, 135, 66, .22), 0 14px 30px rgba(180, 135, 66, .45); }
    80%  { transform: scale(.9) rotate(-8deg); }
    100% { transform: none; }
}
@keyframes cmRedOnda {
    0%   { opacity: .95; transform: scale(.7); }
    100% { opacity: 0;   transform: scale(2.3); }
}
@keyframes cmRedTexto {
    0%   { opacity: 0; transform: translateX(-34px); clip-path: inset(0 100% 0 0); }
    100% { opacity: 1; transform: none;              clip-path: inset(0 0 0 0); }
}
@keyframes cmRedEtiqueta {
    0%   { letter-spacing: .9em; opacity: 0; }
    100% { letter-spacing: .24em; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    html.cm-redes-anim .cm-dato,
    html.cm-redes-anim .cm-dato * { animation: none !important; opacity: 1 !important; }
}

/* Sobre mí · "Síguenos": mismo diseño de enlaces que Contáctanos */
.footer-social .cm-redes { margin-top: 0; }
.footer-social .cm-redes .cm-dato__valor { color: var(--primary-dark, var(--cm-ink)); }

/* =====================================================================
   Testimonios desde la base de datos (noviembre 2026)
   Portada para enlaces (YouTube, TikTok…), reproductor incrustado y
   testimonios sin video. El resto usa los estilos de siempre.
   ===================================================================== */
.testimonial-portada {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    border-radius: var(--border-radius, 16px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
    background: linear-gradient(135deg, #0A2A44, #2B5274);
}
.testimonial-portada img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testimonial-portada--vacia i { font-size: 3.2rem; color: rgba(255, 255, 255, .35); }
.testimonial-iframe {
    display: block;
    width: 100%;
    height: min(500px, 72vh);
    min-height: 360px;
    border: 0;
    background: #000;
    object-fit: initial;
}
.testimonial-video-wrapper.is-vertical .testimonial-iframe {
    width: auto;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}
.testimonial-video-wrapper.is-reproduciendo > .testimonial-portada,
.testimonial-video-wrapper.is-reproduciendo > .video-play-btn,
.testimonial-video-wrapper.is-reproduciendo > .video-indicator-testimonial { display: none; }
.testimonial-slide--sin-video.active { grid-template-columns: 1fr; }
.testimonial-slide--sin-video .testimonial-content-col { max-width: 900px; margin: 0 auto; width: 100%; }
@media (max-width: 1200px) {
    .testimonial-portada { min-height: 0; }
    .testimonial-video-col .testimonial-iframe { height: 100%; min-height: 0; }
}

/* =====================================================================
   Selector de idioma ES | EN (lo crea js/i18n.js) y verificador anti-robots
   ===================================================================== */
.cm-idioma {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 2px;
    padding: 3px;
    border: 1.5px solid rgba(64, 72, 79, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    line-height: 1;
}
.cm-idioma button {
    min-width: 36px;
    min-height: 30px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--cm-ink);
    font: 700 .76rem/1 var(--font-texto);
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.cm-idioma button:hover { color: var(--cm-gold); }
.cm-idioma button[aria-pressed="true"] {
    background: var(--cm-ink);
    color: #fff;
    cursor: default;
}
.cm-idioma button:focus-visible { outline: 2px solid var(--cm-gold); outline-offset: 2px; }

/* En la barra de navegación: a la derecha del menú (escritorio) y
   al lado del botón ☰ (celular y tableta) */
#mainNav > .nav-list { margin-left: auto; }
#mainNav > .cm-idioma { margin-left: clamp(12px, 1.6vw, 24px); }
@media (min-width: 769px) and (max-width: 1100px) {
    #mainNav > .cm-idioma { margin-left: 12px; }
    .cm-idioma button { min-width: 32px; padding: 0 7px; }
}
@media (max-width: 768px) {
    #mainNav > .logo-nav { order: 0; }
    #mainNav > .cm-idioma { order: 1; margin-left: auto; margin-right: 10px; }
    #mainNav > .menu-toggle { order: 2; }
    #mainNav > .nav-list { order: 3; }
}

/* Páginas sin menú (política de privacidad) */
header.cm-con-idioma { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header.cm-con-idioma .cm-idioma { background: rgba(255, 255, 255, .9); border-color: rgba(255, 255, 255, .6); }
.cm-idioma--flotante { position: fixed; top: 12px; right: 12px; z-index: 1002; }

/* Verificador de Cloudflare: solo ocupa espacio si se muestra */
.cm-antibot { display: flex; justify-content: center; }
.cm-antibot:not(:empty) { margin: 4px 0 14px; }
