/* ROOT VARIABLES */
:root {
    --bg-color: #050505;
    --primary-blue: #3d5afe;
    --text-white: #ffffff;
    --text-dim: #b0b0b0;
    --button-blue: #2962ff;
    --numero-blue: #4a3aff;
    --accent-pink: #d84497;
    --text-dark: #1a202c;
    --text-gray: #718096;
    --bg-light: #FFF1EA;
    --new-accent: #4a3aff;
    --primary-purple: #4a3aff;
    --dark-text: #2d3446;
    --gray-text: #666;
    --accent-blue-violet: #4a3aff;
    --nexus-gradient: linear-gradient(
    135deg,
    #F05A28 0%,   /* ORANGE (SVG) */
    #E24A2C 35%,  /* ORANGE → RED */
    #CC3D2D 65%,  /* RED (SVG) */
    #9E2A1F 100%  /* DEEP RED (SVG) */
  );

    --nexus-btn-gradient: linear-gradient(
  135deg,
  #F05A28 0%,
  #E24A2C 35%,
  #CC3D2D 65%,
  #9E2A1F 100%
);
    --nexus-accent: #CC3D2D; /* core red from SVG */
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --text-muted: #4a3aff;
    --primary-brand: #4a3aff;
}

/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    overflow-x: hidden;
}

/* ========== HERO SECTION ========== */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-color);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-content {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 100;
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    z-index: 101; 
}

.svg-logo { 
    height: 52px; 
    width: auto; 
}

.logo-text { 
    font-size: 1.8rem; 
    display: flex; 
    gap: 8px; 
}

.logo-numero { 
    color: var(--numero-blue); 
    font-weight: 400; 
}

.logo-nexus {
    font-weight: 700;
    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.nav-links { 
    display: flex; 
    gap: 2.5rem; 
    align-items: center; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-white); 
    font-size: 1.1rem; 
    font-weight: 500; 
    position: relative;
    padding-bottom: 4px;
    display: inline-block;
}

.nav-links a:not(.get-started)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--text-white);
    transition: width 0.3s ease;
}

.nav-links a:not(.get-started):hover::after {
    width: 100%;
}

.get-started {
    display: inline-flex;          /* 🔑 use flex */
    align-items: center;           /* vertical center */
    justify-content: center;       /* horizontal center */

    padding: 0.75rem 1.6rem;
    min-height: 42px;              /* ensures vertical balance */
    
    
    background: var(--nexus-btn-gradient);
    color: #ffffff;


    font-size: 1rem;
    font-weight: 600;
    line-height: 1;                /* 🔑 CRITICAL: removes text offset */
    
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;

    transition: background-color 0.3s ease, transform 0.2s ease;
}

.get-started:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: 0.3s;
}

.hero {
    flex-grow: 1;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; 
    padding: 0 8%;
    gap: 40px;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;

    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.hero-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-group { 
    display: flex; 
    gap: 1.5rem; 
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
}

.btn-primary { 
    background: var(--nexus-btn-gradient);
    color: #ffffff; 
}

.btn-secondary { 
    border: 1px solid rgba(255,255,255,0.2); 
    color: white; 
    background: rgba(255,255,255,0.05); 
}

.btn:hover { 
    transform: translateY(-2px); 
}

/* ========== CONVERGENCE SECTION ========== */
.convergence-section {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container-convergence {
    display: flex;
    align-items: center;
    max-width: 1400px;
    width: 95%;
    padding: 0 50px;
}

.content-left {
    flex: 0.8;
    padding-right: 40px;
    z-index: 10;
}

.content-left h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    line-height: 1;
    margin: 0 0 15px 0;
    font-weight: 800;
}

.content-left p {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;

    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slider-wrapper {
    flex: 2.2;
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    position: absolute;
    width: 230px;
    height: auto;
    min-height: 320px;
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 20px 80px rgba(0, 0, 0, 0.04);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    border: 1px solid rgba(237, 242, 247, 0.8);
}

.card.active {
    z-index: 5;
    transform: translateX(0) scale(1.1);
    border: 2px solid var(--nexus-accent);
    box-shadow:
        0 30px 60px rgba(204, 61, 45, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.05);
    opacity: 1;
}

.card.active .icon-circle {
    transform: scale(1.2);
    border-color: var(--nexus-accent);
}

.card.prev {
    z-index: 3;
    transform: translateX(-240px) scale(0.9);
    opacity: 0.85;
}

.card.next {
    z-index: 3;
    transform: translateX(240px) scale(0.9);
    opacity: 0.85;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--nexus-accent);
    overflow: hidden;
    transition: transform 0.5s ease;
}

.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.card .subtitle {
    font-weight: 600;
    font-size: 1rem;
    margin: 4px 0 10px 0;

    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card .quote {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.4;
    max-width: 95%;
}

.card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.card li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.card li:last-child {
    margin-bottom: 0;
}

.card li::before {
    content: '✓';
    color: var(--nexus-accent);
    margin-right: 10px;
    font-weight: bold;
}

/* ========== APPROACH SECTION ========== */
.approach-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container-approach {
    display: flex;
    max-width: 1600px;
    gap: 80px;
    align-items: center;
    padding: 40px;
    width: 95%;
}

.text-content {
    flex: 1;
    max-width: 700px;
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    margin-left: 40px;
}

.text-content h2 {
    font-size: 48px;
    color: var(--dark-text);
    margin: 0 0 10px 0;
}

.subtitle-approach {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 30px;
    display: block;

    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.description-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.description {
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 17px;
    margin: 0;
}

.description b {
    color: var(--dark-text);
}

.card-carousel {
    display: flex;
    gap: 15px;
    height: 450px;
    flex: none;
}

.card-approach {
    position: relative;
    flex-shrink: 0;
    width: 75px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    opacity: 0.6;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-approach:nth-child(1) { background-image: url('img/num1.jpeg'); }
.card-approach:nth-child(2) { background-image: url('img/num2.png'); }
.card-approach:nth-child(3) { background-image: url('img/num3.png'); }
.card-approach:nth-child(4) { background-image: url('img/num4.png'); }

.card-approach.active {
    width: 300px;
    filter: grayscale(0%);
    opacity: 1;
    outline: 2px solid var(--nexus-accent);
    outline-offset: 6px;

    box-shadow:
        0 20px 40px rgba(204, 61, 45, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
}

.card-approach.active .card-content {
    opacity: 1;
}

.card-number {
    font-size: 70px;
    font-weight: bold;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.card-title {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1.2px;
}

.card-desc {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
    margin-top: 10px;
}

/* ========== SERVICES SECTION ========== */
.services-section {
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column; 
    justify-content: center;
}
.services-container {
    max-width: 1400px;
    width: 100%;
    padding: 80px 5%;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center; /* ✅ TRUE CENTERING */
    text-align: center;
}

.header h1 {
    font-size: 3.5rem;
    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
}
.section-header h1 {
    white-space: nowrap;
}

.header .sub-headline {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 auto 24px;
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px 80px;
    position: relative;
}

.service-card:nth-child(3) {
    grid-column: 1 / span 2;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.title-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 5px;
    min-height: 80px;
}

.service-card h2 {
    font-size: 2.6rem;
    margin: 0;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-card .target-audience {
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 12px;
    margin-bottom: 18px;
    letter-spacing: normal;
    padding: 0;
    display: block;
    opacity: 0.95;
}

.service-subtitles {
    margin-bottom: 25px;
}

.service-subtitles span {
    display: block;
    font-size: 1.1rem;
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.4;
}

.highlight-target {
    display: inline-block;
}

.marker-swish {
    position: absolute;
    height: 35px;
    width: 100%;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 25'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23FF8A5B'/%3E%3Cstop offset='35%25' stop-color='%23FF6F4A'/%3E%3Cstop offset='65%25' stop-color='%23E5533D'/%3E%3Cstop offset='100%25' stop-color='%23C94434'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 12.5 Q 75 5, 150 12.5 T 300 12.5' stroke='url(%23g)' stroke-width='22' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;

    z-index: 1;
    pointer-events: none;

    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;

    top: 50%;
    left: 50%;
}


.service-card:hover .marker-swish,
.service-card:active .marker-swish {
    opacity: 1;
}

.service-card p {
    color: var(--text-gray);
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
}

.extra-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    width: 100%;
}

.extra-content.open {
    max-height: 2000px;
    margin-bottom: 25px;
}

.extra-content ul {
    padding-left: 20px;
    color: var(--text-gray);
    font-size: 1.15rem;
    line-height: 1.8;
}

.read-more {
    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    cursor: pointer;
    border: none;
    padding: 0;
}

/* ========== INDUSTRIES SECTION ========== */
.industries-section {
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

.container-industries {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-header.appear { 
    opacity: 1; 
    transform: translateY(0); 
}

.section-header h1 { 
    font-size: clamp(2rem, 8vw, 4rem); 
    font-weight: 800; 
    margin-bottom: 20px; 
    letter-spacing: -2px; 
    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    line-height: 1.1;
}

.section-header p { 
    font-size: clamp(1rem, 4vw, 1.25rem); 
    color: #000000; 
    line-height: 1.5; 
}

.industry-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.industry-row.appear { 
    opacity: 1; 
    transform: translateY(0); 
}

.industry-row.reverse { 
    flex-direction: row-reverse; 
}

.image-card {
    flex: 0 0 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

.parallax-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    background-size: cover;      /* 🔑 fills entire card */
    background-position: center; /* 🔑 keeps subject centered */
    background-repeat: no-repeat;

    transform: none;             /* remove scaling issue */
}

.card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    z-index: 2;
}

.card-overlay h2 { 
    font-size: 1.8rem; 
    margin: 0; 
    font-weight: 800;

    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-overlay p { 
    font-size: 0.9rem; 
    margin: 5px 0 0; 
    opacity: 0.9; 
}

.image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 70%);
}

.content-box {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.content-column h4 {
    color: #000000;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 10px;
}

.list-item { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 15px; 
    font-size: 1rem; 
    font-weight: 500; 
    line-height: 1.4; 
}

.dot, .arrow { 
    margin-right: 12px; 
    font-size: 1.1rem; 
    flex-shrink: 0; 
}

.dot, .arrow, .list-item.solution-text { 
    color: var(--nexus-accent); 
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    margin: 0;
}

.container-contact {
    display: flex;
    max-width: 1300px;
    width: 100%;
    gap: 140px;
    align-items: stretch;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.contact-info h1 {
    font-size: 60px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.nexus-text {
    color: #000000;
    display: inline;
}

.contact-info p {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 440px;
}

.form-card {
    flex: 1.2;
    background: var(--card-bg);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background-color: var(--input-bg);
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(74, 58, 255, 0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    cursor: pointer;
}

textarea {
    grid-column: span 2;
    min-height: 120px;
    resize: none;
    font-family: 'Inter', sans-serif;   /* or Poppins */
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #1a202c;
}

.btn-send {
    margin-top: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: var(--nexus-btn-gradient);
    box-shadow: 0 10px 20px rgba(240, 90, 40, 0.35);
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(240, 90, 40, 0.45);
}
/* Shared gradient utility */
.gradient-text {
    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact section fine-tuning */
.contact-tagline {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    max-width: 520px;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #050505;
    color: #e6edff;
    padding: 80px 5% 40px;
    font-family: 'Inter', sans-serif;
}

/* Layout */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

/* Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-svg-logo {
    width: 48px;
    height: auto;
    display: block;
}

/* Logo text */
.footer-logo-text {
    display: flex;
    gap: 6px;
    font-size: 1.6rem;
    font-weight: 800;
    white-space: nowrap;
}

.logo-numero {
    color: #ffffff;
}

.logo-nexus {
    font-weight: 700;
    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Text */
.footer-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 0.95rem;
    opacity: 0.85;
    max-width: 420px;
}

/* Contact */
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color:#ffffff;
}

.footer-contact p {
    opacity: 0.85;
    margin-bottom: 18px;
}

.footer-cta {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.footer-cta:hover {
    text-decoration: underline;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 50px 0 30px;
}

/* Bottom */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    opacity: 0.75;
    font-size: 0.9rem;
}

/* Badges */
.footer-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge.data,
.badge.ai,
.badge.human {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}





/* ========== RESPONSIVE STYLES ========== */

/* Hero Section Responsive */
@media (max-width: 1100px) {
    h1 { font-size: 3rem; }
    .hero-subtitle { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    body, .main-content { overflow: auto; height: auto; min-height: 100vh; }
    nav { padding: 1rem 5%; }
    
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease-in-out;
        z-index: 100;
        gap: 2rem;
        text-align: center;
    }

    .nav-links a {
        width: fit-content;
        margin: 0 auto;
    }

    .nav-links.active { right: 0; }

    .hero { padding: 4rem 5%; gap: 30px; }
    h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.4rem; }
    .cta-group { flex-direction: column; width: 100%; align-items: center; }
    .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .logo-text { font-size: 1.2rem; }
    .svg-logo { height: 40px; }
    .hero-description { font-size: 0.95rem; }
}

/* Convergence Section Responsive */
@media (max-width: 1024px) {
    .convergence-section {
        align-items: flex-start;
        padding: 40px 0;
        overflow-y: auto;
    }

    .container-convergence {
        flex-direction: column;
        padding: 0 20px;
        text-align: center;
    }

    .content-left {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .content-left h1 {
        font-size: 2.5rem;
    }

    .content-left p {
        font-size: 1rem;
        white-space: normal;
    }

    .slider-wrapper {
        height: auto;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .card {
        position: relative;
        width: 100%;
        max-width: 300px;
        transform: none !important;
        opacity: 1 !important;
        min-height: auto;
        border: 2px solid var(--nexus-accent);

    }

    .card .icon-circle {
        border-color: var(--nexus-accent) !important;
    }

    .card.active {
        scale: 1;
    }
}

@media (max-width: 350px) {
    .content-left h1 {
        font-size: 2rem;
    }
    .card h2 {
        font-size: 1.2rem;
    }
}

/* Approach Section Responsive */
@media (max-width: 1100px) {
    .container-approach {
        flex-direction: column-reverse;
        padding: 20px;
        gap: 40px;
        align-items: center;
    }

    .text-content {
        width: 100%;
        max-width: 100%;
        padding: 40px;
        margin-left: 0;
    }

    .card-carousel {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 15px;
    }

    .card-approach {
        width: 100%;
        height: 110px;
        filter: grayscale(0%);
        opacity: 1;
    }

    .card-approach.active {
        width: 100%;
        height: 220px;
        outline-offset: 4px;
    }

    .card-content {
        opacity: 1;
        background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, transparent 100%);
        display: flex;
        align-items: center;
        gap: 20px;
        height: 100%;
        padding: 20px;
    }

    .card-number { font-size: 45px; margin: 0; }
    .card-desc { display: none; }
    .card-approach.active .card-desc { display: block; }
}

@media (max-width: 375px) {
    .text-content { padding: 25px; }
    .text-content h2 { font-size: 28px; }
    .card-approach.active { height: 180px; }
    .card-number { font-size: 32px; }
}

/* Services Section Responsive */
@media (max-width: 900px) {
    .services-section {
        align-items: center;
    }
    .header h1 { 
        font-size: 2.4rem; 
        max-width: 15ch; 
        margin-left: auto; 
        margin-right: auto; 
    }
    .section-header h1 {
        white-space: normal;
    }
    .header .sub-headline { font-size: 1.2rem; }
    
    .services-grid { grid-template-columns: 1fr; gap: 80px; }
    .service-card:nth-child(3) { grid-column: auto; max-width: 100%; }
    .service-card p, .read-more, .extra-content { text-align: center; align-self: center; }
    
    .service-card h2 { font-size: 2rem; }
    .marker-swish { 
        height: 25px; 
        top: 50%; 
        transform: translate(-50%, -50%);
    }
}

/* Industries Section Responsive */
@media (max-width: 992px) {
    .industry-row, .industry-row.reverse { 
        flex-direction: column; 
        gap: 40px; 
        margin-bottom: 100px; 
        text-align: left; 
    }
    .image-card { 
        width: 100%; 
        max-width: 500px; 
        height: 350px; 
        flex: none; 
    }
    .content-box { width: 100%; }
}

@media (max-width: 576px) {
    .container-industries { padding: 40px 15px; }
    .industry-row { margin-bottom: 80px; }
    .image-card { height: 300px; border-radius: 8px; }
    .content-box { grid-template-columns: 1fr; gap: 20px; }
    .card-overlay h2 { font-size: 1.5rem; }
    .list-item { font-size: 0.95rem; }
}

/* Contact Section Responsive */
@media (max-width: 992px) {
    .container-contact {
        flex-direction: column;
        gap: 60px;
        text-align: center;
        align-items: center;
    }
    .contact-info {
        align-items: center;
        text-align: center;
    }
    .contact-info h1 {
        font-size: 42px;
    }
    .btn-send {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 20px 15px;
    }
    .container-contact {
        gap: 40px;
    }
    .contact-info h1 {
        font-size: 32px;
    }
    .contact-info p {
        font-size: 18px;
    }
    .form-card {
        padding: 24px;
        border-radius: 16px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    textarea {
        grid-column: span 1;
    }
}

@media (max-width: 320px) {
    .contact-info h1 {
        font-size: 28px;
    }
    .form-card {
        padding: 15px;
    }
}

/* ================= MOBILE FIX ================= */

/* Tablets */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .footer-brand,
    .footer-contact {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Phones */
@media (max-width: 480px) {
    .site-footer {
        padding: 50px 6% 30px;
    }

    .footer-logo-wrap {
        justify-content: center;
    }

    .footer-svg-logo {
        width: 42px;
    }

    .footer-logo-text {
        font-size: 1.3rem;
    }

    .footer-tagline {
        font-size: 1.05rem;
        line-height: 1.4;
    }

    .footer-desc {
        font-size: 0.9rem;
    }

    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}

/* Ultra-small devices */
@media (max-width: 320px) {
    .footer-logo-text {
        font-size: 1.15rem;
    }

    .footer-svg-logo {
        width: 38px;
    }
}
