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

:root {
    --primary-color: #000;
    --primary-dark: #0756F2;
    --bg-light: #f5f1ed;
    --bg-dark: #1a1a1a;
    --text-light: #1a1a1a;
    --text-dark: #f5f1ed;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark {
    --bg-light: #1a1a1a;
    --text-light: #f5f1ed;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

body.dark .navbar {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lang-btn, .theme-btn, .menu-btn {
    background-color: var(--primary-color);
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.lang-btn:hover, .theme-btn:hover, .menu-btn:hover {
    background-color: var(--primary-dark);
}

.theme-btn i {
    font-size: 16px;
}

.lang-btn i {
    font-size: 16px;
}

/* ── MENU MODAL ── */
.menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a1a1a;
    z-index: -1;
    display: none;
    flex-direction: column;
    padding: 20px 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    pointer-events: none;
}

.menu-modal.active {
    display: flex;
    opacity: 1;
    z-index: 10000;
    pointer-events: auto;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.menu-logo {
    height: 40px;
    width: auto;
}

.menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.menu-close:hover {
    opacity: 0.8;
}

.menu-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 64px;
    font-weight: 900;
    transition: opacity 0.2s ease;
}

.menu-link:hover {
    opacity: 0.8;
}

/* Dark mode menu */
body.dark .menu-modal {
    background-color: #000;
}

/* ── HERO SECTION ── */
.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-ghost-n {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vh;
    height: 120vh;
    max-width: 140vw;
    background: url('img/logo.png') center / contain no-repeat;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

body.dark .hero-ghost-n {
    background-image: url('img/logoblanco.png');
    opacity: 0.06;
}

body.dark .hero {
    background-color: var(--bg-dark);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-light);
    letter-spacing: -1px;
}

body.dark .hero h1 {
    color: var(--text-dark);
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

body.dark .hero p {
    color: #aaa;
}

.hero-accent {
    color: inherit;
}

.hero-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 2px solid currentColor;
    padding-bottom: 4px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

body.dark .hero-link {
    color: var(--text-dark);
}

.hero-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-link:hover {
    opacity: 0.7;
}

.hero-link:hover i {
    transform: translateX(4px);
}

.hero-btn {
    align-self: center;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark .hero-btn {
    background-color: #fff;
    color: #1a1a1a;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.hero-btn i {
    font-size: 18px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

body.dark .hero-btn:hover {
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* ── PROJECTS SECTION TITLE ── */
/* ── FEATURES BAR ── */
.features-bar {
    width: 100%;
    padding: 0;
}

.features-bar-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark .features-bar-container {
    background-color: #111;
    border-top-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 22px 28px;
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: rgba(0, 0, 0, 0.12);
}

body.dark .feature-item:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.12);
}

.feature-item i {
    font-size: 34px;
    color: var(--text-light);
    flex-shrink: 0;
}

body.dark .feature-item i {
    color: var(--text-dark);
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin: 0 0 2px;
}

body.dark .feature-text h3 {
    color: var(--text-dark);
}

.feature-text p {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin: 0;
}

body.dark .feature-text p {
    color: #aaa;
}

.projects-section {
    width: 100%;
    padding: 120px 40px 40px;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

body.dark .projects-section {
    background-color: var(--bg-dark);
}

.projects-section-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: end;
}

.projects-section-title {
    font-size: 120px;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1;
    letter-spacing: -2px;
    margin: 0;
}

body.dark .projects-section-title {
    color: var(--text-dark);
}

/* ── PROJECTS SECTION ── */
.projects {
    width: 100%;
    min-height: auto;
    padding: 120px 40px 80px;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
    position: relative;
}

body.dark .projects {
    background-color: var(--bg-dark);
}

#projects-carousel-section {
    padding-top: 40px;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    top: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#projects-carousel-section {
    min-height: auto;
    padding: 80px 40px;
}

#projects-carousel-section .projects-container {
    position: relative;
    height: auto;
    top: auto;
    max-width: 100%;
    margin: 0;
}

.projects-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.projects-center img {
    height: 120px;
    width: auto;
}

.projects-center h2 {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: -1px;
    margin: 0;
}

body.dark .projects-center h2 {
    color: var(--text-dark);
}

.projects-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    justify-items: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    position: relative;
}

.projects-gallery.carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 20px 0 0;
}

/* ── PROJECT CARDS (carrusel) ── */
.project-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark .project-card {
    background-color: #111;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.project-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-img img {
    transform: scale(1.05);
}

.project-card-body {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
}

.project-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-light);
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
}

body.dark .project-card-icon {
    color: var(--text-dark);
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.project-card-text {
    flex: 1;
    min-width: 0;
}

.project-card-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
}

body.dark .project-card-label {
    color: #999;
}

.project-card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-light);
    margin: 0 0 6px;
    line-height: 1.1;
}

body.dark .project-card-title {
    color: var(--text-dark);
}

.project-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

body.dark .project-card-desc {
    color: #aaa;
}

.project-card-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark .project-card-btn {
    background-color: #fff;
    color: #1a1a1a;
}

.project-card-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.project-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.project-card-btn:hover i {
    transform: translateX(3px);
}

.project-item {
    max-width: 100%;
    max-height: 500px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: 3px solid #000;
    position: relative;
    transition: all 0.3s ease;
}

.project-item:not(.project-cta)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.project-item:not(.project-cta)::after {
    content: 'Ver Proyecto →';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #000;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.project-item:not(.project-cta):hover::before {
    opacity: 1;
}

.project-item:not(.project-cta):hover::after {
    opacity: 1;
}

.projects-gallery.carousel .project-item {
    max-width: 100%;
    max-height: 400px;
}

.projects-gallery.carousel .project-item:nth-child(3) {
    grid-column: 1 / 2;
}

.project-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    min-height: 400px;
    border: none !important;
    box-shadow: none !important;
}

body.dark .project-cta {
    background: transparent !important;
}

.project-cta-content {
    text-align: center;
}

.project-cta-content p {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

body.dark .project-cta-content p {
    color: #fff;
}

/* ── TESTIMONIALS SECTION ── */
.testimonials {
    width: 100%;
    padding: 120px 40px 80px;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

body.dark .testimonials {
    background-color: var(--bg-dark);
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-title {
    font-size: 72px;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 0 0 16px 0;
    text-align: center;
}

body.dark .testimonials-title {
    color: var(--text-dark);
}

.testimonials-accent {
    color: inherit;
    opacity: 0.55;
}

.testimonials-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-align: center;
    margin: 0 0 64px 0;
}

body.dark .testimonials-subtitle {
    color: #aaa;
}

.testimonials-subtitle .testimonials-accent {
    color: var(--text-light);
    opacity: 1;
    font-weight: 700;
}

body.dark .testimonials-subtitle .testimonials-accent {
    color: var(--text-dark);
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.testimonial-card {
    display: flex;
    align-items: stretch;
    gap: 24px;
    flex: 0 1 620px;
    padding: 24px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

body.dark .testimonial-card {
    background-color: #111;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.testimonial-video {
    width: 230px;
    flex-shrink: 0;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
}

.testimonial-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.testimonial-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-size: 38px;
    color: var(--text-light);
    opacity: 0.85;
    line-height: 1;
}

body.dark .testimonial-quote {
    color: var(--text-dark);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
}

.testimonial-stars i {
    font-size: 16px;
    color: var(--text-light);
}

body.dark .testimonial-stars i {
    color: var(--text-dark);
}

.testimonial-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-light);
    margin: 0 0 2px 0;
}

body.dark .testimonial-name {
    color: var(--text-dark);
}

.testimonial-company {
    font-size: 15px;
    color: #888;
    margin: 0 0 16px 0;
}

body.dark .testimonial-company {
    color: #aaa;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

body.dark .testimonial-text {
    color: #bbb;
}

.testimonial-icon {
    margin-top: auto;
    align-self: flex-start;
    font-size: 22px;
    color: var(--text-light);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

body.dark .testimonial-icon {
    color: var(--text-dark);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ── FAQ SECTION ── */
.faq {
    padding: 120px 40px 80px;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

body.dark .faq {
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.faq-header {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-header h2 {
    font-size: 64px;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

body.dark .faq-header h2 {
    color: var(--text-dark);
}

.faq-header p {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

body.dark .faq-header p {
    color: #aaa;
}

.faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    width: fit-content;
}

body.dark .faq-btn {
    background-color: #fff;
    color: #1a1a1a;
}

.faq-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

body.dark .faq-btn:hover {
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

body.dark .faq-item {
    border-bottom-color: #333;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

body.dark .faq-question {
    color: var(--text-dark);
}

.faq-question:hover {
    color: #8b0000;
}

body.dark .faq-question:hover {
    color: #ff6b6b;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 20px;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

body.dark .faq-answer p {
    color: #aaa;
}

/* ── FOOTER ── */
.footer {
    background-color: #000;
    color: #fff;
}

.footer-top {
    padding: 80px 40px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 80px;
}

.footer-left {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    height: 80px;
    width: auto;
}

.footer-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.footer-email {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-email:hover {
    opacity: 0.8;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.footer-section-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-list a {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #fff;
    color: #000;
}

.footer-brand {
    padding: 40px 40px 60px;
    text-align: center;
}

.footer-brand h1 {
    font-size: 140px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1;
    letter-spacing: -2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-by {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-by:hover {
    color: #fff;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background-color: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #25d366;
}

.cta-btn:hover {
    background-color: #1ead53;
    border-color: #1ead53;
    transform: translateY(-2px);
}

.cta-btn i {
    font-size: 20px;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    animation: whatsapp-ring 2s infinite;
    opacity: 0;
}

.whatsapp-btn:hover {
    background-color: #1ead53;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    }
}

@keyframes whatsapp-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

body.dark .project-item {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

body.dark .project-item::before {
    background-color: rgba(0, 0, 0, 0.8);
}

body.dark .project-item::after {
    background-color: #1a1a1a;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.project-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-item:hover {
    box-shadow: 0 30px 80px rgba(46, 187, 242, 0.3);
}

/* ── SERVICES SECTION ── */
.services {
    width: 100%;
    min-height: auto;
    padding: 120px 40px 40px;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark .services {
    background-color: var(--bg-dark);
}

.services-container {
    width: 100%;
}

.services-title {
    font-size: 120px;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    line-height: 1;
    letter-spacing: -3px;
    margin: 80px 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

body.dark .services-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-card.service-cta-card {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-cta-card:hover {
    box-shadow: 0 30px 80px rgba(46, 187, 242, 0.4);
}

.service-cta-card p {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.3;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

body.dark .service-cta-card p {
    color: var(--text-dark);
}

/* ── SERVICE DETAIL SECTION ── */
.service-detail {
    width: 100%;
    padding: 100px 40px;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

body.dark .service-detail {
    background-color: var(--bg-dark);
}

.service-cards {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.service-card {
    flex: 0 1 calc((100% - 80px) / 3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    background-color: #fff;
    border: 3px solid #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark .service-card {
    background-color: #111;
    border-color: #2a2a2a;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(46, 187, 242, 0.25);
}

.service-name {
    font-size: 40px;
    font-weight: 900;
    color: var(--text-light);
    line-height: 1;
    letter-spacing: -1px;
    margin: 0;
}

body.dark .service-name {
    color: var(--text-dark);
}

.service-desc {
    font-size: 15px;
    font-weight: 600;
    color: #666;
    line-height: 1.6;
    flex: 1;
}

body.dark .service-desc {
    color: #aaa;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 40px;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 20px;
}

body.dark .service-btn {
    background-color: #fff;
    color: #1a1a1a;
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

body.dark .service-btn:hover {
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.service-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 3px solid #000;
    position: relative;
}

.service-card {
    position: relative;
}

.service-card-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
}

body.dark .service-card-icon {
    color: var(--text-dark);
    background-color: rgba(25, 25, 25, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
}

.service-card-icon-cta {
    top: 28px;
    left: 28px;
}

body.dark .service-card-img {
    border-color: #2a2a2a;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.06);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-bar-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item:nth-child(2)::after {
        display: none;
    }

    .service-cards {
        gap: 30px;
    }

    .service-card {
        flex: 0 1 calc((100% - 30px) / 2);
    }

    .service-name {
        font-size: 36px;
    }

    /* Proyectos: 1 por fila para que el icono+texto+botón respiren */
    .projects-gallery.carousel {
        grid-template-columns: 1fr;
    }

    .testimonials-title {
        font-size: 56px;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand h1 {
        font-size: 100px;
    }
}

/* RESPONSIVE - Mobile 768px y menor */
@media (max-width: 768px) {
    /* NAVBAR */
    .navbar-container {
        padding: 12px 16px;
    }

    .navbar-logo {
        height: 28px;
    }

    .navbar-right {
        gap: 8px;
    }

    .lang-btn, .theme-btn, .menu-btn {
        font-size: 11px;
        padding: 5px 8px;
    }

    .menu-btn span {
        display: none;
    }

    /* MENU MODAL */
    .menu-link {
        font-size: 32px;
    }

    /* HERO */
    .hero {
        padding: 80px 20px 40px;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        gap: 16px;
        text-align: center;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 8px;
        text-align: center;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 12px;
    }

    .hero-btn i {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }

    .hero-ghost-n {
        width: 95vh;
        height: 95vh;
        max-width: 120vw;
    }

    /* TESTIMONIALS */
    .testimonials {
        padding: 60px 20px;
    }

    .testimonials-title {
        font-size: 36px;
        margin: 0 0 12px 0;
    }

    .testimonials-subtitle {
        font-size: 15px;
        margin: 0 0 36px 0;
    }

    .testimonials-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .testimonial-card {
        flex-direction: column;
        gap: 18px;
        padding: 18px;
        width: 100%;
        max-width: 420px;
    }

    .testimonial-video {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .testimonial-name {
        font-size: 22px;
    }

    .testimonial-company {
        font-size: 15px;
    }

    /* PROJECTS SECTION TITLE */
    .projects-section {
        padding: 80px 20px 30px;
    }

    .projects-section-title {
        font-size: 48px;
        letter-spacing: -1px;
    }

    /* PROJECTS */
    .projects:not(#projects-carousel-section) {
        display: none;
    }

    #projects-carousel-section {
        padding: 60px 20px;
        min-height: auto;
    }

    .projects-container {
        position: relative;
        height: auto;
        top: auto;
    }

    .projects-center img {
        height: 80px;
    }

    .projects-center h2 {
        font-size: 36px;
    }

    .projects-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .project-item {
        max-height: 200px;
        border-width: 2px;
    }

    .projects-gallery.carousel {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .projects-gallery.carousel .project-item {
        max-height: 250px;
    }

    .project-card-body {
        flex-wrap: wrap;
        gap: 14px;
    }

    .project-card-text {
        flex: 1 1 calc(100% - 70px);
    }

    .project-card-btn {
        width: 100%;
        justify-content: center;
    }

    .project-cta {
        min-height: 250px;
    }

    .project-cta-content p {
        font-size: 24px;
        margin-bottom: 20px;
    }

    /* SERVICES */
    .services {
        padding: 60px 20px 30px;
    }

    .services-title {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .service-cta-card p {
        font-size: 24px;
    }

    /* FEATURES BAR */
    .features-bar {
        padding: 0 20px;
    }

    .features-bar-container {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 18px 22px;
    }

    .feature-item:not(:last-child)::after {
        top: auto;
        bottom: 0;
        right: auto;
        left: 22px;
        width: calc(100% - 44px);
        height: 1px;
    }

    /* SERVICE DETAIL */
    .service-detail {
        padding: 60px 20px;
    }

    .service-cards {
        gap: 24px;
    }

    .service-card {
        flex: 0 1 100%;
        padding: 24px;
    }

    .service-name {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .service-desc {
        font-size: 13px;
    }

    .service-btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    /* FAQ */
    .faq {
        padding: 60px 20px;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-header h2 {
        font-size: 36px;
    }

    .faq-header p {
        font-size: 13px;
    }

    .faq-question {
        padding: 16px 0;
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 13px;
    }

    .faq-btn {
        padding: 12px 24px;
        font-size: 12px;
    }

    /* FOOTER */
    .footer-top {
        padding: 40px 20px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-label {
        font-size: 12px;
    }

    .footer-email {
        font-size: 18px;
    }

    .footer-cta-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-link {
        font-size: 11px;
    }

    .footer-section-title {
        font-size: 14px;
    }

    .footer-list a {
        font-size: 14px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .footer-brand h1 {
        font-size: 64px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .footer-bottom p, .footer-by {
        font-size: 11px;
        text-align: center;
    }

    /* Disable GSAP animations on mobile */
    .service-img {
        transform: none !important;
    }

    .service-text {
        transform: none !important;
    }

    .project-item {
        transform: none !important;
    }

    .projects-center {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        opacity: 1 !important;
    }
}

/* RESPONSIVE - Teléfonos pequeños 480px y menor */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .services-title,
    .projects-section-title,
    .faq-header h2 {
        font-size: 38px;
    }

    .testimonials-title {
        font-size: 30px;
    }

    .testimonials-subtitle {
        font-size: 14px;
    }

    .service-name {
        font-size: 30px;
    }

    .service-cta-card p {
        font-size: 22px;
    }

    .project-card-title {
        font-size: 20px;
    }

    .project-card-desc {
        font-size: 13px;
    }

    .project-card-body {
        padding: 20px;
    }

    .feature-text h3 {
        font-size: 15px;
    }

    .footer-brand h1 {
        font-size: 52px;
    }

    .testimonial-name {
        font-size: 20px;
    }
}
