/* =====================================================
   Runestone — Modern IT Consulting | index.css
   ===================================================== */

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

:root {
    --primary:      #4f46e5;
    --primary-dark: #4338ca;
    --secondary:    #06b6d4;
    --accent:       #ec4899;
    --dark:         #0f172a;
    --dark-2:       #1e293b;
    --muted:        #64748b;
    --light:        #f8fafc;
    --line:         #e2e8f0;
    --bg:           #ffffff;
    --bg-soft:      #f8fafc;

    --gradient:     linear-gradient(135deg, #4f46e5 0%, #06b6d4 50%, #ec4899 100%);
    --gradient-2:   linear-gradient(135deg, #4f46e5, #06b6d4);
    --shadow-sm:    0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow:       0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg:    0 24px 60px rgba(15, 23, 42, 0.12);
    --shadow-glow:  0 15px 40px rgba(79, 70, 229, 0.35);

    --radius:       16px;
    --radius-lg:    24px;
    --radius-pill:  999px;

    --ease:         cubic-bezier(0.22, 1, 0.36, 1);
    --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
button, input, textarea { font-family: inherit; }
::selection { background: var(--primary); color: #fff; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--dark); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; }

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

/* --------- SECTION SHELL --------- */
.section {
    padding: 110px 8%;
    position: relative;
}
.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 64px;
}
.section-head p {
    color: var(--muted);
    margin-top: 14px;
    font-size: 1.05rem;
}
.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
    padding: 6px 14px;
    background: rgba(79, 70, 229, 0.08);
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
}

/* --------- BUTTONS --------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border: 1.5px solid transparent;
    text-align: center;
    white-space: nowrap;
}
.btn-sm    { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--gradient-2);
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(79, 70, 229, 0.5); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.7);
    color: var(--dark);
    border-color: var(--line);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

/* --------- HEADER --------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 18px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 500;
    transition: all 0.35s var(--ease);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: var(--shadow-sm);
    padding: 12px 6%;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}
.logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(6, 182, 212, 0.08));
    padding: 4px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.logo:hover .logo-img {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: var(--shadow-glow);
}
.header.scrolled .logo-img { height: 38px; width: 38px; }
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--gradient-2);
    color: #fff;
    font-size: 1rem;
    box-shadow: var(--shadow-glow);
}
.logo-text span { color: var(--primary); }

.navbar ul {
    display: flex;
    list-style: none;
    gap: 6px;
}
.navbar ul li a {
    display: inline-block;
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-2);
    border-radius: var(--radius-pill);
    transition: all 0.25s var(--ease);
}
.navbar ul li a:hover      { background: rgba(79, 70, 229, 0.08); color: var(--primary); }
.navbar ul li a.active     { background: var(--gradient-2); color: #fff; box-shadow: var(--shadow-sm); }

.menu-toggle {
    display: none;
    width: 42px; height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--dark);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.menu-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* --------- HERO --------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 8% 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f5f7ff 0%, #fdfcff 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: #6366f1; top: -120px; left: -100px; }
.blob-2 { width: 420px; height: 420px; background: #06b6d4; bottom: -100px; right: -80px; animation-delay: 3s; }
.blob-3 { width: 380px; height: 380px; background: #ec4899; top: 40%; left: 45%; animation-delay: 6s; opacity: 0.35; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -40px) scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-2);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}
.chip-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.2); } }

.hero h1 { margin-bottom: 24px; }
.hero-sub {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-tech { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-tech > span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
}
.tech-row {
    display: flex;
    gap: 36px;
    color: var(--muted);
    font-size: 2rem;
}
.tech-row i {
    transition: all 0.3s var(--ease);
    cursor: pointer;
}
.tech-row i:hover { color: var(--primary); transform: translateY(-4px) scale(1.15); }

/* --------- ABOUT --------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}
.about-visual img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #fff;
    padding: 24px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--line);
}
.badge-num {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.badge-label {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
}

.about-text .lead {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.4;
}
.about-text p { color: var(--muted); margin-bottom: 24px; }
.check-list { list-style: none; margin: 24px 0 32px; }
.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--dark-2);
    font-weight: 500;
}
.check-list li i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* --------- SERVICES --------- */
.services { background: var(--bg-soft); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.service-card {
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    display: inline-flex;
    width: 60px; height: 60px;
    align-items: center; justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.4s var(--ease);
}
.service-card:hover .service-icon {
    background: var(--gradient-2);
    color: #fff;
    transform: rotate(-6deg) scale(1.08);
    box-shadow: var(--shadow-glow);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p  { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; flex-grow: 1; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}
.service-link i { transition: transform 0.25s var(--ease); }
.service-card:hover .service-link i { transform: translateX(6px); }

/* --------- STATS --------- */
.stats {
    padding: 80px 8%;
    background: var(--gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1), transparent 50%);
    pointer-events: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
}
.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s var(--ease);
}
.stat-item:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.15); }
.stat-item i { font-size: 2.2rem; margin-bottom: 12px; opacity: 0.9; }
.stat-number { font-size: 2.4rem; font-weight: 800; margin-bottom: 4px; }
.stat-text { font-size: 0.85rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.1em; }

/* --------- PORTFOLIO --------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 340px;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.9) 100%);
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item:hover .portfolio-overlay { transform: translateY(0); }
.portfolio-overlay .tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-2);
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    width: max-content;
}
.portfolio-overlay h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.portfolio-overlay p  { font-size: 0.95rem; opacity: 0.85; }

/* --------- CAREERS --------- */
.careers { background: var(--bg-soft); }
.careers-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.careers-text h2 { margin: 16px 0 20px; }
.careers-text p  { color: var(--muted); margin-bottom: 28px; font-size: 1.05rem; }
.careers-visual img {
    border-radius: var(--radius);
    width: 100%;
    height: 340px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

/* --------- FAQ --------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 26px;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}
.faq-item:hover { border-color: rgba(79, 70, 229, 0.3); box-shadow: var(--shadow); }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-glow); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* --------- CONTACT --------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.contact-info,
.contact-form {
    padding: 40px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.contact-info h3,
.contact-form h3 {
    margin-bottom: 28px;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.ci-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 1rem;
}
.contact-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-item p  { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-2);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--bg-soft);
    transition: all 0.25s var(--ease);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.form-status {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 20px;
}

/* --------- FOOTER --------- */
.footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 80px 8% 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.logo-footer { color: #fff; margin-bottom: 16px; }
.logo-footer .logo-text span { color: var(--secondary); }
.logo-footer .logo-img {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col > p { color: #94a3b8; max-width: 280px; margin-bottom: 24px; }

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all 0.25s var(--ease);
}
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }

.social-links { display: flex; gap: 12px; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    transition: all 0.3s var(--ease);
}
.social-links a:hover {
    background: var(--gradient-2);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    font-size: 0.9rem;
}

/* --------- WHATSAPP --------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    border: none;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    animation: bob 3s ease-in-out infinite;
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.whatsapp-float:hover { transform: scale(1.1); background: #128C7E; }

.whatsapp-popup {
    position: fixed;
    bottom: 110px; right: 30px;
    width: 260px;
    padding: 22px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s var(--ease);
    border: 1px solid var(--line);
}
.whatsapp-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.whatsapp-popup::after {
    content: '';
    position: absolute;
    bottom: -8px; right: 24px;
    width: 16px; height: 16px;
    background: #fff;
    transform: rotate(45deg);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.whatsapp-close {
    position: absolute;
    top: 8px; right: 12px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
}
.whatsapp-close:hover { color: var(--dark); }
.whatsapp-popup h4 { color: var(--dark); margin-bottom: 6px; font-size: 1rem; }
.whatsapp-popup > p { color: var(--muted); font-size: 0.8rem; margin-bottom: 14px; }

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-soft);
    border-radius: 10px;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s var(--ease);
}
.whatsapp-option:hover { background: #e6f9ee; color: #128C7E; transform: translateX(-4px); }
.whatsapp-option i { color: #25d366; font-size: 1.3rem; }

/* --------- SCROLL TO TOP --------- */
.scroll-top {
    position: fixed;
    bottom: 30px; left: 30px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease);
    z-index: 998;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover   { transform: translateY(-4px); }

/* --------- REVEAL ON SCROLL --------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --------- RESPONSIVE --------- */
@media (max-width: 1100px) {
    .navbar ul { gap: 0; }
    .navbar ul li a { padding: 10px 14px; font-size: 0.9rem; }
    .nav-cta { display: none; }
}

@media (max-width: 960px) {
    .about-grid,
    .contact-grid,
    .careers-card { grid-template-columns: 1fr; gap: 40px; }
    .careers-card { padding: 40px; }
    .about-visual img { height: 380px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .section { padding: 80px 6%; }
    .header  { padding: 14px 6%; }
    .menu-toggle { display: flex; }

    .navbar {
        position: fixed;
        top: 76px; left: 16px; right: 16px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius);
        padding: 20px;
        border: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s var(--ease);
    }
    .navbar.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .navbar ul { flex-direction: column; gap: 6px; }
    .navbar ul li a { display: block; padding: 12px 16px; }

    .hero { padding: 140px 6% 80px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
    .tech-row { gap: 24px; font-size: 1.6rem; }

    .about-badge { bottom: -20px; right: 20px; padding: 18px 22px; }

    .form-row       { grid-template-columns: 1fr; gap: 0; }
    .contact-info,
    .contact-form   { padding: 28px; }
    .footer-grid    { grid-template-columns: 1fr; gap: 40px; }
    .footer         { padding: 60px 6% 30px; }
}
