:root {
  --brand: #e30613;
  --brand-dark: #b4000b;
  --brand-soft: #2a090d;
  --ink: #f5f5f5;
  --muted: #aaaab2;
  --line: #29292f;
  --surface: #0b0b0d;
  --surface-soft: #111114;
  --surface-warm: #151013;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.44);
  --radius: 8px;
  --radius-lg: 8px;
  --max-width: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  direction: rtl;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: var(--surface);
  background: var(--brand);
  border-radius: var(--radius);
}

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

.section {
  padding: 108px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(232, 234, 240, 0.7);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(16, 18, 27, 0.08);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: var(--header-height);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 158px;
  height: 44px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #31343b;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  padding: 10px 0;
}

.nav-menu a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: #8A5A3B;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu a.is-active {
  color: #8A5A3B;
  font-weight: 800;
}

.nav-cta,
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 0.95rem;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-cta::before,
.btn::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 560ms ease;
  pointer-events: none;
}

.nav-cta:hover::before,
.btn:hover::before,
.nav-cta:focus-visible::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

.nav-cta,
.btn-primary {
  color: var(--surface);
  background: var(--brand);
  box-shadow: 0 14px 34px rgba(138, 90, 59, 0.24);
}

.nav-cta:hover,
.btn-primary:hover,
.nav-cta:focus-visible,
.btn-primary:focus-visible {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(138, 90, 59, 0.3);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--brand);
  border-color: rgba(138, 90, 59, 0.24);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 20px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 54px);
  padding-bottom: 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(138, 90, 59, 0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #F8F6F4 52%, #fff 100%);
}

.hero-bg span {
  position: absolute;
  border: 1px solid rgba(138, 90, 59, 0.14);
  border-radius: 999px;
  pointer-events: none;
}

.hero-bg span:nth-child(1) {
  width: 420px;
  height: 420px;
  top: 120px;
  right: -170px;
  animation: slow-drift 12s ease-in-out infinite alternate;
}

.hero-bg span:nth-child(2) {
  width: 250px;
  height: 250px;
  bottom: 90px;
  left: -120px;
  animation: slow-drift 10s ease-in-out infinite alternate-reverse;
}

.hero-bg span:nth-child(3) {
  width: 12px;
  height: 12px;
  top: 24%;
  left: 7%;
  border: 0;
  background: var(--brand);
  box-shadow: 0 0 0 14px rgba(138, 90, 59, 0.08);
  animation: soft-pulse 2.8s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: 5.15rem;
  font-weight: 800;
}

h2 {
  font-size: 4.1rem;
  font-weight: 800;
}

h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

.hero-text {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.hero-proof div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(232, 234, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-proof strong {
  display: block;
  color: var(--brand);
  font-size: 1.82rem;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.brand-panel {
  position: relative;
  min-height: 560px;
  padding: 42px;
  background: #09090b;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: hero-float 6s ease-in-out infinite;
}

.hero-brand-showcase {
  display: grid;
  align-content: center;
  gap: 28px;
  min-height: 500px;
  padding: 54px;
  background:
    radial-gradient(circle at 18% 20%, rgba(138, 90, 59, 0.28), transparent 34%),
    linear-gradient(145deg, #070709 0%, #151518 58%, #070709 100%);
}

.brand-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(138, 90, 59, 0.28), transparent 34%),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.15), transparent 20%);
}

.hero-brand-showcase::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  pointer-events: none;
}

.hero-logo-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.hero-logo-mark img {
  width: min(280px, 84%);
  max-height: 150px;
  object-fit: contain;
}

.hero-service-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-service-stack a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.hero-brand-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
  color: var(--surface);
}

.hero-brand-note strong {
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0;
}

.hero-brand-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 700;
}

.dot-mark {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 92px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
  opacity: 0.96;
}

.device-frame {
  position: relative;
  z-index: 1;
  margin-top: 52px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.brand-panel:hover .device-frame {
  transform: translateY(-6px);
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.36);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 4px 4px 12px;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  background: #d9dce4;
  border-radius: 50%;
}

.browser-bar span:first-child {
  background: var(--brand);
}

.site-preview {
  min-height: 270px;
  padding: 24px;
  background: linear-gradient(180deg, var(--surface-soft), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.site-preview img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-media {
  margin: -20px auto 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.section-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  transition: transform 520ms ease, filter 520ms ease;
}

.section-media:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.section-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--brand);
  font-weight: 800;
}

.section-link:hover,
.section-link:focus-visible {
  color: var(--brand-dark);
}

.align-left {
  margin-inline: 0;
  text-align: left;
}

.page-hero {
  padding: calc(var(--header-height) + 84px) 0 88px;
  background:
    radial-gradient(circle at 84% 16%, rgba(138, 90, 59, 0.14), transparent 28%),
    linear-gradient(180deg, #F8F6F4 0%, #fff 100%);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.62fr);
  gap: 56px;
  align-items: center;
}

.page-hero h1 {
  font-size: 4.6rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.page-mark {
  justify-self: end;
  width: min(460px, 100%);
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.page-mark img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

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

.detail-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.detail-card:hover {
  border-color: rgba(138, 90, 59, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.detail-card h2 {
  font-size: 1.65rem;
}

.detail-card p,
.detail-card li {
  color: var(--muted);
}

.detail-card ul {
  display: grid;
  gap: 10px;
  padding-right: 20px;
  padding-left: 0;
  margin: 18px 0 0;
}

.services-showcase {
  background:
    linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
}

.services-grid-v2 {
  gap: 28px;
}

.service-detail-card {
  min-height: 330px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(138, 90, 59, 0.08), transparent 38%),
    var(--surface);
}

.service-detail-card::before {
  position: absolute;
  inset: auto 28px 0;
  height: 4px;
  content: "";
  background: var(--brand);
  border-radius: 999px 999px 0 0;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-detail-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.service-detail-top span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--surface);
  background: var(--brand);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(138, 90, 59, 0.24);
  font-weight: 900;
}

.service-detail-top small {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-detail-card h2 {
  max-width: 420px;
  font-size: 2rem;
}

.service-detail-card p {
  max-width: 520px;
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  color: #3f424b;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 800;
}

.cta-band {
  padding: 70px 0;
  color: var(--surface);
  background: #08080b;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  max-width: 760px;
  font-size: 3rem;
}

.cta-band p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.services {
  background: var(--surface);
}

.home-intro {
  padding: 72px 0;
  background: var(--surface);
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 54px;
  align-items: start;
}

.home-intro h2,
.home-strip h2,
.home-showcase h2,
.home-cta h2 {
  font-size: 3.1rem;
}

.home-intro-copy p,
.home-showcase-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.home-services {
  padding: 78px 0;
  background: var(--surface-soft);
}

.home-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 38px;
  align-items: start;
}

.home-strip-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.home-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-showcase {
  padding: 82px 0;
  background: var(--surface);
}

.home-showcase-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
}

.home-showcase-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.home-showcase-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  transition: transform 520ms ease, filter 520ms ease;
}

.home-showcase-media:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.035);
}

.home-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.home-cta {
  padding: 0 0 88px;
  background: var(--surface);
}

.home-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px;
  color: var(--surface);
  background:
    radial-gradient(circle at 88% 18%, rgba(138, 90, 59, 0.36), transparent 32%),
    #08080b;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.home-cta-panel .eyebrow {
  color: var(--brand);
}

.home-cta-panel h2 {
  max-width: 760px;
  color: var(--brand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.process-step,
.testimonial,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.service-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.service-card::after,
.portfolio-card::after,
.detail-card::after,
.why-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.7) 46%, transparent 70%);
  opacity: 0;
  transform: translateX(-120%);
  transition: transform 620ms ease, opacity 260ms ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(138, 90, 59, 0.22);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after,
.portfolio-card:hover::after,
.detail-card:hover::after,
.why-item:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--brand);
  font-weight: 800;
  background: var(--brand-soft);
  border-radius: var(--radius);
  transition: transform 240ms ease, background 240ms ease, color 240ms ease;
}

.service-card:hover .icon-box {
  color: var(--surface);
  background: var(--brand);
  transform: rotate(-4deg) scale(1.06);
}

.service-card p,
.portfolio-card p,
.process-step p,
.testimonial span,
.why-item span {
  margin: 12px 0 0;
  color: var(--muted);
}

.about,
.process,
.testimonials {
  background: var(--surface-soft);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 70px;
}

.about-card {
  padding: 26px;
  background: #050505;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.about-card img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 520ms ease, filter 520ms ease;
}

.about-card:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.about-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.value-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.value-list div {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.value-list div:hover {
  border-color: rgba(138, 90, 59, 0.2);
  box-shadow: var(--shadow-sm);
  transform: translateX(8px);
}

.value-list strong,
.why-item strong {
  display: block;
  font-size: 1rem;
}

.value-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

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

.portfolio-card {
  position: relative;
  display: grid;
  gap: 22px;
  min-height: 420px;
  padding: 18px 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.portfolio-card-button {
  display: grid;
  gap: 22px;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  text-align: right;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.portfolio-card:hover {
  border-color: rgba(138, 90, 59, 0.22);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.food-work-card {
  border-color: rgba(138, 90, 59, 0.22);
}

.branding-work-card {
  background:
    linear-gradient(180deg, rgba(138, 90, 59, 0.035), transparent 34%),
    var(--surface);
}

.portfolio-action {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand);
  font-size: 0.9rem;
}

.portfolio-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-visual {
  min-height: 220px;
  border-radius: var(--radius);
  background-color: var(--ink);
  background-image:
    linear-gradient(135deg, rgba(138, 90, 59, 0.88), rgba(138, 90, 59, 0.08)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  overflow: hidden;
}

.portfolio-visual img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.portfolio-card:hover .portfolio-visual img {
  transform: scale(1.055);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.gallery-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(10px);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: translateY(18px) scale(0.98);
  transition: transform 260ms ease;
}

.gallery-modal.is-open .gallery-dialog {
  transform: translateY(0) scale(1);
}

.gallery-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.gallery-head h2 {
  font-size: 2.4rem;
}

.gallery-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.gallery-close:hover,
.gallery-close:focus-visible {
  color: var(--brand);
  border-color: rgba(138, 90, 59, 0.3);
  transform: rotate(4deg);
}

.food-gallery-grid {
  columns: 3 240px;
  column-gap: 16px;
}

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

.food-gallery-grid img,
.brand-gallery-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.food-gallery-grid img {
  margin: 0 0 16px;
  break-inside: avoid;
}

.brand-gallery-grid img {
  height: clamp(260px, 36vw, 520px);
  object-fit: contain;
  background:
    linear-gradient(135deg, rgba(138, 90, 59, 0.05), transparent 45%),
    var(--surface-soft);
  border: 1px solid var(--line);
  padding: 10px;
}

body.gallery-open {
  overflow: hidden;
}

.partners-hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: stretch;
  min-height: 360px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(138, 90, 59, 0.1), transparent 34%),
    #ffffff;
  border: 1px solid rgba(138, 90, 59, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.partners-hero-panel div,
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partners-hero-panel div {
  min-height: 150px;
  box-shadow: 0 16px 34px rgba(16, 18, 27, 0.06);
  animation: partner-float 5.8s ease-in-out infinite;
}

.partners-hero-panel div:nth-child(2),
.partners-hero-panel div:nth-child(4) {
  animation-delay: -2.4s;
}

.partners-hero-panel img {
  max-width: 76%;
  max-height: 78px;
  object-fit: contain;
  filter: saturate(0.94) contrast(1.04);
}

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

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

.partner-card {
  position: relative;
  min-height: 168px;
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(16, 18, 27, 0.05);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.partner-card::after {
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  content: "";
  background: var(--brand);
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 220ms ease, transform 220ms ease;
}

.partner-card:hover {
  border-color: rgba(138, 90, 59, 0.24);
  box-shadow: var(--shadow-sm);
  transform: translateY(-6px);
}

.partner-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 96px;
}

.partner-logo-wrap img {
  max-width: 86%;
  max-height: 86px;
  object-fit: contain;
  filter: saturate(0.92);
  transition: filter 220ms ease, transform 220ms ease;
}

.partner-card:hover .partner-logo-wrap img {
  filter: saturate(1.08);
  transform: scale(1.04);
}

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

.process-step {
  position: relative;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 46px;
  color: #8A5A3B;
  font-weight: 800;
}

.process-step::before {
  position: absolute;
  top: 66px;
  left: 24px;
  width: 10px;
  height: 10px;
  content: "";
  background: #8A5A3B;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(138, 90, 59, 0.14);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.process-step::after {
  position: absolute;
  top: 70px;
  left: 38px;
  width: calc(100% - 52px);
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #8A5A3B 0%, rgba(138, 90, 59, 0.5) 55%, rgba(138, 90, 59, 0) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 720ms ease;
}

.process-step.is-visible::after {
  transform: scaleX(1);
}

.process-step:hover {
  border-color: rgba(138, 90, 59, 0.38);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.process-step:hover::before {
  transform: scale(1.18);
  box-shadow: 0 0 0 13px rgba(138, 90, 59, 0.14);
}

@keyframes partner-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 64px;
  align-items: start;
}

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

.why-item {
  position: relative;
  min-height: 180px;
  padding: 24px;
  background: var(--surface-warm);
  border: 1px solid rgba(138, 90, 59, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.why-item:hover {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: translateY(-6px);
}

.why .btn {
  margin-top: 28px;
}

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

.testimonial {
  padding: 32px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.testimonial:hover {
  border-color: rgba(138, 90, 59, 0.18);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.testimonial p {
  margin: 0;
  color: #343741;
  font-size: 1.08rem;
}

.testimonial div {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.testimonial strong,
.testimonial span {
  display: block;
}

.contact {
  background:
    linear-gradient(90deg, rgba(138, 90, 59, 0.06), transparent 44%),
    var(--surface);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.contact-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  font-weight: 800;
}

.contact-details a,
.contact-details span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.contact-details a:hover,
.contact-details span:hover {
  border-color: rgba(138, 90, 59, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.contact-details a::before,
.contact-details span::before,
.footer a[href^="mailto:"]::before,
.footer a[href*="wa.me"]::before,
.footer div > span::before {
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--surface);
  background: var(--brand);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
}

.contact-details a[href^="mailto:"]::before,
.footer a[href^="mailto:"]::before {
  content: "@";
}

.contact-details a[href^="tel:"]::before,
.footer a[href*="wa.me"]::before {
  content: "T";
}

.contact-details span::before,
.footer div > span::before {
  content: "L";
}

.contact-media {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease, filter 420ms ease;
}

.contact-media:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.035);
}

.contact-details a:hover {
  color: var(--brand);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 36px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.quote-form:hover {
  border-color: rgba(138, 90, 59, 0.18);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-row input,
.form-row select {
  min-height: 50px;
  padding: 0 14px;
}

.form-row textarea {
  min-height: 136px;
  padding: 14px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  background: var(--surface);
  border-color: rgba(138, 90, 59, 0.42);
  box-shadow: 0 0 0 4px rgba(138, 90, 59, 0.1);
}

.form-button {
  width: 100%;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.form-note.is-success {
  padding: 12px 14px;
  color: #116b38;
  background: #effaf3;
  border: 1px solid #bce8cc;
  border-radius: var(--radius);
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: #070709;
}

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

.footer-brand-block {
  max-width: 390px;
}

.footer-logo {
  width: 170px;
  height: 46px;
  object-fit: contain;
  border-radius: 4px;
  background: #000;
}

.footer p {
  max-width: 360px;
  margin: 20px 0 0;
}

.footer h2 {
  margin: 0 0 16px;
  color: var(--surface);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.footer a,
.footer span {
  display: block;
  margin-top: 10px;
  transition: color 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer a[href^="mailto:"],
.footer a[href*="wa.me"],
.footer div > span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-bottom span::before {
  display: none;
}

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

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--surface);
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-quote {
  display: inline-flex !important;
  width: fit-content;
  margin-top: 18px !important;
  padding: 10px 14px;
  color: var(--surface);
  background: rgba(138, 90, 59, 0.16);
  border: 1px solid rgba(138, 90, 59, 0.38);
  border-radius: var(--radius);
  font-weight: 800;
}

.footer-quote:hover,
.footer-quote:focus-visible {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 {
  transition-delay: 120ms;
}

.service-card.reveal,
.portfolio-card.reveal,
.detail-card.reveal,
.process-step.reveal,
.why-item.reveal,
.testimonial.reveal {
  transform: translateY(34px) scale(0.98);
}

.service-card.reveal.is-visible,
.portfolio-card.reveal.is-visible,
.detail-card.reveal.is-visible,
.process-step.reveal.is-visible,
.why-item.reveal.is-visible,
.testimonial.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.service-card.reveal.is-visible:hover,
.portfolio-card.reveal.is-visible:hover {
  transform: translateY(-8px) scale(1);
}

.detail-card.reveal.is-visible:hover,
.process-step.reveal.is-visible:hover,
.testimonial.reveal.is-visible:hover {
  transform: translateY(-7px) scale(1);
}

.why-item.reveal.is-visible:hover {
  transform: translateY(-6px) scale(1);
}

.section-media.reveal {
  clip-path: inset(0 0 16% 0);
  transform: translateY(28px) scale(0.985);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1), clip-path 860ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-media.reveal.is-visible {
  clip-path: inset(0 0 0 0);
  transform: translateY(0) scale(1);
}

@keyframes hero-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 12px rgba(138, 90, 59, 0.08);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 22px rgba(138, 90, 59, 0.02);
    transform: scale(1.12);
  }
}

@keyframes slow-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-18px, 14px, 0);
  }
}

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

@media (max-width: 1120px) {
  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 3.35rem;
  }

  .hero-grid,
  .split-layout,
  .why-grid,
  .contact-grid,
  .home-intro-grid,
  .home-strip,
  .home-showcase-grid {
    gap: 44px;
  }

  .services-grid,
  .portfolio-grid,
  .partners-grid,
  .home-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .container,
  .nav {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .section {
    padding: 82px 0;
  }

  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 12px;
    border-radius: var(--radius);
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible,
  .nav-menu a.is-active {
    color: #8A5A3B;
    background: var(--brand-soft);
  }

  .nav-menu a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .page-hero {
    padding: calc(var(--header-height) + 56px) 0 70px;
  }

  .page-hero .container {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 3.7rem;
  }

  .page-mark {
    justify-self: start;
    width: min(420px, 100%);
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-grid,
  .split-layout,
  .why-grid,
  .contact-grid,
  .home-intro-grid,
  .home-strip,
  .home-showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .brand-panel {
    min-height: 480px;
  }

  .hero-brand-showcase {
    min-height: 420px;
    padding: 34px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .contact-copy {
    position: static;
  }

  .home-strip-copy {
    position: static;
  }

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

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

  .partners-hero-panel {
    min-height: auto;
  }

  .cta-band .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .brand {
    width: 126px;
    height: 36px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 58px;
  }

  h1 {
    font-size: 2.62rem;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .home-intro h2,
  .home-strip h2,
  .home-showcase h2,
  .home-cta h2 {
    font-size: 2.2rem;
  }

  .cta-band h2 {
    font-size: 2.2rem;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-proof strong {
    font-size: 1.5rem;
  }

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

  .btn,
  .nav-cta {
    width: 100%;
  }

  .hero-proof,
  .services-grid,
  .home-service-list,
  .portfolio-grid,
  .partners-grid,
  .process-track,
  .why-list,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .partners-hero-panel {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 138px;
  }

  .brand-gallery-grid {
    grid-template-columns: 1fr;
  }

  .brand-gallery-grid img {
    height: auto;
    min-height: 220px;
  }

  .brand-panel {
    min-height: 420px;
    padding: 22px;
  }

  .hero-brand-showcase {
    min-height: 360px;
  }

  .hero-logo-mark {
    min-height: 150px;
    padding: 24px;
  }

  .hero-service-stack {
    grid-template-columns: 1fr;
  }

  .hero-brand-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .dot-mark {
    height: 68px;
  }

  .device-frame {
    margin-top: 28px;
  }

  .site-preview {
    min-height: 230px;
    padding: 18px;
  }

  .about-card img {
    min-height: 190px;
  }

  .portfolio-card,
  .process-step,
  .why-item {
    min-height: auto;
  }

  .quote-form {
    padding: 24px;
  }

  .service-detail-card {
    min-height: auto;
    padding: 26px;
  }

  .service-detail-top {
    margin-bottom: 24px;
  }

  .service-detail-card h2 {
    font-size: 1.65rem;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .home-intro,
  .home-services,
  .home-showcase {
    padding: 64px 0;
  }

  .home-showcase-media img {
    height: 280px;
  }

  .home-cta {
    padding-bottom: 64px;
  }

  .home-cta-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 28px;
  }
}

/* Interactive hero services and warm KIRMIZ identity */
.hero-service-stack a {
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-service-stack a:hover,
.hero-service-stack a:focus-visible {
  color: #fff;
  background: rgba(138, 90, 59, 0.72);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.hero-brand-note {
  padding: 12px 2px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: color 180ms ease;
}

.hero-brand-name {
  display: grid;
  gap: 2px;
}

.hero-brand-name small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-note-arrow {
  width: 72px;
  color: #b98664;
  font-size: 2rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.hero-brand-note:hover .hero-note-arrow,
.hero-brand-note:focus-visible .hero-note-arrow {
  transform: translateX(-8px);
}

.service-detail-card[id] {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

@media (max-width: 900px) {
  .hero-visual {
    order: initial;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-text,
  .hero-proof {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-brand-showcase {
    width: min(620px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 62px 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 48px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-copy {
    text-align: right;
  }

  .hero h1 {
    font-size: 2.42rem;
    line-height: 1.12;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-proof div {
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: center;
    gap: 10px;
    padding: 14px;
    text-align: right;
  }

  .hero-proof span {
    margin-top: 0;
  }

  .brand-panel,
  .hero-brand-showcase {
    min-height: auto;
  }

  .brand-panel {
    padding: 20px;
    border-radius: 6px;
  }

  .hero-brand-showcase {
    gap: 16px;
  }

  .hero-brand-showcase::after {
    inset: 10px;
  }

  .hero-logo-mark {
    min-height: 132px;
    padding: 20px;
  }

  .hero-logo-mark img {
    width: min(190px, 78%);
    max-height: 105px;
  }

  .hero-service-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-service-stack a {
    min-height: 48px;
    padding: 9px 6px;
    font-size: 0.76rem;
  }

  .hero-brand-note {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
  }

  .hero-brand-note p {
    grid-column: 1 / -1;
  }

  .hero-note-arrow {
    width: 54px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-grid > div {
    min-width: 0;
  }

  .footer a {
    overflow-wrap: anywhere;
  }
}
/* Mobile hero polish */
@media (max-width: 680px) {
  :root {
    --header-height: 72px;
  }

  .nav {
    min-height: var(--header-height);
  }

  .brand {
    width: 112px;
    height: 54px;
    overflow: visible;
  }

  .brand-logo {
    transform: scale(1.28);
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 24px);
    background: linear-gradient(180deg, #fff 0%, #f8f6f4 72%, #fff 100%);
  }

  .hero-bg {
    display: none;
  }

  .hero-copy {
    text-align: center;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  .hero h1 {
    max-width: 360px;
    margin-inline: auto;
    font-size: 2.12rem;
    line-height: 1.2;
  }

  .hero-text {
    max-width: 355px;
    margin-top: 14px;
    font-size: 0.94rem;
    line-height: 1.78;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero .btn {
    min-height: 48px;
  }

  .hero-proof {
    margin-top: 24px;
  }

  .hero-proof div {
    min-height: 66px;
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 12px 14px;
  }

  .hero-proof strong {
    font-size: 1.42rem;
  }

  .hero-proof span {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .hero-visual {
    margin-top: 2px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.94rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .hero-service-stack a {
    font-size: 0.7rem;
  }
}

/* KIRMIZ dark identity */
::selection {
  color: #ffffff;
  background: var(--brand);
}

body {
  background: #08080a;
  color: var(--ink);
}

.hero-three {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.motion-enhanced .brand-panel {
  animation: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.motion-enhanced .reveal {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-three {
    display: none;
  }
}

.site-header,
.site-header.is-scrolled {
  background: rgba(5, 5, 7, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.26);
}

.brand {
  width: 58px;
  height: 68px;
}

.brand-logo,
.footer-logo,
.hero-logo-mark img {
  content: url("assets/kirmiz-logo.png");
}

.brand-logo {
  width: 54px;
  height: 64px;
  object-fit: contain;
}

.nav-menu {
  color: #dedee3;
}

.nav-menu a::after {
  background: var(--brand);
}

.nav-menu a.is-active,
.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #ffffff;
}

.eyebrow,
.section-link,
.portfolio-action,
.portfolio-card span,
.process-step span,
.gallery-close:hover,
.gallery-close:focus-visible {
  color: var(--brand);
}

.process-step::before {
  background: var(--brand);
  box-shadow: 0 0 0 8px rgba(227, 6, 19, 0.14);
}

.process-step::after {
  background: linear-gradient(90deg, var(--brand) 0%, rgba(227, 6, 19, 0.5) 55%, rgba(227, 6, 19, 0) 100%);
}

.nav-toggle {
  background: #111114;
  border-color: var(--line);
}

.nav-toggle span:not(.sr-only) {
  background: #ffffff;
}

.nav-cta,
.btn-primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 14px 34px rgba(227, 6, 19, 0.25);
}

.nav-cta:hover,
.btn-primary:hover,
.nav-cta:focus-visible,
.btn-primary:focus-visible {
  background: var(--brand-dark);
  box-shadow: 0 18px 42px rgba(227, 6, 19, 0.3);
}

.btn-secondary {
  color: var(--ink);
  background: #141417;
  border-color: var(--line);
}

.hero,
.page-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(227, 6, 19, 0.16), transparent 30%),
    linear-gradient(180deg, #050507 0%, #0d0d10 60%, #08080a 100%);
}

.hero-bg span {
  border-color: rgba(227, 6, 19, 0.22);
}

.hero-bg span:nth-child(3) {
  background: var(--brand);
  box-shadow: 0 0 0 14px rgba(227, 6, 19, 0.1);
}

.hero-proof div,
.detail-card,
.service-card,
.process-step,
.testimonial,
.quote-form,
.value-list div,
.portfolio-card,
.gallery-dialog,
.contact-details a,
.contact-details span {
  background: rgba(17, 17, 20, 0.94);
  border-color: var(--line);
}

.brand-panel,
.hero-brand-showcase {
  background:
    radial-gradient(circle at 18% 20%, rgba(227, 6, 19, 0.26), transparent 35%),
    linear-gradient(145deg, #020203 0%, #111114 58%, #030304 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-logo-mark {
  min-height: 230px;
  background: #000000;
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-logo-mark img {
  width: 150px;
  max-height: 190px;
}

.home-intro,
.home-showcase,
.home-cta,
.services-showcase,
.about,
.process,
.testimonials,
.partners-section,
.contact {
  background: #08080a;
}

.home-services,
.service-benefits,
.portfolio,
.why,
.contact-section {
  background: var(--surface-soft);
}

.section-media,
.home-showcase-media,
.page-mark,
.contact-media {
  background: #101013;
  border-color: var(--line);
}

.home-cta-panel {
  background:
    radial-gradient(circle at 88% 18%, rgba(227, 6, 19, 0.35), transparent 34%),
    #030304;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.partners-hero-panel,
.partners-hero-panel div,
.partner-card {
  background: #111114;
  border-color: var(--line);
}

.partners-hero-panel {
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.1), transparent 34%),
    #0d0d10;
}

.testimonial p {
  color: #dddddf;
}

.why-item {
  background: var(--surface-warm);
  border-color: rgba(227, 6, 19, 0.18);
}

.why-item:hover {
  background: #18181c;
}

.form-row input,
.form-row select,
.form-row textarea {
  color: var(--ink);
  background: #141417;
  color-scheme: dark;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  background: #19191d;
  border-color: rgba(227, 6, 19, 0.55);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.12);
}

.footer {
  background: #020203;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  width: 72px;
  height: 86px;
  background: #000000;
}

.footer-quote {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 10px 26px rgba(227, 6, 19, 0.22);
}

.footer-quote:hover,
.footer-quote:focus-visible {
  color: #ffffff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

@media (max-width: 860px) {
  .nav-menu {
    background: rgba(5, 5, 7, 0.99);
    border-bottom-color: var(--line);
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible,
  .nav-menu a.is-active {
    color: #ffffff;
    background: var(--brand-soft);
  }
}

@media (max-width: 540px) {
  .hero {
    background:
      radial-gradient(circle at 82% 12%, rgba(227, 6, 19, 0.14), transparent 30%),
      linear-gradient(180deg, #050507 0%, #0d0d10 72%, #08080a 100%);
  }

  .brand {
    width: 40px;
    height: 52px;
  }

  .brand-logo {
    width: 36px;
    height: 48px;
  }
}
