:root {
  --ink: #151515;
  --muted: #6f747c;
  --line: #eceef2;
  --bg: #f7f7f8;
  --panel: #ffffff;
  --navy: #151344;
  --blue: #343092;
  --cyan: #2bb3c0;
  --green: #47704c;
  --amber: #6d5df6;
  --gold: #2bb3c0;
  --gold-soft: #edf7f2;
  --teal: #47704c;
  --teal-soft: #edf7f2;
  --violet: #6d5df6;
  --mint: #7abf8a;
  --red: #343092;
  --red-dark: #26236f;
  --charcoal: #101010;
  --radius: 8px;
  --shadow: 0 20px 55px rgba(16, 16, 16, .12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(236,238,242,.95);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-weight: 900;
  color: var(--navy);
}
.logo-brand {
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}
.logo-brand img {
  width: clamp(58px, 6vw, 76px);
  height: clamp(58px, 6vw, 76px);
  object-fit: contain;
}
.footer-brand.logo-brand img {
  width: 78px;
  height: 78px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
}
.brand-text strong {
  color: var(--blue);
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: .5px;
}
.brand-text small {
  color: var(--navy);
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 700;
  text-transform: none;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #d9e4f6; }
.brand span { font-size: 32px; line-height: 1; }
.brand small {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 20px; font-weight: 700; color: #243149; }
.main-nav > a, .mega-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 10px 0;
  cursor: pointer;
}
.nav-pill {
  padding: 10px 14px !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.nav-pill.dark { background: var(--red); color: #fff; border-color: var(--red); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 0;
  background: var(--red);
  color: #fff;
  padding: 0;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.nav-toggle::before {
  top: 20px;
  box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff;
}
.nav-toggle::after {
  top: 20px;
  opacity: 0;
}
.nav-toggle.open::before {
  box-shadow: none;
  transform: rotate(45deg);
}
.nav-toggle.open::after {
  opacity: 1;
  transform: rotate(-45deg);
}

.mega-menu { position: static; }
.mega-trigger::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.mega-panel {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  top: calc(100% - 4px);
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(360px, 1.25fr) minmax(260px, .8fr);
  gap: 18px;
  padding: 18px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(16,16,16,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
.mega-menu.open .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-feature {
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(216,164,65,.35), transparent 34%),
    linear-gradient(145deg, #101010, #26236f);
}
.mega-feature h3 {
  font-size: 28px;
  color: #fff;
}
.mega-feature p {
  color: #e5e7eb;
  line-height: 1.65;
}
.mega-feature .button {
  margin-top: 12px;
  box-shadow: none;
}
.mega-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.mega-section h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 18px;
}
.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mega-links a {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid #f0f1f4;
  border-radius: 7px;
  background: #fbfbfc;
}
.mega-links a:hover,
.mega-mini a:hover,
.mega-tags a:hover {
  border-color: rgba(36,99,216,.34);
  background: #eef6ff;
}
.mega-links strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.25;
}
.mega-links span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.mega-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mega-tags a {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--teal-soft);
  color: #26236f;
  font-size: 13px;
  font-weight: 900;
}
.mega-mini {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.mega-mini a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
}

.hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, rgba(36,99,216,.34), transparent 32%),
    linear-gradient(135deg, #070707 0%, #151515 52%, #26236f 100%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 36px;
  align-items: center;
  padding: clamp(40px, 8vw, 88px) clamp(18px, 5vw, 70px);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 28px 45px rgba(0,0,0,.34));
}
.hero-copy { max-width: 760px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}
h1, h2, h3 { margin: 0; color: inherit; line-height: 1.08; letter-spacing: 0; }
.hero-copy h1 { font-size: clamp(44px, 5vw, 78px); max-width: 900px; }
.hero-copy p { margin: 22px 0 0; max-width: 660px; font-size: 20px; line-height: 1.65; color: #d9e4f6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(244,61,61,.24);
}
.button.secondary, .button.ghost { background: #fff; color: var(--navy); box-shadow: none; border: 1px solid var(--line); }
.slider-controls {
  position: absolute;
  left: clamp(18px, 5vw, 70px);
  bottom: 34px;
  display: flex;
  gap: 10px;
}
.slider-controls button {
  width: 36px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.35);
}
.slider-controls button.active { background: #fff; }

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stats-band div { padding: 30px clamp(18px, 4vw, 56px); border-right: 1px solid var(--line); }
.stats-band strong { display: block; font-size: 34px; color: var(--gold); }
.stats-band span { color: var(--muted); font-weight: 800; }

.studio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 32px;
  align-items: stretch;
  padding: 74px clamp(18px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(244,61,61,.08), transparent 38%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.studio-copy {
  display: grid;
  align-content: center;
  max-width: 820px;
}
.studio-copy h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  color: var(--navy);
}
.studio-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 760px;
}
.studio-stack {
  display: grid;
  gap: 12px;
}
.studio-stack article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(16,16,16,.06);
}
.studio-stack strong {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
}
.studio-stack h3 {
  color: var(--navy);
  font-size: 24px;
}
.studio-stack p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-intro, .page-hero, .simple-page {
  padding: 86px clamp(18px, 5vw, 70px) 34px;
  width: 100%;
  max-width: none;
}
.section-intro h2, .page-hero h1, .simple-page h1 { font-size: clamp(34px, 4vw, 56px); color: var(--navy); }
.section-intro p, .page-hero p, .simple-page p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 960px; }

.value-band {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  padding: 76px clamp(18px, 5vw, 70px);
  background: #101010;
  color: #fff;
}
.value-band.compact {
  padding-top: 58px;
  padding-bottom: 58px;
  background: linear-gradient(135deg, #101010, #26236f);
}
.value-band h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  color: #fff;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.value-grid article {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
}
.value-grid h3 {
  color: #fff;
  font-size: 22px;
}
.value-grid p {
  margin-bottom: 0;
  color: #d6d9df;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 70px) 80px;
}
.service-grid.wide { grid-template-columns: repeat(4, 1fr); }
.service-card {
  background: #fff;
  border: 1px solid rgba(52, 48, 146, .14);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: #eef3f9;
}
.service-card span { margin-top: 16px; color: var(--teal); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.service-card h3 { margin-top: 8px; font-size: 22px; color: var(--navy); }
.service-card p { color: var(--muted); line-height: 1.6; flex: 1; }
.service-card a { font-weight: 900; color: var(--red-dark); }

.sector-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 28px clamp(18px, 5vw, 70px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sector-strip span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, #fafafa, var(--teal-soft));
  color: var(--navy);
  font-weight: 900;
}
.sector-strip span:nth-child(3n+1) { background: #edf7f2; color: var(--green); border-color: rgba(71, 112, 76, .2); }
.sector-strip span:nth-child(3n+2) { background: rgba(109, 93, 246, .09); color: var(--violet); border-color: rgba(109, 93, 246, .2); }
.sector-strip span:nth-child(3n+3) { background: rgba(43, 179, 192, .1); color: #176d76; border-color: rgba(43, 179, 192, .24); }

.process-band {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  padding: 76px clamp(18px, 5vw, 70px);
  background: #fff;
  border-top: 1px solid var(--line);
}
.process-band h2 { font-size: clamp(30px, 3vw, 46px); color: var(--navy); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.process-steps article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.process-steps b { color: var(--gold); }
.process-steps p { color: var(--muted); line-height: 1.6; }

.detail-hero {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 42px;
  align-items: center;
  padding: 70px clamp(18px, 5vw, 70px);
  background: #fff;
}
.detail-hero h1 { font-size: clamp(38px, 5vw, 66px); color: var(--navy); }
.detail-hero p { font-size: 20px; line-height: 1.65; color: var(--muted); }
.detail-hero img { border-radius: var(--radius); box-shadow: var(--shadow); background: #eef3f9; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  padding: 56px clamp(18px, 5vw, 70px);
}
.rich-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 42px);
  line-height: 1.8;
  color: #334155;
}
.rich-content h2 { color: var(--navy); margin-top: 6px; }
.page-content { margin: 0 0 0; border-left: 0; border-right: 0; border-radius: 0; }
.side-panel {
  align-self: start;
  position: sticky;
  top: 90px;
  padding: 26px;
  background: linear-gradient(160deg, #111 0%, #211214 58%, #26236f 100%);
  color: #fff;
  border-radius: var(--radius);
}
.side-panel h2 { margin-top: 18px; color: #fff; }
.side-panel p { color: #d9e4f6; line-height: 1.55; }

.detail-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 70px) 72px;
  background: var(--bg);
}
.detail-extra article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.detail-extra h2 {
  font-size: 24px;
  color: var(--navy);
}
.detail-extra p {
  color: var(--muted);
  line-height: 1.7;
}

.cta-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 68px clamp(18px, 5vw, 70px);
  background: linear-gradient(135deg, #fff, #fff6df);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-wide h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  color: var(--navy);
}
.cta-wide p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.7;
}

.about-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
}
.about-split.reverse { grid-template-columns: 1fr 420px; }
.about-split.reverse img { order: 2; }
.about-split img { border-radius: var(--radius); background: #eef3f9; }
.about-split h2 { color: var(--navy); font-size: 30px; }
.team-section {
  padding: 62px clamp(18px, 5vw, 70px);
  margin: 34px calc(clamp(18px, 5vw, 70px) * -1);
  background: linear-gradient(135deg, #f5fbff 0%, #eef6ff 52%, #ffffff 100%);
  border-block: 1px solid var(--line);
}
.team-section .section-head {
  max-width: 860px;
  margin-bottom: 28px;
}
.team-section .section-head h2 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
}
.team-section .section-head p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 18px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.team-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(52, 48, 146, .16);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 20px 45px rgba(7, 17, 38, .09);
}
.team-card:nth-child(2) { border-color: rgba(122, 191, 138, .35); }
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}
.team-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 28px;
}
.team-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 16px;
}
.team-card a,
.contact-person {
  color: var(--blue);
  font-weight: 900;
}

.contact-layout, .auth-layout {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 42px;
  padding: 76px clamp(18px, 5vw, 70px);
  align-items: start;
}
.auth-layout { grid-template-columns: minmax(320px, 560px); justify-content: center; }
.contact-layout h1, .auth-layout h1 { font-size: clamp(34px, 4vw, 54px); color: var(--navy); }
.contact-layout p { color: var(--muted); line-height: 1.7; font-size: 18px; }
.contact-card, .form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-card { display: grid; gap: 6px; max-width: 460px; }
.contact-card strong { font-size: 24px; color: var(--red); }
.contact-person {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact-person span {
  color: var(--navy);
  font-weight: 900;
}
.contact-person b {
  color: var(--blue);
  font-size: 18px;
}
.form-card { display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 800; color: var(--navy); }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { resize: vertical; }
.flash { padding: 14px 16px; border-radius: var(--radius); background: #eaf8f0; color: #0b7042; font-weight: 800; }

.panel-shell { padding: 56px clamp(18px, 5vw, 70px); }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; }
.panel-top h1 { color: var(--navy); font-size: clamp(30px, 4vw, 52px); }
.orders { display: grid; gap: 18px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.order-head { display: flex; justify-content: space-between; gap: 18px; }
.order-head h2 { margin-top: 6px; color: var(--navy); }
.order-head span { align-self: start; padding: 9px 12px; border-radius: 6px; background: #fff1f1; color: var(--red-dark); font-weight: 900; }
.progress { height: 10px; background: #e8edf5; border-radius: 99px; overflow: hidden; margin: 18px 0; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red-dark)); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.timeline div { padding: 14px; background: #f7fafc; border-radius: 6px; }
.timeline p { margin-bottom: 0; color: var(--muted); }

.footer {
  padding: 56px clamp(18px, 5vw, 70px) 26px;
  background: linear-gradient(135deg, #071126, #151344 62%, #26236f);
  color: #d9e4f6;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr 1fr; gap: 34px; }
.footer h3 { color: #fff; margin-bottom: 14px; }
.footer a { display: block; margin: 9px 0; color: #d9e4f6; }
.footer-brand span { color: #fff; }
.footer-mail { color: #ff8a84 !important; font-weight: 900; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: #9eb0cc; }

.admin-body { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--navy);
  color: #fff;
}
.admin-sidebar a { padding: 12px; border-radius: 6px; }
.admin-sidebar a:hover { background: rgba(255,255,255,.1); }
.admin-main { padding: 28px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-top h1 { color: var(--navy); }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.admin-cards article, .admin-note, .admin-list, .admin-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.admin-cards strong { display: block; font-size: 38px; color: var(--red); }
.admin-list { display: grid; gap: 10px; }
.admin-list a, .admin-list article {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.admin-list img { width: 72px; height: 54px; object-fit: cover; border-radius: 5px; background: #eef3f9; }
.admin-form { display: grid; gap: 16px; max-width: 1000px; }
.admin-form fieldset {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-form legend {
  padding: 0 8px;
  color: var(--red-dark);
  font-weight: 900;
}
.settings-form {
  max-width: 1180px;
}
.admin-form .check { display: flex; align-items: center; gap: 10px; }
.admin-form .check input { width: auto; }
.admin-preview { max-width: 320px; border-radius: 6px; background: #eef3f9; }
.messages article { grid-template-columns: 1fr; align-items: start; }

@media (max-width: 1100px) {
  .site-header { gap: 16px; }
  .main-nav { gap: 14px; font-size: 15px; }
  .logo-brand img { width: 64px; height: 64px; }
  .brand-text strong { font-size: 28px; }
  .brand-text small { font-size: 15px; }
  .service-grid, .service-grid.wide { grid-template-columns: repeat(2, 1fr); }
  .hero-slide, .detail-hero, .detail-layout, .process-band, .contact-layout, .studio-showcase, .value-band, .cta-wide { grid-template-columns: 1fr; }
  .detail-extra { grid-template-columns: 1fr; }
  .mega-panel { grid-template-columns: 1fr; }
  .mega-links { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(7, 17, 38, .38);
  }
  .site-header {
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
  }
  .logo-brand img {
    width: 58px;
    height: 58px;
  }
  .logo-brand { gap: 9px; }
  .brand-text strong { font-size: 24px; }
  .brand-text small { font-size: 13px; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 70; flex: 0 0 auto; }
  .main-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 64px;
    z-index: 65;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 82px);
    overflow: auto;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav > a,
  .mega-trigger {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px;
    background: #f7fbff;
  }
  .nav-pill {
    text-align: center;
    justify-content: center !important;
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
  }
  .mega-menu { position: relative; }
  .mega-trigger { text-align: left; }
  .mega-menu.open .mega-trigger {
    background: var(--navy);
    color: #fff;
  }
  .mega-panel {
    position: static;
    display: none;
    max-height: 68vh;
    overflow: auto;
    padding: 10px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border-radius: 6px;
    margin-top: 4px;
  }
  .mega-menu.open .mega-panel { display: grid; }
  .mega-feature { padding: 18px; }
  .mega-feature h3 { font-size: 22px; }
  .hero-slider { min-height: 860px; }
  .hero-slide { padding: 38px 18px 88px; gap: 24px; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-copy p { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; justify-content: center; text-align: center; }
  .stats-band, .service-grid, .service-grid.wide, .process-steps, .timeline, .footer-grid, .team-grid, .team-card { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .about-split, .about-split.reverse { grid-template-columns: 1fr; }
  .about-split.reverse img { order: 0; }
  .team-card { gap: 16px; }
  .team-card img { max-height: 340px; }
  .panel-top, .order-head, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-cards { grid-template-columns: 1fr 1fr; }
  .admin-list a { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header { padding-inline: 10px; }
  .logo-brand img { width: 54px; height: 54px; }
  .brand-text strong { font-size: 21px; }
  .brand-text small { font-size: 12px; }
  .main-nav { left: 8px; right: 8px; top: 60px; max-height: calc(100vh - 72px); }
  .mega-panel { max-height: 58vh; }
  .mega-tags { gap: 6px; }
  .hero-slider { min-height: 900px; }
  .hero-slide img { max-height: 300px; object-fit: contain; }
  .stats-band { padding-block: 28px; }
  .section-intro h2,
  .studio-copy h2,
  .value-band h2,
  .cta-wide h2,
  .detail-hero h1,
  .page-hero h1 {
    font-size: clamp(30px, 9vw, 42px);
  }
  .service-card,
  .contact-card,
  .form-card,
  .order-card {
    padding: 20px;
  }
  .team-section {
    padding-inline: 18px;
    margin-inline: -18px;
  }
  .team-card img { max-height: 280px; }
  .admin-cards { grid-template-columns: 1fr; }
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 2px;
  padding: 13px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, var(--green));
  color: #fff;
  box-shadow: 0 18px 38px rgba(37, 211, 102, .28);
  font-weight: 900;
}
.whatsapp-float span { font-size: 12px; opacity: .92; }
.whatsapp-float strong { font-size: 15px; }
.whatsapp-contact, .whatsapp-inline { background: linear-gradient(135deg, #25d366, var(--green)); color: #fff !important; }
.team-grid.single { grid-template-columns: minmax(280px, 780px); }
.advisor-card img { background: var(--teal-soft); padding: 20px; object-fit: contain; }
.wysiwyg-wrap { display: grid; gap: 8px; }
.wysiwyg-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: #f8fafc; }
.wysiwyg-toolbar button { border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 7px 10px; font-weight: 900; cursor: pointer; }
.wysiwyg-editor { min-height: 240px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; line-height: 1.7; }
.wysiwyg-source.enhanced { display: none; }
@media (max-width: 860px) {
  .whatsapp-float { left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; border-radius: 12px; }
  .whatsapp-float span::after { content: ':'; }
}
