:root {
  --navy-950: #1a2b52;
  --navy-900: #243768;
  --navy-800: #2b4178;
  --navy-700: #3a5494;
  --gold-500: #d4882e;
  --gold-400: #e8a33a;
  --orange-600: #d4782e;
  --orange-500: #e89a3a;
  --burgundy-700: #6f1727;
  --burgundy-600: #8f2334;
  --cream: #faf6ee;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-800: #1f2937;
  --shadow-sm: 0 1px 3px rgba(26, 43, 82, 0.06);
  --shadow-soft: 0 20px 60px rgba(26, 43, 82, 0.1);
  --shadow-strong: 0 30px 80px rgba(26, 43, 82, 0.25);
  --shadow-glow: 0 0 40px rgba(232, 163, 58, 0.15);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --header-height: 80px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--gray-800);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.85rem 1rem;
  color: var(--navy-950);
  background: var(--gold-400);
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

/* ─── Header ─── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  color: var(--white);
  background: linear-gradient(180deg, rgba(26, 43, 82, 0.95), rgba(26, 43, 82, 0.6));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.4);
  transition: background 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo), height 300ms var(--ease-out-expo);
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(26, 43, 82, 0.97);
  box-shadow: 0 8px 40px rgba(26, 43, 82, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.brand-logo:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.site-header.is-scrolled .brand-logo {
  height: 46px;
  padding: 5px 12px;
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease;
}

.nav-panel {
  position: fixed;
  top: var(--header-height);
  right: 16px;
  left: 16px;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  visibility: hidden;
  background: rgba(26, 43, 82, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.nav-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: 0;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 150ms ease, background 150ms ease;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.language-select {
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  margin-left: 0.75rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background 150ms ease, border-color 150ms ease;
}

.language-select option {
  color: var(--navy-950);
  background: var(--white);
}

.language-select:hover,
.language-select:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold-400);
}

.footer-language-select {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  margin-top: 0.75rem;
}

.nav-cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500)) !important;
  box-shadow: 0 8px 24px rgba(232, 163, 58, 0.25);
}

.nav-cta:hover {
  box-shadow: 0 12px 32px rgba(232, 163, 58, 0.35) !important;
}

/* ─── Hero ─── */

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-video,
.hero-overlay,
.hero-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.1) brightness(0.9);
  transition: opacity 600ms var(--ease-out-expo);
}

.hero-video.is-switching { opacity: 0.5; }

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(232, 163, 58, 0.2), transparent 50%),
    linear-gradient(135deg, rgba(26, 43, 82, 0.92) 0%, rgba(26, 43, 82, 0.7) 40%, rgba(26, 43, 82, 0.5) 100%),
    linear-gradient(180deg, rgba(26, 43, 82, 0.3) 0%, rgba(26, 43, 82, 0.85) 100%);
}

.hero-grain {
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.hero-content {
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding-block: calc(var(--header-height) + 48px) 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.02;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 620px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform 200ms var(--ease-out-expo), box-shadow 200ms ease, border-color 200ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 12px 36px rgba(232, 163, 58, 0.3);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 48px rgba(232, 163, 58, 0.4);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.hero-trust span {
  padding: 0.4rem 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* ─── Sections ─── */

.section {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.section-heading {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section h2,
.contact-section h2 {
  color: var(--navy-950);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.about-copy p:not(.eyebrow),
.contact-copy p {
  color: var(--gray-500);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.75;
}

/* ─── Services ─── */

.section-services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card,
.feature-card,
.about-card,
.consultation-form {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.service-card {
  min-height: 250px;
  padding: 1.5rem;
  transition: transform 250ms var(--ease-out-expo), box-shadow 250ms ease, border-color 250ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--gold-400), var(--orange-500));
  opacity: 0;
  transition: opacity 250ms ease;
}

.service-card:hover {
  border-color: rgba(232, 163, 58, 0.3);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  transform: translateY(-6px);
}

.service-card:hover::before { opacity: 1; }

.service-card-featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  border-color: transparent;
}

.service-card-featured::before { opacity: 1; }

.service-card-featured .service-number,
.service-card-featured li {
  color: rgba(255, 255, 255, 0.75);
}

.service-card-crim {
  grid-column: 1 / -1;
  color: var(--white);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(232, 163, 58, 0.18), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(212, 120, 46, 0.1), transparent 50%),
    linear-gradient(160deg, #0f1d3a 0%, #162a50 40%, #1a3060 100%);
  border: 2px solid rgba(232, 163, 58, 0.35);
  padding: clamp(2rem, 5vw, 3rem);
  min-height: 360px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(15, 29, 58, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-card-crim::before {
  height: 5px;
  background: linear-gradient(90deg, var(--gold-400), var(--orange-500), var(--gold-400));
  opacity: 1;
}

.service-card-crim::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 163, 58, 0.08), transparent 55%);
  pointer-events: none;
}

.service-card-crim .service-number {
  color: var(--gold-400);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-shadow: 0 0 12px rgba(232, 163, 58, 0.4);
}

.service-card-crim h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.service-card-crim li {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card-crim li::before {
  background: var(--gold-400);
  width: 7px;
  height: 7px;
  box-shadow: 0 0 8px rgba(232, 163, 58, 0.5);
}

.crim-card-badge {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--gold-400);
  background: rgba(232, 163, 58, 0.08);
  border: 2px solid rgba(232, 163, 58, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(232, 163, 58, 0.15);
}

.crim-card-tagline {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  font-style: italic;
  max-width: 620px;
  line-height: 1.6;
}

.crim-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding: 0.7rem 1.4rem;
  color: var(--navy-950);
  font-weight: 800;
  font-size: 0.88rem;
  background: linear-gradient(135deg, var(--gold-400), var(--orange-500));
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(232, 163, 58, 0.3);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.crim-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 163, 58, 0.4);
}

@media (min-width: 900px) {
  .service-card-crim {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.service-number {
  color: var(--gold-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.service-card h3,
.feature-card h3 {
  margin: 0.65rem 0 0.75rem;
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
}

.service-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.service-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--gold-500);
  border-radius: 50%;
}

/* ─── Crimmigration Section ─── */

.crimmigration-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  border-top: 3px solid var(--gold-400);
}

.crim-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.crim-header h2 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  color: var(--navy-950);
  font-family: var(--font-display);
  line-height: 1.02;
  margin: 0;
}

.crim-lead {
  margin-top: 1rem;
  color: var(--gray-500);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
}

.crim-grid {
  display: grid;
  gap: 1.5rem;
}

.crim-expertise {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
}

.crim-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(232, 163, 58, 0.15);
  border: 1px solid rgba(232, 163, 58, 0.3);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.crim-badge-icon {
  font-size: 1.2rem;
  color: var(--gold-400);
}

.crim-badge-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.crim-expertise h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--white);
}

.crim-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.crim-points li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
}

.crim-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
}

.crim-cases {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.crim-cases h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  color: var(--navy-950);
}

.crim-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.crim-case-item {
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.crim-case-item:hover {
  border-color: rgba(232, 163, 58, 0.3);
  box-shadow: 0 8px 24px rgba(232, 163, 58, 0.08);
}

.crim-case-item strong {
  display: block;
  color: var(--navy-950);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.crim-case-item p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.6;
}

.crim-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2rem;
  background: rgba(26, 43, 82, 0.04);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
}

.crim-cta p {
  margin: 0 0 1rem;
  color: var(--navy-950);
  font-size: 1.1rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .crim-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

/* ─── About ─── */

.about-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
  overflow: hidden;
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.about-copy { align-self: center; }

.about-copy h2 { color: var(--white); }

.about-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.75rem 0 1.5rem;
}

.profile-photo-frame {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-400), var(--orange-500));
  box-shadow: 0 16px 48px rgba(232, 163, 58, 0.25), 0 0 0 6px rgba(232, 163, 58, 0.08);
}

.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--navy-950);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.profile-name {
  margin: 0;
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.profile-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-copy p:not(.eyebrow):not(.profile-name):not(.profile-title) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.about-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: none;
}

.about-card div {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition: background 200ms ease;
}

.about-card div:hover {
  background: rgba(255, 255, 255, 0.08);
}

.stat {
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
}

.about-card p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Why Section ─── */

.why-section {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  padding: 1.5rem;
  transition: transform 250ms var(--ease-out-expo), box-shadow 250ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.feature-card span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--gold-400);
  background: var(--navy-950);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--gray-500);
}

/* ─── Contact ─── */

.contact-section {
  color: var(--white);
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
}

.contact-copy { align-self: center; }

.contact-copy h2,
.contact-copy p { color: var(--white); }

.contact-copy p { color: rgba(255, 255, 255, 0.72); }

.contact-details {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--gold-400);
}

.consultation-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-strong);
}

.consultation-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--navy-950);
  font-size: 0.82rem;
  font-weight: 700;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  color: var(--navy-950);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.consultation-form textarea { resize: vertical; }

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  background: var(--white);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(232, 163, 58, 0.15);
}

.language-field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin: 0;
  padding: 1rem;
  color: var(--navy-950);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
}

.language-field legend {
  padding-inline: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.language-field label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.language-field input {
  width: auto;
  min-height: auto;
}

.form-note {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.form-note.is-success { color: #166534; }

/* ─── Footer ─── */

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem 2rem;
}

.footer-brand { color: var(--white); }

.footer-brand .brand-logo { height: 44px; }

.footer-text { max-width: 400px; margin-top: 1rem; }

.site-footer h2 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.site-footer a,
.site-footer button {
  display: block;
  width: max-content;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 0;
  padding: 0;
  transition: color 150ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  color: var(--gold-400);
}

.disclaimer {
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.disclaimer p {
  max-width: 800px;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

/* ─── Animations ─── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  animation: revealUp 800ms var(--ease-out-expo) forwards;
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─── */

@media (min-width: 620px) {
  .shell { width: min(1200px, calc(100% - 48px)); }

  .services-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .full { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .nav-panel {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    visibility: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .nav-panel a {
    min-height: 40px;
    padding-inline: 0.85rem;
    font-size: 0.82rem;
  }

  .language-select {
    margin-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 1rem;
    border-radius: 10px;
  }

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

  .service-card-featured { grid-column: span 2; }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
    gap: clamp(3rem, 6vw, 5rem);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }
}

@media (min-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .hero-actions .button { width: 100%; }

  .about-profile {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo-frame { width: 100px; height: 100px; }

  .profile-info { align-items: center; }
}

/* ─── Chatbot Widget ─── */

#chatbot-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #1a2b52, #243768);
  color: var(--gold-400);
  border: 2px solid rgba(232, 163, 58, 0.3);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(26, 43, 82, 0.4), 0 0 0 0 rgba(232, 163, 58, 0);
  transition: transform 250ms var(--ease-out-expo), box-shadow 250ms ease;
  animation: chatPulse 4s ease-in-out infinite;
}

#chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 48px rgba(26, 43, 82, 0.5), 0 0 0 6px rgba(232, 163, 58, 0.1);
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(26, 43, 82, 0.4), 0 0 0 0 rgba(232, 163, 58, 0); }
  50% { box-shadow: 0 12px 40px rgba(26, 43, 82, 0.4), 0 0 0 12px rgba(232, 163, 58, 0.08); }
}

#chatbot-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 95;
  width: 400px;
  max-width: calc(100vw - 2rem);
  height: 580px;
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: none;
  border-radius: 24px;
  box-shadow: 0 32px 100px rgba(26, 43, 82, 0.3), 0 0 0 1px rgba(26, 43, 82, 0.06);
  overflow: hidden;
  transition: opacity 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo);
}

#chatbot-widget.chatbot-hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  pointer-events: none;
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, #1a2b52, #243768);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
}

.chatbot-header img {
  border-radius: 50%;
  border: 2px solid rgba(232, 163, 58, 0.4);
}

.chatbot-header-info {
  display: flex;
  flex-direction: column;
}

.chatbot-header-name {
  font-size: 0.92rem;
  font-weight: 700;
}

.chatbot-header-status {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

#chatbot-close {
  margin-left: auto;
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 150ms, color 150ms;
}

#chatbot-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
}

.chatbot-msg {
  max-width: 85%;
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  animation: chatFadeIn 400ms var(--ease-out-expo);
}

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

.chatbot-bot {
  background: linear-gradient(135deg, #f0f4ff, #f8f9fc);
  color: var(--gray-800);
  border: 1px solid rgba(26, 43, 82, 0.06);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}

.chatbot-user {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: var(--white);
  border-bottom-right-radius: 6px;
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(26, 43, 82, 0.15);
}

.chatbot-disclaimer {
  padding: 0.6rem 0.85rem;
  background: linear-gradient(135deg, #fffdf5, #fffbeb);
  border: 1px solid rgba(232, 163, 58, 0.2);
  border-radius: 12px;
  font-size: 0.7rem;
  color: #78590a;
  line-height: 1.5;
  text-align: center;
}

.chatbot-step-indicator {
  text-align: center;
  padding: 0.4rem;
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.chatbot-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(26, 43, 82, 0.06);
  background: linear-gradient(180deg, #fcfcfd, #f8f9fb);
  min-height: 0;
}

.chatbot-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.chatbot-opt {
  padding: 0.7rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-950);
  cursor: pointer;
  text-align: left;
  transition: all 200ms var(--ease-out-expo);
}

.chatbot-opt:hover {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: var(--white);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(26, 43, 82, 0.15);
}

.chatbot-opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.chatbot-opt-grid .chatbot-opt {
  text-align: center;
  padding: 0.6rem 0.5rem;
  font-size: 0.78rem;
}

.chatbot-cta {
  display: block;
  text-align: center;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--white);
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(232, 163, 58, 0.25);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.chatbot-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 163, 58, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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