/* ============================================
   HEY GEORGE — Agency Theme
   Brand: accent #1d72bf · soft #e0e3e5 · #000 · #fff
   ============================================ */

:root {
  --accent: #1d72bf;
  --accent-dark: #14568f;
  --black: #000000;
  --white: #ffffff;
  --soft: #e0e3e5;
  --soft-2: #f2f4f5;
  --ink: #0b0b0b;
  --muted: #55595d;
  --line: #e0e3e5;
  --line-dark: rgba(255, 255, 255, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--white); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--black);
}

.container { width: min(1240px, 92%); margin-inline: auto; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.accent-text { color: var(--accent) !important; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: transform 0.85s var(--ease), visibility 0.85s;
}
#preloader.done {
  transform: translateY(-101%);
  visibility: hidden;
}
.pl-word {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  overflow: hidden;
}
.pl-word span {
  display: inline-block;
  transform: translateY(115%);
  animation: plRise 0.8s var(--ease) forwards;
}
.pl-word span:nth-child(2) { animation-delay: 0.09s; color: var(--accent); }
@keyframes plRise { to { transform: translateY(0); } }
.pl-bar {
  width: min(320px, 60vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.pl-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.2s ease;
}
.pl-count {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  letter-spacing: 0.28em;
}

/* ---------- Page-transition curtain ---------- */
#curtain {
  position: fixed;
  inset: 0;
  z-index: 9900;
  background: var(--black);
  display: grid;
  place-items: center;
  transform: translateY(101%);
  pointer-events: none;
}
#curtain::after {
  content: "";
  width: 52px;
  height: 52px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
#curtain.cover { transform: translateY(0); }
#curtain.leaving { transform: translateY(-101%); transition: transform 0.75s var(--ease); }
body.page-enter #curtain { transform: translateY(0); }
body.page-enter #curtain.leaving { transform: translateY(-101%); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0; right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 14px;
}
.header-inner {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  transition:
    max-width 0.55s var(--ease),
    padding 0.45s var(--ease),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
.site-header.compact .header-inner {
  max-width: 216px;
  padding: 9px 18px;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 44px rgba(11, 15, 20, 0.16);
}
.site-header.compact .header-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.main-nav, .header-cta {
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.site-header.compact .main-nav,
.site-header.compact .header-cta {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
}
.site-header.compact .main-nav.open {
  position: fixed;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.site-header.compact .nav-toggle { opacity: 1; visibility: visible; position: relative; }
.site-header.menu-open .header-inner { max-width: 1240px; }
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--black);
  display: inline-flex;
  align-items: baseline;
}
.logo em { font-style: normal; color: var(--accent); }
.logo .dot {
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 5px;
  animation: pulseDot 2.4s infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover,
.main-nav li.current > a { color: var(--black); }
.main-nav a:hover::after,
.main-nav li.current > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-cta { display: flex; gap: 0.8rem; align-items: center; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  position: relative;
  z-index: 1200;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--black);
  margin: 6px auto;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at calc(100% - 62px) 42px);
    transition: clip-path 0.6s var(--ease);
  }
  .main-nav.open { clip-path: circle(150% at calc(100% - 62px) 42px); }
  .main-nav ul { flex-direction: column; text-align: center; gap: 1.6rem; }
  .main-nav a { font-family: var(--font-display); font-size: 1.9rem; color: var(--black); }
  .header-cta .btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.7rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(29, 114, 191, 0.32); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(29, 114, 191, 0.32); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--accent);
}
.link-arrow .arrow { transition: transform 0.3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(150px, 18vh, 210px) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(700px 380px at 88% 6%, rgba(29, 114, 191, 0.10), transparent 65%),
    linear-gradient(var(--soft-2), var(--white));
  overflow: hidden;
}
.hero-inner { max-width: 900px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.hero-kicker .stars { color: var(--accent); letter-spacing: 2px; }
.hero-title {
  font-size: clamp(2.9rem, 7.4vw, 6.2rem);
  font-weight: 800;
  margin-bottom: 1.6rem;
}
.hero-title .rotator {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  color: var(--accent);
}
.hero-title .rotator b {
  grid-area: 1 / 1;
  font-weight: 800;
  opacity: 0;
  transform: translateY(105%);
  transition: transform 0.7s var(--ease), opacity 0.7s ease;
}
.hero-title .rotator b.on {
  opacity: 1;
  transform: translateY(0);
}
.hero-sub {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 3.2rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.55rem 1.4rem 0.55rem 0.6rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.avatars { display: flex; }
.avatar-sm {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--white);
  margin-left: -8px;
}
.avatar-sm:first-child { margin-left: 0; }
.badge-stars { color: var(--accent); letter-spacing: 2px; font-size: 0.85rem; }
.badge-text { font-size: 0.85rem; font-weight: 600; }
.badge-text span { color: var(--muted); font-weight: 500; }

/* hero visual card (right side on wide screens) */
.hero-wrap { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1080px) {
  .hero-wrap { grid-template-columns: 1.25fr 0.75fr; }
}
.hero-card {
  background: var(--black);
  border-radius: 24px;
  padding: 2rem;
  color: var(--white);
  display: none;
}
@media (min-width: 1080px) { .hero-card { display: block; } }
.hero-card .hc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.92rem;
}
.hero-card .hc-row:last-child { border-bottom: none; }
.hero-card .hc-row b { color: var(--white); }
.hero-card .hc-row span { color: rgba(255, 255, 255, 0.55); }
.hero-card .hc-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

/* ---------- Section basics ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section.soft-bg { background: var(--soft-2); }
.section.dark { background: var(--black); }
.section-head { margin-bottom: 3.4rem; max-width: 700px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-sub { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }
.section.dark .section-title, .section.dark h3 { color: var(--white); }
.section.dark .section-sub { color: rgba(255, 255, 255, 0.6); }

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3.2rem;
}
.head-row .section-head { margin-bottom: 0; }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Marquee band ---------- */
.marquee-band {
  background: var(--black);
  color: var(--white);
  padding: 1.4rem 0;
  overflow: hidden;
  transform: rotate(-1.1deg) scale(1.02);
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}
.marquee-item .star { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services list ---------- */
.services-list { border-top: 1px solid var(--line); }
.service-li {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.3s var(--ease);
  position: relative;
}
.service-li:hover { background: var(--soft-2); padding-left: 2.2rem; }
.s-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--accent);
}
.service-li h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.service-li p { color: var(--muted); font-size: 0.96rem; max-width: 620px; }
.s-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  font-size: 1.15rem;
  transition: all 0.3s var(--ease);
}
.service-li:hover .s-link { background: var(--accent); border-color: var(--accent); color: var(--white); transform: rotate(-38deg); }
@media (max-width: 780px) {
  .service-li { grid-template-columns: 56px 1fr; }
  .service-li .s-link { display: none; }
  .service-li:hover { padding-left: 1.4rem; }
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.stat-cell {
  padding: 2.4rem 2rem;
  border-left: 1px solid var(--line);
}
.stat-cell:first-child { border-left: none; }
.stat-cell b {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 800;
  display: block;
  line-height: 1;
}
.stat-cell b i { font-style: normal; color: var(--accent); }
.stat-cell span { color: var(--muted); font-size: 0.92rem; display: block; margin-top: 0.6rem; }
@media (max-width: 720px) {
  .stat-cell { border-left: none; border-bottom: 1px solid var(--line); text-align: left; padding-inline: 0; }
  .stat-cell:last-child { border-bottom: none; }
}

/* dark stats variant */
.section.dark .stat-cell { border-color: var(--line-dark); }
.section.dark .stat-cell b { color: var(--white); }
.section.dark .stat-cell span { color: rgba(255, 255, 255, 0.55); }

/* ---------- Feature trio ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-7px);
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(29, 114, 191, 0.12);
}
.f-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(29, 114, 191, 0.09);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover .f-icon { transform: rotate(-8deg) scale(1.08); }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.6rem; }
.tag-cloud span {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.25s ease;
}
.tag-cloud span:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ---------- Case studies ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 24px 54px rgba(0, 0, 0, 0.1); }
.case-visual {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.case-visual svg { width: 58%; transition: transform 0.6s var(--ease); }
.case-card:hover .case-visual svg { transform: scale(1.07) rotate(-1.5deg); }
.case-body { padding: 1.8rem 1.8rem 2rem; }
.case-cat {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
.case-body h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.case-body > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.metric-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.42rem 0.95rem;
  border-radius: 100px;
  background: rgba(29, 114, 191, 0.09);
  color: var(--accent-dark);
}
@media (max-width: 780px) { .cases-grid { grid-template-columns: 1fr; } }

/* case visuals */
.cv-a { background: linear-gradient(135deg, #123a61, #1d72bf); }
.cv-b { background: linear-gradient(135deg, #0b0b0b, #26303a); }
.cv-c { background: linear-gradient(135deg, #e0e3e5, #c3cbd1); }
.cv-d { background: linear-gradient(135deg, #14568f, #0b0b0b); }

/* ---------- Testimonials slider ---------- */
.tslider { max-width: 860px; margin-inline: auto; position: relative; }
.ts-viewport { overflow: hidden; border-radius: var(--radius); }
.ts-track { display: flex; transition: transform 0.65s var(--ease); }
.ts-slide {
  flex: 0 0 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.2rem);
}
.ts-quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.ts-slide p.quote { font-size: 1.15rem; line-height: 1.7; margin-bottom: 1.8rem; }
.ts-author { display: flex; align-items: center; gap: 1rem; }
.ts-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-display);
}
.ts-author b { display: block; line-height: 1.3; }
.ts-author span { color: var(--muted); font-size: 0.88rem; }
.ts-stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 0.9rem; }
.ts-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6rem;
}
.ts-dots { display: flex; gap: 0.5rem; }
.ts-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--soft);
  border: none;
  transition: all 0.3s ease;
}
.ts-dot.active { background: var(--accent); transform: scale(1.3); }
.ts-btns { display: flex; gap: 0.6rem; }
.ts-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 1.05rem;
  color: var(--black);
  transition: all 0.25s ease;
}
.ts-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* testimonial static cards (reviews page) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.4rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}
.review-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.review-card .ts-stars { margin-bottom: 1rem; }
.review-card p { margin-bottom: 1.5rem; color: #333; }

.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--black);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 3rem;
}
.rs-score {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.rs-score small { font-size: 1rem; color: rgba(255,255,255,.5); display:block; margin-top:.5rem; font-family: var(--font-body); font-weight: 400; }
.rs-right .stars-lg { color: var(--accent); font-size: 1.5rem; letter-spacing: 5px; margin-bottom: 1.2rem; }
.rs-right h3 { color: var(--white); margin-bottom: 0.6rem; font-size: 1.4rem; }
.rs-right p { color: rgba(255,255,255,.6); }
@media (max-width: 720px) { .rating-summary { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.35rem;
  margin: 0 auto 1rem;
}
.toggle-btn {
  border: none;
  background: transparent;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: all 0.3s ease;
}
.toggle-btn.active { background: var(--black); color: var(--white); }
.save-note { text-align: center; color: var(--accent); font-weight: 600; font-size: 0.88rem; margin-bottom: 2.6rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}
.price-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 2.6rem 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.09); }
.price-card.featured { border-color: var(--accent); }
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
}
.price-card h3 { font-size: 1.3rem; }
.price-desc { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin: 1.4rem 0 0.2rem;
}
.price-amount sup { font-size: 1.3rem; font-weight: 700; }
.price-cycle { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }
.price-card ul { flex: 1; margin-bottom: 2rem; }
.price-card ul li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.price-card ul li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}

/* ---------- Specialties / why us ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.spec-big {
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem;
}
.spec-big b {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  display: block;
  margin-bottom: 0.9rem;
}
.spec-big p { color: var(--muted); }
.spec-wide {
  grid-column: 1 / -1;
  background: var(--black);
  border-color: var(--black);
}
.spec-wide b { color: var(--white); }
.spec-wide b i { font-style: normal; color: var(--accent); }
.spec-wide p { color: rgba(255, 255, 255, 0.6); max-width: 760px; }
.spec-wide p .hl { color: var(--white); font-weight: 600; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-7px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.09); }
.post-thumb {
  aspect-ratio: 16/8.5;
  display: grid;
  place-items: center;
}
.post-thumb svg { width: 40%; }
.post-body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.post-meta .cat {
  background: rgba(29, 114, 191, 0.09);
  color: var(--accent-dark);
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 100px;
}
.post-card h3 { font-size: 1.25rem; margin-bottom: auto; }
.post-card .link-arrow { margin-top: 1.3rem; }

.pt-a { background: linear-gradient(135deg, #1d72bf, #123a61); }
.pt-b { background: linear-gradient(135deg, #26303a, #000); }
.pt-c { background: linear-gradient(135deg, #e0e3e5, #aab4bb); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: var(--accent); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  padding: 1.4rem 1.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q .plus {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 1.7rem 1.5rem; color: var(--muted); }

/* ---------- CTA panel ---------- */
.cta-panel {
  background: var(--black);
  border-radius: 28px;
  padding: clamp(3.4rem, 7vw, 6rem) clamp(2rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 260px at 78% 18%, rgba(29, 114, 191, 0.35), transparent 65%);
}
.cta-inner { position: relative; }
.cta-panel h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}
.cta-panel h2 em { font-style: normal; color: var(--accent); }
.cta-panel p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 480px;
  margin: 0 auto 2.4rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 4.5rem 0 2rem;
  margin-top: 5rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 3rem;
}
.footer-brand .logo { color: var(--white); }
.footer-brand p { color: rgba(255, 255, 255, 0.55); max-width: 300px; margin-top: 1rem; font-size: 0.93rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2.5rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a { color: rgba(255, 255, 255, 0.82); font-size: 0.93rem; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}
.socials { display: flex; gap: 0.7rem; }
.socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.3s ease;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

/* ---------- Inner pages ---------- */
.page-hero {
  padding: clamp(150px, 17vh, 200px) 0 clamp(50px, 6vw, 80px);
  background:
    radial-gradient(650px 340px at 90% 0%, rgba(29, 114, 191, 0.10), transparent 60%),
    linear-gradient(var(--soft-2), var(--white));
}
.breadcrumb {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  display: inline-block;
}
.page-hero h1 { font-size: clamp(2.7rem, 6.6vw, 5rem); margin-bottom: 1.1rem; }
.page-hero .lead { color: var(--muted); max-width: 560px; font-size: 1.12rem; }

/* split (about story) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.reverse .split-visual { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
}
.split-visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3.3;
  display: grid;
  place-items: center;
}
.split-visual svg { width: 66%; }

/* values + timeline */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  background: var(--white);
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}
.value-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.value-card .emoji { font-size: 1.9rem; display: block; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.94rem; }

.timeline { position: relative; padding-left: 2.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--soft));
}
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.4rem; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
}
.timeline-item .year { font-family: var(--font-display); color: var(--accent); font-weight: 800; }
.timeline-item h3 { font-size: 1.28rem; margin: 0.25rem 0 0.4rem; }
.timeline-item p { color: var(--muted); max-width: 600px; }

/* services detail rows */
.service-detail {
  display: grid;
  grid-template-columns: 64px 1.1fr 1.4fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:first-of-type { border-top: 1px solid var(--line); }
.icon-tile {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(29, 114, 191, 0.09);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.service-detail h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.service-detail .tagline { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.6rem; }
.deliverables { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.deliverables span {
  font-size: 0.76rem;
  border: 1px solid var(--line);
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  color: var(--muted);
}
.service-detail .desc { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 960px) {
  .service-detail { grid-template-columns: 56px 1fr; }
  .service-detail > div:last-child { grid-column: 2; }
}

/* process */
.process-step {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 2rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
}
.process-step:first-child { border-top: 1px solid var(--line); }
.process-step .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  line-height: 1;
}
.process-step h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--muted); }
.step-detail { color: var(--muted); font-size: 0.9rem; border-left: 2px solid var(--soft); padding-left: 1.3rem; align-self: center; }
@media (max-width: 860px) {
  .process-step { grid-template-columns: 64px 1fr; }
  .step-detail { grid-column: 2; border-left: none; padding-left: 0; margin-top: 0.6rem; }
}

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 4rem; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 1.2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.contact-info-item .ci-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(29, 114, 191, 0.09);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-info-item b { display: block; font-family: var(--font-display); margin-bottom: 0.15rem; }
.contact-info-item span, .contact-info-item a { color: var(--muted); font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--accent); }
.contact-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 0.9rem 1.15rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(29, 114, 191, 0.12);
}
.form-field textarea { resize: vertical; min-height: 140px; }

/* ============================================
   ANIMATED AURORA BACKGROUND
   GPU-friendly: transform-only animation,
   pre-blurred gradients (no filter cost).
   ============================================ */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #ffffff;
}
.bg-aurora span { position: absolute; border-radius: 50%; will-change: transform; }
.bg-aurora .b1 {
  width: 46vw; height: 46vw;
  left: -6vw; top: -10vh;
  background: radial-gradient(circle at 40% 40%, rgba(29, 114, 191, 0.45), transparent 62%);
  animation: drift1 38s ease-in-out infinite alternate;
}
.bg-aurora .b2 {
  width: 40vw; height: 40vw;
  right: -8vw; top: 18vh;
  background: radial-gradient(circle at 55% 45%, rgba(140, 170, 195, 0.7), transparent 64%);
  animation: drift2 46s ease-in-out infinite alternate;
}
.bg-aurora .b3 {
  width: 44vw; height: 44vw;
  left: 26vw; bottom: -14vh;
  background: radial-gradient(circle at 50% 50%, rgba(20, 86, 143, 0.35), transparent 62%);
  animation: drift3 52s ease-in-out infinite alternate;
}
.bg-aurora .b4 {
  width: 34vw; height: 34vw;
  right: 16vw; bottom: -6vh;
  background: radial-gradient(circle at 50% 50%, rgba(80, 160, 230, 0.3), transparent 62%);
  animation: drift4 44s ease-in-out infinite alternate;
}
@keyframes drift4 { to { transform: translate(-7vw, -12vh) scale(1.22); } }
@keyframes drift1 { to { transform: translate(10vw, 8vh) scale(1.14); } }
@keyframes drift2 { to { transform: translate(-9vw, -7vh) scale(1.18); } }
@keyframes drift3 { to { transform: translate(-8vw, -9vh) scale(1.1); } }

/* Translucent sections so the aurora shows through subtly */
.hero {
  background:
    radial-gradient(700px 380px at 88% 6%, rgba(29, 114, 191, 0.06), transparent 65%),
    linear-gradient(rgba(242, 244, 245, 0.42), rgba(255, 255, 255, 0.22));
}
.section.soft-bg { background: rgba(242, 244, 245, 0.42); }
.page-hero {
  background:
    radial-gradient(650px 340px at 90% 0%, rgba(29, 114, 191, 0.06), transparent 60%),
    linear-gradient(rgba(242, 244, 245, 0.42), rgba(255, 255, 255, 0.22));
}

/* ============================================
   GLASSMORPHISM LAYER
   ============================================ */
.feature-card,
.value-card,
.price-card,
.case-card,
.review-card,
.ts-slide,
.faq-item,
.post-card,
.spec-big,
.billing-toggle,
.hero-kicker,
.hero-badge {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 38px rgba(11, 20, 30, 0.08);
}
.faq-item.open { border-color: var(--accent); }
.price-card.featured {
  border-color: rgba(29, 114, 191, 0.55);
  box-shadow: 0 16px 48px rgba(29, 114, 191, 0.14);
}
.hero-card {
  background: rgba(0, 0, 0, 0.66);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}
.cta-panel,
.rating-summary {
  background: rgba(0, 0, 0, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .feature-card, .value-card, .price-card, .case-card, .review-card,
  .ts-slide, .faq-item, .post-card, .spec-big, .billing-toggle,
  .hero-kicker, .hero-badge { background: #ffffff; }
  .hero-card, .cta-panel, .rating-summary { background: #000000; }
}

/* ============================================
   FOOTER ALIGNMENT FIX — 4-column layout
   brand | Pages | Services | Contact
   ============================================ */
.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(0, 2.4fr);
  gap: 3rem 4rem;
  align-items: start;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.6rem; }
  .footer-cols { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   HERO TYPOGRAPHY / ROTATOR OVERLAP FIX
   Words swap exclusively — no crossfade overlap.
   ============================================ */
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.9rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.7rem;
}
.hero-title .rotator {
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
  vertical-align: top;
}
.hero-title .rotator b {
  transition: none;
  opacity: 0;
  transform: translateY(112%);
}
.hero-title .rotator b.on {
  opacity: 1;
  transform: none;
  animation: wordIn 0.7s var(--ease) both;
}
@keyframes wordIn {
  from { opacity: 0; transform: translateY(112%); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .hero-title br { display: none; }
  .hero-title .rotator b { white-space: normal; }
  .site-header.compact .header-inner { max-width: 262px; }
  .site-header.menu-open .header-inner { max-width: 100%; }
}

/* ============================================
   REDUCED MOTION — accessibility & battery
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .bg-aurora span,
  .marquee-track,
  .logo .dot,
  #curtain::after {
    animation: none !important;
  }
}

/* ============================================
   REAL BRAND LOGO + DARK GLASS HEADER
   ============================================ */
.logo img { height: 42px; width: auto; display: block; }
.site-header.compact .logo img { height: 36px; }
.header-inner {
  border-color: rgba(255, 255, 255, 0.14);
}
.header-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(10, 14, 18, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.site-header.compact .header-inner::before {
  background: rgba(10, 14, 18, 0.8);
}
.main-nav a { color: rgba(255, 255, 255, 0.72); }
.main-nav a:hover,
.main-nav li.current > a { color: #ffffff; }
.nav-toggle span { background: #ffffff; }
.nav-toggle.open span { background: var(--black); }

/* ============================================
   PORTFOLIO — REAL SCREENSHOTS
   ============================================ */
.case-visual { overflow: hidden; }
.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease);
}
.case-card:hover .case-visual img { transform: scale(1.05); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.filter-chips button {
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  transition: all 0.25s ease;
}
.filter-chips button:hover { border-color: var(--accent); color: var(--accent); }
.filter-chips button.active { background: var(--black); color: #fff; border-color: var(--black); }

/* ============================================
   SOCIAL MEDIA POSTS STRIP
   ============================================ */
.social-strip {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.social-strip img {
  height: 250px;
  width: auto;
  border-radius: 14px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(11, 20, 30, 0.1);
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
  max-width: 760px;
}
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(11, 20, 30, 0.12); }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.team-body { padding: 1.5rem 1.7rem 1.7rem; }
.team-body b { font-family: var(--font-display); font-size: 1.2rem; display: block; }
.team-body span { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.team-fallback {
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
}

/* ============================================
   PRICING EXTRAS
   ============================================ */
.price-was {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 500;
  margin-left: 0.4rem;
}
.price-note { color: var(--muted); font-size: 0.85rem; margin-top: 0.6rem; }
.price-section { margin-bottom: 3.5rem; }
.price-section:last-child { margin-bottom: 0; }

/* quote form */
.form-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.form-fieldset legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0 0.6rem;
}
.form-field select { appearance: auto; }

/* ============================================
   QUOTE FORM LAYOUT + LEGEND FIXES
   ============================================ */
.contact-grid.quote-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
@media (max-width: 880px) {
  .contact-grid.quote-grid { grid-template-columns: 1fr; }
}
.contact-grid > *,
.form-row > * {
  min-width: 0;
}
.form-fieldset {
  padding-top: 1.5rem;
}
.form-fieldset legend {
  float: left;
  width: 100%;
  padding: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.3;
}
.form-fieldset::after {
  content: "";
  display: table;
  clear: both;
}
@media (max-width: 560px) {
  .form-fieldset { padding: 1.3rem 1.1rem; }
  .form-fieldset legend { font-size: 1.05rem; }
}
