:root {
  --primary: #2563eb;
  --secondary: #3b82f6;
  --cyan: #06b6d4;
  --navy: #0f172a;
  --navy-soft: #172554;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.78);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-size: 1.24rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: #eff6ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 20px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-youtube {
  width: 100%;
  gap: 12px;
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--white);
  background: rgba(239, 68, 68, 0.9);
  box-shadow: none;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn-youtube svg {
  flex: 0 0 auto;
}

.btn-youtube-icon {
  width: 20px;
  height: 20px;
}

.btn-youtube-external {
  width: 16px;
  height: 16px;
}

.btn-external-icon {
  width: 14px;
  height: 14px;
}

.btn-youtube:hover {
  color: var(--white);
  background: rgb(239, 68, 68);
  box-shadow: none;
  transform: none;
}

@media (min-width: 640px) {
  .btn-youtube {
    width: auto;
  }
}

.btn-nav-cta {
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  white-space: nowrap;
  flex-wrap: nowrap;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1;
  color: #fff;
  background: #2563eb;
  box-shadow: none;
  transform: none !important;
  transition: background-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.btn-nav-cta:hover {
  background: #1d4ed8;
  box-shadow: none;
  transform: none !important;
}

.btn-nav-cta:focus-visible,
.btn-nav-cta:active {
  transform: none !important;
}

.btn-nav-wa {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  white-space: nowrap;
  flex-wrap: nowrap;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1;
  color: #fff;
  background: #16a34a;
  transform: none !important;
  transition: background-color 180ms ease, color 180ms ease;
}

.btn-nav-wa:hover,
.btn-nav-wa:focus-visible,
.btn-nav-wa:active {
  background: #15803d;
  color: #fff;
  transform: none !important;
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.btn-secondary:hover {
  border-color: #bfdbfe;
  color: var(--primary);
}

.btn-github {
  gap: 10px;
  border-color: #24292f;
  color: var(--white);
  background: #24292f;
}

.btn-github-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.btn-github:hover {
  border-color: #0f172a;
  color: var(--white);
  background: #0f172a;
  box-shadow: none;
  transform: none;
}

.btn-ghost {
  color: var(--primary);
  background: #eff6ff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(239, 246, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
}

.hero::after {
  position: absolute;
  inset: auto -12% -30% 45%;
  z-index: -1;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.28), rgba(6, 182, 212, 0));
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 1fr);
  align-items: center;
  gap: 44px;
  min-height: 740px;
  padding: 70px 0 82px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.35rem, 4.6vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.35rem, 3.15vw, 3.12rem);
  line-height: 1.1;
}

.hero p {
  max-width: 690px;
  margin: 20px 0 0;
  color: #dbeafe;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-actions .btn {
  width: auto;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 14px;
  box-shadow: none;
  flex-wrap: nowrap;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
  transform: none !important;
  transition: background-color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.hero-actions .btn-primary {
  border: 0;
  color: #fff;
  background: #2563eb;
}

.hero-actions .btn-primary:hover {
  background: #1d4ed8;
  box-shadow: none;
  transform: none !important;
}

.hero-actions .btn-secondary {
  border-color: var(--white);
  color: var(--navy);
  background: var(--white);
}

.hero-actions .btn-secondary:hover {
  border-color: #e2e8f0;
  color: var(--navy);
  background: #f8fafc;
  box-shadow: none;
  transform: none !important;
}

.btn-hero-video span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: #ff0033;
}

.btn-hero-video span::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  content: "";
}

.btn-hero-video:hover span {
  background: #cc0029;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  max-width: 650px;
}

.stat-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.stat-card strong {
  display: block;
  font-size: clamp(1.28rem, 2.1vw, 1.72rem);
  line-height: 1.08;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: #bfdbfe;
  font-size: 0.86rem;
}

.mockup-stage {
  position: relative;
  min-height: 600px;
}

.phone-mockup {
  filter: none;
}

.mobile-showcase::before {
  display: none;
  content: none;
}

.phone-mockup {
  position: absolute;
  width: 214px;
  padding: 0;
}

.phone-mockup img {
  width: 100%;
  aspect-ratio: 9 / 18.5;
  border-radius: 0;
  object-fit: contain;
  object-position: top center;
}

.phone-mockup-left {
  left: 0;
  top: 90px;
  z-index: 2;
  transform: none;
}

.phone-mockup-center {
  left: 50%;
  top: 28px;
  z-index: 4;
  width: 264px;
  transform: translateX(-50%);
}

.phone-mockup-right {
  right: 0;
  top: 90px;
  z-index: 3;
  transform: none;
}

.floating-card {
  position: absolute;
  left: auto;
  right: 32px;
  bottom: 14px;
  z-index: 5;
  width: 250px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(14px);
}

.floating-card strong {
  display: block;
  font-size: 0.95rem;
}

.floating-card span {
  display: block;
  margin-top: 6px;
  color: #bfdbfe;
  font-size: 0.84rem;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--bg);
}

.section-navy {
  color: var(--white);
  background: var(--navy);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.section-header.center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.95rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-navy .section-title,
.section-navy .section-lede {
  color: var(--white);
}

.section-lede {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
}

.app-demo-section-header .section-lede {
  max-width: none;
}

@media (min-width: 1100px) {
  .app-demo-section-header .section-lede {
    white-space: nowrap;
  }
}

.grid-3,
.grid-4,
.portfolio-grid,
.tech-grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-soft);
}

.service-card,
.why-card,
.testimonial-card,
.tech-card,
.faq-item {
  padding: 26px;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--primary);
  background: #eff6ff;
}

.icon-box svg {
  width: 25px;
  height: 25px;
}

.logo-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.logo-box img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: contain;
}

.logo-box .logo-flutter,
.logo-box .logo-dashboard {
  width: 52px;
  height: 52px;
}

.logo-box .logo-laravel {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center;
}

.card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.08rem, 1.7vw, 1.22rem);
  line-height: 1.25;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-list,
.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  color: #475569;
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  content: "";
}

.partner-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.partner-logos span {
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #475569;
  background: var(--bg);
  font-weight: 750;
  font-size: 0.9rem;
}

.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-panel {
  position: absolute;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-panel.large {
  top: 0;
  left: 0;
  width: 86%;
}

.image-panel.small {
  right: 0;
  bottom: 16px;
  width: 48%;
}

.image-panel img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

.image-panel.large img {
  aspect-ratio: 16 / 10;
}

.image-panel.small img {
  aspect-ratio: 9 / 16;
}

.dashboard-showcase {
  min-height: 430px;
}

.dashboard-panel {
  inset: 0;
  width: 100%;
  border-width: 12px;
}

.dashboard-panel img {
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: top center;
}

.dashboard-bg-section {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(219, 234, 254, 0.9) 0%, rgba(191, 219, 254, 0.7) 46%, rgba(37, 99, 235, 0.26) 100%),
    url("../images/furniture-ecommerce-app/admin-dashboard.webp") center right / cover no-repeat;
}

.dashboard-bg-section::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.03));
  content: "";
}

.dashboard-content-wrap {
  position: relative;
  z-index: 1;
}

.dashboard-glass {
  max-width: 620px;
  padding: 36px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

.dashboard-glass .section-title {
  color: var(--navy);
}

.dashboard-glass .check-list li {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: process;
}

.timeline-item {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  counter-increment: process;
}

.timeline-item::before {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
  color: var(--white);
  background: var(--primary);
  content: "0" counter(process);
  font-weight: 850;
}

.timeline-item h3 {
  margin: 0;
  font-size: 1.08rem;
}

.timeline-item p {
  margin: 10px 0 0;
  color: #cbd5e1;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.app-demo-card {
  display: grid;
  gap: 22px;
  min-height: 100%;
  padding: 20px;
}

.app-demo-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.app-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.app-demo-details {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.app-demo-detail-group {
  padding-left: 16px;
  border-left: 3px solid #bfdbfe;
}

.app-demo-detail-group h4 {
  margin: 0;
  color: var(--navy);
  font-size: 0.98rem;
}

.app-demo-detail-group .feature-list {
  gap: 8px;
  margin-top: 10px;
}

.app-demo-video {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  background: #0f172a;
}

.app-demo-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.app-demo-overview h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.18rem, 1.9vw, 1.45rem);
  line-height: 1.2;
}

.app-demo-overview p {
  margin: 12px 0 20px;
  color: var(--muted);
}

.app-demo-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 16px;
}

.app-demo-actions .btn {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  gap: 8px;
  justify-content: center;
  height: 40px;
  min-height: 40px;
  border-radius: 14px;
  font-size: 0.875rem;
  text-align: center;
}

.app-demo-actions .btn-github-icon {
  width: 18px;
  height: 18px;
}

.portfolio-list {
  display: grid;
  gap: 30px;
}

.portfolio-list .project-case[data-category*="salon"] {
  order: 1;
}

.portfolio-list .project-case[data-category*="doctor"] {
  order: 2;
}

.portfolio-list .project-case[data-category*="furniture"] {
  order: 3;
}

.project-case {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  padding: 16px;
  align-items: stretch;
}

.case-gallery {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.case-main-image,
.case-thumb {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: #eef6ff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.case-main-image img {
  width: auto;
  max-width: 100%;
  height: min(620px, 72vh);
  margin-inline: auto;
  object-fit: contain;
  object-position: top center;
  transition: transform 420ms ease;
}

.case-main-image {
  position: relative;
  display: grid;
  place-items: center;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.gallery-arrow:hover {
  border-color: var(--primary);
  color: var(--white);
  background: var(--primary);
  transform: translateY(-50%) scale(1.04);
}

.gallery-arrow:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 3px;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.project-case:hover .case-main-image img {
  transform: scale(1.025);
}

.case-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.case-thumb {
  display: block;
  padding: 0;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.case-thumb:hover,
.case-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.18);
  transform: translateY(-2px);
}

.case-thumb:not(.active) {
  opacity: 0.76;
}

.case-thumb:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 3px;
}

.case-thumb img {
  width: 100%;
  height: 112px;
  object-fit: contain;
  object-position: top center;
}

.case-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px 10px 12px 0;
}

.case-kicker {
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 11px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: var(--primary);
  background: #eff6ff;
  font-size: 0.78rem;
  font-weight: 850;
}

.case-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.12;
}

.case-content p {
  margin: 14px 0 0;
  color: var(--muted);
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.project-meta div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.project-meta strong,
.project-meta span {
  display: block;
}

.project-meta strong {
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.project-meta span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.detail-grid > div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.82);
}

.detail-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.project-case[data-category*="furniture"] .case-content,
.project-case[data-category*="doctor"] .case-content,
.project-case[data-category*="salon"] .case-content {
  gap: 18px;
}

.project-case[data-category*="furniture"] .case-content > p,
.project-case[data-category*="furniture"] .project-meta,
.project-case[data-category*="furniture"] .detail-grid,
.project-case[data-category*="furniture"] .case-actions,
.project-case[data-category*="doctor"] .case-content > p,
.project-case[data-category*="doctor"] .project-meta,
.project-case[data-category*="doctor"] .detail-grid,
.project-case[data-category*="doctor"] .case-actions,
.project-case[data-category*="salon"] .case-content > p,
.project-case[data-category*="salon"] .project-meta,
.project-case[data-category*="salon"] .detail-grid,
.project-case[data-category*="salon"] .case-actions {
  margin-top: 0;
}

.project-case[data-category*="furniture"] .case-actions,
.project-case[data-category*="doctor"] .case-actions,
.project-case[data-category*="salon"] .case-actions {
  padding-top: 0;
}

.project-case[data-category*="furniture"] .case-actions,
.project-case[data-category*="doctor"] .case-actions,
.project-case[data-category*="salon"] .case-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 14px;
  column-gap: 12px;
  align-items: stretch;
}

.project-case[data-category*="furniture"] .case-actions .btn,
.project-case[data-category*="doctor"] .case-actions .btn,
.project-case[data-category*="salon"] .case-actions .btn {
  width: 100%;
  height: 40px;
  min-height: 40px;
  gap: 8px;
  border-radius: 14px;
  padding: 0 12px;
  font-size: 0.875rem;
  text-align: center;
  white-space: nowrap;
}

.project-case[data-category*="furniture"] .case-actions .btn-github-icon,
.project-case[data-category*="doctor"] .case-actions .btn-github-icon,
.project-case[data-category*="salon"] .case-actions .btn-github-icon {
  width: 20px;
  height: 20px;
}

.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.project-media {
  position: relative;
  overflow: hidden;
  margin: 12px 12px 0;
  border-radius: 18px;
  background: #eaf2ff;
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top center;
  transition: transform 420ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag {
  padding: 6px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: var(--primary);
  background: #eff6ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.project-actions .btn {
  margin-top: 0;
}

.tech-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
}

.tech-stack-section {
  background: #eaf2ff;
}

.tech-stack-section .section-title {
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  line-height: 1.12;
}

.tech-stack-section .section-lede {
  color: var(--muted);
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-cloud span {
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  font-weight: 800;
}

.testimonial-card {
  background: var(--white);
}

.quote {
  color: var(--navy);
  font-size: 1.04rem;
  font-weight: 650;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 850;
}

.avatar-row strong {
  display: block;
  line-height: 1.2;
}

.avatar-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-banner {
  overflow: hidden;
  border-radius: 30px;
  color: var(--white);
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.22);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 46px;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.cta-inner p {
  max-width: 640px;
  margin: 12px 0 0;
  color: #e0f2fe;
}

.cta-inner .btn-primary {
  color: var(--primary);
  background: var(--white);
  box-shadow: none;
}

.page-hero {
  padding: 96px 0 72px;
  color: var(--white);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 62%, #2563eb 100%);
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.services-hero {
  overflow: hidden;
  padding: 78px 0 58px;
}

.services-hero h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 3.5vw, 3.05rem);
  line-height: 1.12;
}

.services-hero p {
  max-width: 690px;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 42px;
}

.services-hero-visual {
  position: relative;
  min-height: 330px;
}

.services-hero-dashboard,
.services-hero-phone {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(16px);
}

.services-hero-dashboard {
  position: absolute;
  right: 0;
  top: 8px;
  width: 88%;
  padding: 0;
  border-radius: 24px;
}

.services-hero-dashboard img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  object-fit: cover;
  object-position: top center;
}

.services-hero-dashboard-zoom img {
  object-position: top left;
  transform: scale(1.58);
  transform-origin: top left;
}

.services-hero-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 142px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 28px;
}

.services-hero-phone img {
  width: 100%;
  aspect-ratio: 9 / 18.5;
  border-radius: 28px;
  object-fit: contain;
  object-position: top center;
}

.tech-hero-visual {
  min-height: 315px;
}

.tech-hero-dashboard {
  top: 18px;
  width: 86%;
}

.tech-logo-cluster {
  position: absolute;
  left: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(16px);
}

.hero-tech-logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.hero-tech-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.portfolio-hero-visual {
  min-height: 340px;
}

.portfolio-hero-phone {
  position: absolute;
  width: 128px;
  filter: drop-shadow(0 24px 42px rgba(2, 6, 23, 0.28));
}

.portfolio-hero-phone img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  border-radius: 28px;
  object-fit: contain;
  object-position: top center;
}

.portfolio-hero-phone-left {
  left: 2%;
  bottom: 10px;
}

.portfolio-hero-phone-main {
  left: 50%;
  bottom: 0;
  width: 154px;
  transform: translateX(-50%);
  z-index: 2;
}

.portfolio-hero-phone-right {
  right: 2%;
  bottom: 10px;
}

.contact-hero-visual {
  min-height: 315px;
}

.contact-hero-dashboard {
  top: 12px;
  width: 86%;
}

.contact-hero-phone {
  width: 132px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding: 30px;
}

.service-detail + .service-detail {
  margin-top: 22px;
}

.service-detail .icon-box {
  margin-bottom: 18px;
}

.service-detail h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.15;
}

.service-detail p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-detail .btn {
  margin-top: 14px;
}

.service-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
}

.mini-panel strong {
  color: var(--navy);
}

.tech-category {
  margin-top: 34px;
}

.tech-category:first-child {
  margin-top: 0;
}

.tech-category h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.tech-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-card {
  display: flex;
  min-height: 158px;
  flex-direction: column;
  justify-content: space-between;
}

.tech-logo {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.tech-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.tech-logo-pair {
  display: flex;
  gap: 2px;
}

.tech-logo-pair img {
  width: 34px;
  height: 34px;
}

.tech-card p {
  font-size: 0.9rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #475569;
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  border-color: var(--primary);
  background: var(--primary);
}

.project-card[hidden],
.project-case[hidden] {
  display: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: start;
}

.contact-info,
.contact-form-card {
  padding: 32px;
}

.contact-form-card {
  overflow: hidden;
  padding: 0;
}

.calendly-card-header {
  padding: 30px 32px 18px;
}

.calendly-card-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.15;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-row .icon-box {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input,
.field select {
  height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.map-placeholder {
  display: grid;
  min-height: 300px;
  place-items: center;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    #f8fafc;
  background-size: 34px 34px;
  color: var(--muted);
  font-weight: 850;
}

.legal-layout {
  max-width: 920px;
}

.legal-content {
  padding: 42px;
}

.legal-content h2 {
  margin: 34px 0 12px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

.legal-content h3 {
  margin: 24px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-content a {
  color: var(--primary);
  font-weight: 750;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.03rem;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  color: #cbd5e1;
  background: #08111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 72px 0 42px;
}

.site-footer .brand {
  color: var(--white);
}

.footer-about p {
  max-width: 390px;
  color: #94a3b8;
}

.footer-col h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1rem;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: #94a3b8;
  transition: color 180ms ease;
}

.footer-col a:hover {
  color: var(--white);
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.92rem;
}

.mobile-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 110;
  display: flex;
  max-width: 780px;
  align-items: center;
  gap: 18px;
  margin-inline: auto;
  padding: 16px 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--primary);
  font-weight: 800;
}

.cookie-banner .btn {
  min-height: 40px;
  flex: 0 0 auto;
  padding-inline: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .services-hero-grid,
  .why-layout,
  .tech-preview,
  .contact-layout,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .mockup-stage {
    min-height: 690px;
  }

  .services-hero-visual {
    min-height: 380px;
  }

  .tech-hero-visual,
  .contact-hero-visual {
    min-height: 340px;
  }

  .portfolio-hero-visual {
    width: 100%;
    min-height: 370px;
    max-width: 430px;
    justify-self: center;
  }

  .app-demo-layout {
    grid-template-columns: 1fr;
  }

  .app-demo-actions {
    flex-wrap: wrap;
  }

  .app-demo-actions .btn {
    flex: 1 1 calc(50% - 10px);
  }

  .phone-mockup {
    width: 218px;
  }

  .phone-mockup-center {
    width: 270px;
  }

  .phone-mockup-left {
    left: 12%;
  }

  .phone-mockup-right {
    right: 12%;
  }

  .grid-4,
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid,
  .grid-3,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 12px;
  }

  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .app-demo-layout {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 12px;
  }

  .nav-actions .btn {
    display: none;
  }

  .section-header,
  .partner-band,
  .cta-inner,
  .footer-bottom {
    display: block;
  }

  .partner-logos {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .section {
    padding: 72px 0;
  }

  .page-hero {
    padding: 78px 0 58px;
  }

  .services-hero-grid {
    gap: 34px;
  }

  .hero-grid {
    padding: 64px 0 80px;
  }

  .hero-stats,
  .service-meta,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    display: inline-flex;
  }

  .cookie-banner:not([hidden]) ~ .mobile-sticky-cta {
    display: none;
  }

  .footer-bottom span + span {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.12;
  }

  .cta-inner h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .case-content h2,
  .service-detail h2,
  .tech-category h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .mobile-sticky-cta.btn {
    width: auto;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  .cookie-banner .btn {
    width: 100%;
  }

  .mockup-stage {
    min-height: 470px;
  }

  .services-hero-visual {
    min-height: 300px;
  }

  .services-hero-dashboard {
    top: 10px;
    width: 92%;
  }

  .services-hero-phone {
    width: 108px;
  }

  .services-hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
  }

  .app-demos-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .app-demos-hero p {
    max-width: 340px;
    font-size: 0.98rem;
  }

  .tech-hero-visual,
  .contact-hero-visual {
    min-height: 280px;
  }

  .tech-logo-cluster {
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
  }

  .hero-tech-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .hero-tech-logo img {
    width: 34px;
    height: 34px;
  }

  .portfolio-hero-visual {
    min-height: 310px;
  }

  .portfolio-hero-phone {
    width: 96px;
  }

  .portfolio-hero-phone-main {
    width: 118px;
  }

  .contact-hero-phone {
    width: 104px;
  }

  .mobile-showcase::before {
    display: none;
    content: none;
  }

  .phone-mockup {
    width: 136px;
  }

  .phone-mockup img {
    border-radius: 0;
  }

  .phone-mockup-left {
    left: 0;
    top: 116px;
  }

  .phone-mockup-center {
    top: 40px;
    width: 172px;
  }

  .phone-mockup-right {
    right: 0;
    top: 116px;
  }

  .portfolio-grid,
  .project-case,
  .grid-3,
  .grid-4,
  .tech-grid,
  .timeline,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: 430px;
  }

  .image-panel.large {
    width: 100%;
  }

  .image-panel.small {
    width: 56%;
  }

  .service-detail,
  .contact-info,
  .legal-content,
  .cta-inner {
    padding: 24px;
  }

  .newsletter {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .project-case {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .case-content {
    padding: 8px;
  }

  .project-case[data-category*="furniture"] .case-actions,
  .project-case[data-category*="doctor"] .case-actions,
  .project-case[data-category*="salon"] .case-actions {
    grid-template-columns: 1fr;
  }

  .app-demo-overview {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .app-demo-actions {
    flex-direction: column;
    gap: 8px;
  }

  .app-demo-actions .btn {
    flex: 0 0 auto;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .project-meta,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .case-main-image img {
    height: min(520px, 62vh);
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

  .case-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .case-thumb {
    flex: 0 0 88px;
    scroll-snap-align: start;
    border-radius: 14px;
  }

  .case-thumb img {
    height: 112px;
  }
}
