:root {
    --platform-safe-area-top: env(safe-area-inset-top, 0px);
    --platform-safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --platform-dark-surface: rgba(7, 12, 16, 0.84);
    --platform-dark-surface-strong: rgba(3, 7, 10, 0.92);
    --platform-dark-border: rgba(255, 255, 255, 0.09);
    --platform-dark-text: #f8fafc;
    --platform-dark-muted: #cbd5e1;
    --platform-dark-subtle: #94a3b8;
    --platform-dark-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    --jusneural-green: #4CB58B;
    --jusneural-green-light: #68C7A1;
    --brand-dark: #1F2937;
    --service-ink: #1F2937;
    --service-muted: #4b5563;
    --service-card-light: 249, 250, 251;
}

html {
    min-height: 100%;
    background-color: #ffffff;
    background-image: none;
    color-scheme: light;
    scroll-behavior: smooth;
}

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

html.dark {
    background-color: #000000;
    color-scheme: dark;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.16), transparent 28%),
        radial-gradient(circle at 42% 38%, rgba(104, 199, 161, 0.16), transparent 24%),
        radial-gradient(circle at left center, rgba(76, 181, 139, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.92) 56%, rgba(0, 0, 0, 0.98) 100%),
        url("../img/platform-dark-bg.png") center top / cover no-repeat;
}

body.service-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #ffffff;
    color: var(--service-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dark body.service-page {
    background: transparent;
    color: var(--platform-dark-text);
}

.dark body.service-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.16), transparent 28%),
        radial-gradient(circle at 42% 38%, rgba(104, 199, 161, 0.16), transparent 24%),
        radial-gradient(circle at left center, rgba(76, 181, 139, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.92) 56%, rgba(0, 0, 0, 0.98) 100%),
        url("../img/platform-dark-bg.png") center top / cover no-repeat;
}

.dark body.service-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 24%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.52));
    pointer-events: none;
}

.service-page .site-header {
    padding-top: var(--platform-safe-area-top);
    height: calc(4rem + var(--platform-safe-area-top));
}

.service-page #mobile-menu {
    top: calc(4rem + var(--platform-safe-area-top));
}

.service-page main {
    padding-top: calc(4rem + var(--platform-safe-area-top));
    padding-bottom: calc(4rem + var(--platform-safe-area-bottom));
}

.dark .service-page .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(104, 199, 161, 0.55), transparent);
    pointer-events: none;
}

.dark .service-page .glassmorphism,
.dark .service-page .site-mobile-menu {
    background: rgba(0, 0, 0, 0.58);
    border-bottom: 1px solid var(--platform-dark-border);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.dark .service-page #theme-toggle,
.dark .service-page #mobile-menu-button {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dark .service-page #theme-toggle:hover,
.dark .service-page #mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(104, 199, 161, 0.28);
}

.service-page .wrap {
    width: min(1180px, calc(100% - 3rem));
    margin-right: auto;
    margin-left: auto;
}

.service-page a {
    color: inherit;
}

.service-page .hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: min(760px, calc(100vh - 4rem));
    display: flex;
    align-items: center;
    padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
    background: #ffffff;
}

.service-page .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../img/v1.webp") center top / cover no-repeat;
    opacity: 0.74;
}

.service-page .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.58) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.92) 74%, #ffffff 100%);
    pointer-events: none;
}

.dark .service-page .hero {
    background: transparent;
}

.dark .service-page .hero::before {
    filter: saturate(0.72) brightness(0.35) contrast(1.1);
    opacity: 0.92;
}

.dark .service-page .hero::after {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 48%, rgba(0, 0, 0, 0.38) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.66) 74%, #000000 100%);
}

.service-page .hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.service-page .hero-layout > * {
    min-width: 0;
}

.service-page .hero-copy {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    width: 100%;
    max-width: none;
    padding: clamp(2rem, 5vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.dark .service-page .hero-copy {
    background: rgba(17, 24, 39, 0.25);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-page .eyebrow {
    display: inline-flex;
    align-items: center;
    grid-column: 1;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.28rem 0.65rem;
    border: 1px solid rgba(76, 181, 139, 0.25);
    border-radius: 9999px;
    background: rgba(76, 181, 139, 0.08);
    color: #246b52;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.dark .service-page .eyebrow {
    border-color: rgba(104, 199, 161, 0.28);
    background: rgba(104, 199, 161, 0.10);
    color: #A7E8CC;
}

.service-page .hero h1 {
    grid-column: 1;
    margin: 0;
    max-width: 100%;
    color: #111827;
    font-size: 4.75rem;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.dark .service-page .hero h1 {
    color: #f8fafc;
}

.service-page .hero h1 span {
    display: inline;
    margin-left: 0.16em;
    color: var(--jusneural-green);
}

.service-page .lead {
    grid-column: 1;
    max-width: 72rem;
    margin: 1.5rem 0 0;
    color: #4b5563;
    font-size: 1.25rem;
    line-height: 1.7;
}

.dark .service-page .lead {
    color: #d1d5db;
}

.service-page .hero-actions {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.85rem;
    margin-top: 2rem;
}

.service-page .button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-page .button:hover {
    transform: translateY(-1px);
}

.service-page .button.primary {
    background: var(--brand-dark);
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(31, 41, 55, 0.18);
}

.service-page .button.primary:hover {
    background: #374151;
}

.service-page .platform-primary-cta {
    background: #1F2937 !important;
    color: #ffffff !important;
    border: 1px solid rgba(31, 41, 55, 0.24);
    box-shadow: 0 12px 24px rgba(31, 41, 55, 0.16);
}

.service-page .platform-primary-cta:hover {
    background: #374151 !important;
    color: #ffffff !important;
}

.service-page .button.secondary {
    background: rgba(255, 255, 255, 0.90);
    border-color: rgba(209, 213, 219, 0.95);
    color: var(--brand-dark);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

.service-page .button.secondary:hover {
    background: #ffffff;
}

.dark .service-page .button.primary,
.dark .service-page .platform-primary-cta {
    background: linear-gradient(135deg, var(--jusneural-green), var(--jusneural-green-light)) !important;
    color: #03130a !important;
    border-color: rgba(136, 217, 185, 0.34);
    box-shadow: 0 18px 32px rgba(76, 181, 139, 0.18);
}

.dark .service-page .button.primary:hover,
.dark .service-page .platform-primary-cta:hover {
    background: linear-gradient(135deg, var(--jusneural-green-light), #88D9B9) !important;
    box-shadow: 0 22px 36px rgba(76, 181, 139, 0.24);
}

.dark .service-page .button.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--platform-dark-text);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 30px rgba(0, 0, 0, 0.18);
}

.dark .service-page .button.secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(104, 199, 161, 0.24);
}

.service-page .preview-area {
    min-width: 0;
}

.service-page .hero-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-page .hero-feature-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: start;
    min-height: 8.5rem;
    padding: 1.5rem;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    background-color: rgb(var(--service-card-light));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-page .hero-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(76, 181, 139, 0.4);
    box-shadow: 0 20px 40px -10px rgba(76, 181, 139, 0.25), 0 0 0 4px rgba(76, 181, 139, 0.1);
}

.dark .service-page .hero-feature-card {
    background:
        linear-gradient(180deg, rgba(7, 12, 16, 0.92) 0%, rgba(1, 5, 8, 0.86) 100%);
    border: 1px solid var(--platform-dark-border);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dark .service-page .hero-feature-card:hover {
    border-color: rgba(104, 199, 161, 0.34);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(104, 199, 161, 0.16),
        0 0 28px rgba(76, 181, 139, 0.18);
}

.service-page .hero-feature-card span,
.service-page .card-number {
    display: inline-flex;
    width: auto;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.55rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    background: #111827;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.dark .service-page .hero-feature-card span,
.dark .service-page .card-number {
    background: linear-gradient(135deg, var(--jusneural-green), var(--jusneural-green-light));
    color: #03130a;
}

.service-page .hero-feature-card strong {
    display: block;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.2;
}

.dark .service-page .hero-feature-card strong {
    color: #f8fafc;
}

.service-page .hero-feature-card p {
    grid-column: 2;
    margin: 0;
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.55;
}

.dark .service-page .hero-feature-card p {
    color: #d1d5db;
}

.service-page .section {
    position: relative;
    padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.service-page .section:nth-of-type(3) {
    background: rgba(249, 250, 251, 0.78);
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.dark .service-page .section:nth-of-type(3) {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.08);
}

.service-page .section h2 {
    margin: 0 0 2rem;
    color: #111827;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
    text-wrap: balance;
}

.dark .service-page .section h2 {
    color: #f8fafc;
}

.service-page .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.service-page .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.service-page .card,
.service-page .list li {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    background-color: rgb(var(--service-card-light));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-page .card {
    display: block;
    min-height: 100%;
    padding: 2rem;
    color: inherit;
    text-decoration: none;
}

.service-page .card:hover,
.service-page .list li:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(76, 181, 139, 0.4);
    box-shadow: 0 20px 40px -10px rgba(76, 181, 139, 0.25), 0 0 0 4px rgba(76, 181, 139, 0.1);
}

.dark .service-page .card,
.dark .service-page .list li {
    background:
        linear-gradient(180deg, rgba(7, 12, 16, 0.92) 0%, rgba(1, 5, 8, 0.86) 100%);
    border: 1px solid var(--platform-dark-border);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dark .service-page .card:hover,
.dark .service-page .list li:hover {
    border-color: rgba(104, 199, 161, 0.34);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(104, 199, 161, 0.16),
        0 0 28px rgba(76, 181, 139, 0.18);
}

.service-page .card-number {
    margin-bottom: 1rem;
}

.service-page .card p,
.service-page .list li {
    color: #4b5563;
    line-height: 1.7;
}

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

.dark .service-page .card p,
.dark .service-page .list li {
    color: #d1d5db;
}

.service-page .list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-page .list li {
    min-height: 9rem;
    padding: 1.5rem;
}

.service-page .cta-band {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.75) radial-gradient(circle, rgba(76, 181, 139, 0.25) 0%, rgba(76, 181, 139, 0) 70%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.dark .service-page .cta-band {
    background:
        linear-gradient(180deg, var(--platform-dark-surface) 0%, var(--platform-dark-surface-strong) 100%);
    border-color: var(--platform-dark-border);
    box-shadow: var(--platform-dark-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-page .cta-band h2 {
    margin: 0;
    color: #111827;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.08;
}

.dark .service-page .cta-band h2 {
    color: #f8fafc;
}

.service-page .cta-band p {
    max-width: 42rem;
    margin: 0.7rem 0 0;
    color: #4b5563;
    line-height: 1.7;
}

.dark .service-page .cta-band p {
    color: #d1d5db;
}

.service-page .related-card {
    display: flex;
    flex-direction: column;
}

.service-page .related-card strong {
    display: block;
    margin-top: 0.25rem;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.2;
}

.dark .service-page .related-card strong {
    color: #f8fafc;
}

.service-page .service-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-bottom: 1rem;
    padding: 0.7rem;
    border: 1px solid rgba(76, 181, 139, 0.25);
    border-radius: 0.75rem;
    background: rgba(76, 181, 139, 0.08);
    filter: none;
}

html:not(.dark) .service-page .service-icon {
    filter: none;
}

.service-page .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

html:not(.dark) .service-page .related-card .service-icon img {
    filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(1257%) hue-rotate(108deg) brightness(93%) contrast(89%);
}

.dark .service-page .service-icon {
    border-color: rgba(104, 199, 161, 0.28);
    background: rgba(104, 199, 161, 0.10);
    filter: drop-shadow(0 0 14px rgba(104, 199, 161, 0.12));
}

.dark .service-page .related-card .service-icon img {
    filter: brightness(0) saturate(100%) invert(82%) sepia(25%) saturate(551%) hue-rotate(96deg) brightness(97%) contrast(89%);
}

.service-page .new-footer-style {
    display: block;
    isolation: isolate;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    background-color: rgba(255, 255, 255, 0.92);
    background-image: radial-gradient(circle, rgba(76, 181, 139, 0.22) 0%, rgba(76, 181, 139, 0) 70%);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #374151;
    transform: none;
}

.service-page .new-footer-style > * {
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.service-page .new-footer-style .footer-text {
    color: #4B5563;
    opacity: 1;
    visibility: visible;
}

.service-page .footer-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.service-page .footer-nav-links .footer-link {
    margin: 0 !important;
}

.service-page #footer-logo {
    display: block;
    width: 8rem;
    height: auto;
    max-width: 55vw;
    max-height: 1.5rem;
    aspect-ratio: 767 / 144;
    object-fit: contain;
    opacity: 1;
    visibility: visible;
}

.service-page .footer-social-icons .social-icon img,
.dark .service-page .footer-social-icons .social-icon img,
.service-page .footer-social-icons .social-icon:hover img,
.dark .service-page .footer-social-icons .social-icon:hover img {
    filter: none;
    opacity: 1;
}

.dark .service-page .new-footer-style {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(3, 7, 10, 0.88));
    background-color: rgba(3, 7, 10, 0.94);
    color: #E5E7EB;
    border-color: var(--platform-dark-border);
    box-shadow: var(--platform-dark-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dark .service-page .new-footer-style .footer-text {
    color: #E5E7EB;
}

.dark .service-page .new-footer-style .footer-link {
    color: #DDF4E9;
}

.dark .service-page .new-footer-style .footer-link:hover {
    color: var(--jusneural-green-light);
}

.dark .service-page .footer-separator {
    border-color: rgba(255, 255, 255, 0.08);
}

.dark .service-page #contact-popup {
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.dark .service-page .contact-platform-card {
    background:
        linear-gradient(180deg, var(--platform-dark-surface) 0%, var(--platform-dark-surface-strong) 100%) !important;
    border: 1px solid var(--platform-dark-border);
    box-shadow: var(--platform-dark-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark .service-page .contact-copy-row {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-page .new-footer-style,
.service-page #contact-popup,
.service-page #whatsapp-float-button {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.service-page.estilo-textual-page .hero h1 {
    max-width: 88rem;
    font-size: clamp(3.6rem, 4.25vw, 4.75rem);
    line-height: 0.98;
    overflow-wrap: normal;
    text-wrap: wrap;
}

.service-page.estilo-textual-page .hero h1 span {
    display: block;
    margin-left: 0;
    white-space: nowrap;
}

.service-page.estilo-textual-page .lead {
    max-width: 86rem;
    line-height: 1.62;
}

@media (max-width: 1024px) {
    .service-page .hero-layout,
    .service-page .grid-3,
    .service-page .grid-4,
    .service-page .list {
        grid-template-columns: 1fr;
    }

    .service-page .preview-area {
        width: 100%;
    }

    .service-page .hero h1 {
        font-size: 4rem;
    }

    .service-page.estilo-textual-page .hero h1 {
        font-size: 3.65rem;
    }

    .service-page.estilo-textual-page .hero h1 span {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .service-page.estilo-textual-page .hero h1 {
        font-size: 3.05rem;
    }
}

@media (max-width: 540px) {
    .service-page.estilo-textual-page .hero h1 {
        font-size: 2.42rem;
    }
}

@media (max-width: 768px) {
    .service-page .wrap {
        width: min(100% - 2rem, 1180px);
    }

    .service-page .hero {
        min-height: auto;
        padding: 3.5rem 0 4rem;
    }

    .service-page .hero::after {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 54%, #ffffff 100%);
    }

    .dark .service-page .hero::after {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.76) 54%, #000000 100%);
    }

    .service-page .hero-copy {
        grid-template-columns: 1fr;
        padding: 1.75rem;
        border-radius: 1.25rem;
    }

    .service-page .hero h1 {
        font-size: 3.15rem;
    }

    .service-page .lead {
        font-size: 1.08rem;
    }

    .service-page .section h2 {
        font-size: 2.35rem;
    }

    .service-page .cta-band h2 {
        font-size: 1.9rem;
    }

    .service-page .hero-actions .button {
        width: 100%;
    }

    .service-page .hero-actions {
        grid-column: 1;
        justify-content: flex-start;
        margin-top: 2rem;
    }

    .service-page .hero-feature-cards {
        grid-template-columns: 1fr;
    }

    .service-page .cta-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-page .cta-band .button {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .service-page .wrap {
        width: min(100% - 1.5rem, 1180px);
    }

    .service-page .hero-copy,
    .service-page .card,
    .service-page .cta-band {
        border-radius: 0.9rem;
    }

    .service-page .hero-feature-card {
        grid-template-columns: 1fr;
    }

    .service-page .hero-feature-card p {
        grid-column: auto;
    }

    .service-page .hero h1 {
        font-size: 2.55rem;
    }

    .service-page .section h2 {
        font-size: 2.05rem;
    }
}
