:root {
    --color-primary: #2563eb;
    --color-primary-deep: #0f172a;
    --color-primary-soft: #60a5fa;
    --color-secondary: #dc2626;
    --color-secondary-soft: #ef4444;
    --color-whatsapp: #22c55e;
    --color-white: #ffffff;
    --color-ink: #0f172a;
    --color-text: #1e293b;
    --color-text-soft: #334155;
    --color-surface: rgba(255, 255, 255, 0.97);
    --color-surface-soft: rgba(248, 250, 252, 0.95);
    --color-surface-dark: rgba(15, 23, 42, 0.78);
    --color-line: rgba(15, 23, 42, 0.06);
    --color-gold: #f59e0b;
    --color-bg: #f1f5f9;
    --color-bg-soft: #f8fafc;
    --color-bg-dark: #0f172a;

    --font-main: "Manrope", sans-serif;
    --font-display: "Barlow Condensed", sans-serif;

    --radius-sm: 18px;
    --radius-md: 28px;
    --radius-lg: 40px;

    --shadow-sm: 0 16px 34px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 24px 58px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 32px 90px rgba(15, 23, 42, 0.14);

    --transition-fast: 0.28s ease;
    --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.7;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.1), transparent 24%),
        radial-gradient(circle at 88% 14%, rgba(148, 163, 184, 0.08), transparent 22%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 45%, var(--color-bg-soft) 100%);
    overflow-x: hidden;
    overflow-wrap: break-word; /* Evita que textos largos rompan los márgenes */
    word-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
    scroll-margin-top: 116px;
}

.container {
    width: min(1220px, calc(100% - 48px)); /* Aumentamos el margen a 24px por lado para que no choque con los bordes en celular */
    margin: 0 auto;
}

.btn-primary,
.btn-location,
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    gap: 10px;
    min-height: 58px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.015em;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}

.btn-primary::before,
.btn-location::before,
.footer-cta::before,
.llamar-flotante::before,
.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -20%;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.34) 48%, rgba(255, 255, 255, 0) 72%);
    transform: translateX(-140%) rotate(12deg);
    transition: transform 0.9s ease;
    pointer-events: none;
}

.btn-primary > *,
.btn-location > *,
.footer-cta > *,
.llamar-flotante > *,
.whatsapp-float > * {
    position: relative;
    z-index: 1;
}

.btn-primary i,
.btn-location i,
.footer-cta i,
.llamar-flotante i,
.whatsapp-float i {
    transition: transform 0.35s ease;
}

.btn-primary:hover,
.btn-location:hover,
.footer-cta:hover {
    transform: translateY(-4px) scale(1.01);
}

.btn-primary:hover::before,
.btn-location:hover::before,
.footer-cta:hover::before,
.llamar-flotante:hover::before,
.whatsapp-float:hover::before {
    transform: translateX(140%) rotate(12deg);
}

.btn-primary:hover i,
.btn-location:hover i,
.footer-cta:hover i {
    transform: translateX(3px) scale(1.06);
}

.btn-primary {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    box-shadow: 0 18px 44px rgba(37, 99, 235, 0.28);
}

.btn-location {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.24);
}

.whatsapp-hero,
.footer-cta-whatsapp {
    animation: buttonFloat 4.8s ease-in-out infinite;
}

.btn-location,
.footer-cta-location {
    animation: buttonFloat 5.6s ease-in-out infinite;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92)),
        radial-gradient(circle at 18% 22%, rgba(37, 99, 235, 0.14), transparent 25%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 16px 40px rgba(2, 8, 22, 0.22);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(1180px, calc(100% - 28px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.3), rgba(96, 165, 250, 0.3), rgba(96, 165, 250, 0));
}

.site-header.is-condensed {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.95)),
        radial-gradient(circle at 78% 0%, rgba(37, 99, 235, 0.12), transparent 24%);
    box-shadow: 0 12px 30px rgba(2, 8, 22, 0.26);
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 16px 0;
    transition: padding var(--transition-fast);
}

.site-header.is-condensed .header-container {
    padding: 11px 0;
}

.hero-stage {
    width: 100%;
}

.logo,
.footer-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.94) 62%, rgba(232, 240, 252, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        0 18px 40px rgba(4, 11, 24, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.logo::before,
.footer-brand::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 22px;
    border: 1px solid rgba(27, 109, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(241, 246, 255, 0.38));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
    pointer-events: none;
}

.main-logo,
.footer-logo {
    position: relative;
    z-index: 1;
    width: 78px;
    height: 78px;
    padding: 2px;
    object-fit: contain;
    transform: scale(1.04);
    filter: drop-shadow(0 10px 16px rgba(8, 31, 74, 0.12)) saturate(1.04) contrast(1.03);
    transition: width var(--transition-fast), height var(--transition-fast), transform var(--transition-fast);
}

.site-header.is-condensed .main-logo {
    width: 68px;
    height: 68px;
}

.logo:hover .main-logo,
.footer-brand:hover .footer-logo {
    transform: scale(1.08);
}

.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76);
    font-family: var(--font-display);
    font-size: 1.08rem;
    letter-spacing: 0.08em;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.main-nav a:hover {
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.main-nav a.active,
.main-nav a[aria-current="page"] {
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.2), rgba(148, 163, 184, 0.14));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 28px rgba(2, 8, 22, 0.18);
}

.main-nav a.active::after,
.main-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 142px 0 118px;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.hero::before {
    content: "";
    position: absolute;
    top: 88px;
    right: -140px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 109, 255, 0.18) 0%, rgba(27, 109, 255, 0.06) 28%, rgba(27, 109, 255, 0) 68%);
    filter: blur(10px);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 180px;
    background: linear-gradient(180deg, rgba(7, 19, 34, 0) 0%, var(--color-bg) 100%);
    clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 100%);
}

.hero-background,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-background {
    z-index: 0;
}

.hero-background .media-slide {
    object-fit: cover;
    filter: saturate(1.04) brightness(0.76) contrast(1.04);
}

.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(115deg, rgba(15, 23, 42, 0.82) 12%, rgba(15, 23, 42, 0.58) 48%, rgba(15, 23, 42, 0.28) 100%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.22) 100%),
        radial-gradient(circle at 16% 28%, rgba(37, 99, 235, 0.16), transparent 28%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
    gap: 54px;
    align-items: center;
}

.hero-text {
    position: relative;
    padding-left: 28px;
}

.hero-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 28px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 0 24px rgba(27, 109, 255, 0.32);
}

.hero-text h1 {
    max-width: 820px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 6rem);
    line-height: 0.88;
    letter-spacing: 0.035em;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    text-wrap: balance;
}

.hero-text .subtitle {
    max-width: 580px;
    margin: 22px 0 28px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.12rem, 2vw, 1.44rem);
    font-weight: 600;
    line-height: 1.8;
    text-wrap: pretty;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.whatsapp-hero {
    background: linear-gradient(135deg, #16a34a, #25d366);
    box-shadow: 0 20px 48px rgba(37, 211, 102, 0.28);
}

.cta-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.cta-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.94rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
}

.cta-proof i {
    color: #86efac;
}

.google-badge-clean {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 253, 0.94));
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 48px rgba(2, 10, 24, 0.18);
    backdrop-filter: blur(14px);
}

.google-badge-clean span strong {
    font-size: 1.28rem;
    color: var(--color-primary-deep);
}

.google-badge-icon {
    color: #4285f4;
    font-size: 1.5rem;
}

.yellow,
.stars i {
    color: var(--color-gold);
}

.hero-stage {
    position: relative;
    display: grid;
    gap: 18px;
}

.hero-stage::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    width: 170px;
    height: 170px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.16), rgba(148, 163, 184, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.08);
    filter: blur(2px);
}

.hero-stage-media {
    width: min(100%, 500px);
}

.hero-stage-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    justify-self: start;
    padding: 16px 20px;
    border-radius: 999px;
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.hero-rating {
    font-family: var(--font-display);
    font-size: 2.3rem;
    line-height: 1;
    letter-spacing: 0.04em;
}

.hero-rating-copy {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.media-frame,
.evo-img-box {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--radius-lg);
}

.media-frame {
    min-height: 580px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(145deg, rgba(7, 17, 31, 0.78), rgba(9, 27, 62, 0.88));
    box-shadow: var(--shadow-lg);
}

.media-frame::before,
.evo-img-box::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    z-index: 2;
    pointer-events: none;
}

.media-frame::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
    z-index: 3;
}

.media-rotator {
    position: relative;
}

.media-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s ease, transform 6s ease;
}

.media-slide.is-active {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
}

.media-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    opacity: 0;
    visibility: hidden;
    background:
        linear-gradient(145deg, rgba(7, 17, 31, 0.78), rgba(9, 27, 62, 0.86)),
        radial-gradient(circle at 20% 20%, rgba(27, 109, 255, 0.22), transparent 28%),
        radial-gradient(circle at 80% 18%, rgba(148, 163, 184, 0.18), transparent 24%);
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.media-rotator.is-empty .media-fallback {
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.media-fallback i {
    font-size: 2.3rem;
}

.media-dots,
.review-dots {
    display: none !important;
}

.media-dots {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 4;
}

.media-dot,
.review-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    appearance: none;
    cursor: pointer;
    transition: width var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.media-dot.is-active,
.review-dot.is-active {
    width: 38px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.section-title {
    display: grid;
    gap: 12px;
    justify-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 0.95;
    letter-spacing: 0.07em;
    text-wrap: balance;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 98px;
    height: 5px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.section-title .desc {
    max-width: 720px;
    color: var(--color-text-soft);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
    text-wrap: pretty;
}

.title-white {
    color: var(--color-white) !important;
}

.nosotros,
.evolucion,
.servicios,
.galeria,
.resenas,
.seguridad,
.contacto {
    overflow: hidden;
}

.nosotros {
    padding: 108px 0;
}

.nosotros::before {
    content: "";
    position: absolute;
    top: 40px;
    left: -120px;
    width: 290px;
    height: 290px;
    border-radius: 38px;
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.08), rgba(148, 163, 184, 0.05));
    transform: rotate(18deg);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
    gap: 56px;
    align-items: center;
}

.about-text {
    position: relative;
    padding: 48px clamp(28px, 3vw, 44px);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(27, 109, 255, 0.08), transparent 30%);
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-md);
}

.about-text::before {
    content: "";
    position: absolute;
    left: 32px;
    right: 32px;
    top: 0;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.about-text h3 {
    margin-bottom: 22px;
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: 0.03em;
}

.about-text p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.86;
    text-wrap: pretty;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.about-tags span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    color: var(--color-primary-deep);
    font-weight: 800;
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.1), rgba(148, 163, 184, 0.08));
    border: 1px solid rgba(27, 109, 255, 0.12);
    box-shadow: 0 14px 30px rgba(12, 34, 72, 0.08);
}

.about-media {
    position: relative;
}

.about-media::before {
    content: "";
    position: absolute;
    top: -34px;
    left: -34px;
    width: 188px;
    height: 188px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.16), rgba(148, 163, 184, 0.12));
    filter: blur(2px);
    z-index: -1;
}

.evolucion {
    padding: 110px 0;
    color: var(--color-white);
    background:
        radial-gradient(circle at 18% 10%, rgba(37, 99, 235, 0.18), transparent 24%),
        radial-gradient(circle at 86% 14%, rgba(148, 163, 184, 0.12), transparent 22%),
        linear-gradient(135deg, #0a101f 0%, #0e1b34 52%, #0a111f 100%);
}

.evolucion .section-title .desc,
.evo-text p {
    color: rgba(255, 255, 255, 0.92);
}

.evolution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.evo-card {
    position: relative;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.evo-card::after {
    display: none !important;
}

.evo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.18);
}

.evo-img-box {
    min-height: 340px;
    background: rgba(4, 12, 24, 0.82);
}

.evo-year {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 4;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--color-white);
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    box-shadow: 0 16px 35px rgba(27, 109, 255, 0.26);
}

.evo-year.red-bg {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-soft));
    box-shadow: 0 16px 35px rgba(51, 65, 85, 0.2);
}

.evo-year {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.evo-card:hover .evo-year {
    transform: translateY(-4px) scale(1.03);
}

.evo-text {
    padding: 28px 12px 12px;
}

.evo-text h3 {
    margin-bottom: 12px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 2.05rem;
    line-height: 0.98;
    letter-spacing: 0.03em;
    text-wrap: balance;
}

.evo-text p {
    line-height: 1.85;
    text-wrap: pretty;
}

.servicios {
    padding: 108px 0 118px;
    background:
        radial-gradient(circle at 18% 0%, rgba(27, 109, 255, 0.12), transparent 22%),
        radial-gradient(circle at 82% 8%, rgba(148, 163, 184, 0.1), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(238, 244, 251, 0.94) 100%);
}

.servicios::after,
.resenas::after,
.contacto::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(26px);
    opacity: 0.65;
    pointer-events: none;
    animation: ambientLight 8.5s ease-in-out infinite alternate;
}

.servicios::after {
    top: 90px;
    right: -70px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(27, 109, 255, 0.18), rgba(27, 109, 255, 0) 70%);
}

.resenas::after {
    left: -40px;
    bottom: 80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.16), rgba(148, 163, 184, 0) 70%);
}

.contacto::after {
    right: 8%;
    top: 60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(97, 185, 255, 0.18), rgba(97, 185, 255, 0) 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 36px 30px 34px;
    border-radius: 36px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(27, 109, 255, 0.08), transparent 26%);
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-soft));
}

.service-card::after {
    display: none !important;
}

.border-blue::before {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-soft));
}

.border-red::before {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-soft));
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 74px rgba(10, 28, 56, 0.16);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 102px;
    height: 102px;
    margin-bottom: 24px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.16), rgba(97, 185, 255, 0.12));
    border: 1px solid rgba(27, 109, 255, 0.12);
    box-shadow: 0 18px 38px rgba(27, 109, 255, 0.14);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-icon-shell::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
}

.service-icon-shell.red {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(148, 163, 184, 0.10));
    border-color: rgba(37, 99, 235, 0.10);
}

.service-icon-shell.red::before {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-soft));
}

.service-icon {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    font-size: 2.25rem;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.service-card:hover .service-icon-shell {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 26px 48px rgba(27, 109, 255, 0.18);
}

.service-card h4 {
    max-width: 11ch;
    margin-bottom: 14px;
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: clamp(1.92rem, 2.5vw, 2.2rem);
    line-height: 0.96;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

.service-card p {
    margin-top: auto;
    color: var(--color-text-soft);
    font-size: 1.03rem;
    line-height: 1.84;
    text-wrap: pretty;
}

.galeria {
    padding: 110px 0 118px;
    background:
        radial-gradient(circle at 12% 0%, rgba(27, 109, 255, 0.14), transparent 22%),
        radial-gradient(circle at 88% 8%, rgba(148, 163, 184, 0.1), transparent 18%),
        linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 240, 249, 0.95) 100%);
}

.galeria::before {
    content: "";
    position: absolute;
    left: -80px;
    top: 70px;
    width: 220px;
    height: 220px;
    border-radius: 42px;
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.08), rgba(148, 163, 184, 0.05));
    transform: rotate(16deg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 30px;
    align-items: stretch;
}

.gallery-stack {
    display: grid;
    gap: 30px;
}

.gallery-card {
    position: relative;
    display: grid;
    gap: 22px;
    padding: 22px;
    border-radius: 38px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(27, 109, 255, 0.08), transparent 28%);
    border: 1px solid rgba(17, 32, 58, 0.08);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.gallery-card::after {
    display: none !important;
}

.gallery-card:hover {
    transform: translateY(-10px);
    border-color: rgba(27, 109, 255, 0.14);
    box-shadow: 0 30px 76px rgba(10, 28, 56, 0.16);
}

.gallery-card > * {
    position: relative;
    z-index: 1;
}

.gallery-card-feature {
    grid-template-rows: 420px auto;
}

.gallery-card-compact {
    grid-template-rows: minmax(250px, auto) auto;
}

.gallery-media {
    min-height: 100%;
}

.gallery-media.media-frame {
    min-height: 100%;
    background: linear-gradient(145deg, rgba(7, 17, 31, 0.82), rgba(9, 27, 62, 0.9));
}

.gallery-copy {
    display: grid;
    gap: 10px;
    align-content: start;
}

.gallery-copy h3 {
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 0.96;
    letter-spacing: 0.03em;
    text-wrap: balance;
}

.gallery-copy p {
    color: var(--color-text-soft);
    font-size: 1rem;
    line-height: 1.82;
    text-wrap: pretty;
}

.gallery-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--color-white);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-soft));
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.gallery-copy-compact h3 {
    font-size: clamp(1.7rem, 2.5vw, 2.05rem);
}

.resenas {
    padding: 112px 0;
    color: var(--color-white);
    background:
        radial-gradient(circle at 8% 8%, rgba(37, 99, 235, 0.2), transparent 24%),
        radial-gradient(circle at 92% 10%, rgba(148, 163, 184, 0.12), transparent 20%),
        linear-gradient(135deg, #0a111f 0%, #0e2040 54%, #10112a 100%);
}

.resenas .container {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.resenas .section-title {
    justify-items: start;
    text-align: left;
    margin: 0;
    padding: 28px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.resenas .section-title h2 {
    max-width: 10ch;
    color: var(--color-white);
}

.resenas .section-title .desc {
    max-width: 18ch;
    color: rgba(255, 255, 255, 0.76);
}

.reviews-carousel {
    min-width: 0;
}

.reviews-viewport {
    overflow: hidden;
    padding: 16px 0 20px;
}

.reviews-track {
    display: flex;
    gap: 28px;
    width: max-content;
    align-items: stretch;
    transition: transform var(--transition-slow);
    will-change: transform;
}

.review-card {
    position: relative;
    width: min(78vw, 360px);
    min-height: auto;
    padding: 34px 32px 30px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.94));
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
    flex: 0 0 auto;
    transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
}

.review-card::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    right: 18px;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: rgba(27, 109, 255, 0.08);
}

.review-card::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 20px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0.7;
}

.review-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 74px rgba(0, 0, 0, 0.26);
}

.review-card.is-current {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 74px rgba(0, 0, 0, 0.28);
    opacity: 1;
}

.review-card.is-near {
    transform: translateY(-2px);
}

.review-card:not(.is-current) {
    opacity: 0.9;
}

.review-card.is-clone {
    pointer-events: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 20px;
    color: var(--color-white);
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    box-shadow: 0 14px 30px rgba(27, 109, 255, 0.22);
}

.avatar.blue-bg {
    background: linear-gradient(135deg, #337fff, #74bcff);
}

.avatar.red-bg {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-soft));
    box-shadow: 0 14px 30px rgba(51, 65, 85, 0.18);
}

.user-info h4 {
    margin-bottom: 6px;
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

.stars {
    display: flex;
    gap: 2px;
    font-size: 1rem;
}

.google-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    font-size: 1.75rem;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(234, 67, 53, 0.08));
    border: 1px solid rgba(66, 133, 244, 0.08);
    background-clip: padding-box;
    -webkit-background-clip: text;
    color: transparent;
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.review-card:hover .google-icon {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 10px 22px rgba(27, 109, 255, 0.18));
}

.review-text {
    padding-bottom: 18px;
    color: var(--color-text-soft);
    font-size: 1.04rem;
    line-height: 1.84;
    text-wrap: pretty;
}

.review-dots {
    justify-content: center;
    margin-top: 8px;
}

.header-cta {
    justify-self: end;
}

.logo,
.footer-brand {
    isolation: isolate;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.logo::after,
.footer-brand::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 34px;
    background: radial-gradient(circle, rgba(27, 109, 255, 0.16), rgba(148, 163, 184, 0) 70%);
    filter: blur(18px);
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: -1;
}

.logo:hover,
.footer-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(4, 11, 24, 0.24);
}

.logo:hover::after,
.footer-brand:hover::after {
    opacity: 1;
}

.seguridad {
    padding: 112px 0;
    color: var(--color-white);
    background:
        radial-gradient(circle at 14% 14%, rgba(37, 99, 235, 0.2), transparent 24%),
        radial-gradient(circle at 88% 10%, rgba(148, 163, 184, 0.12), transparent 20%),
        linear-gradient(135deg, #0a111f 0%, #0e2040 56%, #10112a 100%);
}

.seguridad::before {
    content: "";
    position: absolute;
    top: 50px;
    right: -90px;
    width: 280px;
    height: 280px;
    border-radius: 42px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    transform: rotate(16deg);
}

.seguridad .section-title {
    margin-bottom: 48px;
}

.seguridad .section-title h2 {
    color: var(--color-white);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.security-item {
    position: relative;
    padding: 36px 30px 32px;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
        radial-gradient(circle at 100% 0%, rgba(27, 109, 255, 0.14), transparent 34%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.security-item::before {
    display: none !important;
}

.step-label {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    letter-spacing: 0.1em;
}

.security-icon-wrapper {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin-bottom: 26px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.94), rgba(97, 185, 255, 0.9));
    box-shadow: 0 22px 40px rgba(27, 109, 255, 0.24);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.security-item:nth-child(2) .security-icon-wrapper {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.94), rgba(96, 165, 250, 0.9));
    box-shadow: 0 22px 40px rgba(37, 99, 235, 0.2);
}

.security-icon {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    font-size: 2rem;
}

.security-item h3 {
    margin-bottom: 14px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 0.94;
    letter-spacing: 0.04em;
    text-wrap: balance;
}

.security-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 74px rgba(0, 0, 0, 0.28);
}

.security-item:hover .security-icon-wrapper {
    transform: translateY(-4px) scale(1.03);
}

.security-item p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.82;
    text-wrap: pretty;
}

.contacto {
    padding: 112px 0 118px;
}

.contacto-container {
    display: grid;
    grid-template-columns: minmax(320px, 470px) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.contacto-info {
    position: relative;
    padding: 44px;
    border-radius: 40px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(148, 163, 184, 0.08), transparent 26%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contacto-info::before {
    content: "";
    position: absolute;
    inset: auto -70px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.08), rgba(148, 163, 184, 0.06));
    transform: rotate(18deg);
}

.contacto-info h2 {
    position: relative;
    margin-bottom: 30px;
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.4rem);
    line-height: 0.92;
    letter-spacing: 0.04em;
    max-width: 11ch;
    text-wrap: balance;
}

.contact-list {
    position: relative;
    display: grid;
    gap: 0;
    margin-bottom: 26px;
}

.contact-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 20px 0;
}

.contact-list li + li {
    border-top: 1px solid rgba(17, 32, 58, 0.08);
}

.c-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    color: var(--color-white);
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    box-shadow: 0 18px 34px rgba(27, 109, 255, 0.18);
}

.c-icon.c-red {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-soft));
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.14);
}

.address-text {
    color: var(--color-text-soft);
    font-size: 1rem;
    line-height: 1.65;
}

.address-text strong {
    display: block;
    margin-bottom: 2px;
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 0.96;
    letter-spacing: 0.02em;
}

.contact-list a {
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 0.96;
    letter-spacing: 0.02em;
}

.contact-list a:hover {
    color: var(--color-primary);
}

.whatsapp-panel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    padding: 22px 24px;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(16, 185, 129, 0.08)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.84));
    border: 1px solid rgba(34, 197, 94, 0.22);
    box-shadow: 0 22px 54px rgba(19, 124, 61, 0.12);
    overflow: hidden;
}

.whatsapp-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.38) 48%, rgba(255, 255, 255, 0) 74%);
    transform: translateX(-120%);
    transition: transform 0.85s ease;
}

.whatsapp-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 64px rgba(19, 124, 61, 0.16);
    border-color: rgba(34, 197, 94, 0.34);
}

.whatsapp-panel:hover::after {
    transform: translateX(120%);
}

.whatsapp-panel-icon,
.whatsapp-panel-arrow {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

.whatsapp-panel-icon {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    color: var(--color-white);
    font-size: 1.85rem;
    background: linear-gradient(135deg, #18b95a, #51db8a);
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.22);
}

.whatsapp-panel-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
}

.whatsapp-panel-copy strong {
    color: #0b5f28;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.2;
}

.whatsapp-panel-copy small {
    color: rgba(11, 95, 40, 0.76);
    font-size: 0.95rem;
    line-height: 1.58;
}

.whatsapp-panel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: #119346;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(11, 95, 40, 0.08);
}

.horarios {
    position: relative;
    padding: 28px 24px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(27, 109, 255, 0.06), rgba(148, 163, 184, 0.05)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 252, 255, 0.88));
    border: 1px solid rgba(27, 109, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.horarios h4 {
    margin-bottom: 10px;
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 0.96;
    letter-spacing: 0.02em;
}

.horarios p {
    color: var(--color-text-soft);
    font-size: 1.04rem;
    line-height: 1.84;
}

.contacto-map {
    position: relative;
    min-height: 560px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.1));
}

.contacto-map::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    pointer-events: none;
    z-index: 2;
}

.contacto-map::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -36px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.24), rgba(148, 163, 184, 0) 70%);
    filter: blur(20px);
    pointer-events: none;
}

.contacto-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    filter: saturate(1.02) contrast(1.02);
}

footer {
    position: relative;
    color: var(--color-white);
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.18), transparent 24%),
        radial-gradient(circle at 90% 0%, rgba(148, 163, 184, 0.12), transparent 20%),
        linear-gradient(135deg, #0a111f 0%, #0e1d38 55%, #10102a 100%);
}

footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(1180px, calc(100% - 32px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.3), rgba(148, 163, 184, 0.22), rgba(37, 99, 235, 0));
}

footer::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: 20px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0) 72%);
    filter: blur(24px);
    pointer-events: none;
    animation: ambientLight 9s ease-in-out infinite alternate;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(240px, 1fr) minmax(240px, 320px);
    align-items: start;
    gap: 30px;
    padding: 40px 0 34px;
}

.footer-brand {
    min-width: 104px;
}

.footer-brand-block {
    display: grid;
    gap: 18px;
    align-content: start;
}

.footer-tag {
    max-width: 24ch;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.72;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.footer-links a:hover {
    color: var(--color-white);
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.24), rgba(148, 163, 184, 0.18));
}

.footer-actions {
    display: grid;
    gap: 14px;
    align-content: start;
}

.footer-cta {
    min-height: 56px;
    padding: 0 22px;
    border-radius: 20px;
    color: var(--color-white);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.footer-cta-whatsapp {
    background: linear-gradient(135deg, rgba(24, 185, 90, 0.98), rgba(81, 219, 138, 0.92));
}

.footer-cta-location {
    background: linear-gradient(135deg, rgba(27, 109, 255, 0.98), rgba(97, 185, 255, 0.92));
}

.footer-meta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 20px;
    align-items: center;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
    display: grid;
    gap: 12px;
}

.footer-copy p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.98rem;
    line-height: 1.76;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.12rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(148, 163, 184, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.footer-phone:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.24);
}

.footer-rating p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 58px;
    padding: 0 22px;
    border-radius: 999px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 0 22px;
}

.footer-bottom-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.footer-bottom-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(8, 31, 74, 0.2));
}

.footer-bottom-copy,
.footer-credit {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-credit {
    justify-self: end;
}

.llamar-flotante,
.whatsapp-float {
    position: fixed;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
}

.llamar-flotante {
    top: 50%;
    right: 18px;
    gap: 10px;
    min-height: 62px;
    padding: 0 22px;
    border-radius: 20px;
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.94), rgba(51, 65, 85, 0.90));
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.22);
    transform: translateY(-50%);
    animation: callAttention 3.6s ease-in-out infinite;
}

.llamar-flotante:hover {
    transform: translateY(-50%) translateX(-4px);
    box-shadow: 0 28px 62px rgba(15, 23, 42, 0.28);
}

.llamar-flotante:hover i,
.whatsapp-float:hover i {
    transform: scale(1.08) rotate(-8deg);
}

.whatsapp-float {
    right: 22px;
    bottom: 22px;
    width: 74px;
    height: 74px;
    border-radius: 24px;
    color: var(--color-white);
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(24, 185, 90, 0.98), rgba(81, 219, 138, 0.94));
    box-shadow: 0 24px 60px rgba(24, 185, 90, 0.28);
    animation: whatsappPulse 2.8s ease-in-out infinite, buttonFloat 4.6s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.03);
    animation-play-state: paused;
}

@keyframes buttonFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes callAttention {
    0%,
    100% {
        transform: translateY(-50%);
        box-shadow: 0 24px 54px rgba(15, 23, 42, 0.22);
    }
    50% {
        transform: translateY(calc(-50% - 4px));
        box-shadow: 0 30px 66px rgba(15, 23, 42, 0.3);
    }
}

@keyframes ambientLight {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.46;
    }
    100% {
        transform: translate3d(10px, -12px, 0) scale(1.08);
        opacity: 0.82;
    }
}

@keyframes cardLightDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.72;
    }
    50% {
        transform: translate3d(-12px, -10px, 0) scale(1.08);
        opacity: 1;
    }
}

@keyframes whatsappPulse {
    0%,
    100% {
        box-shadow: 0 24px 60px rgba(24, 185, 90, 0.28), 0 0 0 0 rgba(24, 185, 90, 0.18);
    }
    50% {
        box-shadow: 0 28px 70px rgba(24, 185, 90, 0.34), 0 0 0 16px rgba(24, 185, 90, 0);
    }
}

.reveal-item {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(8px);
    transition:
        opacity 0.75s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.75s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* =============================================
   NAV TOGGLE (hamburger) – siempre presente
   ============================================= */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background var(--transition-fast);
    order: -1;
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.14);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-white);
    transition: transform 0.32s ease, opacity 0.22s ease, width 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   1100px – tabletas grandes
   ============================================= */
@media (max-width: 1100px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
    }

    .hero-content,
    .about-grid,
    .gallery-grid,
    .contacto-container,
    .resenas .container,
    .services-grid,
    .evolution-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 134px 0 92px;
    }

    .hero-stage,
    .about-media,
    .gallery-stack {
        max-width: 760px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================
   780px – móviles grandes / tabletas pequeñas
   ============================================= */
@media (max-width: 780px) {
    html {
        scroll-padding-top: 72px;
    }

    section {
        scroll-margin-top: 72px;
    }

    /* ---- Header móvil con menú hamburguesa ---- */
    .header-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        position: relative;
    }

    .logo {
        flex: 0 0 auto;
        margin-right: auto;
    }

    .main-logo,
    .footer-logo {
        width: 58px;
        height: 58px;
    }

    .nav-toggle {
        display: flex;
    }

    .header-cta {
        display: none; /* se mueve dentro del nav en móvil */
    }

    /* Nav desplegable */
    .main-nav {
        order: 10;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.42s cubic-bezier(0.22,1,0.36,1), opacity 0.32s ease;
        opacity: 0;
        pointer-events: none;
    }

    .main-nav.is-open {
        max-height: 600px;
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 14px 0 20px;
    }

    .main-nav a {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-height: 52px;
        padding: 12px 18px;
        border-radius: 14px;
        font-size: 1.08rem;
        border: 1px solid rgba(255,255,255,0.07);
        background: rgba(255,255,255,0.05);
    }

    .main-nav a:active {
        background: rgba(27,109,255,0.18);
    }

    /* CTA de WhatsApp dentro del menú en móvil */
    .main-nav ul::after {
        content: "";
        display: block;
        height: 1px;
        background: rgba(255,255,255,0.08);
        margin: 4px 0 2px;
    }

    /* ---- Hero ---- */
    .hero {
        padding: 100px 0 72px;
    }

    .hero-text {
        text-align: center;
        padding-left: 0;
    }

    .hero-text::before {
        display: none;
    }

    .hero-text h1 {
        font-size: clamp(2.4rem, 8vw, 3.6rem);
        line-height: 1.05;
    }

    .hero-text .subtitle {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        margin: 16px 0 22px;
    }

    .hero-btns {
        justify-content: center;
    }

    .whatsapp-hero {
        font-size: 0.9rem;
        padding: 12px 18px;
        min-height: 52px;
    }

    .cta-proof {
        justify-content: center;
        gap: 8px;
    }

    .cta-proof span {
        font-size: 0.84rem;
        padding: 8px 12px;
    }

    .google-badge-clean {
        margin: 20px auto 0;
    }

    .hero-stage {
        max-width: 480px;
        margin: 0 auto;
    }

    .media-frame {
        min-height: 320px;
    }

    /* ---- Secciones generales ---- */
    .nosotros        { padding: 72px 0; }
    .evolucion       { padding: 72px 0; }
    .servicios       { padding: 72px 0 82px; }
    .galeria         { padding: 72px 0 82px; }
    .resenas         { padding: 72px 0; }
    .seguridad       { padding: 72px 0; }
    .contacto        { padding: 72px 0 82px; }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    /* ---- Nosotros ---- */
    .about-text {
        padding: 32px 28px;
    }

    .about-text h3 {
        font-size: clamp(1.7rem, 5.5vw, 2.2rem);
    }

    /* ---- Servicios 2 columnas ---- */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .service-card {
        padding: 26px 22px 24px;
    }

    .service-icon-shell {
        width: 76px;
        height: 76px;
        margin-bottom: 16px;
    }

    .service-card h4 {
        font-size: clamp(1.5rem, 4.5vw, 1.9rem);
    }

    /* ---- Reseñas ---- */
    .resenas .container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .resenas .section-title {
        text-align: center;
        justify-items: center;
        max-width: none;
        padding: 24px;
    }

    .resenas .section-title h2,
    .resenas .section-title .desc {
        max-width: none;
    }

    .review-card {
        width: min(85vw, 340px);
    }

    .reviews-viewport {
        padding-top: 8px;
    }

    /* ---- Seguridad ---- */
    .security-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* ---- Contacto ---- */
    .contacto-info {
        padding: 32px 26px;
    }

    .contacto-info h2 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    .contact-list a,
    .address-text strong {
        font-size: 1.6rem;
    }

    .contacto-map,
    .contacto-map iframe {
        min-height: 360px;
    }

    /* ---- Footer ---- */
    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 22px;
        padding-bottom: 110px;
    }

    .footer-tag {
        max-width: none;
    }

    .footer-links,
    .footer-actions,
    .footer-meta {
        width: 100%;
    }

    .footer-meta {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 14px;
    }

    .footer-credit {
        justify-self: center;
    }

    /* ---- Botones flotantes ---- */
    .llamar-flotante {
        top: auto;
        right: 16px;
        bottom: 100px;
        transform: none;
        animation: callAttentionMobile 3.6s ease-in-out infinite;
    }

    .llamar-flotante:hover {
        transform: translateY(-4px);
    }

    @keyframes callAttentionMobile {
        0%, 100% { box-shadow: 0 24px 54px rgba(220,38,38,0.22); }
        50%       { box-shadow: 0 30px 66px rgba(220,38,38,0.30); transform: translateY(-3px); }
    }
}

/* =============================================
   560px – móviles pequeños
   ============================================= */
@media (max-width: 560px) {
    .container {
        width: min(100%, calc(100% - 40px)); /* Asegurar márgenes amplios en pantallas muy pequeñas */
    }

    /* ---- Mejorar lectura en celulares ---- */
    p, li, .about-text p, .service-card p, .faq-item p {
        font-size: 1.05rem !important;
        line-height: 1.65 !important;
    }

    /* ---- Hero ---- */
    .hero {
        padding: 90px 0 60px;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.08;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .whatsapp-hero {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }

    .cta-proof {
        flex-direction: column;
        align-items: center;
    }

    .cta-proof span {
        width: 100%;
        justify-content: center;
    }

    /* ---- Servicios 1 columna en muy pequeño ---- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }

    /* ---- Galería ---- */
    .gallery-card {
        padding: 16px;
    }

    .gallery-media.media-frame {
        min-height: 240px;
    }
    .gallery-card-feature .gallery-media.media-frame {
        min-height: 420px;
    }

    .gallery-copy h3 {
        font-size: clamp(1.5rem, 5.5vw, 1.8rem);
    }

    /* ---- Reseñas ---- */
    .review-card {
        width: min(90vw, 320px);
        padding: 24px 20px;
        min-height: auto;
    }

    /* ---- Seguridad ---- */
    .security-item {
        padding: 28px 22px;
    }

    .security-item h3 {
        font-size: 1.7rem;
    }

    /* ---- Contacto ---- */
    .contacto-info {
        padding: 26px 20px;
    }

    .contacto-info h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
        max-width: none;
    }

    .contact-list a,
    .address-text strong {
        font-size: 1.4rem;
    }

    .whatsapp-panel {
        grid-template-columns: auto 1fr;
    }

    .whatsapp-panel-arrow {
        display: none;
    }

    .whatsapp-panel-copy strong {
        font-size: 1rem;
    }

    .contacto-map,
    .contacto-map iframe {
        min-height: 300px;
    }

    /* ---- Footer ---- */
    .footer-content {
        padding-bottom: 110px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .footer-actions .footer-cta {
        width: 100%;
    }

    .footer-meta {
        padding-top: 20px;
    }

    /* ---- Botones flotantes ícono solo ---- */
    .llamar-flotante,
    .whatsapp-float {
        width: 60px;
        height: 60px;
        min-height: 60px;
        padding: 0;
        border-radius: 20px;
    }

    .llamar-flotante {
        right: 14px;
        bottom: 90px;
        gap: 0;
        font-size: 0;
    }

    .llamar-flotante i {
        font-size: 1.4rem;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 18px;
        font-size: 1.75rem;
    }

    /* ---- Evo cards ---- */
    .evo-img-box {
        min-height: 240px;
    }

    .evo-text h3 {
        font-size: 1.7rem;
    }

    /* ---- About ---- */
    .about-text {
        padding: 26px 20px;
    }

    .about-text h3 {
        font-size: clamp(1.5rem, 6vw, 1.9rem);
    }

    .about-tags {
        gap: 10px;
    }

    .about-tags span {
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    /* ---- Horarios ---- */
    .horarios h4 {
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .media-slide,
    .reviews-track,
    .whatsapp-panel::after,
    .servicios::after,
    .resenas::after,
    .contacto::after,
    .evo-card::after,
    .service-card::after,
    .security-item::before,
    .reveal-item,
    .btn-primary,
    .btn-location,
    .footer-cta,
    .logo,
    .footer-brand,
    .llamar-flotante,
    .whatsapp-float,
    .nav-toggle,
    .nav-toggle-bar,
    .main-nav {
        transition: none !important;
        animation: none !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .main-nav.is-open {
        max-height: 600px;
        opacity: 1;
    }
    
}
/* --- ARREGLO DEL HUECO NEGRO EN CELULARES --- */
@media (max-width: 780px) {
    /* 1. Bajamos el relleno gigante de 100px a solo 40px */
    .about-section, .evolution-section {
        padding: 40px 0 !important; 
    }

    /* 2. Pegamos la sección Nosotros con Evolución */
    #nosotros {
        padding-bottom: 0 !important;
    }
    
    #evolucion {
        padding-top: 15px !important;
        margin-top: 0 !important;
    }

    /* 3. Reducimos el margen de los títulos para que no queden volando */
    .section-title, .section-lead {
        margin-bottom: 15px !important;
    }
    
    /* 4. Aseguramos que las cuadrículas no dejen espacio extra */
    .about-grid, .evolution-grid {
        gap: 20px !important;
    }
}
/* =========================================
   SOLUCIÓN FINAL: BLOQUEO LATERAL Y HUECO
   ========================================= */

/* 1. BLOQUEAR MOVIMIENTO LATERAL ESTRICTAMENTE */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative; /* Esto evita que los celulares ignoren el bloqueo */
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Evitamos que el mapa o las fotos rompan el ancho de la pantalla */
img, iframe, .container, section {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. CERRAR EL HUECO CON FUERZA BRUTA (MARGEN NEGATIVO) */
@media (max-width: 780px) {
    #nosotros {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    #evolucion {
        padding-top: 0 !important;
        /* MAGIA AQUÍ: Tiramos la sección hacia arriba a la fuerza */
        margin-top: -260px !important; 
    }

    /* Limpiamos cualquier margen invisible de los títulos y cajas */
    #nosotros .about-grid {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    #evolucion .section-title {
        margin-top: 0 !important;
    }
}

/* =========================================
   OPTIMIZACION MARKETING + SEO LOCAL
   ========================================= */

body {
    letter-spacing: 0;
    background: linear-gradient(180deg, #f8fbff 0%, #edf3f9 48%, #f7f9fc 100%) !important;
}

.hero::before,
.hero::after,
.hero-stage::before,
.hero-text::before,
.service-card::after,
.evo-card::after,
.security-item::before,
.contacto-map::after,
.servicios::after,
.resenas::after,
.about-media::before,
.galeria::before,
.contacto::after {
    display: none !important;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 17, 32, 0.9) 0%, rgba(5, 17, 32, 0.72) 46%, rgba(5, 17, 32, 0.36) 100%),
        linear-gradient(180deg, rgba(5, 17, 32, 0.18) 0%, rgba(5, 17, 32, 0.62) 100%) !important;
}

.hero {
    min-height: calc(100vh - 24px);
    padding: 126px 0 84px;
}

.hero-content {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.9fr);
    gap: 42px;
}

.hero-text {
    padding-left: 0;
}

.hero-text::before {
    display: none;
}

.hero-kicker,
.panel-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #dbeafe;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.18);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-text h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 6.2vw, 5.35rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.hero-text .subtitle {
    max-width: 660px;
    margin: 22px 0 26px;
    font-size: clamp(1.08rem, 1.45vw, 1.28rem);
    line-height: 1.65;
}

.hero-btns {
    align-items: center;
}

.btn-primary,
.btn-location,
.footer-cta,
.btn-secondary-ghost,
.service-inline-cta,
.service-link,
.service-shortcuts a {
    border-radius: 8px;
}

.whatsapp-hero,
.footer-cta-whatsapp,
.btn-location,
.footer-cta-location {
    animation: none !important;
}

.btn-secondary-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 14px 22px;
    color: var(--color-white);
    font-size: 0.98rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.btn-secondary-ghost:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.16);
}

.cta-proof span,
.google-badge-clean,
.hero-stage-card {
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(2, 10, 24, 0.16);
}

.hero-stage {
    align-self: stretch;
    align-content: center;
}

.hero-stage-media {
    width: 100%;
}

.media-frame,
.evo-img-box,
.hero-stage-media,
.about-text,
.evo-card,
.service-card,
.gallery-card,
.review-card,
.security-item,
.contacto-info,
.contacto-map,
.whatsapp-panel,
.faq-item,
.symptoms-panel,
.service-hero-media,
.service-detail article {
    border-radius: 8px !important;
}

.media-frame {
    min-height: clamp(420px, 60vh, 610px);
}

.service-card {
    padding: 30px 26px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(13, 33, 62, 0.09);
}

.service-card:hover,
.review-card:hover {
    transform: translateY(-6px);
}

.service-card p {
    margin-top: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    padding: 10px 12px;
    color: var(--color-primary-deep);
    font-size: 0.92rem;
    font-weight: 800;
    background: rgba(27, 109, 255, 0.08);
    border: 1px solid rgba(27, 109, 255, 0.12);
}

.service-link:hover {
    color: var(--color-white);
    background: var(--color-primary);
}

.service-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.service-shortcuts a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    color: var(--color-primary-deep);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 10px 28px rgba(13, 33, 62, 0.08);
}

.service-shortcuts a:hover {
    color: var(--color-white);
    background: var(--color-primary-deep);
}

.symptoms-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 42px;
    padding: 34px 38px;
    border-radius: 24px;
    color: var(--color-white);
    background: 
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.15), transparent 40%),
        linear-gradient(135deg, var(--color-primary-deep) 0%, #080b13 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.22);
}

.symptoms-panel .panel-label {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-soft));
    border: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.14);
}

.symptoms-panel h3 {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1;
}

.symptoms-list {
    display: grid;
    gap: 10px;
}

.symptoms-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.symptoms-list i {
    color: #86efac;
}

.symptoms-cta {
    white-space: nowrap;
    background: linear-gradient(135deg, #16a34a, #25d366) !important;
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.24) !important;
    border: none !important;
    color: white !important;
}

.symptoms-cta:hover {
    box-shadow: 0 20px 42px rgba(37, 211, 102, 0.32) !important;
    transform: translateY(-2px);
}

.faq-section {
    padding: 104px 0;
    background: #f7f9fc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.faq-item {
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(17, 32, 58, 0.08);
    box-shadow: 0 14px 36px rgba(13, 33, 62, 0.08);
}

.faq-item h3 {
    margin-bottom: 12px;
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1;
}

.faq-item p {
    color: var(--color-text-soft);
    line-height: 1.7;
}

.contacto-info h2,
.section-title h2,
.about-text h3,
.service-card h4,
.gallery-copy h3,
.security-item h3 {
    letter-spacing: 0;
}

/* Paginas SEO por servicio */
.service-page {
    background: #f7f9fc !important;
}

.service-page .site-header {
    position: sticky;
}

.service-hero {
    padding: 128px 0 84px;
    color: var(--color-white);
    background: #071322;
    overflow: hidden;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
    gap: 44px;
    align-items: center;
}

.service-hero-copy h1 {
    max-width: 760px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.6vw, 5rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.service-hero-copy p {
    max-width: 660px;
    margin: 22px 0 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    line-height: 1.7;
}

.service-page .btn-primary {
    background: linear-gradient(135deg, #16a34a, #25d366);
    box-shadow: 0 18px 42px rgba(37, 211, 102, 0.24);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 22px;
    color: #bfdbfe;
    font-weight: 800;
}

.service-hero-media {
    overflow: hidden;
    min-height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.service-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.service-detail {
    padding: 88px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-detail article {
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(17, 32, 58, 0.08);
    box-shadow: 0 14px 36px rgba(13, 33, 62, 0.08);
}

.service-detail h2,
.service-crosslinks h2 {
    margin-bottom: 18px;
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1;
    letter-spacing: 0;
}

.check-list,
.step-list {
    display: grid;
    gap: 13px;
}

.check-list li {
    display: flex;
    gap: 10px;
    color: var(--color-text-soft);
    font-weight: 700;
}

.check-list i {
    color: var(--color-whatsapp);
    margin-top: 5px;
}

.step-list {
    padding-left: 20px;
    color: var(--color-text-soft);
    font-weight: 700;
}

.service-inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 12px 14px;
    color: var(--color-white);
    font-weight: 800;
    background: var(--color-primary-deep);
}

.service-crosslinks {
    padding: 0 0 92px;
}

@media (max-width: 1100px) {
    .symptoms-panel,
    .service-hero-grid,
    .service-detail-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .symptoms-cta {
        width: fit-content;
    }

    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .hero {
        padding: 96px 0 60px;
    }

    .hero-content,
    .service-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-kicker,
    .panel-label {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-text h1 {
        font-size: clamp(2.4rem, 11vw, 3.6rem);
    }

    .btn-secondary-ghost {
        min-height: 52px;
        padding: 12px 16px;
    }

    .hero-stage {
        max-width: 100%;
    }

    .media-frame,
    .service-hero-media,
    .service-hero-media img {
        min-height: 340px;
    }

    .services-grid,
    .faq-grid {
        grid-template-columns: 1fr !important;
    }

    .service-shortcuts {
        flex-direction: column;
    }

    .service-shortcuts a,
    .symptoms-cta {
        width: 100%;
    }

    .symptoms-panel {
        padding: 24px;
        text-align: left;
    }

    .faq-section,
    .service-detail {
        padding: 72px 0;
    }

    .service-hero {
        padding: 104px 0 64px;
    }

    .service-hero-copy h1 {
        font-size: clamp(2.35rem, 10vw, 3.45rem);
    }

    #evolucion {
        margin-top: 0 !important;
        padding-top: 72px !important;
    }

    #nosotros {
        padding-bottom: 72px !important;
    }
}

/* =========================================
   REFINAMIENTO VISUAL Y MOVIL
   ========================================= */

:root {
    --color-secondary: #dc2626;
    --color-secondary-soft: #ef4444;
    --color-steel: #e2e8f0;
    --color-card-tint: #f8fbff;
    --color-blue-faint: #eff6ff;
    --color-blue-line: #bfdbfe;
}

body {
    background:
        linear-gradient(180deg, #f9fbff 0%, #f1f5f9 46%, #f8fafc 100%) !important;
}

.servicios {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.98)) !important;
}

.services-grid {
    gap: 20px;
}

.service-card {
    border: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.service-card::before,
.border-blue::before,
.border-red::before {
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-soft)) !important;
}

.service-icon-shell,
.service-icon-shell.red {
    width: 86px;
    height: 86px;
    background: var(--color-blue-faint) !important;
    border-color: var(--color-blue-line) !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.11);
}

.service-icon-shell::before,
.service-icon-shell.red::before {
    inset: 12px;
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
}

.service-card h4 {
    max-width: 14ch;
    font-size: clamp(1.65rem, 2vw, 1.95rem);
    line-height: 1.02;
}

.service-card p {
    font-size: 0.98rem;
    line-height: 1.75;
}

.service-link {
    margin-top: 18px;
    width: 100%;
    justify-content: space-between;
    background: #f1f5f9;
    border-color: #dbe7f7;
}

.service-shortcuts a {
    background: #ffffff;
    border-color: #dbe7f7;
}

.symptoms-panel {
    grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr) auto;
    color: var(--color-text);
    background:
        linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.98)) !important;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.symptoms-panel .panel-label {
    color: #1d4ed8;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    box-shadow: none;
}

.symptoms-panel h3 {
    color: var(--color-primary-deep);
}

.symptoms-list li {
    color: var(--color-text);
}

.symptoms-list i {
    color: var(--color-primary);
}

.llamar-flotante {
    background: linear-gradient(135deg, #1e293b, #334155);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
    animation: none !important;
}

.llamar-flotante:hover {
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.28);
}

.footer-cta-location,
.footer-phone {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.96), rgba(71, 85, 105, 0.9)) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
}

.footer-links a:hover {
    background: rgba(37, 99, 235, 0.18);
}

.review-card::after,
.section-title h2::after,
.about-text::before {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-soft)) !important;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .symptoms-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1220px);
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero,
    .hero-content,
    .hero-text,
    .service-hero,
    .service-hero-copy {
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .hero {
        padding: 92px 0 54px;
    }

    .hero-text {
        text-align: left;
    }

    .hero-kicker,
    .panel-label {
        max-width: 100%;
        width: 100%;
        justify-content: center;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.35;
    }

    .hero-text h1 {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 19ch;
        font-size: 1.92rem;
        line-height: 1.02;
        overflow-wrap: anywhere;
        word-break: normal;
        white-space: normal !important;
        text-wrap: wrap !important;
    }

    .hero-text .subtitle {
        width: 100%;
        min-width: 0;
        max-width: 32ch;
        font-size: 1rem;
        line-height: 1.55;
        overflow-wrap: anywhere;
        white-space: normal !important;
        text-wrap: wrap !important;
    }

    .hero-btns {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-secondary-ghost {
        width: 100%;
        min-height: 52px;
        white-space: normal;
    }

    .cta-proof {
        width: 100%;
    }

    .cta-proof span,
    .google-badge-clean {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .site-header {
        position: sticky;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .service-card {
        display: grid;
        grid-template-columns: 58px 1fr;
        gap: 12px 14px;
        align-items: center;
        padding: 18px;
    }

    .service-icon-shell,
    .service-icon-shell.red {
        grid-column: 1;
        grid-row: 1;
        width: 58px;
        height: 58px;
        margin: 0;
    }

    .service-icon-shell::before,
    .service-icon-shell.red::before {
        inset: 8px;
        border-radius: 8px;
    }

    .service-icon {
        font-size: 1.35rem;
    }

    .service-card h4 {
        grid-column: 2;
        margin: 0;
        max-width: none;
        font-size: 1.48rem;
        line-height: 1.02;
    }

    .service-card p,
    .service-card .service-link {
        grid-column: 1 / -1;
    }

    .service-card p {
        font-size: 0.94rem;
        line-height: 1.62;
    }

    .service-link {
        min-height: 48px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .service-shortcuts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    .service-shortcuts a {
        width: 100%;
        justify-content: flex-start;
        min-height: 48px;
        padding: 10px 12px;
        font-size: 0.93rem;
    }

    .symptoms-panel {
        margin-top: 22px;
        padding: 20px;
        gap: 16px;
    }

    .symptoms-panel .panel-label {
        margin: 0 0 10px;
        font-size: 0.72rem;
    }

    .symptoms-panel h3 {
        font-size: 1.7rem;
        line-height: 1.05;
    }

    .symptoms-list {
        gap: 8px;
    }

    .symptoms-list li {
        align-items: flex-start;
        font-size: 0.94rem;
        line-height: 1.45;
    }

    .symptoms-cta {
        justify-content: center;
        min-height: 52px;
        white-space: normal;
    }

    .llamar-flotante {
        display: none;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: 1.55rem;
        box-shadow: 0 16px 36px rgba(24, 185, 90, 0.24);
    }

    footer,
    .footer-content {
        padding-bottom: 92px;
    }

    .service-hero {
        padding: 92px 0 48px;
    }

    .service-hero-copy h1 {
        max-width: 18ch;
        font-size: 1.95rem;
        line-height: 1.04;
        overflow-wrap: anywhere;
        white-space: normal !important;
        text-wrap: wrap !important;
    }

    .service-hero-copy p {
        max-width: 32ch;
        font-size: 1rem;
        line-height: 1.6;
        overflow-wrap: anywhere;
        white-space: normal !important;
    }

    .service-hero .hero-btns {
        align-items: stretch;
    }

    .service-hero .btn-primary,
    .service-hero .btn-secondary-ghost {
        width: 100%;
    }

    .service-hero-media,
    .service-hero-media img {
        min-height: 240px;
    }

    .service-detail article {
        padding: 22px;
    }
}

/* =========================================
   PULIDO FINAL: COHERENCIA VISUAL Y MOBILE
   ========================================= */

* {
    letter-spacing: 0 !important;
}

body {
    background: linear-gradient(180deg, #f9fbff 0%, #eef4fb 48%, #f8fafc 100%) !important;
}

.main-nav a.active,
.main-nav a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(51, 65, 85, 0.16)) !important;
}

.evo-year.red-bg,
.avatar.red-bg,
.c-icon.c-red {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #475569) !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16) !important;
}

.llamar-flotante {
    background: linear-gradient(135deg, #1e293b, #334155) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22) !important;
}

.site-header {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92)),
        radial-gradient(circle at 78% 0%, rgba(37, 99, 235, 0.12), transparent 24%) !important;
}

.evolucion,
.resenas,
footer {
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.18), transparent 24%),
        radial-gradient(circle at 88% 4%, rgba(148, 163, 184, 0.13), transparent 22%),
        linear-gradient(135deg, #08111f 0%, #0d1f3a 54%, #0b1324 100%) !important;
}

.about-media::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(148, 163, 184, 0.12)) !important;
}

.gallery-label {
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14) !important;
}

footer::before {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.3), rgba(148, 163, 184, 0.22), rgba(37, 99, 235, 0)) !important;
}

.hero-kicker,
.panel-label {
    text-wrap: balance;
}

.hero-text h1,
.service-hero-copy h1,
.section-title h2 {
    text-wrap: balance;
}

@media (max-width: 780px) {
    .header-container {
        padding: 8px 16px;
    }

    .logo {
        padding: 8px;
        border-radius: 22px;
    }

    .logo::before {
        inset: 4px;
        border-radius: 16px;
    }

    .main-logo {
        width: 52px;
        height: 52px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .hero {
        padding: 86px 0 56px;
        min-height: auto;
    }

    .hero-text h1 {
        max-width: 18ch;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(2.2rem, 7.2vw, 3.05rem);
        line-height: 1.04;
    }

    .hero-text .subtitle {
        max-width: 38ch;
        margin-left: auto;
        margin-right: auto;
    }

    .google-badge-clean {
        max-width: 360px;
    }

    .hero-stage-card {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 8px 12px;
    }

    .main-logo {
        width: 48px;
        height: 48px;
    }

    .hero-text h1 {
        max-width: 19ch;
        font-size: 1.96rem;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-text .subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .google-badge-clean {
        max-width: 100%;
    }
}

/* =========================================
   IDENTIDAD AZUL + ROJO
   ========================================= */

:root {
    --color-primary: #2563eb;
    --color-primary-deep: #0f172a;
    --color-primary-soft: #60a5fa;
    --color-secondary: #dc2626;
    --color-secondary-soft: #ef4444;
    --color-red-deep: #991b1b;
    --color-red-faint: #fee2e2;
    --color-red-line: #fecaca;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.12), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(220, 38, 38, 0.09), transparent 22%),
        linear-gradient(180deg, #f9fbff 0%, #eef4fb 48%, #f8fafc 100%) !important;
}

.site-header {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92)),
        radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.13), transparent 24%),
        radial-gradient(circle at 86% 0%, rgba(220, 38, 38, 0.12), transparent 22%) !important;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 17, 32, 0.92) 0%, rgba(5, 17, 32, 0.74) 47%, rgba(20, 31, 54, 0.42) 100%),
        radial-gradient(circle at 86% 18%, rgba(220, 38, 38, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(5, 17, 32, 0.16) 0%, rgba(5, 17, 32, 0.64) 100%) !important;
}

.btn-primary:not(.whatsapp-hero):not(.symptoms-cta),
.btn-location,
.footer-cta-location,
.service-inline-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.2), 0 12px 28px rgba(220, 38, 38, 0.14) !important;
}

.btn-secondary-ghost {
    border-color: rgba(239, 68, 68, 0.28) !important;
    background: rgba(220, 38, 38, 0.12) !important;
}

.main-nav a::after,
.section-title h2::after,
.review-card::after,
.about-text::before {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)) !important;
}

.main-nav a.active,
.main-nav a[aria-current="page"] {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(220, 38, 38, 0.16)) !important;
}

.evolucion,
.resenas,
footer {
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.2), transparent 24%),
        radial-gradient(circle at 90% 4%, rgba(220, 38, 38, 0.16), transparent 22%),
        linear-gradient(135deg, #08111f 0%, #0d1f3a 54%, #160d18 100%) !important;
}

.about-media::before,
.hero-stage::before,
.contacto-map::after {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(220, 38, 38, 0.12)) !important;
}

.border-red::before,
.service-card.border-red::before {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-soft)) !important;
}

.service-icon-shell.red {
    background: var(--color-red-faint) !important;
    border-color: var(--color-red-line) !important;
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.12) !important;
}

.service-icon-shell.red::before {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-soft)) !important;
}

.service-link:hover,
.service-shortcuts a:hover {
    background: linear-gradient(135deg, var(--color-primary-deep), var(--color-secondary)) !important;
}

.evo-year.red-bg,
.avatar.red-bg,
.c-icon.c-red,
.gallery-label {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-soft)) !important;
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.18) !important;
}

.llamar-flotante {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-red-deep)) !important;
    box-shadow: 0 18px 42px rgba(220, 38, 38, 0.22) !important;
}

footer::before {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.35), rgba(220, 38, 38, 0.28), rgba(220, 38, 38, 0)) !important;
}

.service-page .btn-primary {
    background: linear-gradient(135deg, #16a34a, #25d366) !important;
    box-shadow: 0 18px 42px rgba(37, 211, 102, 0.24) !important;
}

.service-page .btn-secondary-ghost {
    background: rgba(220, 38, 38, 0.13) !important;
}

/* =========================================
   AGENDAMIENTO Y CTA MOVIL
   ========================================= */

.booking-section {
    padding: 96px 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(220, 38, 38, 0.08), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 28px;
    align-items: center;
}

.booking-copy {
    padding: 44px;
    border-radius: 34px;
    background: 
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.15), transparent 40%),
        linear-gradient(135deg, var(--color-primary-deep) 0%, #080b13 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.22);
}

.booking-copy h2 {
    max-width: 12ch;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.7rem);
    line-height: 0.98;
}

.booking-copy p {
    max-width: 56ch;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.booking-cta {
    background: linear-gradient(135deg, #16a34a, #25d366) !important;
    box-shadow: 0 18px 42px rgba(37, 211, 102, 0.24) !important;
}

.booking-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.booking-steps article {
    min-height: 230px;
    padding: 30px;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: var(--shadow-md);
}

.booking-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.booking-steps h3 {
    margin-bottom: 10px;
    color: var(--color-primary-deep);
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1;
}

.booking-steps p {
    color: var(--color-text-soft);
    font-weight: 650;
    line-height: 1.58;
}

.mobile-whatsapp-bar {
    display: none;
}

@media (max-width: 900px) {
    .booking-grid,
    .booking-steps {
        grid-template-columns: 1fr;
    }

    .booking-steps article {
        min-height: auto;
    }
}

@media (max-width: 780px) {
    .booking-section {
        padding: 72px 0 110px;
    }

    .booking-copy {
        padding: 24px;
    }

    .booking-copy h2 {
        max-width: 13ch;
        font-size: 2.1rem;
    }

    .mobile-action-console {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 2000;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-action-console .console-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 58px;
        border-radius: 18px;
        color: #ffffff;
        font-family: var(--font-main);
        transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-action-console .call-btn {
        width: 58px;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        font-size: 1.25rem;
        box-shadow: 0 12px 34px rgba(15, 23, 42, 0.28);
    }

    .mobile-action-console .call-btn:active {
        transform: scale(0.9);
        background: rgba(15, 23, 42, 1);
    }

    .mobile-action-console .wa-btn {
        flex: 1;
        gap: 10px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: linear-gradient(135deg, #16a34a, #25d366);
        font-weight: 800;
        font-size: 0.98rem;
        box-shadow: 0 16px 36px rgba(37, 211, 102, 0.35);
        cursor: pointer;
    }

    .mobile-action-console .wa-btn:active {
        transform: scale(0.96);
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
    }

    .whatsapp-float,
    .llamar-flotante {
        display: none !important;
    }

    footer,
    .footer-content {
        padding-bottom: 110px !important;
    }

    /* Galeria a todo ancho en movil */
    .galeria .container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .galeria .section-title {
        padding: 0 24px;
    }

    .gallery-grid {
        gap: 0;
    }

    .gallery-card-feature {
        padding: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .gallery-card-feature .gallery-media.media-frame {
        border-radius: 0;
        min-height: 480px;
        height: 60vh;
    }
}

/* ==========================================================================
   NUEVAS MEJORAS DE SEO LOCAL, CONFIANZA Y WIDGET INTERACTIVO DE WHATSAPP
   ========================================================================== */

/* Cobertura Local SEO Section */
.cobertura-seo {
    margin: 24px 0;
    padding: 20px 24px;
    border-radius: 24px;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cobertura-seo:hover {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.cobertura-seo h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--color-primary-deep);
}

.cobertura-seo h4 i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.cobertura-seo p {
    font-size: 0.96rem;
    color: var(--color-text-soft);
    line-height: 1.6;
}

/* WHATSAPP INTERACTIVE WIDGET STYLING */
.wa-widget-container {
    position: fixed;
    bottom: 110px;
    right: 24px;
    width: 385px;
    max-width: calc(100% - 48px);
    background: #0f172a;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
    z-index: 1060;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s;
    font-family: var(--font-main);
}

.wa-widget-container.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.wa-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-widget-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wa-widget-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wa-widget-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wa-widget-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid #0f172a;
    border-radius: 50%;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.wa-widget-info {
    display: flex;
    flex-direction: column;
}

.wa-widget-name {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
}

.wa-widget-status {
    color: #a7f3d0;
    font-size: 0.82rem;
    font-weight: 500;
}

.wa-widget-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 4px;
}

.wa-widget-close:hover {
    color: #ffffff;
}

/* Body */
.wa-widget-body {
    padding: 24px;
    background: radial-gradient(circle at 50% 50%, #1e293b, #0f172a);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 350px;
    overflow-y: auto;
}

.wa-widget-body::-webkit-scrollbar {
    width: 6px;
}
.wa-widget-body::-webkit-scrollbar-track {
    background: transparent;
}
.wa-widget-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
}

.wa-widget-msg {
    align-self: flex-start;
    max-width: 88%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 18px;
    border-radius: 4px 18px 18px 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.94rem;
    line-height: 1.5;
}

.wa-widget-msg p:not(:last-child) {
    margin-bottom: 8px;
}

.wa-widget-time {
    display: block;
    text-align: right;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 6px;
}

.wa-widget-msg.user-msg {
    background: #22c55e;
    color: #fff;
    border-radius: 18px 4px 18px 18px;
    margin-left: auto;
    margin-right: 0;
    max-width: 85%;
    border: none;
}
.wa-widget-msg.user-msg .wa-widget-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Quick Actions Chips */
.wa-widget-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.wa-widget-chip {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-main);
}

.wa-widget-chip:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    color: #ffffff;
    transform: translateX(4px);
}

/* Footer */
.wa-widget-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-widget-footer input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: 14px;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.2s;
}

.wa-widget-footer input:focus {
    border-color: #22c55e;
}

.wa-widget-footer button {
    width: 46px;
    height: 46px;
    background: #22c55e;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: background 0.2s, transform 0.2s;
}

.wa-widget-footer button:hover {
    background: #16a34a;
    transform: scale(1.04);
}

.wa-input-container {
    display: flex;
    width: 100%;
    gap: 12px;
}

.wa-input-container input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: 14px;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.2s;
}

.wa-input-container input:focus {
    border-color: #22c55e;
}

.wa-input-container button {
    width: 46px;
    height: 46px;
    background: #22c55e;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: background 0.2s, transform 0.2s;
}

.wa-input-container button:hover {
    background: #16a34a;
    transform: scale(1.04);
}

.wa-widget-actions.inline-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 8px;
    margin-top: 0;
}
.wa-widget-actions.inline-actions .wa-widget-chip {
    width: auto;
    flex: 1 1 auto;
    text-align: center;
}

/* Micro-animations for CTAs */
@keyframes whatsappPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); box-shadow: 0 24px 64px rgba(24, 185, 90, 0.36); }
    100% { transform: scale(1); }
}

.whatsapp-float {
    animation: whatsappPulse 3s ease-in-out infinite !important;
}

/* Trust, Minimalist Glassmorphism enhancements for all cards */
.service-card, .review-card, .evo-card, .faq-item {
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 30px 65px rgba(37, 99, 235, 0.12) !important;
    border-color: rgba(37, 99, 235, 0.2);
}

.review-card {
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 28px !important;
    padding: 30px !important;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.88) !important;
}

/* Responsive adjustment for Mobile Widget */
@media (max-width: 780px) {
    .wa-widget-container {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 28px 28px 0 0;
        border-bottom: none;
        border-left: none;
        border-right: none;
        box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.45);
        transform: translateY(100%);
        z-index: 2100; /* Over mobile bar */
    }

    .wa-widget-container.is-active {
        transform: translateY(0);
    }
}

/* ==========================================================================
   Premium CRO Redesign: Symptoms Selector, Tech Showcase, Trust Shield & Google Badge
   ========================================================================== */

/* 1. Interactive Symptoms Selector */
.symptoms-interactive {
    margin-top: 68px;
    padding: 56px clamp(24px, 5vw, 68px);
    border-radius: var(--radius-lg);
    background: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.05), transparent 28%);
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-lg);
}

.symptoms-interactive-header {
    text-align: center;
    margin-bottom: 44px;
}

.symptoms-interactive-header h3 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--color-primary-deep);
    margin-top: 8px;
    letter-spacing: 0.04em;
}

.subtitle-symptoms {
    font-size: 1.08rem;
    color: var(--color-text-soft);
    max-width: 620px;
    margin: 12px auto 0;
    line-height: 1.6;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.symptom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 18px;
    border-radius: 24px;
    background: var(--color-white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.symptom-btn .symptom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.symptom-btn .symptom-title {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--color-text-soft);
    text-align: center;
    letter-spacing: -0.01em;
}

.symptom-btn:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
}

.symptom-btn:hover .symptom-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.symptom-btn.active {
    background: var(--color-primary-deep);
    border-color: var(--color-primary-deep);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
}

.symptom-btn.active .symptom-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.symptom-btn.active .symptom-title {
    color: var(--color-white);
}

/* Symptoms display panels */
.symptoms-display-panel {
    position: relative;
    border-radius: 28px;
    background: var(--color-white);
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.symptom-result {
    display: none;
    padding: 38px 44px;
    animation: slideUpFade 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.symptom-result.active {
    display: block;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: translateY(0); }
}

.symptom-result-body h4 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-secondary);
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.symptom-result-body h4 i {
    color: var(--color-secondary-soft);
}

.symptom-result-body p {
    font-size: 1.05rem;
    line-height: 1.76;
    color: var(--color-text);
    margin-bottom: 28px;
}

.symptom-action-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 30px;
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: 20px;
}

.symptom-action-box span {
    font-size: 0.98rem;
    color: var(--color-primary-deep);
    font-weight: 700;
}

.btn-primary-symptom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 99px;
    color: var(--color-white);
    font-weight: 900;
    font-size: 0.94rem;
    background: linear-gradient(135deg, #16a34a, #25d366);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.22);
    transition: all 0.28s;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-primary-symptom:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(34, 197, 94, 0.3);
}

/* 2. Tech Showcase styling */
.tech-showcase {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
    padding: 56px 44px;
    border-radius: var(--radius-lg);
    background: 
        linear-gradient(180deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.94)),
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.12), transparent 28%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    color: var(--color-white);
}

.tech-showcase-info h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1;
    letter-spacing: 0.05em;
    margin-top: 8px;
    margin-bottom: 16px;
}

.tech-showcase-info p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.76;
}

.tech-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tech-card {
    position: relative;
    padding: 32px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card .tech-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--color-primary-soft);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.tech-card h4 {
    font-family: var(--font-display);
    font-size: 1.28rem;
    letter-spacing: 0.03em;
    color: var(--color-white);
    margin-bottom: 8px;
}

.tech-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 16px;
}

.tech-brand-tag {
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--color-primary-soft);
    background: rgba(37, 99, 235, 0.12);
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

/* 3. trust-guarantee Section */
.trust-guarantee {
    position: relative;
    padding: 108px 0;
    background: var(--color-primary-deep);
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    overflow: hidden;
}

.trust-guarantee::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 88% 28%, rgba(37, 99, 235, 0.14), transparent 32%);
    z-index: 0;
}

.trust-container {
    position: relative;
    z-index: 1;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.trust-card {
    padding: 44px 32px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-card .trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-primary-soft);
    font-size: 1.8rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
}

.trust-card h4 {
    font-family: var(--font-display);
    font-size: 1.44rem;
    letter-spacing: 0.04em;
    color: var(--color-white);
    margin-bottom: 12px;
}

.trust-card p {
    font-size: 0.96rem;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.76);
}

.trust-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(37, 99, 235, 0.4);
}

.trust-card:hover .trust-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
    border-color: transparent;
}

/* 4. Google Reviews Trust Badge */
.google-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 24px;
    border-radius: 99px;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.gtb-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gtb-rating {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary-deep);
    margin-right: 6px;
    letter-spacing: 0.02em;
}

.gtb-stars i {
    color: var(--color-gold);
    font-size: 1.15rem;
}

.gtb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-primary);
    transition: color 0.2s;
}

.gtb-link i.fab {
    color: #4285f4;
}

.gtb-link:hover {
    color: var(--color-primary-deep);
}

/* Adjustments for Responsive CRO Sections */
@media (max-width: 990px) {
    .symptoms-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tech-showcase {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .tech-showcase {
        padding: 32px 20px;
    }
    .tech-showcase-grid {
        grid-template-columns: 1fr;
    }
    .symptoms-grid {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 12px;
        margin-bottom: 24px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .symptoms-grid::-webkit-scrollbar {
        display: none;
    }
    .symptom-btn {
        flex: 0 0 155px;
        scroll-snap-align: start;
        padding: 16px 12px;
        gap: 8px;
    }
    .symptom-btn .symptom-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
    .symptom-btn .symptom-title {
        font-size: 0.92rem;
    }
    .symptom-result {
        padding: 28px 20px;
    }
    .symptom-action-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    .btn-primary-symptom {
        width: 100%;
    }
}


