/* ============================================================
   CORNER CREATIONS — style.css v5  (matched to Figma)
   ============================================================ */

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

:root {
  --bg:        #08080b;
  --bg-2:      #0d0d12;
  --bg-card:   #111118;
  --bg-card-2: #16161f;
  --border:    rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.14);
  --text:      #d8d8e8;
  --muted:     #6b6b8f;
  --accent:    #4f73ff;
  --accent-2:  #7c3aed;
  --white:     #ffffff;
  --r:         10px;
  --r-lg:      16px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Biryani', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul   { list-style: none; }

/* ── Type ─────────────────────────────────────────────────── */
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 0.875rem; font-weight: 700; }

.gradient-text {
  background: linear-gradient(130deg, #6b8fff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.25rem;
}

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 7rem 0; }
.section-dark { background: var(--bg-2); }
.section-cta { text-align: center; margin-top: 3rem; }

.s-header { text-align: center; margin-bottom: 4rem; }
.s-header h2 { margin-bottom: 1rem; }
.s-sub { color: var(--muted); font-size: 0.95rem; max-width: 480px; margin: 0 auto; line-height: 1.8; font-weight: 300; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Biryani', sans-serif;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 24px rgba(79,115,255,0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(79,115,255,0.48); }

.btn-ghost {
  border: 1px solid var(--border-hi);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }
.btn-text-link { font-size: 0.8rem; color: var(--muted); transition: color 0.2s; font-weight: 600; }
.btn-text-link:hover { color: var(--white); }

/* ── Nav ──────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.4s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(8,8,11,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 0.75rem 0;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.nav-logo img { width: 26px; height: 26px; object-fit: contain; }
.nav-brand { font-weight: 800; font-size: 0.9rem; color: var(--white); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav-links a { font-size: 0.82rem; font-weight: 600; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { margin-left: 0.75rem; padding: 0.6rem 1.35rem; font-size: 0.8rem; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; margin-left: auto; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ──────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu.open { transform: none; }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.25rem; color: var(--muted); }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.mobile-menu a { font-size: 1.6rem; font-weight: 800; color: var(--text); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8,8,11,0.6) 0%,
      rgba(8,8,11,0.1) 20%,
      rgba(8,8,11,0.1) 45%,
      rgba(8,8,11,0.6) 68%,
      rgba(8,8,11,0.92) 85%,
      rgba(8,8,11,1.0) 100%
    );
}
.hero-content { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--border-hi);
  border-radius: 100px; padding: 0.3rem 0.85rem;
  margin-bottom: 1.5rem;
}
#h-title { color: var(--white); margin-bottom: 1.5rem; }
.hero-sub {
  font-size: 1.05rem; font-weight: 300; color: rgba(216,216,232,0.72);
  max-width: 580px; margin: 0 auto 2.75rem; line-height: 1.8;
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4.5rem;
}
.hero-stats {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  padding: 1.75rem 2.5rem;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  max-width: 640px; margin: 0 auto;
  gap: 0;
}
.stat { flex: 1; text-align: center; padding: 0 1rem; }
.stat-val {
  font-size: 2.1rem; font-weight: 900; color: var(--white);
  line-height: 1; margin-bottom: 0.45rem;
  display: flex; align-items: baseline; justify-content: center; gap: 0.05em;
}
.stat-sfx { font-size: 2.1rem; font-weight: 900; color: var(--accent); }
.stat p { font-size: 0.67rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.09em; }
.stat-div { width: 1px; background: var(--border-hi); flex-shrink: 0; margin: 0.25rem 0; }

/* ── Scroll hint ──────────────────────────────────────────── */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 11px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-hint span {
  width: 3px; height: 7px; background: var(--accent); border-radius: 2px;
  animation: bounce 1.8s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(7px); opacity: 0.3; } }

/* ── Services ─────────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.svc-card {
  background: var(--bg-card);
  padding: 2.5rem 2.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.svc-card:hover { background: var(--bg-card-2); border-color: var(--border-hi); transform: translateY(-3px); }
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover::before { opacity: 1; }
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(79,115,255,0.1); border: 1px solid rgba(79,115,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1.5rem;
  transition: transform 0.3s, background 0.3s;
}
.svc-card:hover .svc-icon { transform: scale(1.08); background: rgba(79,115,255,0.18); }
.svc-card h3 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.05rem; }
.svc-card p { color: var(--muted); font-size: 0.85rem; font-weight: 300; line-height: 1.72; margin-bottom: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tags span {
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 100px;
  background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border);
  letter-spacing: 0.02em;
}

/* ── Portfolio ────────────────────────────────────────────── */
.port-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 1.75rem; flex-wrap: wrap; gap: 1rem;
}
.port-header h2 { margin-top: 0.25rem; }
.port-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 300px 220px;
  gap: 0.75rem;
}
.port-item { border-radius: var(--r); overflow: hidden; }
.p-large { grid-row: span 2; }
.p-wide  { grid-column: span 2; }
.port-img {
  width: 100%; height: 100%; position: relative; overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.port-item:hover .port-img { transform: scale(1.04); }
.port-ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.9) 100%);
  padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.3rem;
  opacity: 0; transition: opacity 0.35s;
}
.port-item:hover .port-ov { opacity: 1; }
.p-cat { font-size: 0.62rem; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.14em; }
.port-ov h4 { color: var(--white); font-size: 1rem; font-weight: 700; }
.p-arrow { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.5); margin-top: 0.15rem; }

/* ── Process ──────────────────────────────────────────────── */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.proc-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.proc-card:hover { background: var(--bg-card-2); border-color: var(--border-hi); transform: translateY(-3px); }
.proc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.proc-card:hover::after { transform: scaleX(1); }
.proc-num {
  font-size: 2.8rem; font-weight: 900;
  color: rgba(79,115,255,0.15);
  line-height: 1; margin-bottom: 1.25rem;
  transition: color 0.3s;
  letter-spacing: -0.04em;
}
.proc-card:hover .proc-num { color: rgba(79,115,255,0.35); }
.proc-bar { width: 32px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 1px; margin-bottom: 1.25rem; }
.proc-card h3 { color: var(--white); margin-bottom: 0.65rem; }
.proc-card p { color: var(--muted); font-size: 0.85rem; font-weight: 300; line-height: 1.72; }

/* ── Why Us ───────────────────────────────────────────────── */
.why-section { background: var(--bg); }
.why-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start; }
.why-left { position: sticky; top: 6rem; }
.why-left h2 { margin-bottom: 1.5rem; line-height: 1.1; }
.why-body { color: var(--muted); font-size: 0.9rem; font-weight: 300; line-height: 1.85; margin-bottom: 1rem; }

.reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.reason {
  display: flex; gap: 0; align-items: stretch;
  border-radius: var(--r); border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.reason:hover { border-color: rgba(79,115,255,0.25); background: var(--bg-card-2); transform: translateY(-2px); }
.r-accent { width: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); flex-shrink: 0; }
.r-body { padding: 1.25rem 1.1rem; }
.reason h4 { color: var(--white); margin-bottom: 0.3rem; font-size: 0.875rem; }
.reason p  { color: var(--muted); font-size: 0.78rem; font-weight: 300; line-height: 1.65; }

/* ── Toolset ──────────────────────────────────────────────── */
.tools-row {
  display: flex; flex-wrap: wrap; gap: 0.625rem;
  justify-content: center; margin-bottom: 0.625rem;
}
.tools-row-2 { margin-bottom: 0; }
.tool-pill {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border-hi); border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; color: var(--text);
  background: var(--bg-card);
  transition: all 0.25s ease;
}
.tool-pill:hover { border-color: rgba(79,115,255,0.4); color: var(--white); transform: translateY(-2px); background: var(--bg-card-2); }
.tool-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tools-divider { width: 100%; height: 1px; background: var(--border); margin: 2rem 0; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.cap-tags span {
  font-size: 0.68rem; font-weight: 600; padding: 0.32rem 0.875rem; border-radius: 100px;
  background: rgba(79,115,255,0.08); color: rgba(111,143,255,0.9); border: 1px solid rgba(79,115,255,0.16);
  transition: all 0.2s;
}
.cap-tags span:hover { background: rgba(79,115,255,0.16); }

/* ── Testimonials ─────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testi {
  padding: 0 0 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.testi:hover { border-color: rgba(79,115,255,0.25); transform: translateY(-4px); }
.testi-top-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin-bottom: 1.75rem;
}
.testi-body { padding: 0 1.75rem; }
.stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 1rem; }
.testi blockquote { font-size: 0.875rem; font-weight: 300; color: var(--text); line-height: 1.8; margin-bottom: 1.5rem; }
.t-auth { display: flex; align-items: center; gap: 0.75rem; }
.t-av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.t-auth strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--white); }
.t-auth span   { font-size: 0.72rem; font-weight: 300; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0; text-align: left; font-size: 0.9rem; font-weight: 600;
  color: var(--text); gap: 1rem; transition: color 0.2s;
}
.faq-q:hover { color: var(--white); }
.faq-q svg { flex-shrink: 0; transition: transform 0.35s; color: var(--muted); }
.faq-q[aria-expanded="true"] { color: var(--white); }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.faq-a.open { max-height: 300px; }
.faq-a p { color: var(--muted); font-size: 0.875rem; font-weight: 300; line-height: 1.8; padding-bottom: 1.5rem; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 5rem; align-items: start; }
.contact-left h2 { margin-bottom: 1.1rem; }
.contact-left > p { color: var(--muted); font-size: 0.9rem; font-weight: 300; line-height: 1.8; margin-bottom: 2.25rem; }
.contact-meta { display: flex; flex-direction: column; gap: 0.875rem; }
.c-detail { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); transition: color 0.2s; }
.c-detail:hover { color: var(--accent); }
.contact-right form {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg); padding: 2.25rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label { font-size: 0.75rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.72rem 1rem;
  font-size: 0.85rem; font-weight: 400; color: var(--text);
  font-family: 'Biryani', sans-serif; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b8f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-group select option { background: #111118; font-family: 'Biryani', sans-serif; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,115,255,0.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(107,107,143,0.4); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-section {
  position: relative; padding: 8rem 0; text-align: center; overflow: hidden;
  background: var(--bg-2);
}
.cta-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(79,115,255,0.18) 0%,
    rgba(124,58,237,0.14) 50%,
    rgba(79,115,255,0.06) 100%
  );
}
.cta-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 1.1rem; }
.cta-inner > p { color: var(--muted); font-size: 0.95rem; font-weight: 300; line-height: 1.8; margin-bottom: 2.25rem; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 4rem; margin-bottom: 3rem; }
.footer-logo { margin-bottom: 0.6rem; }
.footer-tag { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 0.875rem; }
.footer-desc { font-size: 0.82rem; font-weight: 300; color: var(--muted); line-height: 1.75; max-width: 260px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.fcol h5 { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white); margin-bottom: 1.1rem; }
.fcol li + li { margin-top: 0.6rem; }
.fcol a { font-size: 0.82rem; font-weight: 300; color: var(--muted); transition: color 0.2s; }
.fcol a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between;
  font-size: 0.75rem; font-weight: 300; color: var(--muted);
  flex-wrap: wrap; gap: 0.5rem;
}

/* ── Scroll animations ────────────────────────────────────── */
.sc-el[data-anim="fade-up"]  { opacity: 0; transform: translateY(40px); }
.sc-el[data-anim="fade-left"]{ opacity: 0; transform: translateX(-40px); }
.sc-el.visible {
  opacity: 1 !important; transform: none !important;
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--delay, 0ms);
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sc-el { opacity: 1 !important; transform: none !important; }
  .scroll-hint span { animation: none; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-layout { grid-template-columns: 1fr; gap: 3rem; }
  .why-left { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 5rem 0; }
  .container { padding: 0 1.5rem; }

  /* Hide scroll indicator on mobile */
  .scroll-hint { display: none; }

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

  .port-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .p-large { grid-row: auto; grid-column: span 2; min-height: 240px; }
  .p-wide  { grid-column: span 2; }
  .port-img { min-height: 200px; }
  .port-ov { opacity: 1; }

  /* Process: single column on mobile */
  .process-grid { grid-template-columns: 1fr; }

  .reasons-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }

  .hero-stats { padding: 1.25rem 1rem; max-width: 100%; }
  .stat { padding: 0 0.5rem; }
  .stat-val, .stat-sfx { font-size: 1.6rem; }
  .stat p { font-size: 0.6rem; }
  .stat-div { margin: 0.5rem 0; }

  .form-row { grid-template-columns: 1fr; }

  /* Footer: compact, keep columns side by side */
  .footer { padding: 3rem 0 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
  .footer-desc { max-width: 100%; font-size: 0.78rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .fcol h5 { font-size: 0.65rem; margin-bottom: 0.75rem; }
  .fcol a { font-size: 0.75rem; }
  .fcol li + li { margin-top: 0.4rem; }
}

@media (max-width: 480px) {
  .port-grid { grid-template-columns: 1fr; }
  .p-large, .p-wide { grid-column: auto; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-div { display: none; }
  .stat { min-width: 40%; }
  .footer-brand { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
