/* ============================================================
   YAZURA — style.css
   ============================================================ */

/* === VARIABLES === */
:root {
    --blue:       #23A6F5;
    --electric:   #3B82F6;
    --violet:     #6C4DFF;
    --purple:     #A13DDB;
    --magenta:    #D946EF;
    --pink:       #EC4899;
    --orange:     #FF8A3D;
    --white:      #FFFFFF;
    --soft-white: #F8FAFC;
    --light-gray: #E5E7EB;
    --graphite:   #1F2937;
    --deep-black: #0B0F19;

    --gradient:     linear-gradient(90deg,  #23A6F5, #6C4DFF, #D946EF, #FF8A3D);
    --gradient-135: linear-gradient(135deg, #23A6F5, #6C4DFF, #D946EF, #FF8A3D);
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--deep-black);
    color: var(--white);
    overflow-x: hidden;
    cursor: auto;
}

/* === NOISE OVERLAY === */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

/* === CUSTOM CURSOR === */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.hover {
    width: 50px;
    height: 50px;
    border-color: var(--magenta);
}

/* === AMBIENT GLOW === */
.ambient {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.ambient-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 77, 255, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: drift1 20s ease-in-out infinite;
}

.ambient-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.08) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
    animation: drift2 25s ease-in-out infinite;
}

/* === NAV === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(11, 15, 25, 0.85);
    transition: border-bottom-color 0.3s ease;
}

.nav-logo img {
    height: 96px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links.active {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 15, 25, 0.95);
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.nav-cta {
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

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

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

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

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 40px 80px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    border-radius: 100px;
    border: 1px solid rgba(108, 77, 255, 0.3);
    background: rgba(108, 77, 255, 0.08);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 48px;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--violet);
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    animation: fadeUp 1s ease 0.15s forwards;
    opacity: 0;
}

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

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 56px;
    animation: fadeUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeUp 1s ease 0.45s forwards;
    opacity: 0;
}

/* === BUTTONS === */
.btn-primary {
    padding: 14px 32px;
    border-radius: 100px;
    background: var(--gradient);
    background-size: 200% 200%;
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: none;
    transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(108, 77, 255, 0.35);
}

.btn-ghost {
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.35;
    animation: fadeUp 1s ease 0.8s forwards;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* === STATS STRIP === */
.stats-strip {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    margin-bottom: 140px;
}

.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.stat-item {
    padding: 40px 50px;
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--white);
}

.section-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 440px;
    margin: 16px auto 0;
    line-height: 1.7;
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
    padding: 0 60px 160px;
    position: relative;
    z-index: 2;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Bento layout */
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(4) { grid-column: span 7; }
.project-card:nth-child(5) { grid-column: span 12; }

/* === PROJECT CARD === */
.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    position: relative;
}

.project-card:hover {
    border-color: rgba(108, 77, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(108, 77, 255, 0.1);
}

.project-thumb {
    width: 100%;
    padding-bottom: 58%;
    background: #0d1117;
    overflow: hidden;
    position: relative;
}

.project-card:nth-child(5) .project-thumb {
    padding-bottom: 35%;
}

.project-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.6s ease;
}

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

.project-card:nth-child(5) .project-thumb img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

.project-info {
    padding: 28px 32px 32px;
    position: relative;
}

.project-category {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 10px;
}

.project-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
    transition: color 0.3s ease, gap 0.3s ease;
}

.project-card:hover .project-cta {
    color: var(--white);
    gap: 14px;
}

.project-cta-arrow {
    width: 18px;
    height: 1px;
    background: currentColor;
    position: relative;
    transition: width 0.3s ease;
}

.project-cta-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
    transform: rotate(45deg);
}

/* === SERVICES SECTION === */
.services-section {
    padding: 0 60px 160px;
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    padding: 40px 36px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    transform: translateY(-4px);
}

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

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(108, 77, 255, 0.12);
    border: 1px solid rgba(108, 77, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.service-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--violet);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-title {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.7;
}

/* === CTA SECTION === */
.cta-section {
    padding: 0 60px 160px;
    position: relative;
    z-index: 2;
}

.cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 28px;
    padding: 100px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(108, 77, 255, 0.12) 0%, transparent 70%);
}

.cta-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 20px;
    position: relative;
}

.cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 400px;
    margin: 0 auto 44px;
    line-height: 1.7;
    position: relative;
}

.cta-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.contact-pill {
    padding: 12px 22px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
}

/* === FOOTER === */
footer {
    position: relative;
    z-index: 2;
    padding: 60px 60px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    height: 128px;
    width: auto;
    opacity: 0.7;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
}

.footer-email {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: rgba(255, 255, 255, 0.6);
}

.footer-emails {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

/* === CONTACT CARDS GRID === */
.cta-contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 36px 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(108, 77, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.contact-card-icon svg {
    width: 18px;
    height: 18px;
    stroke: #25d366;
}

.contact-card-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-card-value {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card-value.wpp:hover {
    color: #25d366;
}

.contact-card-email {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    word-break: break-all;
    text-align: center;
}

.contact-card-email:hover {
    color: var(--violet);
}

/* === WHATSAPP === */
.whatsapp-container {
    position: fixed;
    bottom: 36px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 200;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    width: 52px;
    height: 52px;
    border-radius: 100px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
    overflow: hidden;
    padding: 0;
    justify-content: center;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    width: 190px;
    padding: 0 18px;
    justify-content: flex-start;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn img {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.whatsapp-number {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 600;
    margin-left: 0;
    transition: opacity 0.25s ease 0.1s,
                max-width 0.35s ease,
                margin-left 0.35s ease;
}

.whatsapp-btn:hover .whatsapp-number {
    opacity: 1;
    max-width: 140px;
    margin-left: 10px;
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 94%;
    height: 90%;
    margin: 3% auto;
    border-radius: 18px;
    border: 1px solid rgba(108, 77, 255, 0.25);
    overflow: hidden;
    background: white;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal {
    position: fixed;
    top: 20px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    color: white;
    font-size: 22px;
    line-height: 1;
    transition: background 0.2s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.2s; }
.delay-4 { transition-delay: 0.25s; }

/* === KEYFRAMES === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0); }
    50%       { transform: translate(-80px, 60px); }
}

@keyframes drift2 {
    0%, 100% { transform: translate(0, 0); }
    50%       { transform: translate(60px, -80px); }
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === RESPONSIVE — TABLET === */
@media (max-width: 768px) {
    body { cursor: auto; }

    .cursor,
    .cursor-ring { display: none; }

    .ambient { display: none; }

    nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }

    .hero { padding: 100px 24px 80px; }

    .scroll-indicator { bottom: 20px; }

    .stats-strip { padding: 0 20px; margin-bottom: 100px; }
    .stats-inner { grid-template-columns: 1fr; }
    .stat-item::after { display: none; }
    .stat-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
    .stat-item:last-child { border-bottom: none; }

    .portfolio-section,
    .services-section,
    .cta-section { padding: 0 20px 100px; }

    .portfolio-grid { grid-template-columns: 1fr; }
    .project-card:nth-child(n) { grid-column: span 1; }

    .services-grid { grid-template-columns: 1fr; }

    .cta-inner { padding: 60px 30px; }
    .cta-contacts-grid { grid-template-columns: 1fr; }

    .footer-emails { align-items: center; }

    footer { padding: 40px 20px; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }

    .whatsapp-container { bottom: 24px; right: 16px; }
}

/* === RESPONSIVE — MODAL === */
@media (max-width: 768px) {
    .modal-content {
        width: 96%;
        height: 92%;
        margin: 4% auto;
        border-radius: 12px;
    }

    .close-modal {
        top: 16px;
        right: 20px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* === RESPONSIVE — MOBILE === */
@media (max-width: 480px) {
    .hero { padding: 80px 16px 60px; }
    .hero-title { font-size: 2rem; line-height: 1.1; }
    .hero-subtitle { font-size: 1rem; }

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

    .btn-primary,
    .btn-ghost { width: 100%; text-align: center; }

    .hero-badge { margin-bottom: 24px; }

    .scroll-indicator { bottom: 15px; }

    .stats-strip { padding: 0 16px; margin-bottom: 80px; }

    .portfolio-section,
    .services-section,
    .cta-section { padding: 0 16px 80px; }

    .section-title { font-size: 2rem; }

    .cta-inner { padding: 40px 20px; }
    .cta-title { font-size: 2rem; }

    footer { padding: 30px 16px; }

    .whatsapp-container { bottom: 16px; right: 12px; }
    .whatsapp-btn { width: 50px; height: 50px; }
    .whatsapp-number { display: none; }
}

/* === RESPONSIVE — LARGE SCREENS === */
@media (min-width: 1200px) {
    .hero { padding: 200px 40px 120px; }
    .hero-title { font-size: 5rem; }

    .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* === RESPONSIVE — TABLET LANDSCAPE === */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero { padding: 120px 32px 100px; }

    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .cta-contacts-grid { grid-template-columns: repeat(2, 1fr); }
}
