
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.site-loading {
    overflow: hidden;
}

/* Pantalla de carga */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.16), transparent 34%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 48%, #eef5ff 100%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-card {
    width: min(460px, 100%);
    text-align: center;
    padding: 3rem 2rem;
}

.loader-logo {
    width: min(220px, 70vw);
    height: auto;
    margin-bottom: 1.75rem;
    filter: drop-shadow(0 16px 28px rgba(37, 99, 235, 0.18));
    animation: loaderFloat 2.4s ease-in-out infinite;
}

.loader-kicker {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.loader-card h2 {
    margin-bottom: 1.75rem;
    color: var(--text-dark);
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.site-loader.is-complete .loader-card h2 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.loader-progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.loader-progress-bar {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary-color), #38bdf8);
    box-shadow: 0 0 22px rgba(37, 99, 235, 0.35);
    transition: width 0.12s ease-out;
}

.loader-percent {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
}

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

/* Tipografía */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* Navegación principal */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

header.scrolled {
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.nav-contact-btn {
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
}

.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.language-toggle {
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 999px;
    padding: 0.56rem 0.85rem;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 64px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
    outline: none;
}

.language-arrow {
    font-size: 0.68rem;
    transform: translateY(-1px);
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    min-width: 148px;
    padding: 0.45rem;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 12px;
    background: var(--bg-white);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    display: none;
    z-index: 1300;
}

.language-menu.active {
    display: block;
}

.language-option {
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    display: block;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 0.75rem;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.language-option:hover,
.language-option.active {
    background: #f3f6ff;
    color: var(--primary-color);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); }
.btn-whatsapp { background-color: #25d366; color: white; }
.btn-whatsapp:hover { background-color: #1ebe5d; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25); }
.btn-secondary { background-color: transparent; color: var(--text-dark); border: 1px solid var(--border-color); box-shadow: inset 0 0 0 rgba(15, 23, 42, 0); }
.btn-secondary:hover { background-color: var(--bg-light); border-color: var(--text-muted); transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08); }

.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(18, 140, 126, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px rgba(18, 140, 126, 0.35);
}

/* Estructura general */
section { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }

/* Portada */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 { font-size: 4rem; letter-spacing: -0.02em; }
.hero-content p { font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 90%; }
.hero-buttons { display: flex; gap: 1rem; }
.hero-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* Encabezados de sección */
.section-header { margin-bottom: 4rem; }
.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Carrusel de clientes */
.logo-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: logoMarquee 140s linear infinite;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

@keyframes logoMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Cuadrículas y tarjetas */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: pulse 0.8s ease-in-out infinite;
}

.card-img { height: 200px; width: 100%; object-fit: cover; }
.card-content { padding: 2rem; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.blog-card .card-img {
    height: 240px;
}

.blog-card .card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.blog-meta {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.image-fade {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.image-fade img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: imageFade 8s ease-in-out infinite;
}

.image-fade img:first-child {
    opacity: 1;
}

.image-fade img:nth-child(2) {
    animation-delay: 4s;
}

@keyframes imageFade {
    0%, 45% { opacity: 1; }
    55%, 100% { opacity: 0; }
}

/* Mensaje de marca */
.brand-motto-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(29, 78, 216, 0.9)),
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.35), transparent 38%);
}

.brand-motto-section::before,
.brand-motto-section::after {
    content: "";
    position: absolute;
    left: 50%;
    width: min(820px, 86vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.brand-motto-section::before {
    top: 2rem;
}

.brand-motto-section::after {
    bottom: 2rem;
}

.brand-motto {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.brand-motto-logo {
    width: min(190px, 56vw);
    height: auto;
    margin-bottom: 2rem;
    padding: 0.9rem 1.15rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.2);
}

.brand-motto p {
    margin: 0 auto;
    max-width: 860px;
    color: white;
    font-size: clamp(1.85rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.16;
}

/* Carrusel de testimonios */
.testimonial-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0.75rem 0 1.25rem;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.testimonial-track {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    width: max-content;
    animation: testimonialMarquee 180s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    padding: 2.5rem 2rem;
}

.testimonial-card p {
    color: var(--text-dark);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-author img,
.testimonial-initials {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-author img {
    object-fit: cover;
}

.testimonial-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: var(--text-muted);
    font-weight: 700;
}

.testimonial-author h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.35;
}

@keyframes testimonialMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.why-sydai-section {
    background: var(--bg-white);
}

.why-sydai-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
    row-gap: 0;
    border-top: 1px solid var(--border-color);
}

.why-sydai-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.why-sydai-item:hover {
    animation: whySydaiPulse 0.9s ease-in-out infinite;
}

.why-sydai-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
}

.why-sydai-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.why-sydai-item p {
    margin-bottom: 0;
}

@keyframes whySydaiPulse {
    0% { transform: translateX(6px) scale(1); }
    50% { transform: translateX(6px) scale(1.015); }
    100% { transform: translateX(6px) scale(1); }
}

.team-section {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    animation: pulse 0.8s ease-in-out infinite;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.team-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.team-avatar svg {
    width: 38px;
    height: 38px;
}

.team-card h3 {
    margin-bottom: 0.75rem;
}

.team-card p {
    margin-bottom: 1.5rem;
}

.team-role {
    margin-top: auto;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@keyframes pulse {
    0% { transform: translateY(-10px) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
    100% { transform: translateY(-10px) scale(1); }
}

/* Llamado a la acción */
.banner-cta { background-color: var(--primary-color); color: white; text-align: center; padding: 4rem 2rem; }
.banner-cta h2, .banner-cta p { color: white; }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-dialog {
    background: var(--bg-white);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
    transform: translateY(10px);
    transition: transform 0.25s ease;
}
.modal.open .modal-dialog { transform: none; }
.modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}
.modal-close.external {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    z-index: 1100;
}
.modal-img,
.modal-media {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-media img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-body { padding: 1.5rem; color: var(--text-dark); }

.modal-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer { background-color: #1f2937; color: white; padding: 4rem 2rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-col h4 { color: white; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col a { color: #9ca3af; text-decoration: none; margin-bottom: 0.75rem; display: block; transition: color 0.3s; }
.footer-col a:hover { color: white; }
.footer-col .footer-inline-link { display: inline; margin-bottom: 0; }
.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}
.footer-social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(156, 163, 175, 0.35);
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 !important;
    color: #d1d5db !important;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}
.footer-social-link:hover {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.72);
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}
.footer-social-link svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-card {
    scroll-margin-top: 7rem;
}

.privacy-page {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.privacy-page h1 {
    margin-top: 0;
}

.privacy-page h2,
.privacy-page h3 {
    margin-top: 1.75rem;
}

.privacy-page ul {
    margin: 0 0 1.5rem 1.25rem;
    color: var(--text-muted);
}

.privacy-page li {
    margin-bottom: 0.5rem;
}

/* Transiciones de entrada */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Formulario de contacto */
.contact-section { padding: 4rem 2rem; background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-info { padding: 2rem; }
.contact-info h3 { margin-bottom: 0.75rem; }
.contact-form { padding: 1.5rem; }
.contact-form form { display: grid; gap: 1rem; }
.form-row { display: flex; flex-direction: column; }
.form-label { font-weight: 600; margin-bottom: 0.4rem; color: var(--text-dark); }
.form-input, .form-textarea { padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; background: white; color: var(--text-dark); }
.form-input::placeholder, .form-textarea::placeholder { color: #9ca3af; opacity: 1; }
.form-textarea { resize: vertical; min-height: 140px; }
.form-actions { margin-top: 0.5rem; }
.form-success { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 8px; display: block; }
.form-success.ok { background: rgba(34,197,94,0.08); color: #16a34a; border: 1px solid rgba(34,197,94,0.12); }
.form-success.error { background: rgba(239,68,68,0.06); color: #dc2626; border: 1px solid rgba(239,68,68,0.1); }

/* FAQ */
.faq-section {
    background: var(--bg-light);
}

.faq-list {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .contact-grid { grid-template-columns: 1fr; }
    .why-sydai-list { column-gap: 2rem; }
    nav ul { gap: 1.2rem; }
}

@media (max-width: 768px) {
    .nav-container { padding: 0.85rem 1rem; gap: 0.75rem; }
    .nav-actions { gap: 0.5rem; }
    .nav-contact-btn { padding: 0.45rem 0.85rem; font-size: 0.85rem; }
    .language-toggle { min-width: 56px; padding: 0.45rem 0.7rem; font-size: 0.8rem; }
    .language-menu { min-width: 136px; }
    .hero .container { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .logo-track { gap: 2.5rem; animation-duration: 120s; }
    .logo-item { flex-basis: 150px; }
    .logo-item img { height: 120px; }
    .testimonial-track { gap: 1rem; animation-duration: 150s; }
    .testimonial-card { flex-basis: min(82vw, 340px); min-height: 350px; padding: 2rem 1.5rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card .card-img,
    .modal-img,
    .modal-media { height: 240px; }
    .why-sydai-list { grid-template-columns: 1fr; }
    .why-sydai-item { gap: 1rem; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .whatsapp-float { right: 1rem; bottom: 1rem; width: 56px; height: 56px; }
    nav ul { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .logo img { height: 38px; max-width: 160px; }
    .nav-actions { gap: 0.4rem; }
    .nav-contact-btn { padding: 0.4rem 0.65rem; font-size: 0.8rem; }
    .language-toggle { min-width: 52px; padding: 0.4rem 0.58rem; }
}

@media (prefers-reduced-motion: reduce) {
    .image-fade img {
        animation: none;
    }

    .image-fade img:first-child {
        opacity: 1;
    }

    .image-fade img:nth-child(n+2) {
        opacity: 0;
    }
}
