:root {
  --ink: #12110f;
  --ink-2: #1c1a17;
  --paper: #f7f2ea;
  --paper-2: #efe8dc;
  --gold: #c4a574;
  --gold-2: #e4d2b0;
  --muted: #8a8378;
  --line: rgba(196, 165, 116, 0.28);
  --white: #fffcf7;
  --danger: #b42318;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(18, 17, 15, 0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: clip;
  max-width: 100%;
}
img, video, iframe, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: "Cormorant Garamond", serif; font-weight: 500; line-height: 1.15; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.topbar .container > div:first-child {
  min-width: 0;
  word-break: break-word;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
}
.kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: 0.25s ease; border: 0; cursor: pointer; font-weight: 500;
}
.btn:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); }
.btn.dark { background: var(--ink); color: var(--paper); }

.topbar {
  background: var(--ink); color: var(--gold-2);
  font-size: 12px; letter-spacing: 0.08em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar a { opacity: 0.85; }
.topbar a:hover { opacity: 1; color: var(--gold); }
.header,
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid rgba(196,165,116,0.15);
  overflow: visible;
}
.site-header::before,
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 17, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header .container,
.header-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
  position: relative;
}
.header-toolbar .nav {
  flex: 1;
  justify-content: center;
}
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border: 2px solid color-mix(in srgb, var(--gold) 35%, transparent);
}
.logo-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-weight: 500;
}
.logo-text > span {
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--gold-2);
  text-transform: uppercase;
}
.nav { display: flex; gap: 18px; align-items: stretch; align-self: stretch; }
.nav > a, .nav .drop > a {
  color: var(--paper); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0 2px; position: relative;
  display: flex; align-items: center;
}
.nav > a:hover, .nav .drop:hover > a, .nav .drop.is-open > a, .nav > a.active { color: var(--gold); }
.drop { position: relative; display: flex; align-items: center; }
.drop-mega { position: static; }
.mega, .drop-menu {
  position: absolute; top: calc(100% - 2px); left: 0;
  background: var(--ink-2); border: 1px solid var(--line);
  min-width: 240px; padding: 18px;
  box-shadow: var(--shadow); border-radius: 12px;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s;
  z-index: 70;
}
.drop-menu { display: flex; flex-direction: column; gap: 8px; }
.mega {
  left: 24px; right: 24px; width: auto; min-width: 0;
  top: calc(100% - 4px); padding: 0; background: transparent; border: 0; box-shadow: none;
  border-radius: 0;
}
.mega::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 100%;
  height: 28px;
}
.mega-inner {
  background: linear-gradient(180deg, #1a1815 0%, #12110f 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.45);
  padding: 22px 26px 26px;
  max-height: min(72vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mega-inner::-webkit-scrollbar { width: 8px; }
.mega-inner::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 8px; }
.mega-inner::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 8px; }
.mega-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #1a1815; z-index: 1;
}
.mega-head h4 {
  font-size: 28px; color: var(--paper); margin-top: 4px;
}
.mega-all {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold) !important; white-space: nowrap;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px 22px;
}
.mega-col {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  transition: 0.2s ease;
}
.mega-col:hover { border-color: var(--line); background: rgba(196,165,116,0.07); }
.mega-parent {
  display: flex; gap: 12px; align-items: center; margin-bottom: 10px;
  color: var(--paper) !important; text-transform: none !important; letter-spacing: 0 !important;
}
.mega-thumb {
  width: 54px; height: 54px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
  background: #2a2620;
}
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-parent-text { display: flex; flex-direction: column; min-width: 0; }
.mega-parent-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px; font-weight: 500; color: var(--gold-2);
  letter-spacing: 0.02em;
}
.mega-parent-text em {
  font-style: normal; font-size: 12px; color: #9b9489; line-height: 1.4;
}
.mega-list, .mega-sub { list-style: none; }
.mega-list { display: flex; flex-direction: column; gap: 2px; }
.mega-list > li > a {
  padding: 5px 8px; border-radius: 8px; font-size: 13px; color: #ddd6cb;
}
.mega-list > li > a:hover { background: rgba(196,165,116,0.12); color: var(--gold); }
.mega-sub { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--line); }
.mega-sub a { font-size: 12px; color: #a39b90; padding: 3px 6px; }
.mega-sub a:hover { color: var(--gold-2); }
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.is-open .drop-menu,
.drop:hover .mega, .drop:focus-within .mega, .drop.is-open .mega {
  visibility: visible; opacity: 1; pointer-events: auto;
}
.mega a, .drop-menu a { color: var(--paper-2); font-size: 13px; letter-spacing: 0.04em; text-transform: none; display: block; }
.mega b { color: var(--gold); display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.mega a:hover, .drop-menu a:hover { color: var(--gold); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--paper); background: transparent; cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}
.menu-bars span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.menu-toggle { display: none; }
.nav-close { display: none; }

.hero { position: relative; min-height: 92vh; color: var(--paper); overflow: hidden; background: var(--ink); }
.hero[data-hero-slider] .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
  z-index: 0;
}
.hero[data-hero-slider] .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide {
  min-height: 92vh; background-size: cover; background-position: center;
  display: grid; place-items: center; position: relative;
}
.hero-slide:not([style*="background-image"]) {
  background: linear-gradient(120deg, #1a1714, #3b3228);
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,17,15,0.25), rgba(18,17,15,0.72));
}
.hero-copy { position: relative; z-index: 2; text-align: center; width: min(900px, 90%); }
.hero-copy h1 { font-size: clamp(48px, 8vw, 96px); margin: 16px 0 20px; }
.hero-copy p { color: var(--gold-2); font-size: 18px; margin-bottom: 28px; }

.section { padding: 92px 0; }
.section.dark { background: var(--ink); color: var(--paper); }
.section.alt { background: var(--paper-2); }
.section-head { margin-bottom: 42px; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 8px; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.founder-card {
  background: var(--ink); color: var(--paper); padding: 42px; border-radius: var(--radius);
}
.founder-card h3 { font-size: 34px; color: var(--gold); }
.muted { color: var(--muted); }
.prose p { margin-bottom: 16px; color: #433f39; }
.dark .prose p { color: #d8d0c4; }

.cat-grid, .offer-grid, .project-grid, .team-grid, .blog-grid, .client-grid, .value-grid, .plan-grid, .sketch-grid {
  display: grid; gap: 22px;
}
.cat-grid { grid-template-columns: repeat(3, 1fr); }
.offer-grid { grid-template-columns: repeat(3, 1fr); }
.project-grid { grid-template-columns: repeat(3, 1fr); }
.team-grid { grid-template-columns: repeat(4, 1fr); }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.sketch-grid { grid-template-columns: repeat(3, 1fr); }
.client-grid {
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
}
.client-card {
  background: var(--white);
  border-radius: 14px;
  min-height: 132px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(18, 17, 15, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.client-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(18, 17, 15, 0.08);
}
.client-logo {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo img {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100%;
  max-height: 64px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}
.client-name {
  margin: 0;
  width: 100%;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}
.client-card.no-logo {
  min-height: 100px;
}
.client-card.no-logo .client-name {
  font-size: 16px;
}
.form p { display: flex; flex-direction: column; gap: 6px; }
.form label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.plan-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 40px rgba(18,17,15,0.06);
  transition: 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .media { aspect-ratio: 4/3; overflow: hidden; background: #ddd; }
.card .media img, .tile img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; }
.card:hover .media img, .tile:hover img { transform: scale(1.06); }
.card .body, .tile-copy { padding: 22px; }
.card h3, .tile h3 { font-size: 26px; margin-bottom: 6px; }
.sketch-media { position: relative; }
.sketch-media .sketch-video,
.sketch-media .sketch-iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
  pointer-events: none;
}
.sketch-number {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 17, 15, 0.82);
  color: var(--gold);
  font-family: var(--serif, Georgia, serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  border-radius: 10px;
}
.meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

.tile { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; color: var(--paper); }
.tile img { position: absolute; inset: 0; }
.tile-copy { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(12,11,10,0.85)); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-family: "Cormorant Garamond", serif; font-size: 52px; color: var(--gold); font-weight: 500; }

.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 12px; color: #4d4841; }

.cta-band {
  background: linear-gradient(120deg, #1c1915, #3a3228);
  color: var(--paper); padding: 80px 0; text-align: center;
}
.cta-band h2 { font-size: clamp(32px, 5vw, 60px); margin: 10px 0 18px; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.cost-filters { margin-top: -12px; align-items: center; }
.filter-label {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-right: 4px;
}
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.chip.active, .chip:hover { background: var(--ink); color: var(--gold); }

.page-hero {
  min-height: 42vh; display: grid; place-items: center; text-align: center;
  background: var(--ink) center/cover no-repeat; color: var(--paper); position: relative;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(12,11,10,0.55); }
.page-hero .container { position: relative; z-index: 1; padding: 80px 0; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); }

.form { display: grid; gap: 14px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid #ddd2c2; background: var(--white); font: inherit;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; }
.gallery-item figcaption { padding: 12px 14px; font-size: 14px; color: var(--muted); }
.project-media h2 { margin-top: 10px; margin-bottom: 0; }
.video-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.video-gallery.has-photos { margin-top: 36px; }
.video-item { margin: 0; }
.video-item figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item video { width: 100%; border-radius: var(--radius); background: #111; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.gallery-page { margin-top: 8px; }
.gallery-link { display: block; color: inherit; transition: transform 0.25s ease; }
.gallery-link:hover { transform: translateY(-4px); }
.gallery-meta { padding: 12px 2px 0; }
.gallery-meta strong { display: block; font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 500; }
.gallery-meta span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.video-gallery-page { margin-top: 8px; }
.empty-gallery { grid-column: 1 / -1; color: var(--muted); padding: 24px 0; }
.media-carousel { position: relative; margin-top: 8px; padding: 0 34px; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 min(360px, 82vw);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.photo-slide img { width: 100%; height: 260px; object-fit: cover; display: block; }
.video-slide .video-embed,
.video-slide video { border-radius: 0; box-shadow: none; }
.video-carousel .carousel-slide { flex-basis: min(320px, 78vw); }
.video-carousel .video-embed {
  padding-top: 0;
  height: 165px;
  box-shadow: none;
}
.video-carousel .video-slide video {
  height: 165px;
  aspect-ratio: auto;
  object-fit: cover;
}
.video-carousel .carousel-caption { padding: 10px 14px 12px; }
.video-carousel .carousel-caption strong,
.video-carousel .carousel-caption a { font-size: 20px; }
.video-carousel .carousel-btn { top: 34%; }
.reels-section { overflow: hidden; }
.reels-carousel { padding: 0 42px; }
.reels-carousel .carousel-btn { top: 44%; }
.reels-carousel .carousel-track { gap: 16px; align-items: stretch; }
.reels-slide {
  flex: 0 0 calc((100% - 48px) / 3.25);
  scroll-snap-align: start;
}
.reels-card {
  aspect-ratio: 9 / 16;
  max-height: 420px;
  width: 100%;
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}
.reels-video,
.reels-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #111;
}
.reels-caption {
  padding: 10px 4px 0;
}
.reels-caption strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 500;
}
.reels-caption span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.carousel-caption { padding: 14px 16px 16px; }
.carousel-caption strong,
.carousel-caption a { font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 500; color: inherit; }
.carousel-caption span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.carousel-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(18, 17, 15, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.carousel-btn:hover { background: rgba(18, 17, 15, 0.9); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 24px; background: var(--white); border-radius: var(--radius); border-top: 3px solid var(--gold); }
.step span { color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 32px; }

.footer { background: var(--ink); color: #d5cec3; padding: 72px 0 24px; }
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 42px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-about {
  max-width: 420px;
  color: #b8b0a4;
  font-size: 14px;
  line-height: 1.7;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 32px; margin-bottom: 42px; }
.footer h4 { color: var(--gold); font-size: 22px; margin-bottom: 16px; }
.footer a:hover { color: var(--gold); }
.footer form { display: flex; gap: 8px; margin-top: 12px; }
.footer input { flex: 1; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--paper); }
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  font-size: 13px;
  color: #8d867b;
}
.footer-credit a { color: #b8b0a4; }
.footer-credit a:hover { color: var(--gold); }
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-dev-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.12);
  color: #8ee4a8;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.footer-dev-wa:hover { color: #fff; transform: scale(1.02); background: #25d366; }
.footer-dev-wa .wa-svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-dev-wa span { font-size: 12px; letter-spacing: 0.04em; }

.wa-widget {
  position: relative;
  right: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-chats {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.messenger-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b2ff, #006aff);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 106, 255, 0.35);
  transition: transform 0.2s ease;
}
.messenger-fab:hover { transform: scale(1.06); color: #fff; }
.messenger-fab .messenger-svg { width: 30px; height: 30px; display: block; }
.messenger-inline .messenger-svg { width: 14px; height: 14px; color: #006aff; }
.wa-tip {
  background: #fff; color: #444;
  padding: 10px 14px; border-radius: 6px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.16);
  font-size: 14px; font-weight: 400; line-height: 1.3;
  white-space: nowrap;
}
.wa-tip strong { color: #111; font-weight: 700; }
.wa-fab {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.28);
  transition: transform 0.2s ease;
}
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.wa-fab .wa-svg { width: 30px; height: 30px; display: block; }
.wa-inline { display: inline-flex; align-items: center; gap: 6px; }
.wa-inline .wa-svg { width: 14px; height: 14px; color: #25d366; }
.contact-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  transition: transform 0.2s ease;
}
.contact-fab:hover { transform: scale(1.06); background: var(--gold); color: var(--ink); }
.contact-modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(12,11,10,0.62);
  display: grid; place-items: center; padding: 24px;
}
.contact-modal[hidden] { display: none; }
.contact-modal-card {
  width: min(480px, 100%);
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: var(--shadow);
  max-height: 90vh; overflow: auto;
}
.contact-modal-card h2 { font-size: 36px; margin: 6px 0 8px; }
.contact-modal-copy { color: var(--muted); margin-bottom: 18px; }
.contact-modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; font-size: 26px; color: var(--ink);
}
.contact-modal .form { gap: 12px; }
body.modal-open { overflow: hidden; }
body.menu-open { overflow: hidden; }
.search-modal {
  display: none; position: fixed; inset: 0; background: rgba(12,11,10,0.86); z-index: 80;
  place-items: center;
}
.search-modal.open { display: grid; }
.search-modal form { width: min(640px, 90%); }
.search-modal input { width: 100%; padding: 20px; font-size: 22px; border: 0; border-radius: 14px; }

.messages { position: fixed; top: 100px; right: 20px; z-index: 90; display: grid; gap: 8px; }
.messages li { list-style: none; background: var(--ink); color: var(--gold-2); padding: 12px 18px; border-radius: 12px; }
.messages li.error { background: #7a1d1d; color: #fff; }
.form-errors, .errorlist { color: var(--danger); font-size: 13px; margin: 0 0 12px; }
.form label { display: block; margin: 12px 0 6px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-hint {
  margin: 4px 0 10px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
.form label small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  opacity: 0.8;
}

@media (max-width: 980px) {
  .split, .cat-grid, .offer-grid, .project-grid, .blog-grid, .value-grid, .plan-grid, .contact-grid, .footer-grid, .stats, .steps, .team-grid, .client-grid, .sketch-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-header .header-toolbar,
  .header .container { flex-wrap: nowrap; }
  .logo { order: 1; min-width: 0; flex: 1; }
  .menu-toggle { order: 3; display: inline-flex; width: 44px; height: 44px; flex-shrink: 0; }
  .header-actions { order: 2; margin-left: auto; flex-shrink: 0; }
  .nav {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    z-index: 90;
    margin: 0;
    padding: 24px 24px 32px;
    padding-top: max(24px, env(safe-area-inset-top));
    background: var(--ink);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s ease, visibility 0.32s ease;
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.42);
    flex: none;
    justify-content: flex-start;
  }
  .nav.open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav > a,
  .nav .drop > a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav .drop {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 85;
    background: rgba(12, 11, 10, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
  }
  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .mega, .drop-menu {
    position: static; width: 100%; visibility: visible; opacity: 1;
    pointer-events: auto; transform: none; display: none;
    padding: 0; background: transparent; border: 0; box-shadow: none;
  }
  .drop.open .mega, .drop.open .drop-menu, .drop.is-open .mega, .drop.is-open .drop-menu { display: block; }
  .mega-inner { max-height: min(55vh, 480px); margin-top: 10px; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-head { position: static; }
  .menu-bars {
    width: 22px;
    gap: 6px;
  }
  .menu-bars span { height: 2.5px; }
  .nav-close {
    display: inline-flex;
    align-self: flex-end;
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 1;
  }
}
.hp-field, p:has(.hp-field) {
  position: absolute;
  left: -10000px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .container { width: min(1240px, calc(100% - 28px)); }
  .split, .cat-grid, .offer-grid, .project-grid, .blog-grid, .value-grid, .plan-grid, .contact-grid, .footer-grid, .stats, .steps, .team-grid, .client-grid, .gallery, .video-gallery, .video-gallery-page, .sketch-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero { min-height: 78vh; }
  .hero-slide { min-height: 78vh; }
  .hero-copy p { font-size: 16px; }
  .founder-card { padding: 28px 22px; }
  .topbar { font-size: 11px; }
  .topbar .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
    gap: 10px;
  }
  .socials { justify-content: center; }
  .header .container {
    min-height: 68px;
    gap: 10px;
  }
  .logo {
    min-width: 0;
    flex: 1;
    gap: 10px;
  }
  .brand-mark {
    width: 44px;
    height: 44px;
  }
  .logo-text strong {
    font-size: 19px;
    letter-spacing: 0.1em;
    line-height: 1.1;
  }
  .logo-text > span {
    font-size: 9px;
    letter-spacing: 0.22em;
  }
  .footer { padding: 56px 0 20px; }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
  }
  .footer-about { max-width: none; }
  .footer form {
    flex-direction: column;
    align-items: stretch;
  }
  .footer input { min-width: 0; width: 100%; }
  .footer .btn { width: 100%; justify-content: center; }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .media-carousel { padding: 0 8px; }
  .reels-carousel { padding: 0 36px; }
  .reels-slide { flex: 0 0 calc((100% - 16px) / 2.15); }
  .reels-card { max-height: 360px; }
  .carousel-slide { flex: 0 0 min(280px, calc(100vw - 56px)); }
  .video-carousel .carousel-slide { flex-basis: min(260px, calc(100vw - 56px)); }
  .carousel-btn { width: 36px; height: 36px; font-size: 22px; }
  .floating-chats {
    right: 14px;
    bottom: 82px;
    gap: 10px;
  }
  .messenger-fab,
  .wa-fab,
  .contact-fab {
    width: 50px;
    height: 50px;
  }
  .contact-fab { right: 14px; bottom: 16px; }
  .messenger-fab .messenger-svg,
  .wa-fab .wa-svg { width: 26px; height: 26px; }
  .messages {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 150px;
  }
  .messages li { font-size: 13px; }
  .contact-modal { padding: 16px; }
  .contact-modal-card { padding: 24px 20px 20px; }
  .contact-modal-card h2 { font-size: 30px; }
  .wa-tip { display: none; }
  .btn { padding: 12px 22px; font-size: 12px; }
  .page-hero .container { padding: 56px 0; }
}
@media (max-width: 380px) {
  .container { width: min(1240px, calc(100% - 20px)); }
  .logo-text > span { display: none; }
  .logo-text strong {
    font-size: 16px;
    letter-spacing: 0.06em;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .reels-slide { flex: 0 0 74vw; }
  .reels-card { max-height: 420px; }
  .kicker { letter-spacing: 0.18em; font-size: 11px; }
}
