/* ============================================================
   PC Doctor.ph — Design tokens
   ============================================================ */
:root {
  --bg: #06080d;
  --bg-1: #0a0e16;
  --bg-2: #0d1220;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f6fa;
  --text-muted: #9aa4b6;
  --text-dim: #626c7d;

  --accent: #ff4d2e;
  --accent-2: #ff8a1e;
  --accent-grad: linear-gradient(135deg, #ff4d2e 0%, #ff8a1e 100%);
  --cyan: #2ee6d6;
  --blue: #3b82f6;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(255, 77, 46, 0.15), 0 20px 60px -15px rgba(255, 77, 46, 0.25);

  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.accent { color: var(--accent); }

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

/* ============================================================
   Background layers
   ============================================================ */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 25px 60px -12px rgba(255, 77, 46, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(6, 8, 13, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 38px; height: 38px; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.brand-tag { font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  position: relative; padding: 4px 0; transition: color 0.25s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent-grad); transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.25s;
}
.phone-link:hover { color: var(--accent-2); }
.phone-link svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--accent-2);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-links { display: flex; align-items: center; gap: 8px; }
.icon-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
}
.icon-link:hover {
  border-color: rgba(255, 138, 30, 0.4);
  background: rgba(255, 138, 30, 0.08);
  color: var(--accent-2);
  transform: translateY(-2px);
}
.icon-link svg { width: 17px; height: 17px; }

/* Contact row inside the mobile nav dropdown — hidden on desktop */
.mobile-contact { display: none; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}
.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-glow {
  position: absolute;
  top: 45%; left: 50%;
  width: 1100px; height: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,77,46,0.16) 0%, rgba(46,230,214,0.06) 45%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; text-align: center; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(46, 230, 214, 0.08);
  border: 1px solid rgba(46, 230, 214, 0.25);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  color: #fff;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--accent-2);
  border-radius: 3px;
  animation: scrollCue 1.8s infinite ease-in-out;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============================================================
   Trust bar
   ============================================================ */
.trust-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  justify-content: center;
}
.trust-item svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: var(--accent-2);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 90px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 15%, rgba(255,255,255,0.015) 85%, transparent); }

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #fff; margin-top: 14px; }
.section-sub { color: var(--text-muted); margin-top: 16px; font-size: 1.05rem; }

.grid { display: grid; gap: 26px; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

/* Services */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { padding: 34px 30px; }
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,138,30,0.35);
  background: var(--surface-hover);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,77,46,0.16), rgba(255,138,30,0.08));
  border: 1px solid rgba(255,138,30,0.2);
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--accent-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.15rem; color: #fff; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Web development banner */
.web-dev-banner { padding-top: 20px; padding-bottom: 20px; }
.banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0e14;
  box-shadow: var(--shadow-lg);
}
.banner-img { width: 100%; display: block; }
.banner-cta {
  display: flex;
  justify-content: center;
  padding: 36px 20px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 34px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px; right: -26px;
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
  display: block;
}
.step-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,138,30,0.55);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.process-step h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 0.92rem; }

/* Portfolio */
.portfolio-grid { grid-template-columns: repeat(3, 1fr); }
.portfolio-card { overflow: hidden; }
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46,230,214,0.3);
  box-shadow: var(--shadow-lg);
}
.portfolio-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #0c1018;
  cursor: zoom-in;
}
.portfolio-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.6s var(--ease);
}
.portfolio-card:hover .portfolio-media img { transform: scale(1.05); }

.zoom-hint {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 13, 0.35);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.portfolio-media:hover .zoom-hint,
.portfolio-media:focus-visible .zoom-hint { opacity: 1; }
.zoom-hint svg {
  width: 46px; height: 46px;
  padding: 11px;
  border-radius: 50%;
  background: rgba(6, 8, 13, 0.7);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(4px);
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scale(0.85);
  transition: transform 0.35s var(--ease);
}
.portfolio-media:hover .zoom-hint svg { transform: scale(1); }

/* Featured project cards — show the full ad creative instead of cropping to a fixed ratio */
.badge-featured {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(255, 77, 46, 0.5);
}
.ad-media {
  aspect-ratio: auto;
  height: clamp(260px, 32vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.ad-media img {
  width: auto; height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius) - 10px);
}
.ad-media:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 5, 9, 0.88);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }

.lightbox-frame {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}
.lightbox.open .lightbox-frame { transform: scale(1); }

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: #0c1018;
}
.lightbox-frame figcaption {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); }
.lightbox-close svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.badge-status {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: rgba(6,8,13,0.85);
  border: 1px solid rgba(255,138,30,0.4);
  color: var(--accent-2);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.portfolio-body { padding: 28px 26px 30px; }
.portfolio-cat {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px;
}
.portfolio-body h3 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.portfolio-body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.about-copy { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 18px; }
.about-points { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.about-point {
  display: flex; align-items: center; gap: 16px;
  font-weight: 500; color: var(--text);
  font-size: 0.98rem;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-2);
}
.about-link svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.about-link:hover svg { transform: translateX(4px); }

.about-point span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  color: var(--accent-2);
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,138,30,0.1);
  border: 1px solid rgba(255,138,30,0.25);
  flex-shrink: 0;
}

.about-visual { display: flex; align-items: center; justify-content: center; }
.orbit-canvas-wrap {
  position: relative;
  width: 300px; height: 300px;
}
.orbit-logo-fallback {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow-glow);
}
#aboutOrbitCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* CTA */
.cta-section {
  position: relative;
  margin: 0 28px 90px;
  max-width: calc(var(--container) - 0px);
  margin-left: auto; margin-right: auto;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,77,46,0.18), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(46,230,214,0.12), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; margin-bottom: 16px; }
.cta-inner p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 56px;
  background: var(--bg-1);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; margin: 18px 0 22px; max-width: 320px; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}
.social-row a:hover { border-color: rgba(255,138,30,0.4); background: rgba(255,138,30,0.08); }
.social-row svg { width: 17px; height: 17px; stroke: var(--text-muted); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.footer-contact-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-contact-row .phone-link { padding: 6px 0; }

.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col h4 { font-size: 0.85rem; color: #fff; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col a, .footer-plain { color: var(--text-muted); font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-cta { align-self: flex-start; margin-top: 8px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.83rem; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-hero {
  padding: 140px 0 40px;
  text-align: center;
  position: relative;
}
.contact-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: #fff;
  margin: 18px 0;
}
.contact-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto;
}

.contact-section { padding-top: 40px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 9px;
}
.form-group label span { color: var(--accent-2); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s;
  appearance: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa4b6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.form-group select:invalid { color: var(--text-dim); }
.form-group option { background: #0d1220; color: var(--text); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 138, 30, 0.55);
  background: rgba(255, 255, 255, 0.055);
}

.form-submit { width: 100%; margin-top: 6px; border: none; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note { margin-top: 16px; font-size: 0.8rem; color: var(--text-dim); text-align: center; }

.form-success { text-align: center; padding: 30px 10px; }
.success-icon {
  width: 62px; height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46, 230, 214, 0.1);
  border: 1px solid rgba(46, 230, 214, 0.35);
}
.success-icon svg { width: 28px; height: 28px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.form-success p { color: var(--text-muted); max-width: 420px; margin: 0 auto 26px; }

.form-error {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 77, 46, 0.35);
  background: rgba(255, 77, 46, 0.08);
}
.form-error p { color: var(--text); font-size: 0.9rem; }
.form-error a { color: var(--accent-2); font-weight: 600; }
.form-error-detail:not(:empty) { margin-top: 8px; color: var(--text-dim); font-size: 0.8rem; }

/* Info card */
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  position: sticky;
  top: 110px;
}
.info-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 26px; }

.info-step { display: flex; gap: 16px; margin-bottom: 24px; }
.info-step span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.8rem;
  color: var(--accent-2);
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 138, 30, 0.1);
  border: 1px solid rgba(255, 138, 30, 0.25);
}
.info-step h4 { color: var(--text); font-size: 0.95rem; margin-bottom: 6px; }
.info-step p { color: var(--text-muted); font-size: 0.85rem; }

.info-divider { height: 1px; background: var(--border); margin: 30px 0 26px; }
.info-label { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.info-email { color: var(--accent-2); font-weight: 600; font-size: 1.02rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .services-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .phone-link .phone-text { display: none; }
  .phone-link { padding: 8px; }
  .quick-links { display: none; }

  .main-nav.open {
    display: flex;
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6,8,13,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 10px 28px 26px;
  }
  .main-nav.open a { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }

  .main-nav.open .mobile-contact {
    display: flex;
    gap: 10px;
    padding: 18px 0 6px;
    width: 100%;
  }
  .mobile-contact a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 13px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
  }
  .mobile-contact a:active,
  .mobile-contact a:hover { border-color: rgba(255, 138, 30, 0.4); color: var(--accent-2); }
  .mobile-contact svg {
    width: 20px; height: 20px;
    stroke: var(--accent-2);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .portfolio-grid, .process-grid { grid-template-columns: 1fr; }
  .ad-media { height: clamp(220px, 70vw, 340px); }
  .section { padding: 60px 0; }
  .cta-section { margin: 0 16px 60px; padding: 48px 24px; }
  .footer-top { grid-template-columns: 1fr; padding-bottom: 32px; }
  .container { padding: 0 20px; }
  .contact-hero { padding-top: 110px; }
  .form-card { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .scroll-cue span { animation: none; }
}
