/* ============================================================================
   Flavia International — standalone CSS (no build step, no Tailwind).
   Brand: deep purple #5A2D91 / light purple #B58CFF / lavender #EDE3FF /
   surface #F9F7FD. Keeps the same animation keyframes as the source design.
   ============================================================================ */

:root {
  --radius: 1rem;
  --radius-sm: calc(var(--radius) - 6px);
  --radius-lg: calc(var(--radius) + 6px);
  --radius-xl: calc(var(--radius) + 10px);
  --radius-2xl: calc(var(--radius) + 16px);

  --color-bg: #ffffff;
  --color-surface: #F9F7FD;
  --color-surface-2: #F1ECFB;
  --color-fg: #2E2E2E;
  --color-muted: #6B6675;

  --color-primary: #5A2D91;
  --color-primary-dark: #3f1f66;
  --color-primary-soft: #B58CFF;
  --color-primary-glow: #EDE3FF;
  --color-primary-foreground: #ffffff;

  --color-border: #E4DBF5;
  --color-success: #2E9E6B;
  --color-danger: #D64545;
  --color-warning: #C8862B;

  --font-display: "Outfit", "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Poppins", "Nunito", ui-sans-serif, system-ui, sans-serif;

  --shadow-soft: 0 4px 24px -8px rgba(90, 45, 145, 0.16);
  --shadow-elegant: 0 20px 60px -20px rgba(90, 45, 145, 0.30);
  --shadow-glow: 0 0 60px -10px rgba(181, 140, 255, 0.45);

  --gradient-primary: linear-gradient(135deg, #5A2D91 0%, #7C4FB8 55%, #B58CFF 100%);
  --gradient-soft: linear-gradient(180deg, #f4eeff 0%, #ffffff 100%);
}

/* ---------------------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
.icon { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 0.95rem; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--color-fg);
  margin: 0;
  font-weight: 700;
}
p { margin: 0; }
::selection { background: rgba(90, 45, 145, 0.22); color: var(--color-primary); }

/* ---------------------------------------------------------------------------
   Layout utilities
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
  max-width: 80rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

.section { position: relative; padding: 2.5rem 0; }
.section-lg { padding: 3.5rem 0; }
@media (min-width: 768px) {
  .section { padding: 3rem 0; }
  .section-lg { padding: 4rem 0; }
}

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
.grid-5 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split-single { grid-template-columns: 1fr !important; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.text-center { text-align: center; }

/* ---------------------------------------------------------------------------
   Type & eyebrow / section header
   --------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(90, 45, 145, 0.15);
  background: rgba(90, 45, 145, 0.05);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.eyebrow.on-image {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}
.eyebrow .icon { width: 14px; height: 14px; }

.section-header { max-width: 46rem; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header h2 {
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 700;
}
@media (min-width: 768px) { .section-header h2 { font-size: 2.4rem; } }
@media (min-width: 1024px) { .section-header h2 { font-size: 2.75rem; } }
.section-header p {
  margin-top: 1.1rem;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, #5A2D91 0%, #9163cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-muted { color: var(--color-muted); }
.eyebrow-plain { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); }

/* ---------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms ease, background 300ms ease, color 300ms ease;
  white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; }
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-elegant); }
.btn-outline {
  background: #fff;
  border-color: rgba(90, 45, 145, 0.25);
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-ghost { background: transparent; color: rgba(46, 46, 46, 0.8); padding: 0.85rem 1rem; }
.btn-ghost:hover { color: var(--color-primary); }
.btn-white { background: #fff; color: var(--color-primary); box-shadow: 0 8px 24px -8px rgba(0,0,0,0.15); }
.btn-white:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }

/* ---------------------------------------------------------------------------
   Header
   --------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 400ms ease, box-shadow 400ms ease;
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 0 rgba(90, 45, 145, 0.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
  color: #fff;
}
.brand-mark .step-emoji { font-size: 1.1rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.brand-text span { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted); }
.brand-logo { height: 2.5rem; width: auto; max-width: 9rem; object-fit: contain; }

.main-nav { display: none; align-items: center; gap: 0.15rem; }
.main-nav a {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(46, 46, 46, 0.78);
  transition: color 200ms ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-primary); }
.header-cta { display: none; }
.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.7);
}
.menu-toggle .icon { width: 1.2rem; height: 1.2rem; }
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .menu-toggle { display: none; }
}

.mobile-nav {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  transition: max-height 400ms ease, opacity 400ms ease;
}
.mobile-nav.is-open { max-height: 85vh; opacity: 1; overflow-y: auto; }
.mobile-nav .container { display: flex; flex-direction: column; gap: 0.25rem; padding-block: 1rem; height: auto; }
.mobile-nav a { padding: 0.85rem 1rem; border-radius: 0.75rem; font-weight: 500; color: rgba(46, 46, 46, 0.85); }
.mobile-nav a.active, .mobile-nav a:hover { background: var(--color-surface); color: var(--color-primary); }
.mobile-nav .btn { margin-top: 0.5rem; justify-content: center; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: 6rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 16rem;
  background: radial-gradient(60% 60% at 50% 0%, rgba(237, 227, 255, 0.7) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid { position: relative; display: grid; gap: 2rem; padding-block: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); margin-bottom: 1.1rem; }
.footer-grid ul { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.92rem; }
.footer-grid ul a { color: rgba(46, 46, 46, 0.75); }
.footer-grid ul a:hover { color: var(--color-primary); }
.footer-about p { margin-top: 1.1rem; color: var(--color-muted); font-size: 0.92rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.1rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: rgba(46, 46, 46, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: #fff; border-color: var(--color-primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(90, 45, 145, 0.15); }
.footer-social .icon { width: 1rem; height: 1rem; }
.footer-social .social-svg { width: 1.15rem; height: 1.15rem; display: block; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.65rem; color: rgba(46, 46, 46, 0.85); }
.footer-contact .footer-contact-icon { flex-shrink: 0; margin-top: 0.05rem; }
.footer-contact .icon { width: 1rem; height: 1rem; color: var(--color-primary); margin-top: 0.2rem; flex-shrink: 0; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: var(--color-muted);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.pulse-dot {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--color-success);
  margin-right: 0.4rem;
  animation: pulse-soft 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ---------------------------------------------------------------------------
   Cards
   --------------------------------------------------------------------------- */
.card-elevated {
  background: #fff;
  border: 1px solid rgba(90, 45, 145, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(90, 45, 145, 0.05), 0 8px 24px -12px rgba(90, 45, 145, 0.15);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms ease;
  padding: 1.75rem;
}
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(90, 45, 145, 0.08);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  padding: 1rem;
}
.ring-brand { box-shadow: 0 0 0 1px rgba(90, 45, 145, 0.15); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.icon-badge.soft { background: rgba(90, 45, 145, 0.08); color: var(--color-primary); box-shadow: none; }
.icon-badge .icon { width: 1.3rem; height: 1.3rem; }
.icon-badge.sm { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; }
.icon-badge.sm .icon { width: 1.1rem; height: 1.1rem; }
.icon-badge .step-emoji { font-size: 1.35rem; line-height: 1; display: inline-block; }
.icon-badge.sm .step-emoji { font-size: 1.15rem; }
.eyebrow-emoji { margin-right: 0.35rem; }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: 2.5rem 2rem; }
@media (min-width: 768px) { .hero { padding-block: 3rem 2.5rem; } }
@media (min-width: 1024px) { .hero { padding-block: 3.5rem 3rem; } }
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, rgba(237, 227, 255, 0.55) 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero-grid-single { grid-template-columns: 1fr !important; }
.hero h1 { font-size: 2.2rem; font-weight: 700; line-height: 1.08; }
@media (min-width: 768px) { .hero h1 { font-size: 2.9rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.5rem; } }
@media (min-width: 1280px) { .hero h1 { font-size: 4rem; } }
.hero p.lead { margin-top: 1.4rem; max-width: 34rem; color: var(--color-muted); font-size: 1.05rem; line-height: 1.75; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; border-top: 1px solid var(--color-border); padding-top: 1.75rem; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats dt { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.hero-stats dd { margin: 0.25rem 0 0; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.hero-media { position: relative; }
.hero-media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid #fff;
  background: #fff;
  box-shadow: var(--shadow-elegant);
  aspect-ratio: 4 / 3;
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute;
  z-index: 2;
}
.hero-float.bl { bottom: -1.5rem; left: -1.5rem; width: 13rem; }
.hero-float.tr { top: 2rem; right: -1rem; }
.hero-float-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-primary); }
.hero-float-sub { margin-top: 0.15rem; font-size: 0.78rem; color: var(--color-muted); }

/* ---------------------------------------------------------------------------
   Marquee (client logos)
   --------------------------------------------------------------------------- */
.marquee-section { border-block: 1px solid var(--color-border); background: rgba(249, 247, 253, 0.6); padding-block: 1.75rem; }
.marquee-label { text-align: center; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted); }
.marquee-mask { margin-top: 1.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3.5rem; animation: marquee 40s linear infinite; }
.marquee-track span {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(46, 46, 46, 0.35);
  transition: color 400ms ease;
}
.marquee-track span:hover { color: var(--color-primary); }
.marquee-logo {
  flex-shrink: 0;
  height: 2.5rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 400ms ease, filter 400ms ease;
}
.marquee-logo:hover { opacity: 1; filter: none; }

/* ---------------------------------------------------------------------------
   Feature list (about summary)
   --------------------------------------------------------------------------- */
.feature-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 1rem; }
.feature-list p.title { font-weight: 600; }
.feature-list p.desc { color: var(--color-muted); font-size: 0.92rem; }
.media-frame { position: relative; }
.media-frame-inner { position: relative; overflow: hidden; border-radius: 1.5rem; border: 1px solid #fff; box-shadow: var(--shadow-elegant); aspect-ratio: 7 / 5; }
.media-frame-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-badge { position: absolute; bottom: -1.5rem; right: 1.25rem; width: 15rem; background: #fff; border-radius: 1rem; padding: 1.1rem; box-shadow: var(--shadow-elegant); display: none; }
@media (min-width: 768px) { .media-badge { display: block; } }

/* ---------------------------------------------------------------------------
   Grid cards: categories / industries / why-choose / research / process
   --------------------------------------------------------------------------- */
.category-card, .industry-card, .why-card, .research-card { height: 100%; }
.category-card .badge-pill {
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(90, 45, 145, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.category-card h3, .industry-card h3, .why-card h3 { margin-top: 1.1rem; font-size: 1.1rem; }
.category-card p, .industry-card p, .why-card p, .research-card p { margin-top: 0.6rem; font-size: 0.9rem; color: var(--color-muted); line-height: 1.65; }
.card-link { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; font-weight: 600; color: var(--color-primary); transition: transform 200ms ease; }
.card-link .icon { width: 0.95rem; height: 0.95rem; }
a:hover .card-link, .card-link:hover { transform: translateX(3px); }

.industry-card { display: flex; align-items: flex-start; gap: 1rem; border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; transition: all 300ms ease; }
.industry-card:hover { border-color: rgba(90, 45, 145, 0.35); box-shadow: var(--shadow-soft); transform: translateY(-2px); }

.why-card { padding: 1.5rem; }
.why-card .flex { align-items: flex-start; }

.research-card { border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-lg); padding: 1.35rem; }
.research-card h4 { margin-top: 1rem; font-size: 0.92rem; }

/* ---------------------------------------------------------------------------
   Process timeline
   --------------------------------------------------------------------------- */
.process-list { position: relative; }
.process-step {
  position: relative;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  height: 100%;
}
.process-step-top { display: flex; align-items: center; gap: 0.75rem; }
.process-step-number { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-primary); }
.process-step h3 { margin-top: 1rem; font-size: 0.95rem; }
.process-step p { margin-top: 0.35rem; font-size: 0.82rem; color: var(--color-muted); line-height: 1.6; }

/* ---------------------------------------------------------------------------
   Testimonial + CTA banner
   --------------------------------------------------------------------------- */
.testimonial-card {
  position: relative;
  margin-inline: auto;
  max-width: 56rem;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(90, 45, 145, 0.15);
  background: var(--gradient-soft);
  padding: 2rem 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .testimonial-card { padding: 2.5rem 2rem; } }
.testimonial-stars { display: flex; justify-content: center; gap: 0.15rem; color: var(--color-primary); margin-bottom: 1rem; }
.testimonial-stars .icon { width: 1rem; height: 1rem; fill: currentColor; }
.testimonial-card blockquote { margin: 0 auto; max-width: 46rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.4; }
.testimonial-card cite { display: block; margin-top: 1.5rem; font-size: 0.9rem; font-weight: 600; color: var(--color-primary); font-style: normal; }

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 2.25rem;
  background: var(--gradient-primary);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-elegant);
  color: #fff;
}
@media (min-width: 768px) { .cta-banner { padding: 2.5rem; } }
.cta-banner-grid { position: relative; display: grid; gap: 2rem; }
@media (min-width: 768px) { .cta-banner-grid { grid-template-columns: 1.5fr 1fr; align-items: center; } }
.cta-banner .eyebrow-plain { color: rgba(255, 255, 255, 0.7); }
.cta-banner h2 { margin-top: 0.75rem; font-size: 1.8rem; color: #fff; }
@media (min-width: 768px) { .cta-banner h2 { font-size: 2.4rem; } }
.cta-banner p { margin-top: 1rem; max-width: 34rem; color: rgba(255, 255, 255, 0.85); }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 768px) { .cta-banner-actions { justify-content: flex-end; } }
.btn-outline-white { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.2); }

/* ---------------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------------- */
.field { display: block; }
.field-label { display: block; margin-bottom: 0.4rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-primary); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--color-fg);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(90, 45, 145, 0.15); }
.field textarea { resize: vertical; min-height: 140px; }
.form-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-footer { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--color-muted); }
.checkbox-field { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-field input { width: auto; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.contact-card:hover { border-color: rgba(90, 45, 145, 0.35); box-shadow: var(--shadow-soft); }
.contact-card .label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-primary); }
.contact-card .value { margin-top: 0.2rem; font-size: 0.92rem; }

/* ---------------------------------------------------------------------------
   Alerts / flash messages
   --------------------------------------------------------------------------- */
.alert { border-radius: 0.85rem; padding: 0.9rem 1.15rem; font-size: 0.9rem; margin-bottom: 1rem; border: 1px solid transparent; }
.alert-success { background: #eafaf1; color: #1e6b47; border-color: #b9e9cf; }
.alert-error { background: #fdeeee; color: #a12f2f; border-color: #f6c6c6; }
.alert-info { background: var(--color-surface-2); color: var(--color-primary); border-color: var(--color-border); }

/* ---------------------------------------------------------------------------
   Gallery
   --------------------------------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.gallery-filters a {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}
.gallery-filters a.active, .gallery-filters a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; cursor: pointer; background: var(--color-surface); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 300ms ease;
}
.gallery-item:hover .caption { opacity: 1; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 12, 32, 0.88);
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 1rem; box-shadow: var(--shadow-elegant); }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ---------------------------------------------------------------------------
   Blog
   --------------------------------------------------------------------------- */
.blog-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.blog-card-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); margin: -1.75rem -1.75rem 1.25rem; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .badge-pill { display: inline-flex; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); background: rgba(90, 45, 145, 0.08); padding: 0.25rem 0.6rem; border-radius: 999px; }
.blog-card h3 { margin-top: 0.85rem; font-size: 1.15rem; line-height: 1.35; }
.blog-card p { margin-top: 0.6rem; color: var(--color-muted); font-size: 0.9rem; line-height: 1.6; flex-grow: 1; }
.blog-card .meta { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--color-muted); }
.blog-post-header { max-width: 42rem; margin-inline: auto; text-align: center; }
.blog-post-body { max-width: 42rem; margin: 2.5rem auto 0; font-size: 1.02rem; line-height: 1.85; color: rgba(46,46,46,0.9); }
.blog-post-body p { margin-bottom: 1.25rem; }

/* ---------------------------------------------------------------------------
   Timeline (About page)
   --------------------------------------------------------------------------- */
.timeline { position: relative; margin-top: 3rem; padding-left: 1.75rem; border-left: 2px solid var(--color-border); }
.timeline-item { position: relative; padding-bottom: 2.25rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 0.15rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: var(--gradient-primary);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--color-border);
}
.timeline-year { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); font-size: 1.1rem; }
.timeline-item h4 { margin-top: 0.25rem; font-size: 1rem; }
.timeline-item p { margin-top: 0.35rem; color: var(--color-muted); font-size: 0.9rem; line-height: 1.6; }

.value-card { text-align: center; padding: 1.75rem 1.25rem; }
.value-card .icon-badge { margin-inline: auto; }
.value-card h3 { margin-top: 1rem; font-size: 1rem; }
.value-card p { margin-top: 0.5rem; font-size: 0.85rem; color: var(--color-muted); }

.team-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; padding: 1.5rem 1rem; }
.team-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 0.95rem; }
.team-card .role { margin-top: 0.2rem; font-size: 0.78rem; color: var(--color-primary); font-weight: 600; }
.team-card p.bio { margin-top: 0.6rem; font-size: 0.8rem; color: var(--color-muted); line-height: 1.6; }

/* ---------------------------------------------------------------------------
   Factory highlight cards
   --------------------------------------------------------------------------- */
.highlight-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; }
.highlight-card h3 { font-size: 1rem; }
.highlight-card p { margin-top: 0.4rem; font-size: 0.88rem; color: var(--color-muted); line-height: 1.6; }

/* ---------------------------------------------------------------------------
   404 / simple pages
   --------------------------------------------------------------------------- */
.state-page { min-height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2.5rem 1.5rem; }
.state-page h1 { font-size: 4.5rem; color: var(--color-primary); }

/* ---------------------------------------------------------------------------
   Reveal-on-scroll (JS adds .is-visible via IntersectionObserver)
   --------------------------------------------------------------------------- */
.reveal { opacity: 0; }
.reveal.is-visible { animation: fade-up 700ms cubic-bezier(0.22, 1, 0.36, 1) both; }

/* ---------------------------------------------------------------------------
   Keyframes (unchanged from the source design system)
   --------------------------------------------------------------------------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-left { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fade-right { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes soft-zoom { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-soft { 0%, 100% { box-shadow: 0 0 0 0 rgba(90, 45, 145, 0.25); } 50% { box-shadow: 0 0 0 10px rgba(90, 45, 145, 0); } }

.animate-fade-up { animation: fade-up 600ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.animate-fade-in { animation: fade-in 500ms ease-out both; }
.animate-fade-left { animation: fade-left 600ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.animate-fade-right { animation: fade-right 600ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.animate-soft-zoom { animation: soft-zoom 700ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.animate-marquee { animation: marquee 40s linear infinite; }
.animate-pulse-soft { animation: pulse-soft 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
.delay-4 { animation-delay: 320ms; }

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

/* ============================================================================
   ADMIN PANEL
   ============================================================================ */
.admin-body { background: var(--color-surface); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 17rem;
  flex-shrink: 0;
  background: var(--color-primary-dark);
  background-image: linear-gradient(180deg, #4a2679 0%, #3f1f66 100%);
  color: rgba(255,255,255,0.92);
  padding: 1.5rem 1rem;
  display: none;
}
@media (min-width: 900px) { .admin-sidebar { display: block; position: sticky; top: 0; height: 100vh; overflow-y: auto; } }
.admin-brand { display: flex; align-items: center; gap: 0.65rem; padding: 0.5rem 0.75rem 1.5rem; }
.admin-brand .brand-mark { background: rgba(255,255,255,0.15); box-shadow: none; }
.admin-brand strong { color: #fff; font-family: var(--font-display); }
.admin-brand span { color: rgba(255,255,255,0.55); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; }
.admin-nav-group { margin-bottom: 1.5rem; }
.admin-nav-label { padding: 0 0.75rem; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.15rem;
  transition: background 200ms ease, color 200ms ease;
}
.admin-nav a .icon { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.admin-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-nav a.active { background: rgba(255,255,255,0.14); color: #fff; }

.admin-main { flex-grow: 1; min-width: 0; }
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.admin-topbar h1 { font-size: 1.15rem; }
.admin-topbar-user { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.admin-mobile-toggle { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; border: 1px solid var(--color-border); background: #fff; }
@media (min-width: 900px) { .admin-mobile-toggle { display: none; } }
.admin-content { padding: 1.75rem; max-width: 1400px; }

.admin-mobile-nav { display: none; }
.admin-mobile-nav.is-open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--color-primary-dark);
  color: #fff;
  overflow-y: auto;
  padding: 1.5rem;
}
.admin-mobile-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: 0.7rem; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.admin-mobile-nav a:hover, .admin-mobile-nav a.active { background: rgba(255,255,255,0.1); color: #fff; }

.stat-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 1.75rem; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); padding: 1.35rem; }
.stat-card .stat-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.7rem; display: grid; place-items: center; background: rgba(90,45,145,0.08); color: var(--color-primary); margin-bottom: 0.85rem; }
.stat-card .stat-icon .icon { width: 1.15rem; height: 1.15rem; }
.stat-card .stat-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.stat-card .stat-label { margin-top: 0.15rem; font-size: 0.8rem; color: var(--color-muted); }

.panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); margin-bottom: 1.75rem; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--color-border); flex-wrap: wrap; }
.panel-header h2 { font-size: 1.05rem; }
.panel-header p { margin-top: 0.2rem; font-size: 0.82rem; color: var(--color-muted); }
.panel-body { padding: 1.5rem; }
.panel-body.no-pad { padding: 0; }

.table-wrap { overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.admin-table th, table.admin-table td { padding: 0.85rem 1.5rem; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
table.admin-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); font-weight: 700; background: var(--color-surface); }
table.admin-table tr:last-child td { border-bottom: none; }
table.admin-table tr:hover td { background: rgba(90,45,145,0.02); }
.cell-muted { color: var(--color-muted); font-size: 0.82rem; }
.row-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-new { background: #e7f0ff; color: #2c5ec4; }
.badge-contacted { background: #fff4e0; color: #b1750c; }
.badge-closed { background: #eafaf1; color: #1e6b47; }
.badge-active { background: #eafaf1; color: #1e6b47; }
.badge-inactive { background: #f1f1f3; color: #74747c; }
.badge-featured { background: var(--color-primary-glow); color: var(--color-primary); }

.form-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 1.25rem; }
.admin-form label.field { margin-bottom: 1.1rem; }
.admin-form fieldset { border: none; padding: 0; margin: 0 0 1.5rem; }
.admin-form legend { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-primary); margin-bottom: 0.75rem; padding: 0; }
.help-text { font-size: 0.78rem; color: var(--color-muted); margin-top: 0.3rem; }
.inline-toggle { display: flex; align-items: center; gap: 0.6rem; }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gradient-soft); padding: 2rem; }
.login-card { width: 100%; max-width: 26rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-elegant); padding: 2.5rem; }
.login-card .brand { justify-content: center; margin-bottom: 1.5rem; }
.login-card h1 { font-size: 1.4rem; text-align: center; }
.login-card p.sub { text-align: center; margin-top: 0.4rem; color: var(--color-muted); font-size: 0.88rem; }
.login-card form { margin-top: 1.75rem; }
.login-hint { margin-top: 1.25rem; text-align: center; font-size: 0.78rem; color: var(--color-muted); background: var(--color-surface); border-radius: 0.6rem; padding: 0.65rem; }

.empty-state { text-align: center; padding: 2rem 1.5rem; color: var(--color-muted); }

.contact-thankyou {
  padding: 2.5rem 2rem;
  text-align: center;
}
.contact-thankyou .icon-badge {
  margin: 0 auto 1rem;
  width: 3rem;
  height: 3rem;
}
.contact-thankyou h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.contact-thankyou p {
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 28rem;
  margin-inline: auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .clients-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .clients-grid { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 1;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}
.client-logo-card:hover {
  border-color: rgba(90, 45, 145, 0.25);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.client-logo-card img {
  width: 100%;
  max-width: 9rem;
  max-height: 3.5rem;
  object-fit: contain;
}
.empty-state .icon-badge { margin: 0 auto 1rem; }

.thumb { width: 3rem; height: 3rem; border-radius: 0.6rem; object-fit: cover; background: var(--color-surface); }
.thumb-lg { width: 4.5rem; height: 4.5rem; border-radius: 0.75rem; object-fit: cover; background: var(--color-surface); }

.image-upload-wrap {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 1rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}
.image-upload-preview {
  width: 7rem;
  height: 7rem;
  border-radius: 0.75rem;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.image-upload-placeholder {
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
  padding: 0.5rem;
}
.image-upload-controls { flex: 1; min-width: 14rem; display: flex; flex-direction: column; gap: 0.65rem; }
.image-upload-input { font-size: 0.85rem; }
.image-upload-url { width: 100%; }

/* ---------------------------------------------------------------------------
   Responsive refinements
   --------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hero-float { display: none; }
  .hero-media { overflow: hidden; }
  .hero h1 { font-size: 2rem; line-height: 1.15; }
  .hero-actions .btn { white-space: normal; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.65rem; }
  .cta-banner-actions { justify-content: stretch; }
  .cta-banner-actions .btn { width: 100%; white-space: normal; }
  .split { gap: 2rem; }
  .media-frame { margin-top: 0.5rem; }
  .process-list { gap: 1rem; }
  .header-cta { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 2rem; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .section-lg { padding: 3rem 0; }
  .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 1023px) {
  .btn { white-space: normal; }
  .hero-actions { gap: 0.65rem; }
}
