/*
Theme Name: Cabinet Bahassani
Theme URI: https://avocatcomores.com
Author: Cabinet d'Avocats Bahassani
Author URI: https://avocatcomores.com
Description: Thème WordPress professionnel pour le Cabinet d'Avocats Bahassani - Cabinet d'avocats renommé à Moroni, Comores, spécialisé en droit des affaires, droit maritime, droit bancaire et financier.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cabinet-bahassani
Tags: law-firm, business, professional, one-page, custom-menu, featured-images, translation-ready
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
*/

/* ========================================
   CSS VARIABLES & DESIGN TOKENS
   ======================================== */
:root {
  /* Palette — Bleu nuit + Or */
  --cb-navy: #0F1D35;
  --cb-navy-light: #1B2A4A;
  --cb-navy-mid: #263B5E;
  --cb-gold: #C8A45C;
  --cb-gold-light: #D4B87A;
  --cb-gold-dark: #A8863C;
  --cb-cream: #F8F6F1;
  --cb-white: #FFFFFF;
  --cb-gray-50: #FAFAF8;
  --cb-gray-100: #F0EDE6;
  --cb-gray-200: #E0DCD3;
  --cb-gray-300: #C5C0B5;
  --cb-gray-400: #9A9488;
  --cb-gray-500: #6E685C;
  --cb-gray-600: #4A453C;
  --cb-gray-700: #2D2A24;
  --cb-text: #1A1814;
  --cb-text-light: #5A554C;
  --cb-success: #2E7D32;
  --cb-error: #C62828;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --header-height: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --duration-slow: 600ms;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,29,53,0.06);
  --shadow-md: 0 4px 16px rgba(15,29,53,0.08);
  --shadow-lg: 0 8px 32px rgba(15,29,53,0.12);
  --shadow-xl: 0 16px 48px rgba(15,29,53,0.16);
  --shadow-gold: 0 4px 24px rgba(200,164,92,0.2);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

a {
  color: var(--cb-gold-dark);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--cb-gold);
}

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

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

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

ul, ol { padding-left: var(--space-lg); }

::selection {
  background: var(--cb-gold);
  color: var(--cb-navy);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

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

.section--dark {
  background-color: var(--cb-navy);
  color: var(--cb-cream);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--cb-white);
}

.section--cream {
  background-color: var(--cb-cream);
}

.section-label {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cb-gold);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--cb-gold);
  margin-top: var(--space-md);
}

.section-title--center::after {
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }
.text-gold { color: var(--cb-gold); }
.text-navy { color: var(--cb-navy); }
.text-light { color: var(--cb-text-light); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.85rem 2rem;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--cb-gold);
  color: var(--cb-navy);
  border-color: var(--cb-gold);
}

.btn--primary:hover {
  background: var(--cb-gold-dark);
  border-color: var(--cb-gold-dark);
  color: var(--cb-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--cb-gold);
  border-color: var(--cb-gold);
}

.btn--outline:hover {
  background: var(--cb-gold);
  color: var(--cb-navy);
}

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

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

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

.btn--white:hover {
  background: transparent;
  color: var(--cb-white);
  border-color: var(--cb-white);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--duration-base) var(--ease-out);
  height: var(--header-height);
}

.site-header.scrolled {
  background: rgba(15, 29, 53, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

.site-logo__icon {
  width: 44px;
  height: 44px;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cb-white);
  letter-spacing: 0.5px;
}

.site-logo__tagline {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  color: var(--cb-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  padding: 0;
  margin: 0;
}

.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--duration-fast);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cb-gold);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  color: var(--cb-white);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after,
.nav-menu .current_page_item a::after {
  width: 100%;
}

.nav-cta .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--cb-white);
  transition: all var(--duration-base) var(--ease-out);
}

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

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

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

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,164,92,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(200,164,92,0.05) 0%, transparent 50%);
}

.hero__pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(200,164,92,1) 35px,
    rgba(200,164,92,1) 36px
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__label {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--cb-gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--cb-white);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__title span {
  color: var(--cb-gold);
  display: block;
}

.hero__description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cb-gold), transparent);
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  background: var(--cb-white);
  border-bottom: 1px solid var(--cb-gray-100);
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

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

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--cb-gray-200);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cb-navy);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-number .stat-suffix {
  font-size: 1.5rem;
  color: var(--cb-gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--cb-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image__frame {
  position: relative;
  overflow: hidden;
}

.about-image__frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(20%);
}

.about-image__accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--cb-gold);
  z-index: -1;
}

.about-content {
  padding-left: var(--space-xl);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

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

.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cb-cream);
  color: var(--cb-gold);
  border-radius: 0;
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.value-item p {
  font-size: 0.85rem;
  color: var(--cb-text-light);
  margin: 0;
}

/* ========================================
   EXPERTISE / PRACTICE AREAS
   ======================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.expertise-card {
  background: var(--cb-white);
  padding: var(--space-2xl);
  position: relative;
  border: 1px solid var(--cb-gray-100);
  transition: all var(--duration-base) var(--ease-out);
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--cb-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

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

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

.expertise-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cb-navy), var(--cb-navy-light));
  color: var(--cb-gold);
  margin-bottom: var(--space-lg);
}

.expertise-card__icon svg {
  width: 28px;
  height: 28px;
}

.expertise-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.expertise-card p {
  font-size: 0.9rem;
  color: var(--cb-text-light);
  line-height: 1.7;
}

.expertise-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cb-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--space-lg);
  transition: gap var(--duration-fast);
}

.expertise-card__link:hover {
  gap: var(--space-md);
  color: var(--cb-gold);
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  text-align: center;
  position: relative;
}

.team-card__photo {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-lg);
  position: relative;
  overflow: hidden;
}

.team-card__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--cb-gold);
  z-index: 1;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.05);
}

.team-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cb-navy), var(--cb-navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cb-gold);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: var(--cb-gold);
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.team-card p {
  font-size: 0.9rem;
  color: var(--cb-text-light);
  max-width: 350px;
  margin: 0 auto;
}

.team-card__contact {
  margin-top: var(--space-lg);
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.team-card__contact a {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  color: var(--cb-text-light);
}

.team-card__contact a:hover {
  color: var(--cb-gold);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-slider {
  max-width: 800px;
  margin: var(--space-3xl) auto 0;
  text-align: center;
  position: relative;
}

.testimonial-item {
  display: none;
  opacity: 0;
  transition: opacity var(--duration-slow);
}

.testimonial-item.active {
  display: block;
  opacity: 1;
}

.testimonial-quote {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--cb-cream);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--cb-gold);
  position: absolute;
  top: -30px;
  left: -10px;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--cb-white);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--cb-gold);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.testimonial-dot.active {
  background: var(--cb-gold);
  width: 30px;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--cb-gold-dark) 0%, var(--cb-gold) 50%, var(--cb-gold-light) 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(15,29,53,0.03) 40px,
    rgba(15,29,53,0.03) 41px
  );
}

.cta-banner h2 {
  color: var(--cb-navy);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: var(--cb-navy-mid);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  margin-top: var(--space-3xl);
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

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

.contact-info-item__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cb-navy);
  color: var(--cb-gold);
}

.contact-info-item__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--cb-text-light);
  line-height: 1.6;
}

.contact-info-item a:hover {
  color: var(--cb-gold);
}

/* Contact Form */
.contact-form {
  background: var(--cb-gray-50);
  padding: var(--space-2xl);
  border: 1px solid var(--cb-gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-lg);
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cb-navy);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.3px;
}

.form-group label .required {
  color: var(--cb-gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--cb-text);
  background: var(--cb-white);
  border: 1px solid var(--cb-gray-200);
  transition: border-color var(--duration-fast);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cb-gold);
  box-shadow: 0 0 0 3px rgba(200,164,92,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9488' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--cb-gold);
}

.form-consent label {
  font-size: 0.8rem;
  color: var(--cb-text-light);
  line-height: 1.5;
}

.form-status {
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  display: none;
}

.form-status--success {
  display: block;
  background: rgba(46,125,50,0.08);
  border: 1px solid var(--cb-success);
  color: var(--cb-success);
}

.form-status--error {
  display: block;
  background: rgba(198,40,40,0.08);
  border: 1px solid var(--cb-error);
  color: var(--cb-error);
}

/* ========================================
   MAP
   ======================================== */
.map-section {
  height: 400px;
  position: relative;
  background: var(--cb-gray-100);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%) contrast(1.1);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--cb-navy);
  color: rgba(255,255,255,0.6);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-about .site-logo {
  margin-bottom: var(--space-lg);
}

.footer-about p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cb-white);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--cb-gold);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--duration-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links a:hover {
  color: var(--cb-gold);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--cb-gold);
  margin-top: 3px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.5);
}

.footer-contact-item a:hover {
  color: var(--cb-gold);
}

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--cb-gold);
}

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

/* ========================================
   PAGE HERO (internal pages)
   ======================================== */
.page-hero {
  background: linear-gradient(165deg, var(--cb-navy) 0%, var(--cb-navy-light) 100%);
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,164,92,0.06) 0%, transparent 70%);
}

.page-hero h1 {
  color: var(--cb-white);
  margin-bottom: var(--space-md);
  position: relative;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.page-hero .breadcrumb a {
  color: var(--cb-gold);
}

/* ========================================
   SINGLE PAGE CONTENT
   ======================================== */
.page-content {
  padding: var(--space-5xl) 0;
}

.page-content h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.page-content ul,
.page-content ol {
  margin-bottom: var(--space-lg);
}

.page-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all var(--duration-slow) var(--ease-out);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all var(--duration-slow) var(--ease-out);
}

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

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--cb-navy);
  color: var(--cb-gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-base) var(--ease-out);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--cb-gold);
  color: var(--cb-navy);
  transform: translateY(-3px);
}

/* ========================================
   404 PAGE
   ======================================== */
.error-404 {
  text-align: center;
  padding: var(--space-5xl) 0;
}

.error-404 h1 {
  font-size: 8rem;
  color: var(--cb-gold);
  line-height: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-content {
    padding-left: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--cb-navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--duration-base) var(--ease-out);
    box-shadow: var(--shadow-xl);
  }

  .main-nav.open {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }

  .nav-menu a {
    font-size: 1.1rem;
  }

  .hero__title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero__actions {
    flex-direction: column;
  }

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

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

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

  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

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

  .container {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero__content {
    padding-top: var(--space-3xl);
  }
}
