/* ===================================================================
   Johar — Creative Portfolio
   Style: Professional Corporate (navy / slate / clean)
   =================================================================== */

:root {
  --navy:      #0f2a47;
  --navy-2:    #163a63;
  --accent:    #c9a227;   /* muted gold accent */
  --accent-2:  #2f6df0;
  --ink:       #14202e;
  --slate:     #4a5a6a;
  --muted:     #7d8b99;
  --line:      #e4e9ef;
  --bg:        #ffffff;
  --bg-soft:   #f5f7fa;
  --bg-navy:   #0f2a47;
  --white:     #ffffff;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 10px 30px rgba(15, 42, 71, .08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 71, .16);
  --container:  1160px;
  --ease:      cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Typography helpers ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}
.section-desc { color: var(--slate); margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 42, 71, .22);
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(15, 42, 71, .07);
  border-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 9px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}
.brand-text { color: var(--navy); font-size: 1.15rem; letter-spacing: -.01em; }
.brand-dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--slate); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--navy); }
.nav .nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--navy-2); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative;
  padding: 148px 0 90px;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(47, 109, 240, .08), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #fff 70%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero-title span { color: var(--accent); font-style: italic; }
.hero-sub {
  color: var(--slate);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 22px 0 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}
.stat strong::after { content: '+'; color: var(--accent); }
.stat span { font-size: .85rem; color: var(--muted); }

/* hero visual */
.hero-visual { position: relative; min-height: 380px; }
.hero-orb {
  position: absolute;
  inset: 10% 8% auto auto;
  width: 300px; height: 300px;
  background: radial-gradient(circle at 30% 30%, var(--navy-2), var(--navy));
  border-radius: 44% 56% 60% 40% / 46% 40% 60% 54%;
  filter: blur(2px);
  opacity: .95;
  animation: morph 12s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 44% 56% 60% 40% / 46% 40% 60% 54%; }
  50%     { border-radius: 60% 40% 40% 60% / 60% 54% 46% 40%; }
}
.hero-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  z-index: 2;
}
.hero-card p { font-size: .78rem; color: var(--muted); margin-top: 12px; font-weight: 600; }
.hero-card-1 { top: 30px; left: 0; width: 200px; }
.hero-card-1 .swatch { display: inline-block; width: 44px; height: 44px; border-radius: 8px; margin-right: 6px; }
.s1 { background: var(--navy); }
.s2 { background: var(--accent); }
.s3 { background: var(--accent-2); }
.hero-card-2 { bottom: 24px; right: 0; width: 220px; animation: float 6s ease-in-out infinite; }
.mock-line { height: 10px; border-radius: 6px; background: var(--bg-soft); margin-bottom: 10px; }
.mock-line.w80 { width: 80%; background: var(--navy); opacity: .85; }
.mock-line.w60 { width: 60%; }
.mock-line.w40 { width: 40%; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===================================================================
   Logos strip
   =================================================================== */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); background: #fff; }
.logos-label { text-align: center; color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px;
}
.logo-item {
  font-weight: 700;
  color: var(--navy);
  opacity: .45;
  letter-spacing: .06em;
  font-size: 1.05rem;
  transition: opacity .2s;
}
.logo-item:hover { opacity: 1; }

/* ===================================================================
   About
   =================================================================== */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-visual { position: relative; }
.about-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--navy), var(--navy-2)),
    var(--navy);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.9);
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.about-monogram { position: relative; z-index: 1; letter-spacing: .04em; }
.about-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0 22px;
}
.about-chips span {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 12px;
  border-radius: 999px;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 70% 20%, rgba(201,162,39,.35), transparent 60%);
  pointer-events: none;
}
.about-badge {
  position: absolute;
  bottom: -18px; right: -14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
}
.about-badge strong { display: block; color: var(--navy); font-size: .95rem; }
.about-badge strong::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: #2ec16b;
  border-radius: 50%;
  margin-right: 7px;
}
.about-badge span { font-size: .78rem; color: var(--muted); }
.about-text .section-title { margin: 12px 0 20px; }
.about-text p { color: var(--slate); margin-bottom: 16px; }
.about-list { margin: 20px 0 28px; }
.about-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 500;
}
.about-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ===================================================================
   Services
   =================================================================== */
.services { background: var(--bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--accent);
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.service-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--slate); font-size: .95rem; }

/* ===================================================================
   Work / Gallery
   =================================================================== */
.work { background: #fff; }
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
}
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 24px;
  align-items: start;
}
.card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  animation: fadeUp .5s var(--ease) both;
}
.card.hide { display: none; }

/* ---- Device: shared ---- */
.device { position: relative; }
.device .device-screen { position: relative; overflow: hidden; background: #0b1220; }
.device .device-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .6s var(--ease), object-position 4s var(--ease);
}

/* ---- Device: Phone (mobile apps) ---- */
.card--phone .device-phone {
  width: 100%;
  max-width: 232px;
  margin: 0 auto;
  padding: 9px;
  background: linear-gradient(150deg, #283548, #0f172a);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(15,42,71,.30), inset 0 0 0 2px rgba(255,255,255,.05);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card--phone .device-phone::before {
  content: '';
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 44%; height: 15px;
  background: #0f172a;
  border-radius: 0 0 12px 12px;
  z-index: 3;
}
.card--phone .device-screen { border-radius: 22px; aspect-ratio: 800 / 1280; }
.card--phone:hover .device-phone {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(15,42,71,.42), inset 0 0 0 2px rgba(201,162,39,.35);
}
.card--phone:hover .device-screen img { transform: scale(1.04); }

/* ---- Device: Browser (web apps) ---- */
.card--web .device-browser {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card--web .browser-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; height: 19px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.card--web .device-screen { aspect-ratio: 16 / 10; }
.card--web:hover .device-browser {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,162,39,.4);
}
.card--web:hover .device-screen img { object-position: bottom center; }

/* ---- Caption (always visible, below device) ---- */
.p-caption { text-align: center; padding: 14px 8px 0; }
.card--web .p-caption { text-align: left; padding: 14px 4px 0; }
.p-caption h5 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.p-caption .p-meta { display: block; font-size: .82rem; color: var(--slate); }

.live-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15, 42, 71, .18);
}
.live-badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ec16b;
  box-shadow: 0 0 0 0 rgba(46, 193, 107, .6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 193, 107, .6); }
  100% { box-shadow: 0 0 0 8px rgba(46, 193, 107, 0); }
}

.card--web .live-badge { top: 44px; }

.lb-visit { margin-top: 18px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   Testimonials
   =================================================================== */
.testimonials { background: var(--bg-navy); color: #fff; }
.testimonials .section-title { color: #fff; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.testi-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 3.4rem;
  color: var(--accent);
  line-height: .5;
  display: block;
  margin-bottom: 14px;
}
.testi-card p { color: rgba(255,255,255,.9); font-size: 1rem; margin-bottom: 20px; }
.testi-card footer strong { display: block; color: #fff; }
.testi-card footer span { color: rgba(255,255,255,.55); font-size: .85rem; }

/* ===================================================================
   Contact
   =================================================================== */
.contact { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-info .section-title { margin: 12px 0 16px; }
.contact-info > p { color: var(--slate); margin-bottom: 28px; }
.contact-list li {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li span:first-child {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-list a { color: var(--navy); font-weight: 600; }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.field input.invalid, .field textarea.invalid { border-color: #e04b4b; }
.form-note { margin-top: 14px; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-note.ok { color: #1f9d55; }
.form-note.err { color: #e04b4b; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 34px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer .brand-text { color: #fff; }
.site-footer p { font-size: .88rem; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--accent); color: #1a1200; border-color: var(--accent); }

/* ===================================================================
   Lightbox
   =================================================================== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(10, 22, 38, .9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-content {
  width: min(680px, 92vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.lb-thumb {
  max-height: 62vh;
  overflow: auto;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
}
.lb-thumb img { width: 100%; display: block; }
.lb-body { padding: 24px 28px 30px; }
.lb-body .tag {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.lb-body h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.lb-body p { color: var(--slate); }
.lightbox-close {
  position: absolute;
  top: 20px; right: 26px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
}
.lightbox-close:hover { opacity: 1; }

/* ===================================================================
   Reveal on scroll
   =================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; order: -1; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 340px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform .3s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: 12px; border: 0; }
  .nav-toggle { display: flex; }

  .hero { padding: 116px 0 64px; }
  .hero-visual { min-height: 240px; }
  .hero-orb { width: 210px; height: 210px; }
  .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 24px; margin-top: 34px; padding-top: 24px; }
  .stat strong { font-size: 1.7rem; }

  .logos-row { gap: 26px 30px; }
  .gallery { gap: 26px 18px; }
  .testi-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 34px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero { padding: 104px 0 54px; }
  /* elemen dekoratif hero disembunyikan agar mobile lebih bersih & ringan */
  .hero-visual { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 26px; }
  .card--phone .device-phone { max-width: 220px; }
  .hero-stats { gap: 18px 22px; flex-wrap: wrap; }
  .stat { min-width: 84px; }

  .contact-form { padding: 22px; }
  .about-visual { max-width: 280px; }
  .about-monogram { font-size: 3rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .lb-body { padding: 20px; }
  .lightbox-close { top: 12px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
