/*
Theme Name: Codentiam
Theme URI: https://codentiam.com
Author: Codentiam Team
Author URI: https://codentiam.com
Description: A modern, professional landing page theme for Codentiam - showcasing AI agents, web development, and mobile app services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codentiam
Tags: landing-page, business, corporate, one-page, responsive, custom-colors
*/

:root {
    --ink: #0a0a0f;
    --ink-soft: #2c2c38;
    --ink-muted: #6b6b80;
    --paper: #f5f4f0;
    --paper-warm: #eeede8;
    --accent: #1a1aff;
    --accent-light: #e8e8ff;
    --white: #ffffff;
    --border: rgba(10,10,15,0.1);
    --font-display: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; font-size: 16px; }

  body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* ── NOISE TEXTURE 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.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
  }

  /* ── NAVIGATION ── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(245,244,240,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease);
  }

  .nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-logo-mark {
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 6px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .nav-logo-mark svg { width: 16px; height: 16px; fill: white; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
  }

  .nav-links a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink-muted);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
  }

  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { width: 100%; }

  .nav-cta {
    background: var(--ink);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    transition: background 0.2s, transform 0.2s !important;
  }

  .nav-cta::after { display: none !important; }
  .nav-cta:hover { background: var(--accent) !important; color: var(--white) !important; transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    padding: 72px 48px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    height: 100%;
    background: var(--paper-warm);
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--border) 1px, transparent 1px),
      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding-top: 60px;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.2s forwards;
  }

  .hero-eyebrow span {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--accent);
  }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.9s var(--ease) 0.35s forwards;
  }

  .hero-title em {
    font-style: normal;
    color: var(--accent);
    position: relative;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ink-muted);
    max-width: 520px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.9s var(--ease) 0.5s forwards;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: fadeUp 0.9s var(--ease) 0.65s forwards;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s var(--ease);
    letter-spacing: 0.01em;
  }

  .btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
  .btn-primary svg { width: 16px; height: 16px; }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--ink);
    transition: color 0.2s, border-color 0.2s;
    letter-spacing: 0.01em;
  }

  .btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

  .hero-stats {
    display: flex;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 72px;
    opacity: 0;
    animation: fadeUp 0.9s var(--ease) 0.8s forwards;
  }

  .hero-stat-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ink);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
  }

  .hero-stat-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
  }

  /* ── MARQUEE ── */
  .marquee-wrap {
    background: var(--ink);
    padding: 16px 0;
    overflow: hidden;
    display: flex;
  }

  .marquee-track {
    display: flex;
    gap: 0;
    animation: marquee 24s linear infinite;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0 28px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
  }

  .marquee-dot { color: var(--accent); font-size: 1.2em; }

  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ── SECTION COMMONS ── */
  section { padding: 112px 48px; }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
  }

  .section-label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--accent);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 16px;
  }

  .section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-muted);
    max-width: 480px;
  }

  /* ── SERVICES ── */
  .services { background: var(--white); }

  .services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 72px;
    gap: 40px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
  }

  .service-card {
    background: var(--white);
    padding: 44px 40px;
    position: relative;
    transition: background 0.3s var(--ease);
    cursor: default;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-light) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
  }

  .service-card:hover::before { opacity: 1; }

  .service-card:hover { background: var(--paper); }

  .service-num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink-muted);
    margin-bottom: 28px;
    display: block;
    position: relative;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    background: var(--ink);
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    position: relative;
    transition: background 0.3s;
  }

  .service-card:hover .service-icon { background: var(--accent); }

  .service-icon svg { width: 22px; height: 22px; stroke: white; fill: none; stroke-width: 1.5; }

  .service-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 14px;
    position: relative;
  }

  .service-desc {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-muted);
    position: relative;
  }

  .service-arrow {
    position: absolute;
    bottom: 36px;
    right: 36px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s var(--ease);
  }

  .service-arrow svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; }
  .service-card:hover .service-arrow { opacity: 1; transform: translateY(0); }

  /* ── PROCESS ── */
  .process { background: var(--paper); }

  .process-list {
    margin-top: 72px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .process-item {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    position: relative;
  }

  .process-item:first-child { border-top: 1px solid var(--border); }

  .process-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.6s var(--ease);
  }

  .process-item:hover::after { width: 100%; }

  .process-step {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--border);
    padding-top: 4px;
    transition: color 0.3s;
  }

  .process-item:hover .process-step { color: var(--accent); }

  .process-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 8px;
  }

  .process-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }

  .process-text {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--ink-muted);
    padding-top: 6px;
  }

  /* ── WHY US ── */
  .why { background: var(--ink); color: var(--white); }

  .why .section-label { color: rgba(255,255,255,0.4); }
  .why .section-label::before { background: rgba(255,255,255,0.4); }
  .why .section-title { color: var(--white); }
  .why .section-subtitle { color: rgba(255,255,255,0.5); }

  .why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 72px;
  }

  .why-visual {
    position: relative;
    height: 420px;
  }

  .why-card-main {
    position: absolute;
    top: 0; left: 0;
    right: 60px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 36px;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .why-card-accent {
    position: absolute;
    bottom: 0; right: 0;
    left: 60px;
    background: var(--accent);
    border-radius: 16px;
    padding: 36px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card-big-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--white);
  }

  .card-label {
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
  }

  .why-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .why-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .why-feature-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .why-feature-icon svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 1.5; }

  .why-feature-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 6px;
  }

  .why-feature-text {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
  }

  /* ── TECH STACK ── */
  .tech { background: var(--paper-warm); }

  .tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 56px;
  }

  .tech-badge {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink-soft);
    transition: all 0.25s var(--ease);
    cursor: default;
  }

  .tech-badge:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26,26,255,0.1);
  }

  .tech-badge-icon { font-size: 1.5rem; display: block; margin-bottom: 8px; }

  /* ── CTA BAND ── */
  .cta-band {
    background: var(--accent);
    padding: 80px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .cta-band-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    line-height: 1.1;
    max-width: 520px;
  }

  .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--accent);
    padding: 16px 32px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
    flex-shrink: 0;
  }

  .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--white); }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
  }

  .testimonial-card {
    background: var(--paper);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.3s var(--ease);
  }

  .testimonial-card:hover { transform: translateY(-4px); }

  .testimonial-stars { color: var(--accent); font-size: 0.85rem; letter-spacing: 2px; }

  .testimonial-quote {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--ink-soft);
    flex: 1;
  }

  .testimonial-author { display: flex; align-items: center; gap: 14px; }

  .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
  }

  .author-name {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    display: block;
    margin-bottom: 2px;
  }

  .author-role { font-size: 0.78rem; color: var(--ink-muted); font-weight: 400; }

  /* ── CONTACT ── */
  .contact { background: var(--paper); }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 72px;
  }

  .contact-info { display: flex; flex-direction: column; gap: 36px; }

  .contact-detail { display: flex; flex-direction: column; gap: 4px; }

  .contact-detail-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }

  .contact-detail-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.2s;
  }

  .contact-detail-value:hover { color: var(--accent); }

  .contact-form { display: flex; flex-direction: column; gap: 20px; }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  .form-group { display: flex; flex-direction: column; gap: 8px; }

  .form-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
  }

  .form-input, .form-textarea {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
  }

  .form-input::placeholder, .form-textarea::placeholder { color: rgba(107,107,128,0.5); }
  .form-input:focus, .form-textarea:focus { border-color: var(--accent); }
  .form-textarea { min-height: 120px; }

  .form-select {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b6b80' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: border-color 0.2s;
  }

  .form-select:focus { border-color: var(--accent); }

  .form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--ink);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s var(--ease);
    width: 100%;
    letter-spacing: 0.01em;
  }

  .form-submit:hover { background: var(--accent); transform: translateY(-1px); }

  /* ── FOOTER ── */
  footer {
    background: var(--ink);
    color: rgba(255,255,255,0.5);
    padding: 72px 48px 40px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 40px;
  }

  .footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; display: block; }
  .footer-brand .nav-logo-mark { background: var(--accent); }

  .footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.4);
    max-width: 240px;
    margin-bottom: 28px;
  }

  .footer-social { display: flex; gap: 12px; }

  .social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    display: grid;
    place-items: center;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
  }

  .social-btn:hover { border-color: var(--accent); background: rgba(26,26,255,0.15); }
  .social-btn svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.6); fill: none; stroke-width: 1.5; }

  .footer-col-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
  }

  .footer-links { display: flex; flex-direction: column; gap: 12px; list-style: none; }

  .footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--white); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
  }

  .footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
  .footer-bottom a:hover { color: var(--white); }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 1;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }

  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ── MOBILE NAV TOGGLE ── */
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    section { padding: 72px 24px; }
    .hero { padding: 72px 24px 0; }
    .hero-bg { width: 100%; clip-path: none; opacity: 0.4; }

    .services-header { flex-direction: column; align-items: flex-start; }
    .services-grid { grid-template-columns: 1fr; }

    .process-item { grid-template-columns: 56px 1fr; }
    .process-text { display: none; }

    .why-layout { grid-template-columns: 1fr; }
    .why-visual { height: 280px; }

    .tech-grid { grid-template-columns: repeat(3, 1fr); }

    .cta-band { flex-direction: column; text-align: center; padding: 60px 24px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .marquee-wrap, footer { padding-left: 0; padding-right: 0; }
    footer { padding: 60px 24px 32px; }
    .cta-band { padding: 60px 24px; }
    .hero-stats { gap: 32px; flex-wrap: wrap; }
  }


