/* ============================================
   ESB GLOBAL LAW ADVISORY - Premium Redesign
   Inspired by Stacey Ann Taylor & Khaitan & Co
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #22223a;
  --primary-deep: #161628;
  --accent: #c9a96e;
  --accent-light: #dfc28f;
  --accent-dark: #a8863f;
  --white: #ffffff;
  --off-white: #f8f6f3;
  --light-gray: #f0ece6;
  --medium-gray: #8a8a8a;
  --text-dark: #2c2c2c;
  --text-light: #b0b0b0;
  --border-light: rgba(201, 169, 110, 0.2);
  --border-medium: rgba(201, 169, 110, 0.4);
  --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 7rem 0;
}

.text-accent { color: var(--accent); }
.text-white { color: var(--white); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
  padding-left: 3rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.section-label[style*="padding-left:0"]::before,
.section-label[style*="padding-left: 0"]::before {
  display: none;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.section-title.white {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--medium-gray);
  max-width: 600px;
  line-height: 1.8;
}

/* ---------- Disclaimer Overlay (Khaitan-style) ---------- */
.disclaimer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.disclaimer-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.disclaimer-box {
  background: var(--white);
  max-width: 680px;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: disclaimerIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes disclaimerIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.disclaimer-header {
  background: var(--primary);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.disclaimer-header svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
  flex-shrink: 0;
}

.disclaimer-header h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.disclaimer-body {
  padding: 2.5rem;
}

.disclaimer-body p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1.25rem;
}

.disclaimer-body p:last-of-type {
  margin-bottom: 2rem;
}

.disclaimer-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
  cursor: pointer;
}

.disclaimer-checkbox input[type="checkbox"] {
  display: none;
}

.disclaimer-checkbox .checkmark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-medium);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  margin-top: 2px;
}

.disclaimer-checkbox input:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.disclaimer-checkbox input:checked + .checkmark svg {
  opacity: 1;
}

.disclaimer-checkbox .checkmark svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
  opacity: 0;
  transition: var(--transition-fast);
}

.disclaimer-checkbox span {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}

.disclaimer-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  opacity: 0.4;
  pointer-events: none;
}

.disclaimer-btn.active {
  opacity: 1;
  pointer-events: auto;
}

.disclaimer-btn.active:hover {
  background: var(--accent-dark);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 2rem;
}

.preloader-logo span {
  color: var(--accent);
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  animation: preloaderSlide 1.2s ease infinite;
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-logo-text span {
  color: var(--accent);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-phone {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-phone svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  background: var(--primary-deep);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.04) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.08;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(201, 169, 110, 0.5) 50px,
      rgba(201, 169, 110, 0.5) 51px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(201, 169, 110, 0.5) 50px,
      rgba(201, 169, 110, 0.5) 51px
    );
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 6rem;
}

.hero-content {
  padding-right: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 100px;
  margin-bottom: 2.5rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-badge span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero-title .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.hero-stat {
  position: relative;
  padding-left: 1rem;
}

.hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--accent);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-number span {
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* Hero right side */
.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-visual-main {
  width: 100%;
  height: 520px;
  background: url('/images/team-photo.jpg') center/cover no-repeat;
  border: 1px solid rgba(201, 169, 110, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-visual-main::before {
  display: none;
}

@keyframes rotateGradient {
  100% { transform: rotate(360deg); }
}

.hero-scales {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 200px;
  margin-bottom: 2rem;
}

.hero-scales svg {
  width: 100%;
  height: 100%;
}

.hero-visual-text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 2rem;
}

.hero-visual-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero-visual-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-float-card {
  position: absolute;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 1.25rem 1.5rem;
  z-index: 3;
}

.hero-float-card.top-right {
  top: 2rem;
  right: -2rem;
}

.hero-float-card.bottom-left {
  bottom: 3rem;
  left: -2rem;
}

.hero-float-card-icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 169, 110, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.hero-float-card-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.hero-float-card h4 {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.hero-float-card p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}

/* ---------- Scrolling Marquee ---------- */
.marquee-section {
  background: var(--primary);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  white-space: nowrap;
}

.marquee-item span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- About Section ---------- */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  background: linear-gradient(to top, var(--primary-deep), transparent);
}

.about-image-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.about-image-overlay p {
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-accent-box {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 180px;
  height: 180px;
  border: 2px solid var(--accent);
  z-index: -1;
}

.about-content p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.85;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--medium-gray);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ---------- Practice Areas / Services ---------- */
.services-section {
  background: var(--off-white);
}

.services-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--border-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--accent);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon svg {
  fill: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
  transition: transform 0.3s ease;
}

.service-link:hover svg {
  transform: translateX(6px);
}

/* ---------- Stats / Experience Bar ---------- */
.stats-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/lady-justice.jpg') center/cover no-repeat;
  opacity: 0.06;
}

.stats-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(201, 169, 110, 0.08), transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(201, 169, 110, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- Why Choose Us ---------- */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  cursor: default;
}

.why-item:hover {
  background: var(--off-white);
  border-color: var(--border-light);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--border-medium);
  line-height: 1;
  flex-shrink: 0;
}

.why-item:hover .why-number {
  color: var(--accent);
}

.why-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.7;
}

.why-visual {
  position: relative;
}

.why-visual-box {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.why-visual-box::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 20rem;
  color: rgba(201, 169, 110, 0.06);
  position: absolute;
  top: -2rem;
  left: 1rem;
  line-height: 1;
}

.why-visual-quote {
  position: relative;
  z-index: 1;
  padding: 3rem;
  text-align: center;
}

.why-visual-quote p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.why-visual-quote cite {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-style: normal;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--off-white);
}

.testimonials-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition-smooth);
}

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

.testimonial-quote-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
}

.testimonial-quote-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--accent);
  opacity: 0.3;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--medium-gray);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--primary-deep);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08), transparent 70%);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content .section-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .nav-logo {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  border-color: var(--accent);
  background: rgba(201, 169, 110, 0.1);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

.footer-social a:hover svg {
  fill: var(--accent);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column ul li a:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom p a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom p a:hover {
  color: var(--accent);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: var(--primary-deep);
  background-size: cover;
  background-position: center;
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 15, 26, 0.92), rgba(26, 26, 46, 0.85));
  z-index: 0;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.06), transparent 60%);
  z-index: 0;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header .section-title {
  color: var(--white);
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.82rem;
  margin-top: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--accent);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--primary);
  padding: 3rem;
  height: 100%;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-info-card > p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.contact-info-item h4 {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ---------- Contact Reach Card ---------- */
.contact-reach-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  height: 100%;
}

.reach-card-inner {
  padding: 3rem;
}

.reach-card-inner h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.reach-card-inner > p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Action Buttons */
.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.5rem;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: var(--transition-smooth);
  margin-bottom: 1rem;
  cursor: pointer;
}

.contact-action-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* WhatsApp */
.whatsapp-btn {
  background: #25D366;
  color: #ffffff;
}

.whatsapp-btn:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
}

/* Call */
.call-btn {
  background: var(--primary);
  color: var(--accent);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.call-btn:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(34, 34, 58, 0.3);
}

/* Email */
.email-btn {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--light-gray);
}

.email-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 169, 110, 0.15);
}

/* Note */
.reach-card-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
  font-size: 0.8rem;
  color: var(--medium-gray);
  line-height: 1.5;
}

.reach-card-note svg {
  color: var(--accent);
  margin-top: 1px;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.field-error {
  display: block;
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 0.35rem;
  min-height: 1rem;
}

/* Toast notification */
.form-toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  z-index: 9999;
  transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-toast.visible {
  bottom: 30px;
}

.form-toast.success {
  background: #22223a;
  color: #c9a96e;
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.form-toast.error {
  background: #2c1215;
  color: #f5a5a5;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Submit button loading spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Services Page ---------- */
.all-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-full-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-full-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.service-full-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}

.service-full-card:hover::after {
  transform: scaleX(1);
}

.service-full-card .service-icon {
  margin-bottom: 1.5rem;
}

.service-full-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-full-card p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.75;
}

/* ---------- About Page ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

.team-card-img {
  height: 280px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-img span {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.4;
}

.team-card-info {
  padding: 1.5rem;
  text-align: center;
}

.team-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.team-card-info p {
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Nav Dropdown ---------- */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition-smooth);
  display: block;
  border: none;
  margin: 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--primary-deep);
  border: 1px solid rgba(201, 169, 110, 0.15);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

/* Two-column layout for Practice Areas dropdown (10 items) */
[aria-label="Practice Areas submenu"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 420px;
  padding: 0.75rem;
  gap: 0;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6) !important;
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  color: var(--accent) !important;
  background: rgba(201, 169, 110, 0.05);
}

/* ---------- Europe Country Grid ---------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.country-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.country-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-strong);
  transform: translateY(-8px);
}

.country-card:hover::before {
  transform: scaleX(1);
}

.country-flag {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.country-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.country-card p {
  font-size: 0.82rem;
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.country-card .service-link {
  font-size: 0.75rem;
}

/* ---------- FIDIC Timeline ---------- */
.fidic-services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fidic-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition-smooth);
}

.fidic-item:first-child {
  padding-top: 0;
}

.fidic-item:hover {
  padding-left: 1rem;
}

.fidic-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border-medium);
  line-height: 1;
  transition: var(--transition-smooth);
}

.fidic-item:hover .fidic-number {
  color: var(--accent);
}

.fidic-item h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.fidic-item p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.75;
}

/* FIDIC Contract Types Grid */
.fidic-contracts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.fidic-contract-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
}

.fidic-contract-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: var(--transition-smooth);
}

.fidic-contract-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}

.fidic-contract-card:hover::before {
  transform: scaleY(1);
}

.fidic-book-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  border-radius: 2px;
}

.fidic-book-label.red { background: #fee2e2; color: #991b1b; }
.fidic-book-label.yellow { background: #fef3c7; color: #92400e; }
.fidic-book-label.silver { background: #e5e7eb; color: #374151; }
.fidic-book-label.gold { background: #fef3c7; color: #78350f; }
.fidic-book-label.green { background: #d1fae5; color: #065f46; }
.fidic-book-label.white { background: #f3f4f6; color: #1f2937; }

.fidic-contract-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.fidic-contract-card p {
  font-size: 0.85rem;
  color: var(--medium-gray);
  line-height: 1.7;
}

/* ---------- Country Page Content ---------- */
.content-section {
  background: var(--white);
}

.content-body {
  max-width: 800px;
}

.content-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary);
  margin: 2.5rem 0 1rem;
}

.content-body h3:first-child {
  margin-top: 0;
}

.content-body p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.content-body ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.content-body ul li {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.content-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Awards Section ---------- */
.awards-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.awards-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.awards-header {
  text-align: center;
  margin-bottom: 4rem;
}

.awards-header .section-label {
  padding-left: 0;
}

.awards-header .section-label::before {
  display: none;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.award-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.award-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.award-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-5px);
}

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

.award-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.award-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.award-card p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

/* ---------- Blog Listing ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.blog-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-card-category {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(201, 169, 110, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.blog-card-date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--medium-gray);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.7;
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition-fast);
}

.blog-card:hover .blog-card-link {
  gap: 0.8rem;
}

/* ---------- Blog Article ---------- */
.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

.blog-article-body {
  max-width: 100%;
}

.blog-meta-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.blog-meta-date,
.blog-meta-read {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--medium-gray);
}

.blog-meta-date svg,
.blog-meta-read svg {
  opacity: 0.6;
}

.blog-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-weight: 400;
}

.blog-article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.blog-article-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(44, 44, 44, 0.8);
  margin-bottom: 1.2rem;
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.blog-article-body li {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(44, 44, 44, 0.8);
  margin-bottom: 0.6rem;
}

.blog-article-body li strong {
  color: var(--primary);
}

/* Blog Comparison Table */
.blog-comparison-table {
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
}

.blog-comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.blog-comparison-table th {
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-comparison-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--light-gray);
  color: rgba(44, 44, 44, 0.8);
}

.blog-comparison-table tr:hover td {
  background: var(--off-white);
}

/* Blog FAQ */
.blog-faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.blog-faq-section h2 {
  margin-top: 0;
}

/* Blog CTA Box */
.blog-cta-box {
  background: var(--primary);
  padding: 2.5rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.blog-cta-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.blog-cta-box p {
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 1.5rem !important;
  font-size: 0.95rem !important;
}

.blog-cta-box .btn {
  display: inline-block;
}

/* Blog Related */
.blog-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.blog-related h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.blog-related-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.blog-related-item:hover {
  background: var(--light-gray);
}

.blog-related-category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.blog-related-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.4;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-sidebar-card {
  background: var(--off-white);
  padding: 1.8rem;
  border-radius: 12px;
}

.blog-sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-light);
}

.blog-sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar-card li {
  margin-bottom: 0.6rem;
}

.blog-sidebar-card a {
  font-size: 0.9rem;
  color: rgba(44, 44, 44, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
}

.blog-sidebar-card a:hover {
  color: var(--accent);
}

.blog-sidebar-cta {
  background: var(--primary);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.blog-sidebar-cta h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.blog-sidebar-cta p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-sidebar-cta .btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
}

.blog-sidebar-cta .btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { padding-right: 0; }
  .hero-description { margin: 0 auto 2.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .about-grid,
  .why-grid,
  .contact-grid,
  .contact-details-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid,
  .testimonials-grid,
  .all-services-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .fidic-contracts-grid {
    grid-template-columns: 1fr;
  }

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

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .blog-sidebar {
    position: static;
  }
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
  .blog-meta-bar {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .blog-article-body h2 {
    font-size: 1.3rem;
  }
  .blog-cta-box {
    padding: 1.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-contact .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-deep);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.mobile-open a {
    font-size: 1.5rem;
    color: var(--white);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .awards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .award-card {
    padding: 2rem 1.5rem;
  }

  .services-grid,
  .testimonials-grid,
  .all-services-grid,
  .team-grid,
  .country-grid {
    grid-template-columns: 1fr;
  }

  .fidic-item {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .fidic-number {
    font-size: 1.8rem;
  }

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

  .stat-item::after {
    display: none !important;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .disclaimer-body {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-badge span {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- FAQ Section ---------- */
.faq-section {
  background: var(--off-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  padding: 1.5rem 2rem;
  margin: 0;
  cursor: pointer;
  position: relative;
  padding-right: 3rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Text-based +/− icon for h3 FAQ questions (europe pages) */
h3.faq-question::after {
  content: '+';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 300;
  transition: var(--transition-fast);
}

.faq-item.active h3.faq-question::after {
  content: '\2212';
}

/* SVG chevron icon for button FAQ questions (practice area pages) */
button.faq-question svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  display: block;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  transition: var(--transition-fast);
}

.faq-item.active button.faq-question svg {
  transform: rotate(180deg);
}

button.faq-question span {
  flex: 1;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Team Section ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.team-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}

.team-card-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card-initials {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
}

.team-card-info {
  padding: 1.5rem 2rem;
}

.team-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.team-card-info .team-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.team-card-info p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.team-card-info .team-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.team-card-info .team-specialty {
  background: var(--off-white);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    padding-right: 2.5rem;
  }

  h3.faq-question::after {
    right: 1.5rem;
  }

  button.faq-question {
    padding-right: 1.5rem;
  }

  button.faq-question svg {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    min-width: 18px;
  }

  .faq-answer p {
    padding: 0 1.5rem 1.25rem;
  }

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