/* =========================================================
   PUBLISTELLA — Design System v2
   Premium creative agency aesthetic | Heavy animations
   ========================================================= */

:root {
  /* Brand */
  --c-blue-deep: #0A2855;
  --c-blue-mid: #1A5FA8;
  --c-blue: #2E7DD7;
  --c-blue-light: #4FA8FF;
  --c-blue-pale: #E8F2FF;
  --c-blue-mist: #F4F8FE;
  --c-yellow: #FFD83D;
  --c-yellow-soft: #FFE57A;
  --c-yellow-deep: #F5B800;

  /* Neutrals */
  --c-ink: #0B1A33;
  --c-ink-soft: #344967;
  --c-muted: #6B7B92;
  --c-line: #E2E8F2;
  --c-line-soft: #EEF2F8;
  --c-bg: #FFFFFF;
  --c-bg-soft: #FAFBFD;
  --c-bg-cool: #F4F7FC;

  /* Effects */
  --grad-hero: radial-gradient(60% 80% at 80% 20%, rgba(79,168,255,0.28) 0%, rgba(79,168,255,0) 60%),
               radial-gradient(40% 60% at 10% 90%, rgba(255,216,61,0.20) 0%, rgba(255,216,61,0) 60%),
               linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 100%);
  --grad-blue: linear-gradient(135deg, #2E7DD7 0%, #1A5FA8 60%, #0A2855 100%);
  --grad-blue-light: linear-gradient(135deg, #4FA8FF 0%, #2E7DD7 100%);
  --grad-glass: linear-gradient(135deg, rgba(79,168,255,0.85) 0%, rgba(46,125,215,0.85) 50%, rgba(10,40,85,0.85) 100%);
  --grad-yellow: linear-gradient(135deg, #FFD83D 0%, #F5B800 100%);
  --grad-mesh: radial-gradient(at 0% 0%, rgba(79,168,255,0.18) 0px, transparent 50%),
               radial-gradient(at 100% 0%, rgba(46,125,215,0.18) 0px, transparent 50%),
               radial-gradient(at 100% 100%, rgba(255,216,61,0.12) 0px, transparent 50%),
               radial-gradient(at 0% 100%, rgba(10,40,85,0.10) 0px, transparent 50%);

  --shadow-sm: 0 1px 2px rgba(10,40,85,0.06), 0 2px 6px rgba(10,40,85,0.04);
  --shadow-md: 0 6px 18px rgba(10,40,85,0.08), 0 2px 4px rgba(10,40,85,0.04);
  --shadow-lg: 0 24px 60px rgba(10,40,85,0.14), 0 8px 18px rgba(10,40,85,0.08);
  --shadow-xl: 0 40px 100px rgba(10,40,85,0.22);
  --shadow-glow: 0 30px 80px -20px rgba(46,125,215,0.55);
  --shadow-yellow-glow: 0 30px 60px -10px rgba(255,216,61,0.5);

  /* Typography */
  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing & Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Header */
  --header-h: 92px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--f-sans);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--c-blue-deep);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1.1rem; }
p { color: var(--c-ink-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-blue);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--c-blue-pale);
  border: 1px solid rgba(46,125,215,0.18);
  position: relative;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--c-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(46,125,215,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(46,125,215,0.18); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(46,125,215,0); transform: scale(1.15); }
}
.lead { font-size: 1.12rem; color: var(--c-ink-soft); max-width: 60ch; }

/* ==================== LAYOUT ==================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(56px, 8vw, 120px) 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 70px);
}
.section-head .lead { margin: 18px auto 0; }
.section-head .eyebrow { margin-bottom: 20px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 100%; }

.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 38px 90px -20px rgba(46,125,215,0.7); }
.btn-yellow {
  background: var(--grad-yellow);
  color: var(--c-blue-deep);
  box-shadow: var(--shadow-yellow-glow);
}
.btn-yellow:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 38px 80px -10px rgba(255,216,61,0.7); }
.btn-ghost {
  background: rgba(255,255,255,0.72);
  color: var(--c-blue-deep);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(14px);
}
.btn-ghost:hover { background: #fff; border-color: var(--c-blue-light); color: var(--c-blue); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--c-blue-deep);
  border: 1.5px solid var(--c-blue-deep);
}
.btn-outline:hover { background: var(--c-blue-deep); color: #fff; transform: translateY(-2px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(5px); }

/* ==================== HEADER ==================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(226,232,242,0.6);
  transition: box-shadow .3s ease, background .3s ease, padding .3s ease;
}
.header.is-scrolled {
  box-shadow: 0 6px 26px rgba(10,40,85,0.08);
  background: rgba(255,255,255,0.95);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  transition: transform .35s ease;
}
.brand:hover { transform: scale(1.03); }
.brand img {
  height: 64px;
  width: auto;
  transition: height .3s ease, transform .3s ease;
  filter: drop-shadow(0 4px 12px rgba(46,125,215,0.18));
}
.header.is-scrolled .brand img { height: 56px; }
.brand-name {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-blue-deep);
  font-size: 1.32rem;
  line-height: 1;
  display: none;
}
@media (min-width: 1340px) { .brand-name { display: inline; } }

/* 3-item dropdown navigation */
.nav-links {
  display: none;
  gap: 6px;
  list-style: none;
  align-items: center;
}
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links .nav-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--c-ink-soft);
  transition: color .2s, background .2s;
  white-space: nowrap;
  cursor: pointer;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li:hover > a,
.nav-links > li:focus-within > a {
  color: var(--c-blue-deep);
  background: var(--c-blue-mist);
}
.nav-links .caret {
  width: 12px; height: 12px;
  transition: transform .25s ease;
  opacity: 0.7;
}
.nav-links > li:hover .caret,
.nav-links > li:focus-within .caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel */
.nav-links .dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  padding: 12px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(10,40,85,0.15), 0 8px 16px rgba(10,40,85,0.08);
  border: 1px solid var(--c-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, visibility .25s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
}
.nav-links .dropdown::before {
  content: "";
  position: absolute;
  top: -8px; left: 24px;
  width: 16px; height: 16px;
  background: rgba(255,255,255,0.98);
  border-left: 1px solid var(--c-line);
  border-top: 1px solid var(--c-line);
  transform: rotate(45deg);
  border-radius: 3px;
}
/* Hover bridge — invisible padding so cursor doesn't lose dropdown */
.nav-links > li::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 14px;
  pointer-events: none;
}
.nav-links > li:hover::after { pointer-events: auto; }

.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-links .dropdown a {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: transparent;
  transition: background .2s, transform .2s;
}
.nav-links .dropdown a:hover {
  background: var(--c-blue-mist);
  transform: translateX(3px);
}
.nav-links .dropdown a .ddi-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-blue-pale), #fff);
  border: 1px solid rgba(46,125,215,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  transition: background .25s, color .25s, transform .25s;
}
.nav-links .dropdown a:hover .ddi-icon {
  background: var(--grad-blue);
  color: #fff;
  border-color: var(--c-blue-deep);
  transform: rotate(-6deg) scale(1.08);
}
.nav-links .dropdown a strong {
  display: block;
  color: var(--c-blue-deep);
  font-weight: 600;
  font-size: 0.94rem;
  font-family: var(--f-sans);
  margin-bottom: 2px;
}
.nav-links .dropdown a span.ddi-sub {
  color: var(--c-muted);
  font-size: 0.81rem;
  display: block;
  line-height: 1.35;
}

.nav-cta { display: none; align-items: center; gap: 10px; flex-shrink: 0; }
@media (min-width: 768px) { .nav-cta { display: flex; } }
.nav-cta .btn { padding: 12px 18px; font-size: 0.86rem; }

.menu-toggle {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--c-blue-mist);
  color: var(--c-blue-deep);
  border: 1px solid var(--c-line);
  transition: all .25s ease;
}
.menu-toggle:hover { background: var(--c-blue); color: #fff; }
@media (min-width: 900px) { .menu-toggle { display: none; } }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  z-index: 200;
  padding: 100px 24px 40px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav .close {
  position: absolute; top: 22px; right: 22px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--c-blue-mist);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-blue-deep);
  border: 1px solid var(--c-line);
  transition: all .25s;
}
.mobile-nav .close:hover { background: var(--c-blue-deep); color: #fff; transform: rotate(90deg); }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; max-width: 480px; margin: 0 auto; }
.mobile-nav a {
  display: block; padding: 16px 20px; border-radius: 12px;
  font-size: 1.1rem; font-weight: 600; color: var(--c-blue-deep);
  border-bottom: 1px solid var(--c-line-soft);
  transition: background .2s, transform .2s;
}
.mobile-nav a:hover { background: var(--c-blue-mist); transform: translateX(6px); }
.mobile-nav .btn { margin-top: 24px; width: 100%; max-width: 480px; margin-left: auto; margin-right: auto; display: flex; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: clamp(50px, 7vw, 100px) 0 clamp(70px, 9vw, 130px);
  background: var(--grad-hero);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(10,40,85,0.06) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 40%, transparent 80%);
  pointer-events: none;
  animation: gridShift 30s linear infinite;
}
@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 32px 32px; }
}
.hero::after {
  content: "";
  position: absolute;
  top: 10%; left: 30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,168,255,0.18), transparent 70%);
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite;
  filter: blur(40px);
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
}
.hero h1 { margin: 22px 0 24px; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' fill='none'><path d='M2 11C40 4 80 4 120 7C160 10 190 8 198 5' stroke='%23FFD83D' stroke-width='4' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
  animation: drawUnderline 1.2s ease-out .4s both;
  transform-origin: left;
}
@keyframes drawUnderline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero .lead { margin-bottom: 32px; max-width: 56ch; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  align-items: center;
}
.hero-trust .stat { display: flex; flex-direction: column; }
.hero-trust .stat strong {
  font-family: var(--f-display);
  font-size: 1.85rem;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.hero-trust .stat span { font-size: 0.84rem; color: var(--c-muted); margin-top: 2px; }

/* Hero visual — abstract glass / 3D look */
.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 580px;
  margin: 0 auto;
  perspective: 1000px;
}
.hv-shape {
  position: absolute;
  border-radius: 28px;
  background: var(--grad-glass);
  box-shadow: var(--shadow-xl), inset 0 0 60px rgba(255,255,255,0.15);
  overflow: hidden;
  will-change: transform;
}
.hv-shape::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%);
}
.hv-shape::after {
  content: "";
  position: absolute;
  top: 0; left: -50%;
  width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  animation: glassSwipe 5s ease-in-out infinite;
}
@keyframes glassSwipe {
  0%, 100% { transform: translateX(-30%); }
  50% { transform: translateX(30%); }
}
.hv-1 {
  top: 8%; left: 12%;
  width: 64%; height: 64%;
  transform: rotate(-6deg);
  animation: float1 8s ease-in-out infinite;
}
.hv-2 {
  top: 22%; right: 6%;
  width: 46%; height: 46%;
  transform: rotate(8deg);
  background: linear-gradient(135deg, #4FA8FF 0%, #2E7DD7 100%);
  animation: float2 9s ease-in-out infinite;
}
.hv-3 {
  bottom: 6%; left: 4%;
  width: 36%; height: 36%;
  background: var(--grad-yellow);
  border-radius: 50%;
  animation: float3 10s ease-in-out infinite, hue 8s linear infinite;
  box-shadow: 0 30px 80px rgba(255,184,0,0.45);
}
.hv-3::after { display: none; }
.hv-4 {
  position: absolute;
  bottom: 14%; right: 14%;
  width: 28%; height: 28%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(46,125,215,0.2);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  color: var(--c-blue-deep);
  font-size: 2.4rem;
  font-weight: 700;
  animation: float2 11s ease-in-out infinite;
  z-index: 2;
}
.hv-4::after { display: none; }
.hv-sparkle {
  position: absolute;
  pointer-events: none;
  animation: twinkle 3s ease-in-out infinite;
  z-index: 3;
  filter: drop-shadow(0 0 8px rgba(255,216,61,0.6));
}
.hv-sparkle.s1 { top: 14%; right: 22%; }
.hv-sparkle.s2 { bottom: 28%; left: 28%; animation-delay: 1s; }
.hv-sparkle.s3 { top: 48%; right: 6%; animation-delay: 2s; }

@keyframes float1 { 0%,100%{transform:rotate(-6deg) translateY(0)} 50%{transform:rotate(-3deg) translateY(-14px)} }
@keyframes float2 { 0%,100%{transform:rotate(8deg) translateY(0)} 50%{transform:rotate(5deg) translateY(12px)} }
@keyframes float3 { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-16px) rotate(15deg)} }
@keyframes twinkle { 0%,100%{opacity:.5; transform:scale(1) rotate(0)} 50%{opacity:1; transform:scale(1.2) rotate(15deg)} }
@keyframes hue { 0%,100%{filter:hue-rotate(0deg)} 50%{filter:hue-rotate(20deg)} }

/* Decorative dots */
.hero-dots {
  position: absolute;
  pointer-events: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-blue-light);
  opacity: 0.4;
  animation: dot 6s ease-in-out infinite;
}
@keyframes dot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-20px); opacity: 0.8; }
}

/* ==================== TRUST BAR (marquee) ==================== */
.trust-bar {
  background: var(--c-bg-cool);
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
  padding: 28px 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-bar p { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.trust-bar ul { display: flex; flex-wrap: wrap; gap: 18px 32px; list-style: none; }
.trust-bar li {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--c-blue-deep);
  font-size: 0.93rem;
}
.trust-bar li svg { color: var(--c-blue); flex-shrink: 0; }

/* ==================== CARDS ==================== */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: var(--grad-blue);
  transition: height .35s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,125,215,0.3);
}
.card:hover::before { height: 4px; }

.card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-blue-pale) 0%, #fff 100%);
  border: 1px solid rgba(46,125,215,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-blue);
  margin-bottom: 22px;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .3s ease, color .3s ease;
}
.card:hover .icon-wrap {
  transform: rotate(-8deg) scale(1.1);
  background: var(--grad-blue);
  color: #fff;
  border-color: var(--c-blue-deep);
}
.card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.card p { font-size: 0.96rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; font-weight: 600; color: var(--c-blue);
  transition: gap .25s ease;
}
.card .card-link:hover { gap: 14px; color: var(--c-blue-deep); }

.service-card {
  background: linear-gradient(180deg, #fff 0%, var(--c-bg-soft) 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,216,61,0.18), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
}
.service-card:hover {
  border-color: rgba(46,125,215,0.35);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card .badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--c-yellow);
  color: var(--c-blue-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.service-card .price-tag {
  display: inline-flex; align-items: baseline; gap: 6px;
  margin-top: 18px;
  font-family: var(--f-display);
  color: var(--c-blue-deep);
}
.service-card .price-tag strong { font-size: 1.55rem; }
.service-card .price-tag span { font-size: 0.85rem; color: var(--c-muted); font-family: var(--f-sans); }
.service-card ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.service-card ul li {
  position: relative; padding-left: 26px;
  font-size: 0.94rem; color: var(--c-ink-soft);
}
.service-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7DD7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}

/* ==================== STORY / SPLIT ==================== */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 70px; }
  .split.reverse > :first-child { order: 2; }
}
.split-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--grad-blue);
  aspect-ratio: 4/5;
  position: relative;
  box-shadow: var(--shadow-xl);
  transition: transform .5s ease;
}
.split-visual:hover { transform: translateY(-8px) rotate(-1deg); }
.split-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,216,61,0.22) 0%, transparent 40%);
  animation: meshShift 14s ease-in-out infinite;
}
@keyframes meshShift {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.1) rotate(2deg); }
}
.split h2 { margin-bottom: 22px; }
.split p { margin-bottom: 16px; }
.split .actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ==================== STATS / WHY ==================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.why-item {
  padding: 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  text-align: left;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.why-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46,125,215,0.3);
}
.why-item .num {
  font-family: var(--f-display);
  font-size: 2.4rem;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.why-item h4 { margin-bottom: 6px; color: var(--c-blue-deep); font-size: 1.05rem; }
.why-item p { font-size: 0.92rem; }

/* ==================== STEPS / PROCESS ==================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  counter-increment: step;
  transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--c-blue);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.step h4 { margin-bottom: 8px; color: var(--c-blue-deep); }
.step p { font-size: 0.92rem; }

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.testimonial {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 8px; right: 24px;
  font-family: var(--f-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--c-blue-pale);
  pointer-events: none;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46,125,215,0.3);
}
.testimonial .stars { color: var(--c-yellow); margin-bottom: 14px; font-size: 1rem; letter-spacing: 2px; }
.testimonial blockquote {
  font-family: var(--f-display);
  font-size: 1.04rem;
  color: var(--c-blue-deep);
  line-height: 1.5;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}
.testimonial cite {
  font-style: normal;
  display: flex; align-items: center; gap: 12px;
}
.testimonial cite .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-blue);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
  flex-shrink: 0;
}
.testimonial cite .who strong { display: block; color: var(--c-blue-deep); font-weight: 700; font-size: 0.95rem; }
.testimonial cite .who span { font-size: 0.82rem; color: var(--c-muted); }

/* ==================== ATELIER / FEATURE BLOCK ==================== */
.atelier-block {
  background: var(--grad-blue);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 76px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.atelier-block::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,216,61,0.22) 0%, transparent 35%),
    radial-gradient(circle at 5% 80%, rgba(79,168,255,0.30) 0%, transparent 50%);
  animation: meshShift 14s ease-in-out infinite;
}
.atelier-block::after {
  content: "";
  position: absolute;
  top: 20%; right: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,61,0.25), transparent 70%);
  filter: blur(50px);
  animation: blobFloat 14s ease-in-out infinite;
}
.atelier-block > * { position: relative; z-index: 2; }
.atelier-block h2 { color: #fff; }
.atelier-block .lead { color: rgba(255,255,255,0.88); }
.atelier-block .eyebrow { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.18); }
.atelier-block .eyebrow::before { background: var(--c-yellow); box-shadow: 0 0 0 4px rgba(255,216,61,0.25); }
.atelier-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 40px 0;
}
.atelier-features .item {
  padding: 22px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-md);
  transition: transform .3s, background .3s;
}
.atelier-features .item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); }
.atelier-features .item strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.55rem;
  margin-bottom: 4px;
  color: var(--c-yellow);
  line-height: 1.1;
}
.atelier-features .item span { font-size: 0.88rem; color: rgba(255,255,255,0.82); }

/* ==================== PORTFOLIO ==================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.portfolio-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--grad-blue);
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s;
}
.portfolio-item::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%);
  opacity: 0;
  transition: opacity .35s;
}
.portfolio-item:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.portfolio-item:hover::before { opacity: 1; }

.portfolio-item .pf-content {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(180deg, transparent 40%, rgba(10,40,85,0.85) 100%);
  z-index: 2;
}
.portfolio-item .pf-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.25);
}
.portfolio-item h3 { color: #fff; font-size: 1.32rem; }
.portfolio-item p { color: rgba(255,255,255,0.88); font-size: 0.9rem; margin-top: 6px; }

.pf-1 { background: linear-gradient(135deg, #2E7DD7, #0A2855); }
.pf-2 { background: linear-gradient(135deg, #FFD83D, #FF8C42); }
.pf-3 { background: linear-gradient(135deg, #4FA8FF, #1A5FA8); }
.pf-4 { background: linear-gradient(135deg, #1A5FA8, #4FA8FF); }
.pf-5 { background: linear-gradient(135deg, #0A2855, #2E7DD7); }
.pf-6 { background: linear-gradient(135deg, #FF6B9D, #C2185B); }

/* Floating shapes inside portfolio for visual interest */
.portfolio-item::after {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  z-index: 1;
  animation: float3 8s ease-in-out infinite;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: var(--grad-blue);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,216,61,0.22) 0%, transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(79,168,255,0.32) 0%, transparent 40%);
  animation: meshShift 12s ease-in-out infinite;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: 18px; }
.cta-banner .lead { color: rgba(255,255,255,0.88); margin: 0 auto 28px; }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}
.contact-info { background: var(--c-bg-cool); border-radius: var(--r-xl); padding: 36px; }
.contact-info h3 { margin-bottom: 18px; }
.contact-info ul { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info li .ic {
  width: 44px; height: 44px;
  background: #fff; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-blue); flex-shrink: 0;
  border: 1px solid var(--c-line);
  transition: transform .3s, background .3s, color .3s;
}
.contact-info li:hover .ic {
  background: var(--grad-blue);
  color: #fff;
  transform: scale(1.1) rotate(-6deg);
}
.contact-info li strong { display: block; color: var(--c-blue-deep); margin-bottom: 2px; }
.contact-info li span, .contact-info li a { color: var(--c-ink-soft); font-size: 0.95rem; }
.contact-info li a:hover { color: var(--c-blue); }

.form-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-card h3 { margin-bottom: 8px; }
.form-card .lead { font-size: 0.95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-blue-deep);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  font-size: 0.96rem;
  color: var(--c-ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46,125,215,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 580px) { .row-2 { grid-template-columns: 1fr; } }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-card .small { font-size: 0.78rem; color: var(--c-muted); margin-top: 12px; text-align: center; }

.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 380px; display: block; border: 0; }

/* ==================== FAQ ==================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  margin-bottom: 12px;
  transition: border-color .2s, box-shadow .25s, transform .25s;
}
.faq details[open] {
  border-color: rgba(46,125,215,0.4);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 600;
  color: var(--c-blue-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--c-blue);
  font-weight: 300;
  transition: transform .3s;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq .a { padding: 0 24px 22px; color: var(--c-ink-soft); font-size: 0.96rem; line-height: 1.65; }

/* ==================== BLOG ==================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card .thumb {
  aspect-ratio: 16/10;
  background: var(--grad-blue);
  position: relative;
  overflow: hidden;
}
.blog-card .thumb::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,216,61,0.32) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.18) 0%, transparent 50%);
  animation: meshShift 14s ease-in-out infinite;
}
.blog-card .thumb::after {
  content: "";
  position: absolute;
  top: 30%; left: 30%;
  width: 40%; height: 40%;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  animation: float1 9s ease-in-out infinite;
}
.blog-card .thumb.b2 { background: linear-gradient(135deg, #4FA8FF, #1A5FA8); }
.blog-card .thumb.b3 { background: linear-gradient(135deg, #FFD83D, #FF8C42); }
.blog-card .thumb.b4 { background: linear-gradient(135deg, #1A5FA8, #4FA8FF); }
.blog-card .thumb.b5 { background: linear-gradient(135deg, #0A2855, #2E7DD7); }
.blog-card .thumb.b6 { background: linear-gradient(135deg, #2E7DD7, #FFD83D); }

/* Blog illustration SVG containers */
.blog-card .thumb svg.illus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.blog-card .thumb svg.illus * { transition: transform .5s ease; }
.blog-card:hover .thumb svg.illus .anim-float { transform: translateY(-4px); }
.blog-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta {
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-blue); font-weight: 600; margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.93rem; flex: 1; }
.blog-card .read-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; color: var(--c-blue); font-weight: 600;
  transition: gap .25s ease;
}
.blog-card .read-more:hover { gap: 14px; }

/* ==================== ARTICLE ==================== */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 0;
}
.article .meta { color: var(--c-muted); font-size: 0.88rem; margin-bottom: 16px; }
.article h1 { margin-bottom: 26px; font-size: clamp(1.9rem, 4vw, 3rem); }
.article p { margin-bottom: 18px; font-size: 1.04rem; }
.article h2 { margin: 38px 0 14px; }
.article h3 { margin: 26px 0 12px; }
.article ul, .article ol { margin: 0 0 22px 22px; }
.article li { margin-bottom: 8px; color: var(--c-ink-soft); }

/* ==================== PAGE HEADER ==================== */
.page-header {
  padding: clamp(50px, 8vw, 100px) 0 clamp(36px, 5vw, 64px);
  background: var(--grad-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,40,85,0.05) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 80%);
  animation: gridShift 30s linear infinite;
}
.page-header::after {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,216,61,0.18), transparent 70%);
  filter: blur(40px);
  animation: blobFloat 14s ease-in-out infinite;
  pointer-events: none;
}
.page-header > * { position: relative; }
.page-header h1 { margin: 16px 0 18px; }
.page-header .lead { margin: 0 auto 28px; }
.page-header .breadcrumb {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 14px;
}
.page-header .breadcrumb a { color: var(--c-muted); }
.page-header .breadcrumb a:hover { color: var(--c-blue); }
.page-header .breadcrumb .sep { opacity: 0.5; }

/* ==================== FOOTER ==================== */
.footer {
  background: linear-gradient(180deg, var(--c-blue-deep) 0%, #061833 100%);
  color: rgba(255,255,255,0.78);
  padding: 70px 0 30px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,216,61,0.5), transparent);
}
.footer::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,168,255,0.12), transparent 70%);
  filter: blur(60px);
  animation: blobFloat 18s ease-in-out infinite;
}
.footer > * { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand img {
  height: 72px;
  filter: brightness(0) invert(1);
}
.footer h4 { color: #fff; margin-bottom: 18px; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.18em; font-family: var(--f-sans); font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.93rem; transition: color .2s, padding .2s; }
.footer a:hover { color: var(--c-yellow); padding-left: 4px; }
.footer .brand-block .brand-name { color: #fff; display: inline; }
.footer .brand-block p { color: rgba(255,255,255,0.65); margin-top: 16px; max-width: 36ch; font-size: 0.93rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a:hover { color: var(--c-yellow); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: #fff;
  transition: background .25s, transform .25s, color .25s;
}
.socials a:hover { background: var(--c-yellow); color: var(--c-blue-deep); transform: translateY(-3px) rotate(8deg); }

/* ==================== STICKY CTA ==================== */
.sticky-cta {
  position: fixed;
  bottom: 16px; right: 16px;
  z-index: 90;
  display: none;
  gap: 8px;
}
@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  .sticky-cta .btn { padding: 12px 16px; font-size: 0.84rem; box-shadow: var(--shadow-glow); }
  .sticky-cta .btn-ghost { padding: 12px; min-width: 44px; }
}

/* ==================== UTIL ==================== */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }
.text-center { text-align: center; }
.mt-l { margin-top: 36px; }
.bg-soft { background: var(--c-bg-soft); }
.bg-cool { background: var(--c-bg-cool); }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s cubic-bezier(.4,0,.2,1), transform .85s cubic-bezier(.4,0,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal].is-visible:nth-child(2) { transition-delay: .1s; }
[data-reveal].is-visible:nth-child(3) { transition-delay: .2s; }
[data-reveal].is-visible:nth-child(4) { transition-delay: .3s; }

/* Selection */
::selection { background: var(--c-yellow); color: var(--c-blue-deep); }

/* Scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--c-bg-soft); }
::-webkit-scrollbar-thumb { background: var(--c-blue-light); border-radius: 6px; border: 2px solid var(--c-bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--c-blue); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;
  }
}

/* ==================== MOBILE RESPONSIVE OVERRIDES ==================== */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav { padding: 12px 0; }
  .brand img { height: 52px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 0.8rem; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 70px; }
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: 2.1rem; }
  .hero .lead { font-size: 1rem; }
  .hero-trust { gap: 18px 24px; }
  .hero-trust .stat strong { font-size: 1.5rem; }
  .hero-visual { max-width: 380px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why-item { padding: 18px 16px; }
  .why-item .num { font-size: 1.8rem; }
  .why-item h4 { font-size: 0.92rem; }
  .why-item p { font-size: 0.85rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 24px 22px; }
  .service-card { padding: 28px 22px; }
  .atelier-features { grid-template-columns: repeat(2, 1fr); }
  .atelier-features .item { padding: 16px; }
  .atelier-features .item strong { font-size: 1.25rem; }
  .testimonial { padding: 26px 22px; }
  .footer { padding: 56px 0 28px; margin-top: 40px; }
  .contact-info, .form-card { padding: 28px 22px; }
  .map-wrap iframe { height: 280px; }
}

@media (max-width: 480px) {
  .hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-trust .stat { text-align: left; }
  .hero-trust .stat strong { font-size: 1.25rem; }
  .hero-trust .stat span { font-size: 0.74rem; line-height: 1.2; }
  .nav-cta .hide-mobile { display: none !important; }
}
