/* ============================================================
   MAXI CALHAS — Premium Landing Page Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
    /* Colors */
    --blue-50:  #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1a3a8f;
    --blue-950: #0f2460;

    --white:    #ffffff;
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;

    --green-500: #22c55e;
    --green-600: #16a34a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
    --gradient-text: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-400) 100%);
    --gradient-dark: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-950) 100%);
    --gradient-metallic: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 30%, #a8a8a8 50%, #d4d4d4 70%, #b0b0b0 100%);

    /* Spacing */
    --section-py: clamp(4rem, 8vw, 7rem);
    --container-px: clamp(1rem, 3vw, 2rem);
    --container-max: 1200px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;
    --shadow-sm:  0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.1);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl:  0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
    --shadow-blue: 0 8px 30px rgba(37, 99, 235, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(.4,0,.2,1);
    --transition-base: 250ms cubic-bezier(.4,0,.2,1);
    --transition-slow: 400ms cubic-bezier(.4,0,.2,1);
    --transition-spring: 500ms cubic-bezier(.34,1.56,.64,1);

    /* Z-Index */
    --z-header: 1000;
    --z-lightbox: 2000;
    --z-whatsapp: 900;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

/* ---------- Utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section--dark {
    background: var(--gradient-dark);
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-name {
    background: linear-gradient(135deg, #fffbe6 0%, #ffd700 50%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ---------- Section Labels & Titles ---------- */
.section__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 1rem;
}

.section__label--light {
    color: var(--blue-300);
}

.section__label-line {
    display: inline-block;
    width: 32px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section__label--light .section__label-line {
    background: var(--gradient-text);
}

.section__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.section__title--light {
    color: var(--white);
}

.section__header--center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section__description {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section__description--dark {
    color: var(--gray-500);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.btn--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn--glass {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}

.btn--glass:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn--header {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    padding: 16px 0;
    transition: all var(--transition-slow);
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    padding: 10px 0;
}

.header.menu-open {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.header.menu-open .logo__name {
    color: var(--white) !important;
}

.header.menu-open .logo__tagline {
    color: var(--blue-200) !important;
}

.header.menu-open .hamburger span {
    background: var(--white) !important;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 10;
    text-decoration: none;
}

.logo__img {
    height: auto;
    max-height: 85px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    transition: all var(--transition-base);
}

.logo:hover .logo__img {
    transform: scale(1.03);
}

.header.scrolled .logo__img {
    max-height: 65px;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
}

.logo__img--footer {
    max-height: 110px;
    mix-blend-mode: normal;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4));
}

/* Nav */
.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.header.scrolled .nav__link {
    color: var(--gray-600);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
    color: var(--blue-700);
    background: var(--blue-50);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.header.scrolled .hamburger span {
    background: var(--gray-800);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 36, 96, 0.92) 0%,
        rgba(26, 58, 143, 0.85) 30%,
        rgba(37, 99, 235, 0.7) 70%,
        rgba(59, 130, 246, 0.5) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 8rem 0 4rem;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--blue-200);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero__title .text-gradient {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero__subtitle strong {
    color: var(--white);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Hero Stats */
.hero__stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero__stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--blue-300);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-top: 4px;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* Hero Scroll */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounceDown 2s infinite;
}

.hero__scroll a {
    color: rgba(255,255,255,0.5);
    transition: color var(--transition-base);
}

.hero__scroll a:hover {
    color: var(--white);
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ---------- About ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about__text strong {
    color: var(--blue-800);
    font-weight: 700;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.about__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.about__feature:hover {
    background: var(--blue-50);
    border-color: var(--blue-100);
    transform: translateX(4px);
}

.about__feature-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    color: var(--white);
}

.about__feature-icon svg {
    width: 20px;
    height: 20px;
}

.about__feature h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.about__feature p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* About Visual */
.about__visual {
    position: relative;
}

.about__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about__image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

.about__experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.about__experience-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.about__experience-text {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---------- Services ---------- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 0;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.service-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.6) 100%);
    pointer-events: none;
}

.service-card__body {
    padding: 1.75rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-text);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon-wrap {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.service-card__icon {
    width: 36px;
    height: 36px;
    color: var(--blue-400);
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-card__text {
    font-size: 0.92rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-card__list {
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-card__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-400);
    padding: 4px 0;
}

.service-card__list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue-500);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue-400);
    transition: all var(--transition-base);
    margin-top: auto;
    padding-top: 0.5rem;
}

.service-card__link:hover {
    color: var(--blue-300);
    gap: 10px;
}

/* ---------- Gallery ---------- */
.gallery {
    background: var(--gray-50);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 0.75rem;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item--tall {
    grid-row: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.06);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 36, 96, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-300);
    background: rgba(59, 130, 246, 0.15);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    width: fit-content;
}

.gallery__overlay h4 {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 4px;
}

.gallery__overlay p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

/* ---------- Differentials ---------- */
.differentials__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

.differentials__text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-top: 0.5rem;
}

.differentials__cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.diff-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.diff-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.diff-card__number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.3;
}

.diff-card__content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.diff-card__content p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.diff-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-sm);
    color: var(--blue-600);
    margin-left: auto;
}

.diff-card__icon svg {
    width: 20px;
    height: 20px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    padding: var(--section-py) 0;
    overflow: hidden;
}

.cta-section__bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    z-index: 0;
}

.cta-section__bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-section__bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(147,197,253,0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-section__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.cta-section__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-section__text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-section__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact__card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.contact__card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.contact__card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border-radius: var(--radius-md);
    color: var(--blue-600);
    margin: 0 auto 1.25rem;
}

.contact__card-icon svg {
    width: 26px;
    height: 26px;
}

.contact__card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.contact__card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact__card a {
    color: var(--blue-600);
    font-weight: 600;
}

.contact__card a:hover {
    color: var(--blue-800);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--gray-900);
    padding: 4rem 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__description {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 300px;
}

.footer__links h4,
.footer__contact h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 0.88rem;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer__links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.footer__contact-item a {
    color: var(--gray-400);
}

.footer__contact-item a:hover {
    color: var(--blue-400);
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.footer__social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    transition: all var(--transition-base);
}

.footer__social:hover {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: var(--white);
    transform: translateY(-2px);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.footer__bottom p {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    color: var(--white);
    z-index: var(--z-whatsapp);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0%   { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);
    z-index: var(--z-lightbox);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9);
    transition: transform var(--transition-slow);
}

.lightbox.active .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.lightbox__close:hover {
    opacity: 1;
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255,255,255,0.2);
}

/* ---------- Animations ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__visual {
        order: -1;
    }

    .about__image-wrapper img {
        height: 380px;
    }

    .about__experience-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -30px;
        margin-left: 15px;
        width: fit-content;
    }

    .differentials__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 3.5rem;
        --container-px: 1.25rem;
    }

    .header {
        padding: 12px 0;
    }

    .logo {
        z-index: 10000;
        position: relative;
    }

    .logo__img {
        max-height: 70px;
    }

    .header.scrolled .logo__img {
        max-height: 55px;
    }

    .hamburger {
        display: flex;
        z-index: 10000;
        position: relative;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #0f172a;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 5.5rem 1.5rem 2.5rem;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    .nav__list {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        text-align: center;
    }

    .nav__link {
        font-size: 1.25rem;
        padding: 14px 24px;
        color: rgba(255,255,255,0.9);
        display: block;
        width: 100%;
        border-radius: var(--radius-md);
    }

    .nav__link:hover,
    .nav__link.active {
        color: var(--white);
        background: rgba(255,255,255,0.15);
    }

    .hamburger {
        display: flex;
    }

    .btn--header {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 6.5rem 0 3.5rem;
    }

    .hero__content {
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .hero__badge {
        font-size: 0.75rem;
        padding: 6px 16px;
        margin-bottom: 1.25rem;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    .hero__title {
        font-size: clamp(1.75rem, 6.5vw, 2.6rem);
        line-height: 1.25;
        text-align: center;
        margin-bottom: 1.25rem;
        word-break: break-word;
    }

    .hero__title br {
        display: none;
    }

    .hero__subtitle {
        font-size: clamp(0.92rem, 3.8vw, 1.05rem);
        line-height: 1.7;
        text-align: center;
        margin-bottom: 2rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 540px;
    }

    .hero__actions {
        justify-content: center;
        width: 100%;
        margin-bottom: 2.5rem;
        gap: 12px;
    }

    .hero__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1.25rem 0.75rem;
        width: 100%;
    }

    .hero__stat-divider {
        display: none;
    }

    .hero__stat-number {
        font-size: 1.6rem;
    }

    .hero__stat-plus {
        font-size: 1.3rem;
    }

    .hero__stat-label {
        font-size: 0.68rem;
        text-align: center;
    }

    .hero__scroll {
        display: none;
    }

    .about__image-wrapper img {
        height: 280px;
    }

    .about__image-accent {
        display: none;
    }

    .about__experience-badge {
        padding: 12px 18px;
        margin-top: -24px;
        margin-left: 10px;
    }

    .about__experience-number {
        font-size: 1.8rem;
    }

    .about__experience-text {
        font-size: 0.75rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card__image {
        height: 170px;
    }

    .service-card__body {
        padding: 1.25rem;
    }

    .service-card__title {
        font-size: 1.15rem;
    }

    .service-card__text {
        font-size: 0.88rem;
    }

    /* Gallery Touch Optimization for Mobile */
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 0.6rem;
    }

    .gallery__item--wide,
    .gallery__item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery__overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.88) 100%);
        padding: 0.75rem 0.75rem;
    }

    .gallery__tag {
        font-size: 0.6rem;
        padding: 2px 8px;
        margin-bottom: 4px;
    }

    .gallery__overlay h4 {
        font-size: 0.85rem;
        margin-bottom: 0;
        line-height: 1.2;
    }

    .gallery__overlay p {
        display: none;
    }

    .diff-card {
        padding: 1.25rem;
        gap: 14px;
    }

    .diff-card__icon {
        width: 36px;
        height: 36px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact__card {
        padding: 1.5rem 1.25rem;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    /* Lightbox Mobile Adjustments */
    .lightbox__img {
        max-width: 92vw;
        max-height: 72vh;
    }

    .lightbox__prev,
    .lightbox__next {
        width: 42px;
        height: 42px;
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .lightbox__prev { left: 8px; }
    .lightbox__next { right: 8px; }

    .lightbox__close {
        top: 12px;
        right: 16px;
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .logo__img {
        max-height: 62px;
    }

    .header.scrolled .logo__img {
        max-height: 48px;
    }

    .hero {
        padding: 5.8rem 0 3rem;
    }

    .hero__badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .hero__title {
        font-size: clamp(1.55rem, 7.2vw, 2.1rem);
        line-height: 1.25;
        letter-spacing: -0.02em;
    }

    .hero__subtitle {
        font-size: 0.9rem;
        line-height: 1.65;
        padding: 0 0.5rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero__actions .btn {
        justify-content: center;
        width: 100%;
        padding: 14px 20px;
        font-size: 0.92rem;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 1rem;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 145px;
        gap: 0.5rem;
    }

    .cta-section__actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-section__actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 360px) {
    .hero__title {
        font-size: 1.45rem;
        line-height: 1.28;
    }

    .hero__subtitle {
        font-size: 0.85rem;
    }

    .hero__badge {
        font-size: 0.65rem;
    }
}

