:root {
    --sfx-sidebar-width-expanded: 19.5vw;
    --sfx-sidebar-width-collapsed: 16.8vw;
    --sfx-sidebar-width: var(--sfx-sidebar-width-expanded);
    --sfx-section-pad-x: clamp(20px, 4vw, 56px);
    --sfx-bg: #ffffff;
    --sfx-surface: #141414;
    --sfx-surface-2: #ffffff;
    --sfx-text: #1b1b1b;
    --sfx-muted: #5b5b5b;
    --sfx-line: rgba(0, 0, 0, 0.12);
    --sfx-accent: #489c44;
    --sfx-brand: #24487f;
}

.sfx-page.is-sidebar-compact {
    --sfx-sidebar-width: var(--sfx-sidebar-width-collapsed);
}

.sfx-page,
.sfx-page body {
    margin: 0;
}

.sfx-page .topbar,
.sfx-page .header {
    display: none !important;
}

.sfx-page .hero,
.sfx-page .nosotros-hero {
    isolation: isolate;
}

.sfx-page .hero-bg,
.sfx-page .nosotros-hero-bg {
    z-index: 0 !important;
}

.sfx-page .hero-title-overlay,
.sfx-page .nosotros-hero-content,
.sfx-page .scroll-indicator {
    z-index: 2;
}

.sfx-page {
    background: var(--sfx-bg);
    color: var(--sfx-text);
    font-family: 'Montserrat', sans-serif;
}

.sfx-page p,
.sfx-page li,
.sfx-page span {
    color: #3f4b5a;
}

.sfx-page * {
    box-sizing: border-box;
}

.sfx-shell {
    display: flex;
    min-height: 100vh;
}

.sfx-sidebar {
    width: var(--sfx-sidebar-width);
    min-width: var(--sfx-sidebar-width);
    max-width: 19.5vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--sfx-brand);
    backdrop-filter: none;
    border-right: 0;
    padding: 24px clamp(18px, 2.6vw, 42px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
    transition: width 0.35s ease, min-width 0.35s ease, max-width 0.35s ease, padding 0.3s ease, background-color 0.3s ease;
}

.sfx-page.is-after-hero .sfx-sidebar {
    background: #ffffff;
}

.sfx-page.page-index.is-sidebar-dark .sfx-sidebar {
    background: var(--sfx-brand);
}

.sfx-page.page-index.is-sidebar-light .sfx-sidebar {
    background: #ffffff;
}

.sfx-page.page-contacto .sfx-sidebar {
    background: #ffffff !important;
}

.sfx-page.page-contacto .contacto-hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 600;
}


.sfx-logo-white {
    width: 100%;
    max-width: 320px;
    display: block;
}

.sfx-nav {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.sfx-page-links {
    display: grid;
    gap: 5px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 0;
}

.sfx-page-link {
    color: var(--sfx-muted);
    text-decoration: none;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-left: 2px solid transparent;
}

.sfx-page-link:hover {
    color: var(--sfx-text);
    border-left-color: var(--sfx-accent);
}

.sfx-nav-link {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.76rem;
    padding: 9px 12px;
    border-left: 0;
    opacity: 0.9;
    line-height: 1.25;
    background: transparent;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.sfx-nav-link:hover {
    color: var(--sfx-accent);
    opacity: 1;
}

.sfx-nav-link.active {
    background: transparent;
    opacity: 0.9;
}

.sfx-page.is-after-hero .sfx-nav-link {
    color: var(--sfx-brand);
}

.sfx-page.page-index.is-sidebar-dark .sfx-nav-link,
.sfx-page.page-index.is-sidebar-dark .sfx-nav-link.active {
    color: #ffffff;
}

.sfx-page.page-index.is-sidebar-light .sfx-nav-link,
.sfx-page.page-index.is-sidebar-light .sfx-nav-link.active {
    color: var(--sfx-brand);
}


.sfx-page.is-after-hero .sfx-nav-link:hover {
    color: var(--sfx-accent);
    opacity: 1;
}

.sfx-page.is-after-hero .sfx-nav-link.active {
    background: transparent;
    color: var(--sfx-brand);
}

.sfx-socials {
    margin-top: auto;
    padding-top: 10px;
    border-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.sfx-socials a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
}

.sfx-socials a:hover {
    color: #ffffff;
    opacity: 1;
}

.sfx-page.is-after-hero .sfx-socials a,
.sfx-page.is-after-hero .sfx-socials a:hover {
    color: var(--sfx-brand);
}

.sfx-page.page-index.is-sidebar-dark .sfx-socials a,
.sfx-page.page-index.is-sidebar-dark .sfx-socials a:hover {
    color: #ffffff;
}

.sfx-page.page-index.is-sidebar-light .sfx-socials a,
.sfx-page.page-index.is-sidebar-light .sfx-socials a:hover {
    color: var(--sfx-brand);
}


.sfx-main-canvas {
    margin-left: var(--sfx-sidebar-width);
    width: calc(100% - var(--sfx-sidebar-width));
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: #ffffff;
    transition: margin-left 0.35s ease, width 0.35s ease;
}

.sfx-page.page-index .sfx-main-canvas {
    scroll-snap-type: y proximity;
}

.sfx-page.sfx-legacy-page .sfx-main-canvas {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

.sfx-section {
    min-height: 100vh;
    padding: 0 var(--sfx-section-pad-x);
    border-bottom: 1px solid var(--sfx-line);
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    color: #1b1b1b;
}

.sfx-page.page-index .sfx-section {
    scroll-snap-align: start;
}

.sfx-section.sfx-theme-white {
    background: #ffffff;
    color: #1b1b1b;
}

.sfx-section.sfx-theme-blue {
    background: var(--sfx-brand);
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sfx-section.sfx-theme-blue .sfx-section-content h2,
.sfx-section.sfx-theme-blue .sfx-card h3,
.sfx-section.sfx-theme-blue .sfx-contact-info h2,
.sfx-section.sfx-theme-blue .sfx-values-block h2 {
    color: #ffffff;
}

.sfx-page.page-index .sfx-section.sfx-theme-blue h1,
.sfx-page.page-index .sfx-section.sfx-theme-blue h2,
.sfx-page.page-index .sfx-section.sfx-theme-blue h3,
.sfx-page.page-index .sfx-section.sfx-theme-blue h4,
.sfx-page.page-index .sfx-section.sfx-theme-blue .sfx-section-content h2,
.sfx-page.page-index .sfx-section.sfx-theme-blue .sfx-servicios-premium h2,
.sfx-page.page-index .sfx-section.sfx-theme-blue .sfx-propuesta-content h2,
.sfx-page.page-index .sfx-section.sfx-theme-blue .sfx-service-item h3,
.sfx-page.page-index .sfx-section.sfx-theme-blue .sfx-card h3 {
    color: #ffffff !important;
}

.sfx-section.sfx-theme-blue p,
.sfx-section.sfx-theme-blue li,
.sfx-section.sfx-theme-blue span,
.sfx-section.sfx-theme-blue .sfx-intro,
.sfx-section.sfx-theme-blue .sfx-servicios-lead,
.sfx-section.sfx-theme-blue .sfx-contact-info a {
    color: rgba(255, 255, 255, 0.92);
}

.sfx-section.sfx-theme-blue .sfx-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.24);
}

.sfx-section.sfx-theme-blue .sfx-propuesta-icon,
.sfx-section.sfx-theme-blue .sfx-value-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.sfx-section.sfx-theme-blue .sfx-propuesta-icon svg [stroke],
.sfx-section.sfx-theme-blue .sfx-value-icon svg [stroke] {
    stroke: #ffffff;
}

.sfx-section.sfx-theme-blue .sfx-contact-form input,
.sfx-section.sfx-theme-blue .sfx-contact-form textarea {
    background: #ffffff;
    color: #1b1b1b;
    border-color: rgba(255, 255, 255, 0.35);
}

.sfx-section.sfx-theme-blue .sfx-contact-form input::placeholder,
.sfx-section.sfx-theme-blue .sfx-contact-form textarea::placeholder {
    color: #6b7280;
}


.sfx-section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.sfx-section-content h2 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 2.8vw, 2.8rem);
    color: var(--sfx-brand);
    text-transform: uppercase;
    line-height: 1.1;
}

.sfx-intro {
    max-width: 820px;
    color: #3f4b5a;
    line-height: 1.7;
}

.sfx-propuesta {
    background: #ffffff;
}

.sfx-propuesta-content {
    max-width: 1160px;
}

.sfx-propuesta-content h2 {
    text-align: center;
    text-transform: none;
    color: #264d86;
    font-size: clamp(2rem, 3vw, 3.15rem);
    letter-spacing: 0.01em;
    margin-bottom: 28px;
}

.sfx-propuesta-content h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--sfx-accent);
    margin: 16px auto 0;
}

.sfx-propuesta-content .sfx-intro {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #4d5868;
}

.sfx-propuesta .sfx-grid-3 {
    margin-top: 34px;
    gap: 28px;
}

.sfx-propuesta .sfx-card {
    background: transparent;
    border: 0;
    padding: 12px 12px 8px;
    text-align: left;
    display: grid;
    justify-items: center;
    align-content: start;
    grid-template-rows: auto auto 1fr;
}

.sfx-propuesta-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dfe4ec;
    color: var(--sfx-accent);
    margin-bottom: 22px;
}

.sfx-propuesta-icon svg [stroke] {
    stroke: var(--sfx-accent);
}

.sfx-propuesta-icon svg {
    width: 30px;
    height: 30px;
}

.sfx-propuesta .sfx-card h3 {
    color: #264d86;
    font-size: clamp(1.25rem, 1.65vw, 1.7rem);
    white-space: nowrap;
    margin-bottom: 16px;
    text-align: center;
}

.sfx-propuesta .sfx-card p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 320px;
    margin: 0;
    text-align: left;
    min-height: 5.2em;
}

.sfx-hero {
    padding: 0;
    min-height: 100vh;
    height: 100vh;
    border-bottom: 0;
}

.sfx-content-hero {
    padding: 0 var(--sfx-section-pad-x);
}

.sfx-hero-media,
.sfx-hero-media video,
.sfx-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sfx-hero-media video,
.sfx-hero-media img {
    object-fit: cover;
}

.sfx-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.06) 100%);
}

.sfx-hero .sfx-media-overlay {
    display: none;
}

.sfx-content-hero {
    position: relative;
    z-index: 1;
}

.sfx-kicker {
    margin: 0 0 12px;
    color: var(--sfx-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
}

.sfx-content-hero h1 {
    margin: 0;
    max-width: 860px;
    font-size: clamp(1.8rem, 4.6vw, 4.2rem);
    line-height: 1.24;
    white-space: pre-line;
    text-transform: uppercase;
    color: #ffffff;
}

.sfx-content-hero p {
    margin: 12px 0 0;
    max-width: 700px;
    font-size: 1rem;
    color: #f0f0f0;
}

.sfx-type-target {
    position: relative;
}

.sfx-type-target.is-typing::after,
.sfx-type-target.is-typed::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.05em;
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.95);
    vertical-align: -0.08em;
    animation: sfx-caret-blink 0.9s steps(1, end) infinite;
}

@keyframes sfx-caret-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sfx-type-target.is-typing::after,
    .sfx-type-target.is-typed::after {
        animation: none;
    }
}

.sfx-grid-3 {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sfx-card {
    padding: 22px;
    border: 1px solid var(--sfx-line);
    background: #ffffff;
}

.sfx-card h3 {
    margin: 0 0 10px;
    color: var(--sfx-brand);
    text-transform: uppercase;
    font-size: 1.05rem;
}

.sfx-card p {
    margin: 0;
    color: #3f4b5a;
    line-height: 1.6;
}

.sfx-services {
    margin-top: 24px;
    display: grid;
    gap: 18px;
}

.sfx-service-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: stretch;
    border: 1px solid var(--sfx-line);
    background: #ffffff;
}

.sfx-service-item img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.sfx-service-item > div {
    padding: 18px;
}

.sfx-service-item h3 {
    margin: 0 0 8px;
    color: var(--sfx-brand);
    text-transform: uppercase;
}

.sfx-service-item p {
    margin: 0 0 12px;
    color: #3f4b5a;
}

.sfx-service-item a {
    text-decoration: none;
    color: #fff;
    background: var(--sfx-accent);
    border: 1px solid var(--sfx-accent);
    padding: 10px 14px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.sfx-service-item a:hover {
    background: transparent;
}

.sfx-servicios-premium {
    background: #ffffff;
    border-bottom: 1px solid var(--sfx-line);
}

.sfx-servicios-content {
    max-width: 1260px;
}

.sfx-servicios-premium h2,
.sfx-servicios-premium .sfx-section-content h2 {
    color: var(--sfx-brand);
    margin-bottom: 8px;
    text-align: center;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.sfx-servicios-lead {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
    color: #3f4b5a;
    line-height: 1.45;
    font-size: 1.05rem;
}

.sfx-servicios-premium .sfx-services {
    margin-top: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sfx-servicios-premium .sfx-service-item {
    position: relative;
    display: block;
    min-height: 320px;
    border: 0;
    background: #111827;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s ease;
}

.sfx-servicios-premium .sfx-service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 17, 27, 0.14) 36%, rgba(12, 17, 27, 0.88) 100%);
    z-index: 1;
}

.sfx-servicios-premium .sfx-service-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sfx-servicios-premium .sfx-service-item > div {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 20px 22px;
}

.sfx-servicios-premium .sfx-service-item h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.05rem, 1.35vw, 1.3rem);
    letter-spacing: 0.01em;
    font-weight: 700;
}

.sfx-servicios-premium .sfx-services .sfx-service-item h3 {
    color: #ffffff;
}

.sfx-servicios-premium .sfx-services .sfx-service-item .sfx-service-title {
    color: #ffffff !important;
}

.sfx-servicios-premium .sfx-service-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.94rem;
    line-height: 1.45;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.sfx-servicios-premium .sfx-service-item a {
    margin-top: 0;
    align-self: flex-start;
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    padding: 8px 14px;
    font-size: 0.68rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.sfx-servicios-premium .sfx-service-item a:hover {
    background: var(--sfx-accent);
    border-color: var(--sfx-accent);
    color: #ffffff;
}

.sfx-servicios-premium .sfx-service-item:hover {
    transform: translateY(-5px);
}

.sfx-servicios-premium .sfx-service-item:hover img {
    transform: scale(1.06);
}

.sfx-servicios-premium .sfx-service-item:hover p,
.sfx-servicios-premium .sfx-service-item:focus-within p {
    max-height: 120px;
    opacity: 1;
}

.sfx-servicios-premium .sfx-service-item:hover a,
.sfx-servicios-premium .sfx-service-item:focus-within a {
    max-height: 48px;
    opacity: 1;
    margin-top: 6px;
}

.sfx-experience-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    align-items: stretch;
}

.sfx-collage {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: 420px;
}

.sfx-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--sfx-line);
}

.sfx-collage-main {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.sfx-collage-top {
    grid-column: 2;
    grid-row: 1;
}

.sfx-collage-bottom {
    grid-column: 2;
    grid-row: 2;
}

.sfx-experience-info {
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    gap: 12px;
}

.sfx-experience-info p {
    margin: 0;
    max-width: 48ch;
    font-size: 0.9rem;
    line-height: 1.6;
}

.sfx-stats {
    margin-top: 6px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sfx-stats div {
    border: 0;
    padding: 12px 10px;
    background: transparent;
    display: grid;
    gap: 2px;
    justify-items: center;
}

.sfx-stats strong {
    display: block;
    color: var(--sfx-accent);
    font-size: 1.5rem;
    line-height: 1;
}

.sfx-stats span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.66rem;
    color: #3f4b5a;
}

.sfx-gallery {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sfx-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border: 1px solid var(--sfx-line);
}

.sfx-client-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

#clientes .sfx-section-content h2 {
    text-align: center;
}

.sfx-client-grid img {
    width: 100%;
    height: 70px;
    object-fit: contain;
    background: transparent;
    border: 0;
    padding: 6px;
    animation: sfxLogoFloat 3.4s ease-in-out infinite;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.sfx-client-grid img:hover {
    transform: translateY(-4px) scale(1.03);
    filter: saturate(1.08);
}

.sfx-client-grid img:nth-child(2n) {
    animation-delay: 0.2s;
}

.sfx-client-grid img:nth-child(3n) {
    animation-delay: 0.35s;
}

@keyframes sfxLogoFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sfx-client-grid img {
        animation: none;
        transition: none;
    }
}

.sfx-team-image {
    width: 100%;
    height: clamp(420px, 74vh, 860px);
    object-fit: cover;
    border: 0;
    box-shadow: none;
}

#equipo {
    padding-left: 0;
    padding-right: 0;
}

#equipo .sfx-section-content {
    max-width: none;
    margin: 0;
}

#equipo .sfx-section-content h2 {
    padding: 0 var(--sfx-section-pad-x);
    text-align: center;
}

.sfx-grid-5 {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.sfx-grid-5 .sfx-card h3 {
    margin: 0;
    color: #111111;
    text-align: center;
}

.sfx-contact-wrap {
    display: grid;
    gap: 22px;
}

.sfx-values-block h2 {
    text-align: center;
    margin-bottom: 0;
}

.sfx-values-grid {
    margin-top: 14px;
    gap: 12px;
}

.sfx-values-grid .sfx-card {
    border: 1px solid var(--sfx-line);
    border-top: 3px solid var(--sfx-accent);
    background: #ffffff;
    padding: 18px 14px;
    border-radius: 4px;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 10px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sfx-values-grid .sfx-card:hover {
    transform: translateY(-3px);
    border-color: var(--sfx-accent);
    box-shadow: 0 10px 18px rgba(15, 38, 66, 0.08);
}

.sfx-values-grid .sfx-card h3 {
    color: var(--sfx-brand);
    margin: 0;
    font-size: 0.98rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sfx-values-grid .sfx-card p {
    margin: 0;
    color: #536072;
    font-size: 0.86rem;
    line-height: 1.45;
}

.sfx-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9edf3;
    color: var(--sfx-accent);
}

.sfx-value-icon svg {
    width: 24px;
    height: 24px;
}

.sfx-contact-wrap .sfx-contact-layout {
    margin-top: 4px;
}

.sfx-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sfx-contact-info {
    display: grid;
    gap: 12px;
    align-content: start;
    background: var(--sfx-surface-2);
    border: 1px solid var(--sfx-line);
    padding: 24px;
}

.sfx-contact-info h2 {
    margin-bottom: 4px;
    font-size: clamp(1.9rem, 2.6vw, 3rem);
    line-height: 1.08;
}

.sfx-contact-info p,
.sfx-contact-info a {
    margin: 0;
    color: var(--sfx-brand);
    text-decoration: none;
    line-height: 1.65;
}

.sfx-contact-info p {
    font-size: 0.78rem;
    max-width: 52ch;
}

.sfx-contact-info a {
    font-size: 0.66rem;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.sfx-contact-info a[href^="tel:"]::before,
.sfx-contact-info a[href^="mailto:"]::before {
    color: var(--sfx-accent);
    font-size: 0.95em;
    line-height: 1;
}

.sfx-contact-info a[href^="tel:"]::before {
    content: "☎";
}

.sfx-contact-info a[href^="mailto:"]::before {
    content: "✉";
}

.sfx-contact-info a:hover {
    color: var(--sfx-accent);
}

.sfx-contact-form {
    display: grid;
    gap: 12px;
    border: 1px solid var(--sfx-line);
    background: var(--sfx-surface-2);
    padding: 22px;
}

.sfx-contact-form input,
.sfx-contact-form textarea {
    width: 100%;
    border: 1px solid var(--sfx-line);
    background: #ffffff;
    color: var(--sfx-text);
    padding: 11px;
    font-family: inherit;
}

.sfx-contact-form input::placeholder,
.sfx-contact-form textarea::placeholder {
    color: var(--sfx-muted);
}

.sfx-contact-form label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--sfx-muted);
    font-size: 0.88rem;
}

.sfx-contact-form button {
    border: 1px solid var(--sfx-accent);
    background: var(--sfx-accent);
    color: #fff;
    padding: 11px 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.sfx-contact-form button:hover {
    background: transparent;
}

.sfx-section.sfx-theme-blue .sfx-contact-info,
.sfx-section.sfx-theme-blue .sfx-contact-form {
    background: rgba(24, 66, 122, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.sfx-section.sfx-theme-blue .sfx-contact-info h2,
.sfx-section.sfx-theme-blue .sfx-contact-info p,
.sfx-section.sfx-theme-blue .sfx-contact-info a {
    color: #ffffff;
}

.sfx-section.sfx-theme-blue .sfx-contact-info a[href^="tel:"]::before,
.sfx-section.sfx-theme-blue .sfx-contact-info a[href^="mailto:"]::before {
    color: #ffffff;
}

.sfx-section.sfx-theme-blue .sfx-contact-form input,
.sfx-section.sfx-theme-blue .sfx-contact-form textarea {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.sfx-section.sfx-theme-blue .sfx-contact-form input::placeholder,
.sfx-section.sfx-theme-blue .sfx-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.sfx-section.sfx-theme-blue .sfx-contact-form button {
    background: var(--sfx-accent);
    border-color: var(--sfx-accent);
    color: #ffffff;
}
.sfx-social-icon {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sfx-social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sfx-footer {
    min-height: auto;
    padding: 28px var(--sfx-section-pad-x);
    display: grid;
    gap: 14px;
    background: #ffffff;
    border-top: 2px solid var(--sfx-accent);
}

.sfx-footer img {
    width: 130px;
}

.sfx-footer p {
    margin: 0;
    color: var(--sfx-brand);
}

.sfx-footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.sfx-footer-links a {
    color: var(--sfx-brand);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.sfx-footer-links a:hover {
    color: var(--sfx-accent);
    border-bottom-color: var(--sfx-accent);
}

@media (max-width: 1200px) {
    .sfx-experience-layout {
        grid-template-columns: 1fr;
    }

    .sfx-collage {
        min-height: 360px;
    }

    .sfx-grid-3,
    .sfx-gallery,
    .sfx-client-grid,
    .sfx-grid-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sfx-propuesta .sfx-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sfx-servicios-premium .sfx-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .sfx-shell {
        display: block;
    }

    .sfx-sidebar {
        position: relative;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: auto;
        background: var(--sfx-brand);
        backdrop-filter: none;
        border-right: 0;
        border-bottom: 0;
        margin-left: 0;
    }

    .sfx-main-canvas {
        margin-left: 0;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .sfx-section {
        padding: 0 var(--sfx-section-pad-x);
    }

    .sfx-content-hero {
        padding: 0 var(--sfx-section-pad-x);
    }

    .sfx-footer {
        padding: 28px var(--sfx-section-pad-x);
    }

    .sfx-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 12px;
    }

    .sfx-socials {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }

    .sfx-contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .sfx-collage {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        min-height: auto;
    }

    .sfx-collage-main,
    .sfx-collage-top,
    .sfx-collage-bottom {
        grid-column: auto;
        grid-row: auto;
        height: 220px;
    }

    .sfx-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sfx-service-item {
        grid-template-columns: 1fr;
    }

    .sfx-grid-3,
    .sfx-gallery,
    .sfx-client-grid,
    .sfx-grid-5,
    .sfx-stats {
        grid-template-columns: 1fr;
    }

    .sfx-socials {
        gap: 10px;
    }

    .sfx-section {
        padding-top: 0;
        padding-bottom: 0;
    }

    .sfx-propuesta-content h2 {
        margin-bottom: 22px;
    }

    .sfx-propuesta-content .sfx-intro {
        font-size: 1rem;
    }

    .sfx-propuesta-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .sfx-propuesta .sfx-card h3 {
        font-size: 1.95rem;
    }

    .sfx-servicios-premium .sfx-services {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sfx-servicios-premium .sfx-service-item {
        min-height: 360px;
    }

    .sfx-servicios-premium .sfx-service-item > div {
        padding: 22px;
    }

    .sfx-team-image {
        height: clamp(300px, 52vh, 500px);
    }

    .sfx-servicios-premium .sfx-service-item p,
    .sfx-servicios-premium .sfx-service-item a {
        max-height: none;
        opacity: 1;
    }

    .sfx-contact-wrap {
        gap: 20px;
    }
}

