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

:root {
  --cream:  #FAF0EC;
  --blush:  #F0D8D0;
  --rose:   #E8BFB4;
  --dusty:  #C06050;
  --rust:   #A0784C;
  --bark:   #2A1C18;
  --mid:    #7A4A3C;
  --border: rgba(200,150,130,0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--bark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.15s; }
.fade-up-3 { animation-delay: 0.25s; }
.fade-up-4 { animation-delay: 0.35s; }

/* ── NAVIGATION ──────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(250,240,236,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 500;
  color: var(--bark); text-decoration: none; letter-spacing: 0.01em;
}
.nav-logo span { color: var(--dusty); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 500; text-decoration: none;
  color: var(--mid); letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dusty); }
.nav-cta {
  font-size: 13px; font-weight: 500; text-decoration: none;
  background: var(--dusty); color: var(--cream);
  padding: 9px 22px; border-radius: 40px;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--bark); transform: translateY(-1px); }

/* ── HERO ────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding: 80px 48px 72px;
  border-bottom: 0.5px solid var(--border);
  max-width: 1200px; margin: 0 auto;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blush); border-radius: 40px;
  padding: 6px 16px; margin-bottom: 28px;
  font-size: 11px; font-weight: 500; color: var(--dusty);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dusty); flex-shrink: 0;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px; line-height: 1.1; font-weight: 400;
  color: var(--bark); margin-bottom: 22px;
}
.hero h1 em { color: var(--dusty); font-style: italic; }
.hero-sub {
  font-size: 16px; line-height: 1.75; color: var(--mid);
  max-width: 420px; margin-bottom: 36px; font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  background: var(--dusty); color: var(--cream);
  padding: 13px 30px; border-radius: 40px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--bark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--bark);
  padding: 13px 30px; border-radius: 40px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  border: 0.5px solid var(--mid);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--dusty); color: var(--dusty); transform: translateY(-1px); }
.btn-light {
  background: var(--cream); color: var(--dusty);
  padding: 14px 36px; border-radius: 40px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  display: inline-block; transition: background 0.2s, transform 0.15s;
}
.btn-light:hover { background: var(--blush); transform: translateY(-1px); }

/* ── HERO VISUAL PANEL ───────────────────────── */
.hero-visual {
  background: var(--blush); border-radius: 24px;
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.mini-card {
  background: var(--cream); border-radius: 14px;
  padding: 16px 18px; display: flex; align-items: center; gap: 14px;
  border: 0.5px solid var(--rose);
  transition: transform 0.2s;
}
.mini-card:hover { transform: translateX(4px); }
.mini-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--blush); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mini-title { font-size: 13px; font-weight: 500; color: var(--bark); }
.mini-sub { font-size: 12px; color: var(--mid); margin-top: 2px; }
.stat-row { display: flex; gap: 12px; margin-top: 4px; }
.stat {
  background: var(--cream); border-radius: 12px; padding: 14px 18px;
  flex: 1; text-align: center; border: 0.5px solid var(--rose);
}
.stat-n { font-size: 22px; font-weight: 500; color: var(--dusty); }
.stat-l { font-size: 11px; color: var(--mid); margin-top: 3px; }

/* ── SECTION SHARED ──────────────────────────── */
section { border-bottom: 0.5px solid var(--border); }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 72px 48px; }
.section-label {
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--dusty); margin-bottom: 14px;
}
.section-h {
  font-family: 'Playfair Display', serif;
  font-size: 34px; font-weight: 400; color: var(--bark);
  line-height: 1.2; max-width: 480px;
}

/* ── SERVICES ────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin-top: 44px;
}
.service-card {
  border-radius: 20px; padding: 32px;
  border: 0.5px solid var(--rose);
  transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-3px); }
.service-card.featured { background: var(--bark); border-color: transparent; }
.service-card:not(.featured) { background: var(--cream); }
.svc-num {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.service-card.featured .svc-num { color: var(--rose); }
.service-card:not(.featured) .svc-num { color: var(--dusty); }
.svc-icon { margin-bottom: 16px; }
.svc-title { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.service-card.featured .svc-title { color: var(--cream); }
.service-card:not(.featured) .svc-title { color: var(--bark); }
.svc-desc { font-size: 14px; line-height: 1.65; }
.service-card.featured .svc-desc { color: var(--rose); }
.service-card:not(.featured) .svc-desc { color: var(--mid); }

/* ── PORTFOLIO & APP SHOWCASE ────────────────── */
.portfolio-chip {
  font-size: 10px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 40px;
  background: var(--blush); color: var(--dusty);
  display: inline-flex; align-items: center;
}

.featured-app-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid var(--rose);
  padding: 44px;
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 12px 36px -12px rgba(192, 96, 80, 0.09);
  position: relative;
  overflow: hidden;
}

.featured-app-card + .featured-app-card {
  margin-top: 32px;
}

.featured-app-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 340px; height: 340px;
  background: radial-gradient(circle at top right, rgba(232, 191, 180, 0.28), transparent 70%);
  pointer-events: none;
}

.featured-app-card.rate-ready-card::before {
  background: radial-gradient(circle at top right, rgba(212, 113, 77, 0.2), transparent 70%);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(42, 28, 24, 0.12);
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid rgba(160, 120, 76, 0.2);
}

.app-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.app-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EAF7EC;
  color: #246B28;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
}

.app-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2E7D32;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.25);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.app-name {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--bark);
  line-height: 1.15;
}

.app-tagline {
  font-size: 17px;
  font-style: italic;
  color: var(--dusty);
  margin-bottom: 16px;
  line-height: 1.45;
  font-weight: 400;
}

.app-summary {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 22px;
  font-weight: 300;
}

.app-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--bark);
  line-height: 1.5;
}

.app-feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--blush);
  color: var(--dusty);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.app-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ── GOOGLE PLAY STORE BADGE BUTTON ──────────── */
.playstore-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111111;
  color: #FFFFFF;
  padding: 10px 22px 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.playstore-badge-btn:hover {
  background: #222222;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.playstore-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.playstore-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.playstore-sup {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3px;
}

.playstore-sub {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

/* ── WEB APP BADGE BUTTON ────────────────────── */
.webapp-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  color: var(--bark);
  padding: 10px 20px 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--rose);
  box-shadow: 0 4px 14px rgba(160, 120, 76, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.webapp-badge-btn:hover {
  background: var(--blush);
  border-color: var(--dusty);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 96, 80, 0.18);
}

.webapp-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--dusty);
}

.webapp-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.webapp-sup {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3px;
}

.webapp-sub {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--bark);
}

.app-meta-note {
  font-size: 13px;
  color: var(--mid);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.case-study-inline-link {
  color: var(--dusty);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.case-study-inline-link:hover {
  color: var(--bark);
  text-decoration: underline;
}

.app-meta-sep {
  opacity: 0.5;
}

/* ── PHONE MOCKUP ────────────────────────────── */
.phone-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-self: center;
}

.phone-frame {
  width: 240px;
  height: 480px;
  background: #1A1412;
  border-radius: 38px;
  padding: 9px;
  box-shadow: 0 20px 48px -10px rgba(42, 28, 24, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0D0A09;
  z-index: 5;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #FAF0EC;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.22s ease;
}

.screen-tabs {
  display: flex;
  gap: 6px;
  background: var(--blush);
  padding: 4px;
  border-radius: 30px;
  border: 0.5px solid var(--rose);
}

.screen-tab-btn {
  background: transparent;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--mid);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.screen-tab-btn:hover {
  color: var(--bark);
}

.screen-tab-btn.active {
  background: #FFFFFF;
  color: var(--dusty);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── DUAL DEVICE MOCKUP (LAPTOP + PHONE) ────── */
.dual-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-self: center;
  width: 100%;
  max-width: 440px;
}

.dual-device-mockup {
  position: relative;
  width: 100%;
  height: 380px;
}

.laptop-frame {
  position: absolute;
  top: 15px;
  left: 0;
  width: 320px;
  height: 230px;
  background: #1A1412;
  border-radius: 14px;
  box-shadow: 0 16px 40px -10px rgba(42, 28, 24, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.laptop-browser-bar {
  height: 28px;
  background: #2A201C;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  display: block;
}

.browser-dots span:nth-child(1) { background: #FF5F56; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #27C93F; }

.browser-url-pill {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.laptop-screen {
  flex: 1;
  background: #F6EFE9;
  overflow: hidden;
  position: relative;
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.phone-frame.dual-phone-frame {
  position: absolute;
  bottom: 0;
  right: 8px;
  width: 175px;
  height: 350px;
  border-radius: 30px;
  padding: 7px;
  z-index: 3;
  box-shadow: 0 20px 48px -6px rgba(42, 28, 24, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.phone-frame.dual-phone-frame .phone-screen {
  border-radius: 24px;
}

/* ── APPS SUBGRID (2 CARDS) ──────────────────── */
.apps-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.app-subcard {
  background: var(--cream);
  border: 0.5px solid var(--rose);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.app-subcard:hover {
  transform: translateY(-3px);
  border-color: var(--dusty);
  box-shadow: 0 10px 28px rgba(160, 120, 76, 0.1);
}

.portfolio-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.app-subcard-top {
  margin-bottom: 16px;
}

.app-subcard-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--dusty);
}

.app-subcard-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--bark);
  margin-top: 10px;
  margin-bottom: 8px;
}

.app-subcard-desc {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.6;
}

.app-subcard-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dusty);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 16px;
  text-decoration: none;
  transition: gap 0.15s;
}

.app-subcard:hover .app-subcard-link {
  gap: 10px;
}

/* ── AI SECTION ──────────────────────────────── */
.ai-section { background: var(--bark); }
.ai-section .section-label { color: var(--rose); }
.ai-section .section-h { color: var(--cream); max-width: 560px; }
.ai-body {
  font-size: 15px; line-height: 1.8; color: var(--rose);
  max-width: 600px; margin: 24px 0 36px; font-weight: 300;
}
.ai-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 48px;
}
.ai-card {
  background: rgba(250,240,236,0.07); border-radius: 16px;
  padding: 24px; border: 0.5px solid rgba(232,191,180,0.2);
}
.ai-card-icon { margin-bottom: 16px; }
.ai-card-title { font-size: 15px; font-weight: 500; color: var(--cream); margin-bottom: 8px; }
.ai-card-desc { font-size: 13px; color: var(--rose); line-height: 1.6; }

/* ── BLOG ────────────────────────────────────── */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 44px;
}
.blog-card {
  border-radius: 20px; padding: 28px;
  border: 0.5px solid var(--rose);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s;
  text-decoration: none;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card.light { background: var(--cream); }
.blog-card.muted { background: var(--blush); border-color: var(--rose); }
.blog-tag {
  display: inline-block; background: var(--blush);
  color: var(--dusty); font-size: 10px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 40px; align-self: flex-start;
}
.blog-card.muted .blog-tag { background: var(--rose); }
.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 400; color: var(--bark); line-height: 1.35;
}
.blog-excerpt { font-size: 13px; color: var(--mid); line-height: 1.65; }
.blog-meta { font-size: 11px; color: var(--mid); margin-top: auto; padding-top: 8px; }
.blog-read-more {
  font-size: 12px; font-weight: 500; color: var(--dusty);
  display: flex; align-items: center; gap: 4px; margin-top: 4px;
}

/* ── BLOG SKELETON ───────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.blog-skeleton {
  border-radius: 20px; padding: 28px;
  border: 0.5px solid var(--rose);
  background: var(--cream);
  display: flex; flex-direction: column; gap: 14px;
}
.skel-line {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, var(--blush) 25%, var(--rose) 50%, var(--blush) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
}

/* ── SUBSTACK SUBSCRIBE ──────────────────────── */
.substack-subscribe {
  margin-top: 40px;
  background: var(--blush); border-radius: 20px;
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  border: 0.5px solid var(--rose);
}
.substack-subscribe-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 400; color: var(--bark); margin-bottom: 6px;
}
.substack-subscribe-text p {
  font-size: 13px; color: var(--mid); line-height: 1.6; max-width: 460px;
}
.btn-subscribe {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--bark); color: var(--cream);
  padding: 11px 22px; border-radius: 40px;
  font-size: 13px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-subscribe:hover { background: var(--dusty); transform: translateY(-1px); }

/* ── TESTIMONIALS ────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 44px;
}
.testimonial-card {
  background: var(--cream); border-radius: 20px;
  padding: 28px; border: 0.5px solid var(--rose);
}
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 36px; color: var(--rose); line-height: 1;
  margin-bottom: 12px;
}
.testimonial-body {
  font-size: 14px; line-height: 1.75; color: var(--mid);
  margin-bottom: 20px; font-weight: 300;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blush); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: var(--dusty);
}
.testimonial-name { font-size: 13px; font-weight: 500; color: var(--bark); }
.testimonial-role { font-size: 12px; color: var(--mid); margin-top: 2px; }

/* ── CONTACT FORM ────────────────────────────── */
.contact-section { background: var(--dusty); border-bottom: none; }
.contact-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 72px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.contact-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 400; color: var(--cream);
  line-height: 1.2; margin-bottom: 16px;
}
.contact-left h2 em { font-style: italic; }
.contact-left p {
  font-size: 15px; color: rgba(250,240,236,0.8);
  font-weight: 300; line-height: 1.7; margin-bottom: 24px;
}
.contact-detail { font-size: 13px; color: rgba(250,240,236,0.6); }
.contact-detail a { color: rgba(250,240,236,0.8); text-decoration: none; }
.contact-detail a:hover { color: var(--cream); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 11px; font-weight: 500; color: rgba(250,240,236,0.65);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.form-field input,
.form-field textarea {
  background: rgba(250,240,236,0.1); border: 0.5px solid rgba(250,240,236,0.25);
  border-radius: 10px; padding: 11px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--cream);
  outline: none; transition: border-color 0.2s, background 0.2s; width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(250,240,236,0.3); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(250,240,236,0.6); background: rgba(250,240,236,0.16);
}
.form-field textarea { resize: vertical; min-height: 112px; }
.form-submit {
  background: var(--cream); color: var(--dusty);
  padding: 13px 30px; border-radius: 40px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  border: none; cursor: pointer; align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--blush); transform: translateY(-1px); }
.form-success { display: none; padding: 32px 0; color: var(--cream); }
.form-success-icon { font-size: 32px; margin-bottom: 12px; }
.form-success h3 {
  font-family: 'Playfair Display', serif; font-size: 22px;
  font-weight: 400; margin-bottom: 8px;
}
.form-success p { font-size: 14px; color: rgba(250,240,236,0.75); font-weight: 300; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--bark);
  padding: 56px 48px 36px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(232,191,180,0.15);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: var(--cream); margin-bottom: 14px;
  text-decoration: none; display: block;
}
.footer-logo span { color: var(--dusty); }
.footer-tagline { font-size: 13px; color: var(--rose); line-height: 1.65; font-weight: 300; }
.footer-col-title {
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--rose); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: rgba(232,191,180,0.65); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(232,191,180,0.4); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { font-size: 12px; color: rgba(232,191,180,0.5); text-decoration: none; transition: color 0.2s; }
.footer-socials a:hover { color: var(--cream); }

/* ── BURGER BUTTON ───────────────────────────── */
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 4px; flex-direction: column; gap: 5px;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--bark);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
nav.open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.open .nav-burger span:nth-child(2) { opacity: 0; }
nav.open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; position: relative; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250,240,236,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column; gap: 0;
    padding: 8px 0 16px;
    border-bottom: 0.5px solid var(--border);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 24px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .hero h1 { font-size: 38px; }
  .section-inner { padding: 56px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .featured-app-card { grid-template-columns: 1fr; padding: 32px 20px; gap: 36px; }
  .apps-subgrid { grid-template-columns: 1fr; }
  .dual-device-mockup { max-width: 360px; height: 350px; }
  .laptop-frame { width: 280px; height: 200px; }
  .phone-frame.dual-phone-frame { width: 155px; height: 310px; right: 0; }
  .app-header { flex-direction: row; align-items: center; gap: 16px; }
  .app-name { font-size: 26px; }
  .phone-frame { width: 220px; height: 440px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .substack-subscribe { flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 48px 24px 28px; }
}

@media (max-width: 480px) {
  .dual-device-mockup { max-width: 300px; height: 310px; }
  .laptop-frame { width: 240px; height: 170px; }
  .phone-frame.dual-phone-frame { width: 135px; height: 270px; }
  .app-cta-group { flex-direction: column; align-items: stretch; }
  .playstore-badge-btn, .webapp-badge-btn { justify-content: center; }
}
