/* ==========================
   Aito Website Styles v2
   Clean, consolidated, and documented
   ========================== */

/* Brand Tokens */
/* Brand palette (hardcoded to avoid CSS var warnings)
   Primary: #1C9EA1, Dark: #030F1A, Text: #ffffff, Muted: #cfe6ea */

/* Global Reset + Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
    font-weight: 600;
    /* Semi Bold base */
    color: #ffffff;
    background: radial-gradient(circle at 30% 30%, #030F1A, #000);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #030F1A;
}

::-webkit-scrollbar-thumb {
    background: #1C9EA1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #20787f;
}

/* Layout Utilities */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 56px 24px;
}

.grid {
    display: grid;
    gap: 64px;
    align-items: center;
}

/* Header + Hero */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding: 12px 12px 0;
    min-height: 100vh;
}

.section img {
    display: block;
    max-width: 100%;
    height: auto;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 0 10px;
    gap: 16px;
    position: relative;
}

.logo-img {
    display: block;
    height: 48px;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.contact-button {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #1C9EA1;
    color: #030F1A;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    display: none;
    align-items: center;
    justify-content: center;
    height: 50px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    width: 56px;
    height: 48px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 3001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #e2f6f8;
    display: block;
    border-radius: 3px;
    transition: transform .25s ease, opacity .25s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Dropdown menu */
.site-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 8px;
    width: 210px;
    display: none;
    box-shadow: none;
    z-index: 3000;
}

.site-menu a {
    display: block;
    color: #e2f6f8;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.site-menu a:hover {
    background: rgba(226, 246, 248, 0.06);
    color: #ffffff;
}

/* mobile/tablet default behavior remains dropdown */
.site-menu.open {
    display: block;
}

@media (min-width: 951px) {

    /* Header as 3 columns; logo left, hamburger right */
    .hero-header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 24px;
        position: relative;
    }

    .hero-logo {
        grid-column: 1;
        justify-self: start;
    }

    /* Desktop: center the menu absolutely within header line; hidden until open */
    .site-menu {
        position: absolute;
        top: 2px;
        left: 50%;
        transform: translateX(-50%);
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        margin: 0;
        padding: 0 8px;
        width: auto;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease;
    }

    .site-menu.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-menu.open a {
        display: inline-block;
        padding: 8px 10px;
    }

    .hamburger {
        grid-column: 3;
        justify-self: end;
    }
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: .9;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.hero-title .aito {
    color: #1C9EA1;
    white-space: nowrap;
    font-size: 1.3em;
}

/* Add extra breathing room before the last line so gap equals benefits top margin */
.hero-title>div:last-child {
    margin-top: 40px;
}

/* Benefits inside Hero */
.benefits {
    padding: 0;
    margin: 28px 0 0 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefits-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 40px;
    color: #e2f6f8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 88px;
    padding: 0 0 40px;
    width: min(88vw, 1200px);
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    cursor: pointer;
}

.benefit-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform .35s ease, filter .35s ease;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-icon::after {
    content: "+";
    position: absolute;
    left: -22px;
    top: 43.75%;
    transform: translate(0, -50%) scale(1.0);
    font-weight: 900;
    font-size: 44px;
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    text-shadow: 0 0 0 rgba(28, 158, 161, 0);
    animation: plusPulse 2.6s cubic-bezier(.2, .65, .3, 1) infinite 4.0s;
}

.benefit-item:hover .benefit-icon,
.benefit-item:focus-within .benefit-icon {
    transform: scale(1.4);
    filter: drop-shadow(0 8px 18px rgba(28, 158, 161, 0.6));
}

.benefit-item:hover .benefit-text,
.benefit-item:focus-within .benefit-text {
    transform: scale(1.08);
}

.benefit-text {
    transition: transform .35s ease;
}

.benefit-item:hover .benefit-icon::after,
.benefit-item:focus-within .benefit-icon::after {
    animation-duration: 1.6s;
}

.benefit-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* Stagger the + pulse to follow each benefit entrance */
.benefits-grid .benefit-item:nth-child(1) .benefit-icon::after {
    animation-delay: 3.8s;
}

.benefits-grid .benefit-item:nth-child(2) .benefit-icon::after {
    animation-delay: 4.3s;
}

.benefits-grid .benefit-item:nth-child(3) .benefit-icon::after {
    animation-delay: 4.8s;
}

.benefits-grid .benefit-item:nth-child(4) .benefit-icon::after {
    animation-delay: 5.3s;
}

/* Servicios */
.servicios .centered {
    text-align: center;
}

.section-title {
    margin: 0 0 40px;
    font-size: 2rem;
    font-weight: 900;
    color: #e2f6f8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: linear-gradient(180deg, rgba(3, 15, 26, 0.78), rgba(3, 15, 26, 0.88));
    border: 1px solid rgba(28, 158, 161, 0.35);
    border-radius: 12px;
    padding: 26px 20px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(28, 158, 161, 0.12) inset;
    transition: background .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
}

.service-card:hover,
.service-card:focus-visible,
.service-card:focus-within {
    background: linear-gradient(180deg, rgba(3, 15, 26, 0.9), rgba(3, 15, 26, 0.98));
    border-color: #1C9EA1;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(28, 158, 161, 0.2) inset;
}

.service-card:focus-visible,
.service-card:focus-within {
    outline: 2px solid #1C9EA1;
    outline-offset: 3px;
}

.service-card-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    height: 100%;
}

.service-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #1C9EA1;
    text-align: center;
}

.service-subtitle {
    color: #cfe6ea;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: grid;
    gap: 8px;
    color: #cfe6ea;
    text-align: center;
    justify-items: center;
}

.service-list li::before {
    content: "✓";
    color: #1C9EA1;
    font-weight: bold;
    margin-right: 8px;
}

.service-link {
    color: #1C9EA1;
    text-decoration: underline;
    display: inline-block;
}

/* --- Servicios: Animated CTA & Icons --- */
.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    color: #29A9B6;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color .3s ease, transform .3s ease;
}

.service-card:hover .service-cta,
.service-card:focus-visible .service-cta {
    color: #00e0ff;
    text-shadow: 0 0 8px rgba(41, 169, 182, .35);
}

.service-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform .3s ease;
}

.service-card:hover .service-cta-icon,
.service-card:focus-visible .service-cta-icon,
.service-card:focus-within .service-cta-icon {
    transform: translateX(4px);
    animation-play-state: paused;
}

.service-tap-hint {
    display: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #9ad6da;
    font-weight: 700;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    color: #29A9B6;
    box-shadow: 0 0 0 rgba(41, 169, 182, .0);
    transition: transform .35s ease, color .35s ease, box-shadow .35s ease;
    animation: pulseGlow 2.6s ease-in-out infinite;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.service-card:hover .service-icon {
    transform: scale(1.18) rotate(8deg);
    color: #00e0ff;
    box-shadow: 0 0 22px rgba(41, 169, 182, .55);
}

/* Gear specific animation: slow continuous rotation that speeds up on hover */
.service-icon.gear {
    animation: rotateGear 8s linear infinite, pulseGlow 2.6s ease-in-out infinite;
}

.service-card:hover .service-icon.gear {
    animation: rotateGear 3s linear infinite, pulseGlow 2.6s ease-in-out infinite;
}

@keyframes rotateGear {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(41, 169, 182, .0);
        opacity: .95;
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 0 14px rgba(41, 169, 182, .35);
        opacity: 1;
    }
}

@keyframes tapArrow {

    0%,
    100% {
        transform: translateX(0);
        opacity: .85;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }
}

/* ===================== Áreas Transformadas icons ===================== */
.area-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto;
    color: #29A9B6;
    transition: color .35s ease, box-shadow .35s ease;
    box-shadow: 0 0 0 rgba(41, 169, 182, .0);
}

.area-icon i,
.area-icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.area-icon iconify-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.area-card:hover .area-icon {
    color: #00e0ff;
    box-shadow: 0 0 18px rgba(41, 169, 182, .45);
}

/* Remove individual icon motion to standardize visuals (keep hover glow only) */
.area-icon.finanzas {
    animation: none !important;
}

@keyframes barMove {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

/* Marketing – disable extra pulse and waves */
.area-icon.marketing {
    position: relative;
    overflow: visible;
    animation: none !important;
}

.area-card:hover .area-icon.marketing {
    animation: none !important;
}

@keyframes wavePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

.area-icon.marketing::before,
.area-icon.marketing::after {
    content: none;
}

/* Missing keyframes for marketing ripple effect */
@keyframes waveOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }

    20% {
        opacity: .65;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.6);
    }
}

/* Operativa Interna – two cogs side by side inside circle (no rotation) */
.area-icon.operativa {
    width: 56px;
    /* Match other cards for consistent halo */
    height: 56px;
    display: grid;
    place-items: center;
}

/* Make clipboard bigger than default */
.area-icon.operativa i,
.area-icon.operativa svg {
    width: 42px !important;
    height: 42px !important;
}

/* No rotation animations */
.area-icon.operativa i:nth-child(1),
.area-icon.operativa i:nth-child(2) {
    animation: none !important;
}

/* Atención al Cliente – disable vibration */
.area-icon.atencion {
    animation: none !important;
}

@keyframes phoneVibrate {

    0%,
    84%,
    100% {
        transform: translateX(0);
    }

    86% {
        transform: translateX(3px);
    }

    88% {
        transform: translateX(-3px);
    }

    90% {
        transform: translateX(2px);
    }

    92% {
        transform: translateX(-2px);
    }

    94% {
        transform: translateX(0);
    }
}

/* Reduce motion for users who prefer less animation */
@media (prefers-reduced-motion: reduce) {

    .service-icon,
    .service-icon.gear,
    .area-icon,
    .area-icon.finanzas,
    .area-icon.atencion,
    .service-cta-icon {
        animation: none !important;
    }
}

/* Servicios – CTA micro‑interaction */
.cta-link {
    color: #29A9B6;
    position: relative;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .3s ease;
}

.cta-link:hover {
    letter-spacing: .5px;
    color: #00d4ff;
}

.cta-link .cta-icon {
    display: inline-block;
    transition: transform .3s ease;
}

.cta-link:hover .cta-icon {
    transform: translateX(6px);
}

/* Portfolio: Áreas Transformadas */
.portfolio {
    position: relative;
    background: rgba(28, 158, 161, 0.18);
    color: #e2f6f8;
    overflow: hidden;
}

.portfolio::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(60% 40% at 30% 20%, rgba(28, 158, 161, .32), rgba(3, 15, 26, 0));
    filter: blur(24px);
    transform: translateY(calc(var(--parallax, 0) * 1px));
    pointer-events: none;
}

.portfolio-title {
    text-align: center;
    margin-bottom: 48px;
    font-size: 2rem;
    font-weight: 900;
    color: #e2f6f8;
}

.portfolio-title .highlight {
    color: #1C9EA1;
}

.portfolio-title .teal {
    color: #e2f6f8;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-bottom: 64px;
    perspective: 1000px;
}

.company-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 156px;
    border-radius: 12px;
    transition: box-shadow .3s ease, transform .12s ease, border-color .3s ease;
    background: #030F1A !important;
    border: 1px solid rgba(41, 169, 182, 0);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
    will-change: transform;
    overflow: visible;
}

.company-card:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    border-color: rgba(41, 169, 182, 0.34);
}

/* Do NOT show teal border on programmatic/click focus; only on keyboard */
.company-card:focus-visible {
    border-color: rgba(41, 169, 182, 0.34);
}

/* Ensure area-cards specifically use main dark site background */
.area-card {
    background: #030F1A !important;
}

/* Parallax-driven shadow under each card for extra depth */
.company-card::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -6px;
    height: 18px;
    background: radial-gradient(60% 80% at 50% 50%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    filter: blur(10px);
    transform: translateY(calc(var(--parallax, 0) * 0.5px));
    opacity: .85;
    pointer-events: none;
    z-index: 0;
}

.company-name {
    font-size: 18px;
    font-weight: 900;
    color: #e2f6f8;
    letter-spacing: .02em;
}

/* Flip cards for Áreas */
.flip-card {
    position: relative;
    perspective: 1000px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.flip-card:focus-visible {
    outline: 2px solid #1C9EA1;
    outline-offset: 2px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.2, .65, .3, 1);
}

.flip-card[aria-expanded="true"] .flip-inner {
    transform: rotateY(-180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.flip-back {
    transform: rotateY(180deg);
    isolation: isolate;
}

.area-examples {
    list-style: none;
    display: grid;
    gap: 6px;
    color: #e2f6f8;
    text-align: left;
    padding: 0;
    margin: 0;
    font-weight: 700;
    justify-items: start;
}

/* Ensure icons displayed under title, front only */
.flip-front {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 16px;
    transform: translateZ(1px);
    z-index: 2;
    contain: paint style;
}

.flip-back {
    z-index: 1;
    transform: rotateY(180deg) translateZ(1px);
}

.flip-hint {
    display: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ad6da;
}

/* CRITICAL: Hide all icons completely on flip-back with maximum specificity */
.flip-back .area-icon,
.flip-back .area-icon *,
.flip-back [data-lucide],
.flip-back i[data-lucide],
.flip-back svg[data-lucide],
.flip-back i svg,
.flip-back .area-icon svg,
.flip-back .area-icon i {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0) !important;
    /* Nuclear option: physically shrink to nothing */
}

/* Additional isolation: ensure flip-front icons are completely isolated */
.flip-front .area-icon {
    position: relative;
    z-index: 3;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(2px);
    /* Further isolate in 3D space */
}

/* Ensure flip-front is fully opaque when facing forward */
.flip-card:not([aria-expanded="true"]) .flip-front {
    opacity: 1;
}

.flip-card[aria-expanded="true"] .flip-front {
    opacity: 0;
    pointer-events: none;
}

/* Hard stop: when flipped, hide any area icon regardless of face */
.flip-card[aria-expanded="true"] .area-icon,
.flip-card[aria-expanded="true"] .area-icon *,
.flip-card[aria-expanded="true"] [data-lucide],
.flip-card[aria-expanded="true"] i[data-lucide],
.flip-card[aria-expanded="true"] .area-icon svg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0) !important;
}

/* Legacy mini-accents removed (icons estáticos bajo el título) */

/* Quienes Somos */
.quienes-somos {
    background: linear-gradient(135deg, #0a1a2e 0%, #16213e 100%);
}

.section-label {
    display: inline-block;
    background: rgba(226, 246, 248, 0.1);
    color: #1C9EA1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.quienes-title {
    font-size: 3rem;
    font-weight: 900;
    color: #e2f6f8;
    margin: 0 0 24px;
    line-height: 1.1;
}

.quienes-text {
    color: #cfe6ea;
    line-height: 1.6;
    font-size: 16px;
}

.quienes-text p {
    margin: 0 0 16px;
}

.quienes-text strong {
    color: #1C9EA1;
    font-weight: 700;
}

/* LinkedIn icon in Quienes Somos */
.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 12px;
    color: #1C9EA1;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.linkedin-link svg {
    width: 32px;
    height: 32px;
    display: block;
}

.linkedin-link:hover,
.linkedin-link:focus-visible {
    color: #00e0ff;
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(28, 158, 161, 0.7));
}

.linkedin-link:focus-visible {
    outline: 2px solid #1C9EA1;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Team */
.team-title {
    text-align: center;
    margin-bottom: 64px;
}

.team-title .aito {
    color: #1C9EA1;
}

.team-title-logo {
    display: block;
    margin: 0 auto;
    width: clamp(220px, 38vw, 320px);
    max-width: 360px;
    height: auto;
    filter: drop-shadow(0 10px 24px rgba(28, 158, 161, .45));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    justify-items: center;
}

.team-member {
    text-align: center;
    max-width: 240px;
}

.member-photo {
    width: 192px;
    height: 192px;
    background: linear-gradient(180deg, rgba(3, 15, 26, 0.86), rgba(3, 15, 26, 0.96));
    border-radius: 8px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28, 158, 161, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.member-initial {
    font-size: 4rem;
    font-weight: 900;
    color: #1C9EA1;
}

.member-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.member-role {
    color: #9ca3af;
    margin-bottom: 8px;
}

/* Contact */
.contact {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.contact-title {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 32px;
    line-height: 1.05;
}

.contact-title .contact-highlight {
    display: inline-flex;
    gap: 0;
    flex-wrap: nowrap;
    align-items: baseline;
    white-space: nowrap;
}

.contact-title .aito {
    color: #1C9EA1;
}

.contact-title .contact-highlight {
    color: #ffffff;
}

.contact-title .matizar-part {
    display: inline;
}

.contact-title .contact-highlight .aito-part {
    color: #1C9EA1;
}

.contact-title .contact-highlight .matizar-part {
    color: #ffffff;
}

.contact-subtitle {
    font-size: 24px;
    font-weight: bold;
}

.contact-link {
    color: #1C9EA1;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
}

/* Contact form */
.contact-form {
    display: grid;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}

.contact-form .form-row {
    display: grid;
    gap: 6px;
    text-align: left;
}

.contact-form label {
    font-weight: 800;
    color: #e2f6f8;
    font-size: 14px;
}

.contact-form input {
    appearance: none;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(226, 246, 248, 0.18);
    background: rgba(3, 15, 26, 0.86);
    color: #e2f6f8;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input::placeholder {
    color: #98aab4;
}

.contact-form input:focus {
    border-color: #1C9EA1;
    box-shadow: 0 0 0 3px rgba(28, 158, 161, 0.25);
}

/* pointer cursor on submit button */
.contact-form .footer-contact-button {
    cursor: pointer;
    width: 240px;
    margin: 8px auto 0;
}

/* Areas Transformadas – checklist bullets */
.area-examples li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
}

.area-examples li::before {
    content: "✓";
    color: #1C9EA1;
    font-weight: 900;
    flex: 0 0 auto;
}

/* Servicios – highlighted words */
.flash {
    position: relative;
    display: inline-block;
    color: #cfe6ea;
    font-weight: 700;
    background-image: linear-gradient(120deg, #1C9EA1 0%, #00e0ff 100%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: 0 50%;
    -webkit-background-clip: text;
    background-clip: text;
    transition: font-weight .3s ease, color .3s ease, background-size .5s ease;
}

.flash-gradient {
    font-weight: 800;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-size: 100% 100%;
}

.flash-gradient-animate {
    animation: flashGradientFill .75s cubic-bezier(.2, .65, .3, 1) forwards;
}

@keyframes flashGradientFill {
    0% {
        color: #cfe6ea;
        -webkit-text-fill-color: #cfe6ea;
        background-size: 0% 100%;
        font-weight: 700;
    }

    45% {
        font-weight: 800;
    }

    100% {
        color: transparent;
        -webkit-text-fill-color: transparent;
        background-size: 100% 100%;
        font-weight: 800;
    }
}

/* Footer */
.site-footer {
    color: #cbd5e1;
    background: #0b1924;
    margin-top: 40px;
}

.footer-top {
    padding: 48px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.footer-title {
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    margin: 0 0 16px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-list a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-list a:hover {
    color: #e2e8f0;
    text-decoration: underline;
}

.footer-bottom {
    background: #07131b;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
}

.footer-legal {
    display: flex;
    gap: 18px;
}

.footer-legal a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #e2e8f0;
    text-decoration: underline;
}

/* Footer CTA + Logo */
.footer-cta {
    text-align: center;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0 16px;
}

.footer-logo-img {
    width: clamp(140px, 28vw, 220px);
    max-height: 140px;
    height: auto;
    filter: drop-shadow(0 8px 26px rgba(28, 158, 161, .35));
    animation: footerLogoFloat 5.5s ease-in-out 0.6s infinite alternate;
}

.footer-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1C9EA1;
    color: #030F1A;
    font-weight: 800;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 6px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.footer-contact-button:hover {
    filter: brightness(1.05);
}

@keyframes footerLogoFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-3px) scale(1.01);
    }
}

/* Footer reveal on scroll */
.footer-cta .footer-logo-img,
.footer-cta .footer-contact-button {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s ease, transform .6s ease;
}

.footer-cta.revealed .footer-logo-img,
.footer-cta.revealed .footer-contact-button {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Chat (FAB + Panel) */
.chat-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: #1C9EA1;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    cursor: pointer;
    z-index: 2000;
    border: none;
}

.chat-fab svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: #1C9EA1;
}


/* Chat panel not used (hidden) until AI chat is implemented */
.chat-panel {
    display: none;
}

/* Custom Alert Modal - Diseño simple similar al alert nativo */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
}

.custom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 15, 26, 0.85);
    backdrop-filter: blur(4px);
}

.custom-modal-content {
    position: relative;
    background: #030F1A;
    border: 1px solid #00bcd4;
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 188, 212, 0.3) inset;
    text-align: left;
    animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-modal-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cfe6ea;
    margin: 0 0 8px 0;
}

.custom-modal-message {
    font-size: 0.95rem;
    color: #e2f6f8;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.custom-modal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1C9EA1;
    color: #030F1A;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    font-size: 0.9rem;
    transition: filter 0.2s ease, transform 0.2s ease;
    min-width: 120px;
    float: right;
}

.custom-modal-button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.custom-modal-button:active {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .custom-modal {
        padding-top: 15vh;
    }

    .custom-modal-content {
        max-width: 320px;
        padding: 18px 20px;
    }
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0;
    transition: opacity 2200ms ease;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-header>*,
.hero-title>div,
.benefits-title,
.benefits-grid .benefit-item {
    opacity: 0;
    animation-name: fadeUp;
    animation-duration: .95s;
    animation-timing-function: cubic-bezier(.2, .65, .3, 1);
    animation-fill-mode: forwards;
    animation-play-state: paused;
    will-change: transform, opacity;
}

.hero-header>*:nth-child(1) {
    animation-delay: .8s;
}

.hero-header>*:nth-child(2) {
    animation-delay: 1.2s;
}

.hero-title>div:nth-child(1) {
    animation-delay: 1.6s;
}

.hero-title>div:nth-child(2) {
    animation-delay: 2.0s;
}

.hero-title>div:nth-child(3) {
    animation-delay: 2.4s;
}

.hero-title>div:nth-child(4) {
    animation-delay: 2.8s;
}

.benefits-title {
    animation-delay: 3.0s;
}

.benefits-grid .benefit-item:nth-child(1) {
    animation-delay: 3.5s;
}

.benefits-grid .benefit-item:nth-child(2) {
    animation-delay: 4.0s;
}

.benefits-grid .benefit-item:nth-child(3) {
    animation-delay: 4.5s;
}

.benefits-grid .benefit-item:nth-child(4) {
    animation-delay: 5.0s;
}

body.animate-in .hero-header>*,
body.animate-in .hero-title>div,
body.animate-in .benefits-title,
body.animate-in .benefits-grid .benefit-item {
    animation-play-state: running;
}

body.hero-intro-complete .hero-header>*,
body.hero-intro-complete .hero-title>div,
body.hero-intro-complete .benefits-title,
body.hero-intro-complete .benefits-grid .benefit-item {
    opacity: 1;
    transform: none;
    animation: none !important;
}

/* + symbol pulse with teal glow */
@keyframes plusPulse {
    0% {
        opacity: 0;
        transform: translate(0, -50%) scale(0.85) rotate(0deg);
        text-shadow: 0 0 0 rgba(28, 158, 161, 0);
    }

    20% {
        opacity: .98;
    }

    50% {
        transform: translate(0, -50%) scale(1.3) rotate(8deg);
        text-shadow: 0 0 18px rgba(28, 158, 161, .95), 0 0 32px rgba(28, 158, 161, .38), 0 0 6px rgba(255, 255, 255, .9);
    }

    70% {
        text-shadow: 0 0 14px rgba(255, 255, 255, .8), 0 0 34px rgba(28, 158, 161, .28);
    }

    100% {
        opacity: .85;
        transform: translate(0, -50%) scale(1.0) rotate(0deg);
        text-shadow: 0 0 0 rgba(28, 158, 161, 0);
    }
}

/* Logo “Symbiosis” Animation */
@keyframes logoSymbiosisAppear {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.98) rotate(-0.3deg);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes logoSymbiosisFloat {
    0% {
        transform: translateY(0) rotate(0.12deg);
    }

    100% {
        transform: translateY(-2px) rotate(-0.12deg);
    }
}

body.animate-in .logo-img {
    animation: logoSymbiosisAppear 900ms cubic-bezier(.2, .65, .3, 1) .8s backwards, logoSymbiosisFloat 6s ease-in-out 2.0s infinite alternate;
    will-change: transform;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Desktop-first; responsiveness removed per design focus */
@media (max-width: 950px) {
    .hero-header {
        padding: 0 8px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-title .aito {
        font-size: 1.1em;
        white-space: normal;
    }

    .hero-title>div:last-child {
        margin-top: 28px;
    }

    .benefit-icon {
        width: 64px;
        height: 64px;
    }

    .benefit-icon::after {
        left: -18px;
        top: 46%;
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 48px 16px;
    }

    .section.servicios {
        padding: 38px 16px 42px;
    }

    .servicios .section-title {
        margin-bottom: 28px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 20px 16px 24px;
        padding: max(20px, env(safe-area-inset-top)) 16px 24px;
        gap: clamp(16px, 5vh, 24px);
    }

    .hero-header {
        margin: 0 auto clamp(50px, 4vh, 28px);
        padding: 0;
        position: relative;
        z-index: 4000;
    }

    .logo-img {
        height: 40px;
    }

    .site-menu {
        position: fixed;
        inset: 0;
        display: none;
        margin: 0;
        padding: 80px 24px 32px;
        padding: calc(max(16px, env(safe-area-inset-top)) + 64px) 24px 32px;
        background: rgba(3, 15, 26, 0.94);
        backdrop-filter: blur(6px);
        border-radius: 0;
        border: none;
        box-shadow: none;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        gap: 18px;
        overflow-y: auto;
        width: 100%;
        height: 100%;
    }

    .site-menu.open {
        display: flex;
    }

    .site-menu a {
        width: min(88%, 360px);
        text-align: center;
        font-size: clamp(1.3rem, 6vw, 1.85rem);
        padding: 16px 18px;
        border-radius: 16px;
        font-weight: 700;
        background: rgba(226, 246, 248, 0.06);
        white-space: normal;
        line-height: 1.2;
    }

    .site-menu a:focus-visible {
        outline: 2px solid #1C9EA1;
        outline-offset: 4px;
    }

    .hero-content {
        flex: 1;
        align-items: center;
        gap: clamp(45px, 6vh, 100px);
    }

    .hero-title {
        font-size: clamp(2.1rem, 7.6vw, 2.8rem);
        max-width: 12ch;
        margin: 0 auto;
        line-height: 1.05;
    }

    .hero-title>div {
        margin: 0;
    }

    .hero-title>div:last-child {
        margin-top: clamp(12px, 4vh, 20px);
    }

    .benefits {
        width: 100%;
        margin-top: 0;
    }

    .benefits-title {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
        margin-bottom: 16px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 14px;
        padding: 0;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .benefit-item {
        gap: 12px;
    }

    .benefit-text {
        font-size: 15px;
    }

    .service-card {
        width: min(100%, 400px);
        padding: 16px 14px;
    }

    .service-card-inner {
        gap: 12px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
    }

    .service-title {
        font-size: 18px;
        margin: 0;
    }

    .services-grid {
        gap: 18px;
        justify-items: center;
    }

    .service-list {
        display: none;
    }

    .service-cta {
        width: 100%;
        flex-direction: column;
        gap: 4px;
        margin-top: 4px;
    }

    .service-cta-text,
    .service-cta-icon {
        display: none;
    }

    .service-tap-hint {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.72rem;
    }

    .portfolio-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 32px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .company-card {
        min-height: 148px;
    }

    .area-card .area-icon {
        box-shadow: 0 0 18px rgba(41, 169, 182, .45);
    }

    .area-card:hover .area-icon {
        box-shadow: 0 0 18px rgba(41, 169, 182, .45);
    }

    .flip-hint {
        display: inline-flex;
        margin-top: 6px;
    }

    .quienes-somos .container {
        padding: 0 16px;
    }

    .quienes-content {
        max-width: 72ch;
        margin: 0 auto;
    }

    .quienes-title {
        font-size: clamp(2rem, 8vw, 2.6rem);
        margin-bottom: 20px;
    }

    .linkedin-link {
        margin-left: 8px;
    }

    .linkedin-link svg {
        width: 24px;
        height: 24px;
    }

    .quienes-text {
        font-size: 17px;
        line-height: 1.72;
        max-width: 68ch;
        margin: 0 auto;
    }

    .quienes-text p {
        margin-bottom: 20px;
    }

    .team-title {
        margin-bottom: 36px;
    }

    .team-title-logo {
        width: clamp(200px, 60vw, 280px);
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        max-width: 340px;
        margin: 0 auto;
    }

    .team-member {
        max-width: 160px;
        margin: 0 auto;
    }

    .member-photo {
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-bottom: 10px;
        border-radius: 6px;
    }

    .member-initial {
        font-size: clamp(2.8rem, 11vw, 3.6rem);
    }

    .member-name {
        font-size: 18px;
    }

    .member-role {
        font-size: 14px;
    }

    .contact {
        padding: 0 8px;
    }

    .contact-title {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .contact-form {
        width: 100%;
        gap: 16px;
    }

    .contact-form input {
        padding: 14px 16px;
    }

    .contact-form .footer-contact-button {
        width: 100%;
        max-width: 140px;
    }

    .footer-top {
        padding: 40px 16px;
    }

    .footer-grid {
        gap: 28px;
    }

    .footer-title {
        font-size: 22px;
    }

    .footer-cta {
        gap: 16px;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px 16px;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 24px;
    }
}

@media (max-width: 640px) {
    .benefit-text {
        font-size: 16px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .quienes-image {
        order: 2;
    }
}

@media (max-width: 490px) {
    .hero-title {
        font-size: clamp(1.95rem, 8.8vw, 2.4rem);
    }

    .benefits-grid {
        gap: 18px 14px;
    }

    .service-card {
        width: min(100%, 400px);
    }
}

@media (max-width: 400px) {
    .hero {
        padding: 18px 14px 20px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 9.2vw, 2.2rem);
    }

    .benefits-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }

    .benefits-grid {
        gap: 16px 12px;
        max-width: 320px;
    }

    .benefit-text {
        font-size: 14px;
    }

    .portfolio-title {
        font-size: clamp(1.6rem, 7.5vw, 1.9rem);
        margin-bottom: 28px;
    }

    .contact-title {
        font-size: clamp(1.8rem, 8.4vw, 2.2rem);
    }
}

/* Bigger Screen Resolution */
@media (min-width: 2400px) and (min-height: 1200px) {
    .hero-header {
        max-width: 1800px;
        margin-bottom: 27px;
    }

    .hero-content {
        max-width: 1800px;
    }

    .benefits-grid {
        max-width: 1800px;
        width: min(88vw, 1800px);
    }

    /* Logo - reduced 10% */
    .logo-img {
        height: 90px;
    }

    /* Hamburger - reduced 10% */
    .hamburger {
        width: 99px;
        height: 81px;
        gap: 7px;
    }

    .hamburger span {
        width: 45px;
        height: 4px;
    }

    .hamburger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Desktop menu - positioned next to hamburger with bigger letters */
    .site-menu {
        position: absolute !important;
        top: 2px !important;
        right: 120px !important;
        left: auto !important;
        transform: none !important;
        height: 81px;
        gap: 29px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .site-menu.open a {
        padding: 11px 14px;
        font-size: 1.1rem;
        font-weight: 800;
    }

    /* Hero content - moved up */
    .hero-content {
        justify-content: center;
        padding-top: 20px;
    }

    .hero-title {
        font-size: 5.4rem;
        margin-top: 27px;
    }

    .hero-title .aito {
        font-size: 1.3em;
    }

    .hero-title>div {
        margin-bottom: 9px;
    }

    .hero-title>div:last-child {
        margin-top: 27px;
    }

    .benefits {
        margin-top: 45px;
    }

    /* Beneficios title - same size as Servicios title */
    .benefits-title {
        font-size: 3.6rem;
        margin-bottom: 32px;
    }

    .benefits-grid {
        gap: 72px;
        padding: 0 0 32px;
    }

    /* Benefit icons - bigger */
    .benefit-icon {
        width: 90px;
        height: 90px;
    }

    .benefit-icon::after {
        left: -24px;
        top: 43.75%;
        font-size: 48px;
    }

    .benefit-text {
        font-size: 28px;
    }

    .benefit-item {
        gap: 14px;
    }

    /* Container and sections - reduced 10% */
    .container {
        max-width: 1800px;
        padding: 0 43px;
    }

    .section {
        padding: 101px 43px;
    }

    /* Section titles - reduced 10% */
    .section-title {
        font-size: 3.6rem;
        margin-bottom: 72px;
    }

    .portfolio-title {
        font-size: 3.6rem;
        margin-bottom: 86px;
    }

    /* Services section - reduced 10% */
    .services-grid {
        gap: 58px;
    }

    .service-card {
        padding: 47px 36px 36px;
        border-radius: 22px;
    }

    .service-card-inner {
        gap: 32px;
    }

    .service-icon {
        width: 101px;
        height: 101px;
        margin-bottom: 18px;
    }

    .service-icon svg {
        width: 50px;
        height: 50px;
    }

    .service-title {
        font-size: 36px;
        margin-bottom: 11px;
    }

    .service-subtitle {
        font-size: 27px;
        margin-bottom: 22px;
    }

    .service-list {
        gap: 14px;
        margin-bottom: 22px;
    }

    .service-list li {
        font-size: 22px;
    }

    .service-cta {
        font-size: 22px;
        gap: 14px;
    }

    .service-cta-icon {
        font-size: 2.2rem;
    }

    /* Portfolio/Areas section - smaller boxes so 4 fit on width */
    .portfolio-grid {
        gap: 36px;
        margin-bottom: 115px;
        grid-template-columns: repeat(4, 1fr);
    }

    .company-card {
        height: 281px;
        border-radius: 22px;
    }

    .company-name {
        font-size: 32px;
    }

    .area-icon {
        width: 101px;
        height: 101px;
    }

    .area-icon i,
    .area-icon svg {
        width: 65px;
        height: 65px;
    }

    .area-icon iconify-icon {
        width: 50px;
        height: 50px;
    }

    .area-examples {
        gap: 11px;
        font-size: 22px;
    }

    /* Quienes Somos section - reduced 10% */
    .section-label {
        padding: 14px 29px;
        border-radius: 36px;
        font-size: 22px;
        margin-bottom: 36px;
    }

    .quienes-title {
        font-size: 5.4rem;
        margin-bottom: 43px;
    }

    .quienes-text {
        font-size: 29px;
        line-height: 1.6;
    }

    .quienes-text p {
        margin-bottom: 29px;
    }

    /* Team section - reduced gap so boxes are closer */
    .team-title {
        margin-bottom: 115px;
    }

    .team-title-logo {
        width: 576px;
        max-width: 648px;
    }

    .team-grid {
        gap: 32px;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .team-member {
        max-width: 432px;
    }

    .member-photo {
        width: 346px;
        height: 346px;
        border-radius: 14px;
        margin-bottom: 29px;
    }

    .member-initial {
        font-size: 7.2rem;
    }

    .member-name {
        font-size: 36px;
        margin-bottom: 14px;
    }

    .member-role {
        font-size: 29px;
        margin-bottom: 14px;
    }

    /* Contact section - reduced 10% */
    .contact {
        max-width: 1440px;
    }

    .contact-icon {
        font-size: 7.2rem;
        margin-bottom: 29px;
    }

    .contact-title {
        font-size: 5.4rem;
        margin-bottom: 58px;
    }

    .contact-subtitle {
        font-size: 43px;
    }

    .contact-form {
        max-width: 936px;
        gap: 22px;
    }

    .contact-form label {
        font-size: 25px;
    }

    .contact-form input {
        padding: 22px 25px;
        border-radius: 18px;
        font-size: 22px;
    }

    .contact-form .footer-contact-button {
        width: 432px;
        margin-top: 14px;
        padding: 22px 32px;
        font-size: 22px;
    }

    /* Footer section - reduced 10% */
    .site-footer {
        margin-top: 72px;
    }

    .footer-top {
        padding: 86px 43px;
    }

    .footer-grid {
        gap: 72px;
    }

    .footer-title {
        font-size: 43px;
        margin-bottom: 29px;
    }

    .footer-list {
        gap: 18px;
    }

    .footer-list a {
        font-size: 29px;
    }

    .footer-bottom-row {
        gap: 29px;
        padding: 25px 43px;
    }

    .footer-legal {
        gap: 32px;
    }

    .footer-legal a {
        font-size: 25px;
    }

    .footer-logo-wrap {
        padding: 14px 0 29px;
    }

    .footer-logo-img {
        width: 396px;
        max-height: 252px;
    }

    .footer-contact-button {
        padding: 22px 32px;
        font-size: 22px;
        margin-top: 11px;
    }
}