/* ============================================
   Multiagencja Ubezpieczeniowa Wojciech Brzóska
   styles.css — Mobile-first, performant CSS
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-navy: #0f2043;
  --color-navy-light: #1a3266;
  --color-navy-dark: #0a1730;
  --color-gold: #c8952e;
  --color-gold-light: #e0b45a;
  --color-gold-dark: #a07824;
  --color-white: #ffffff;
  --color-off-white: #f8f9fc;
  --color-gray-50: #f0f2f7;
  --color-gray-100: #e2e6ef;
  --color-gray-200: #c5cad8;
  --color-gray-300: #9ba3b8;
  --color-gray-500: #5c6478;
  --color-gray-700: #3a3f4e;
  --color-gray-900: #1a1d27;
  --color-text: #2a2d35;
  --color-text-light: #5c6478;
  --color-success: #16a34a;
  --color-error: #dc2626;

  --font-primary: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Sora', var(--font-primary);

  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --fs-sm: clamp(0.8125rem, 0.77rem + 0.21vw, 0.875rem);
  --fs-base: clamp(0.9375rem, 0.88rem + 0.29vw, 1rem);
  --fs-md: clamp(1rem, 0.93rem + 0.36vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.63vw, 1.375rem);
  --fs-xl: clamp(1.375rem, 1.15rem + 1.13vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);
  --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  --fs-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 32, 67, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 32, 67, 0.08);
  --shadow-lg: 0 8px 30px rgba(15, 32, 67, 0.1);
  --shadow-xl: 0 16px 50px rgba(15, 32, 67, 0.12);
  --shadow-gold: 0 4px 20px rgba(200, 149, 46, 0.25);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-height: 70px;
  --container-max: 1200px;
  --container-narrow: 800px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ---------- Skip to content (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 10000;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- Section shared ---------- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section--gray {
  background-color: var(--color-off-white);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200, 149, 46, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--navy:hover {
  background: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 0.625rem 1.375rem;
  font-size: var(--fs-xs);
}

.btn:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--color-white);
  transition: color var(--transition-base);
  z-index: 1001;
}

.header.is-scrolled .header__logo {
  color: var(--color-navy);
}

.header__logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header__logo-name {
  font-size: var(--fs-sm);
  font-weight: 700;
}

.header__logo-sub {
  font-size: var(--fs-xs);
  font-weight: 400;
  opacity: 0.8;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__list {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-white);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.header.is-scrolled .nav__link {
  color: var(--color-gray-500);
}

.header.is-scrolled .nav__link:hover,
.header.is-scrolled .nav__link.is-active {
  color: var(--color-navy);
}

.nav__cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.hamburger__line {
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header.is-scrolled .hamburger__line {
  background: var(--color-navy);
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-navy-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color var(--transition-fast);
}

.mobile-nav.is-open .mobile-nav__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open .mobile-nav__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav.is-open .mobile-nav__link:nth-child(7) { transition-delay: 0.4s; }

.mobile-nav__link:hover {
  color: var(--color-gold);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, var(--color-navy-light) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Canvas particle layer */
/* Canvas size is set by JS (width/height attributes).
   Do NOT set CSS width/height — it would scale the bitmap and cause blur. */
.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
}

/* Soft luminous orbs — gradient blobs with blur */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  pointer-events: none;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(200, 149, 46, 0.12) 0%, transparent 70%);
  animation: orbDrift1 22s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  bottom: -8%;
  left: -8%;
  background: radial-gradient(circle, rgba(26, 50, 102, 0.35) 0%, transparent 70%);
  animation: orbDrift2 18s ease-in-out infinite;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  top: 45%;
  left: 55%;
  background: radial-gradient(circle, rgba(200, 149, 46, 0.07) 0%, transparent 70%);
  animation: orbDrift3 25s ease-in-out infinite;
}

/* Thin rotating orbital rings */
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 149, 46, 0.08);
  pointer-events: none;
}

/* Ring 1 — static ellipse, planet orbits via ::before */
.hero__ring--1 {
  width: 650px;
  height: 450px;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: none;
}

.hero__ring--1::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 149, 46, 0.6);
  box-shadow: 0 0 16px 4px rgba(200, 149, 46, 0.3), 0 0 4px 1px rgba(200, 149, 46, 0.5);
  /* orbit: offset-path follows the ellipse shape */
  offset-path: ellipse(50% 50%);
  animation: planetOrbit 60s linear infinite;
}

/* Ring 2 — static ellipse, planet orbits via ::before */
.hero__ring--2 {
  width: 480px;
  height: 340px;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%) rotate(8deg);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.04);
  animation: none;
}

.hero__ring--2::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.15), 0 0 4px 1px rgba(255, 255, 255, 0.35);
  offset-path: ellipse(50% 50%);
  animation: planetOrbit 45s linear infinite reverse;
}

/* Radial glow anchor point */
.hero__glow {
  position: absolute;
  top: 40%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 149, 46, 0.06) 0%, transparent 60%);
  border-radius: 50%;
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(20px, -25px) scale(1.03); }
  70% { transform: translate(-10px, 10px) scale(0.98); }
}

@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, -15px); }
}

@keyframes planetOrbit {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 5rem;
  max-width: 600px;
}

.hero__agency-name {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-xl);
  opacity: 0.85;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__title {
  color: var(--color-white);
  font-weight: 300;
  font-size: var(--fs-4xl);
  line-height: 1.15;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__title-accent {
  font-weight: 600;
  color: var(--color-gold-light);
}

.hero__description {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fadeInUp 0.8s ease 0.8s both;
}

/* Shield illustration */
.hero__illustration {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll chevron — minimal, does not overlap content */
.hero__scroll-chevron {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.3);
  animation: chevronBounce 2.5s ease-in-out infinite, fadeInUp 0.8s ease 1.4s both;
  pointer-events: none;
}

.hero__scroll-chevron svg {
  width: 100%;
  height: 100%;
}

@keyframes chevronBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.55; }
}

/* ============================================
   ABOUT
   ============================================ */
.about__grid {
  display: grid;
  gap: var(--space-3xl);
}

.about__story p {
  color: var(--color-text-light);
  font-size: var(--fs-md);
  line-height: 1.8;
}

.about__highlight {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-2xl) var(--space-2xl);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about__highlight::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 149, 46, 0.12), transparent 70%);
  pointer-events: none;
}

.about__highlight::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

.about__highlight-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about__highlight-header h3 {
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.about__highlight-header p {
  color: var(--color-gold-light);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.about__team {
  display: grid;
  gap: var(--space-xl);
}

.about__person {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.about__person-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xl);
}

.about__person-info h4 {
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.about__person-role {
  color: var(--color-gold-light);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.about__person-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* ============================================
   WHY US
   ============================================ */
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.why__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-100);
  position: relative;
  overflow: hidden;
}

.why__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.why__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why__card:hover::before {
  transform: scaleX(1);
}

.why__card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(200, 149, 46, 0.1), rgba(200, 149, 46, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.why__card:hover .why__card-icon {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
}

.why__card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-gold);
  transition: color var(--transition-base);
}

.why__card:hover .why__card-icon svg {
  color: var(--color-white);
}

.why__card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

.why__card p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
}

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-100);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-gold-light);
}

.service-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.service-card__cta {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
}

.service-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card__cta {
  color: var(--color-gold);
}

.service-card:hover .service-card__cta svg {
  transform: translateX(4px);
}

/* ============================================
   PARTNERS
   ============================================ */
.partners__text {
  text-align: center;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  font-size: var(--fs-md);
}

.partners__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xl);
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  filter: grayscale(100%) opacity(0.5);
  transition: all var(--transition-base);
  flex: 0 0 auto;
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

.partner-logo svg {
  height: 40px;
  width: auto;
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
  position: relative;
  padding: 0 var(--space-lg);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: var(--space-sm);
  white-space: nowrap;
}

.stat__label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  max-width: 180px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ============================================
   CONTACT
   ============================================ */
.contact__grid {
  display: grid;
  gap: var(--space-3xl);
}

.contact__form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-100);
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.875rem var(--space-lg);
  border: 2px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  transition: all var(--transition-fast);
  background: var(--color-off-white);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-gold);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(200, 149, 46, 0.1);
}

.form__input.is-error,
.form__textarea.is-error {
  border-color: var(--color-error);
}

.form__error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--color-error);
  margin-top: 0.25rem;
}

.form__group.has-error .form__error {
  display: block;
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

.form__submit {
  width: 100%;
}

.form__success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form__success.is-visible {
  display: block;
}

.form__success svg {
  width: 60px;
  height: 60px;
  color: var(--color-success);
  margin: 0 auto var(--space-lg);
}

.form__success h3 {
  margin-bottom: var(--space-sm);
}

.form__success p {
  color: var(--color-text-light);
}

/* Contact info */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact__info-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact__info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(200, 149, 46, 0.1), rgba(200, 149, 46, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
}

.contact__info-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.contact__info-text {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.contact__info-text a {
  color: var(--color-gold-dark);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact__info-text a:hover {
  color: var(--color-gold);
}

.contact__map {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--color-gray-100);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-top: var(--space-md);
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-white);
  font-size: var(--fs-md);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer__link:hover {
  color: var(--color-gold-light);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--color-gold-light);
}

/* ============================================
   RESPONSIVE — Tablet (640px+)
   ============================================ */
@media (min-width: 640px) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Vertical dividers between stats — CSS only, no extra HTML */
  .stat + .stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
  }

  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__team {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE — Desktop (900px+)
   ============================================ */
@media (min-width: 900px) {
  .hamburger {
    display: none !important;
  }

  .nav__cta {
    display: inline-flex;
  }

  .hero__content {
    max-width: 600px;
  }

  .hero__illustration {
    display: flex;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 380px;
    height: 380px;
    align-items: center;
    justify-content: center;
    opacity: 0.18;
  }

  .hero__illustration svg {
    width: 100%;
    height: 100%;
  }

  .hero__ring--1 {
    width: 720px;
    height: 500px;
  }

  .hero__ring--2 {
    width: 530px;
    height: 370px;
  }

  .why__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-2xl);
    align-items: start;
  }

  .about__highlight {
    padding: var(--space-2xl) var(--space-2xl);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================================
   RESPONSIVE — Large (1100px+)
   ============================================ */
@media (min-width: 1100px) {
  .container {
    padding-left: var(--space-2xl);
    padding-right: var(--space-2xl);
  }

  .hero__illustration {
    width: 450px;
    height: 450px;
    opacity: 0.2;
  }
}

/* ============================================
   RESPONSIVE — Mobile (<640px)
   ============================================ */
@media (max-width: 639px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
  }

  .hero__content {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
    text-align: center;
    max-width: 100%;
  }

  .hero__agency-name {
    font-size: var(--fs-xs);
    letter-spacing: 0.15em;
  }

  .hero__title {
    font-size: var(--fs-3xl);
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__ring,
  .hero__glow {
    display: none;
  }

  .hero__orb--1 { width: 300px; height: 300px; filter: blur(60px); }
  .hero__orb--2 { width: 250px; height: 250px; filter: blur(60px); }
  .hero__orb--3 { display: none; }

  .about__highlight {
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
  }

  .about__person-avatar {
    width: 56px;
    height: 56px;
    font-size: var(--fs-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .partners__grid {
    gap: var(--space-lg);
  }

  .partner-logo svg {
    height: 30px;
  }

  .contact__map {
    height: 220px;
  }
}

/* ---------- Focus states (a11y) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .header,
  .hamburger,
  .mobile-nav,
  .hero__bg,
  .hero__scroll-chevron,
  .hero__illustration,
  .contact__map,
  .btn,
  .form__submit {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
    line-height: 1.5;
  }

  .hero {
    min-height: auto;
    background: none;
    color: #000;
    padding: 1cm 0;
  }

  .hero__title,
  .hero__description {
    color: #000;
  }

  .section {
    padding: 1cm 0;
    break-inside: avoid;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  h1, h2, h3, h4 {
    color: #000;
  }

  a {
    text-decoration: underline;
  }

  .why__card,
  .service-card,
  .contact__form-wrapper {
    border: 1px solid #ccc;
    box-shadow: none;
  }

  .stats {
    background: #f0f0f0;
    color: #000;
  }

  .stat__number {
    color: #333;
  }

  .footer {
    background: #f0f0f0;
    color: #333;
  }
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(200, 149, 46, 0.2);
  color: var(--color-navy);
}
