/* ==========================================================================
   La Firme Avocats — Complete Theme Stylesheet
   Compiled from original source files with WordPress compatibility
   ========================================================================== */


/* ==========================================================================
   SECTION 0: WordPress Reset / Style Neutralizer
   Neutralizes WordPress default styles (block library, classic theme, global styles)
   so original La Firme CSS takes full precedence.
   ========================================================================== */

/* --- Neutralize WordPress Block Library --- */
.wp-block-group,
.wp-block-columns,
.wp-block-column,
.wp-block-cover,
.wp-block-image,
.wp-block-paragraph,
.wp-block-heading,
.wp-block-list,
.wp-block-quote,
.wp-block-separator,
.wp-block-spacer,
.wp-block-buttons,
.wp-block-button {
  all: unset;
  display: revert;
  box-sizing: border-box;
}

/* --- Reset WordPress global styles injected via <style id="global-styles-inline-css"> --- */
body.wp-site-blocks,
.wp-site-blocks,
.wp-site-blocks > * {
  margin: 0 !important;
  padding: 0 !important;
}

/* Kill WP block default margins */
.wp-block-group,
.wp-block-columns,
.wp-block-column {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* Reset WordPress figure/image defaults */
.wp-block-image {
  margin: 0 !important;
}

.wp-block-image figure,
.wp-block-image img {
  margin: 0;
  padding: 0;
}

/* Reset WordPress heading styles */
.wp-block-heading {
  margin: 0;
  padding: 0;
}

/* Neutralize classic-theme-styles */
body {
  --wp--preset--font-size--small: unset;
  --wp--preset--font-size--medium: unset;
  --wp--preset--font-size--large: unset;
  --wp--preset--font-size--x-large: unset;
}

/* Remove WP default link underline */
.entry-content a,
.wp-block-paragraph a,
.wp-block-list a,
.wp-block-heading a {
  text-decoration: none;
  color: inherit;
}

/* Remove WP default list styles */
.entry-content ul,
.entry-content ol,
.wp-block-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* Override WP's .has-background padding */
[class*="has-background"] {
  padding: 0 !important;
}

/* Override WP block spacing presets */
[class*="wp-block-"] {
  --wp--style--block-gap: 0;
}

/* Neutralize WP layout styles */
.is-layout-flow > *,
.is-layout-constrained > *,
.is-layout-flex {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Reset WordPress button block styles */
.wp-block-button .wp-block-button__link,
.wp-block-button__link {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  box-sizing: border-box;
}

/* Kill WP separator styles */
.wp-block-separator {
  border: none !important;
  margin: 0 !important;
  height: auto !important;
}

/* Dequeue WordPress default gallery styles */
.wp-block-gallery {
  margin: 0 !important;
  padding: 0 !important;
}

/* Reset WP navigation block */
.wp-block-navigation,
.wp-block-navigation-item {
  all: unset;
}

/* WordPress admin bar spacing fix */
body.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

/* Ensure WordPress content wrapper does not add layout */
.entry-content,
.page-content,
.post-content,
.site-content,
.site-main {
  max-width: none;
  margin: 0;
  padding: 0;
}


/* ==========================================================================
   SECTION 1: settings/_variables.css — Design Tokens
   ========================================================================== */

:root {
  /* -- Colors ------------------------------------------------------------ */
  --color-black:         #0A0A0A;
  --color-gray-900:      #1A1A1A;
  --color-gray-800:      #2D2D2D;
  --color-gray-600:      #4A4A4A;
  --color-gray-muted:    #8A8A8A;
  --color-gray-300:      #BCBCBC;
  --color-white:         #FFFFFF;
  --color-cream:         #FAFAF8;

  --color-red:           #C8102E;
  --color-red-hover:     #9B0A1E;
  --color-red-light:     rgba(200, 16, 46, 0.1);

  /* Semantic */
  --color-bg:            var(--color-black);
  --color-bg-alt:        var(--color-gray-900);
  --color-bg-card:       var(--color-gray-800);
  --color-bg-light:      var(--color-cream);
  --color-text:          var(--color-white);
  --color-text-muted:    var(--color-gray-muted);
  --color-text-dark:     var(--color-black);
  --color-accent:        var(--color-red);
  --color-accent-hover:  var(--color-red-hover);

  /* -- Typography -------------------------------------------------------- */
  --font-heading:        'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid scale */
  --text-xs:             clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm:             clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base:           clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg:             clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --text-xl:             clamp(1.25rem, 1.1rem + 0.75vw, 1.6rem);
  --text-2xl:            clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
  --text-3xl:            clamp(1.8rem, 1.4rem + 2vw, 3rem);
  --text-4xl:            clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --text-hero:           clamp(2.5rem, 1rem + 5vw, 5rem);

  --weight-normal:       400;
  --weight-medium:       500;
  --weight-semibold:     600;
  --weight-bold:         700;
  --weight-black:        900;

  --leading-tight:       1.2;
  --leading-snug:        1.35;
  --leading-normal:      1.6;
  --leading-relaxed:     1.75;

  --tracking-tight:      -0.02em;
  --tracking-normal:     0;
  --tracking-wide:       0.05em;
  --tracking-wider:      0.1em;
  --tracking-widest:     0.2em;

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

  --section-padding:     clamp(4rem, 8vw, 8rem);
  --container-max:       1280px;
  --container-narrow:    960px;
  --container-padding:   clamp(1rem, 3vw, 2rem);

  /* -- Borders & Radii --------------------------------------------------- */
  --radius-sm:           4px;
  --radius-md:           8px;
  --radius-lg:           12px;
  --radius-full:         9999px;

  --border-thin:         1px solid rgba(255, 255, 255, 0.1);
  --border-light:        1px solid rgba(0, 0, 0, 0.1);
  --border-red:          2px solid var(--color-red);

  /* -- Shadows ----------------------------------------------------------- */
  --shadow-sm:           0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md:           0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg:           0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-xl:           0 16px 50px rgba(0, 0, 0, 0.6);
  --shadow-red:          0 4px 20px rgba(200, 16, 46, 0.3);

  /* -- Transitions ------------------------------------------------------- */
  --transition-fast:     150ms ease;
  --transition-base:     300ms ease;
  --transition-slow:     500ms ease;
  --transition-slower:   800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* -- Z-index layers ---------------------------------------------------- */
  --z-base:              1;
  --z-dropdown:          100;
  --z-sticky:            200;
  --z-header:            300;
  --z-overlay:           400;
  --z-modal:             500;
  --z-floating-cta:      600;
  --z-toast:             700;

  /* -- Header ------------------------------------------------------------ */
  --header-height:       80px;
  --header-height-scrolled: 64px;
}


/* ==========================================================================
   SECTION 2: settings/_reset.css — Modern CSS Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

textarea {
  white-space: revert;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

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


/* ==========================================================================
   SECTION 3: settings/_typography.css — @font-face & Type Scale
   Font paths adjusted for WordPress theme: ../fonts/
   ========================================================================== */

/* -- Playfair Display (Headings) ----------------------------------------- */

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display/PlayfairDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display/PlayfairDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display/PlayfairDisplay-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display/PlayfairDisplay-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display/PlayfairDisplay-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* -- Inter (Body) -------------------------------------------------------- */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -- Type Scale ---------------------------------------------------------- */

h1, .h1 {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h3, .h3 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}

h4, .h4 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}

h5, .h5 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}

h6, .h6 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}

/* -- Overline / Label ---------------------------------------------------- */

.overline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-red);
}

.subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}


/* ==========================================================================
   SECTION 4: elements/_base.css — Base Element Styles
   ========================================================================== */

html {
  font-size: 100%;
  height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

/* -- Links --------------------------------------------------------------- */

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

a:hover {
  color: var(--color-red);
}

a:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* -- Paragraphs ---------------------------------------------------------- */

p {
  max-width: 72ch;
  margin-bottom: var(--space-md);
}

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

/* -- Strong / Emphasis --------------------------------------------------- */

strong, b {
  font-weight: var(--weight-bold);
}

em, i {
  font-style: italic;
}

/* -- Images -------------------------------------------------------------- */

img {
  height: auto;
}

/* Broken / missing image fallback */
img[src$=".svg"],
img[src$=".webp"],
img[src$=".jpg"],
img[src$=".png"] {
  background: var(--color-gray-800);
}

.founder-spotlight__image-wrap,
.office-card__image-wrap,
.media-card__image-wrap {
  background: var(--color-gray-800);
}

/* -- No-JS fallback ----------------------------------------------------- */

noscript .reveal,
noscript .stagger-children > * {
  opacity: 1 !important;
  transform: none !important;
}

/* -- Skip Link ----------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: var(--z-toast);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-red);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--transition-fast);
}

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

/* -- Selection ----------------------------------------------------------- */

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

/* -- Scrollbar ----------------------------------------------------------- */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-900);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-600);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-muted);
}

/* -- Containers ---------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

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

/* -- Section ------------------------------------------------------------- */

.section {
  padding-block: var(--section-padding);
}

.section--dark {
  background-color: var(--color-bg);
  color: var(--color-white);
}

.section--alt {
  background-color: var(--color-bg-alt);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section--light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

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

/* -- Section Header ------------------------------------------------------ */

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

.section__header .overline {
  margin-bottom: var(--space-sm);
  display: block;
}

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

.section__header .subtitle {
  max-width: 60ch;
  margin-inline: auto;
}

/* -- Divider ------------------------------------------------------------- */

.divider {
  width: 60px;
  height: 3px;
  background: var(--color-red);
  border: none;
  margin: var(--space-lg) auto;
}

.divider--left {
  margin-left: 0;
}

/* -- Counter Items ------------------------------------------------------- */

.counter-item {
  padding: var(--space-xl);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.counter-item:last-child {
  border-right: none;
}

.counter-item__number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--color-red);
  margin-bottom: var(--space-xs);
}

.counter-item__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* -- Founder Spotlight --------------------------------------------------- */

.founder-spotlight {
  display: grid;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 768px) {
  .founder-spotlight {
    grid-template-columns: 1fr 1.2fr;
  }
}

.founder-spotlight__image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.founder-spotlight__image {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.founder-spotlight__content .overline {
  display: block;
  margin-bottom: var(--space-sm);
}

.founder-spotlight__content h2 {
  margin-bottom: var(--space-sm);
}

.founder-spotlight__content p {
  color: var(--color-gray-300);
  line-height: var(--leading-relaxed);
}

/* -- Office Cards -------------------------------------------------------- */

.office-card {
  background: var(--color-gray-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.office-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.office-card__image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.office-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-card__body {
  padding: var(--space-xl);
}

.office-card__city {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-md);
}

.office-card__address {
  font-style: normal;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-sm);
}

.office-card__phone {
  display: inline-block;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-red);
  margin-bottom: var(--space-sm);
}

.office-card__phone:hover {
  color: var(--color-red-hover);
}


/* ==========================================================================
   SECTION 5: components/_buttons.css — Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

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

/* -- Primary (Red) ------------------------------------------------------- */

.btn--primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn--primary:hover {
  background-color: var(--color-red-hover);
  border-color: var(--color-red-hover);
  color: var(--color-white);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

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

/* -- Secondary (Outlined) ------------------------------------------------ */

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

.btn--secondary:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: translateY(-1px);
}

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

/* Dark background variant */
.section--light .btn--secondary,
.btn--secondary-dark {
  color: var(--color-black);
  border-color: var(--color-black);
}

.section--light .btn--secondary:hover,
.btn--secondary-dark:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* -- Ghost --------------------------------------------------------------- */

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: transparent;
  padding-inline: var(--space-md);
}

.btn--ghost:hover {
  color: var(--color-red);
}

.btn--ghost::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

.btn--ghost:hover::after {
  transform: translateX(4px);
}

/* -- Sizes --------------------------------------------------------------- */

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

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--text-base);
}

/* -- Icon Button --------------------------------------------------------- */

.btn__icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
}

/* -- Button Group -------------------------------------------------------- */

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.btn-group--center {
  justify-content: center;
}


/* ==========================================================================
   SECTION 6: components/_cards.css — Generic Card Styles
   ========================================================================== */

.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: var(--space-lg);
}

.card__overline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-red);
  margin-bottom: var(--space-xs);
  display: block;
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-snug);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-md);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  color: var(--color-red);
  gap: var(--space-sm);
}

.card__link::after {
  content: '\2192';
}

/* -- Card on light background -------------------------------------------- */

.section--light .card {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}


/* ==========================================================================
   SECTION 7: components/_modal.css — Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-gray-900);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.is-active .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  z-index: 1;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

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


/* ==========================================================================
   SECTION 8: components/_header.css — Header (Sticky, transparent -> solid)
   ========================================================================== */

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

.header--transparent {
  background-color: transparent;
}

.header--scrolled {
  background-color: rgba(10, 10, 10, 0.97);
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* -- Logo ---------------------------------------------------------------- */

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: var(--z-header);
}

.header__logo img,
.header__logo svg {
  height: 40px;
  width: auto;
  transition: height var(--transition-base);
}

.header--scrolled .header__logo img,
.header--scrolled .header__logo svg {
  height: 32px;
}

/* -- Navigation ---------------------------------------------------------- */

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

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-white);
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

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

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

/* -- Right side actions -------------------------------------------------- */

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header__phone {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.header__phone:hover {
  color: var(--color-red);
}

/* -- Language Toggle ----------------------------------------------------- */

.lang-toggle {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-gray-muted);
  padding: var(--space-xs);
  border: 1px solid var(--color-gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* -- Mobile Menu Toggle -------------------------------------------------- */

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: var(--z-header);
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition-base), opacity var(--transition-fast);
  transform-origin: center;
}

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

.header__burger.is-active span:nth-child(2) {
  opacity: 0;
}

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

/* -- Mobile Navigation --------------------------------------------------- */

@media (max-width: 1023px) {
  .header__nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
  }

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

  .nav__list {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .nav__link {
    font-size: var(--text-xl);
  }

  .header__burger {
    display: flex;
  }

  .header__phone,
  .header__cta {
    display: none;
  }

  .header__nav .header__actions {
    margin-top: var(--space-2xl);
    flex-direction: column;
  }

  .header__nav .header__phone,
  .header__nav .header__cta {
    display: flex;
  }
}


/* ==========================================================================
   SECTION 9: components/_hero.css — Hero (Full-screen with video/image bg)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);
}

/* -- Background video ---------------------------------------------------- */

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 30%, #252525 50%, #1A1A1A 70%, #0A0A0A 100%);
}

/* -- Overlay ------------------------------------------------------------- */

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.7) 100%
  );
  z-index: 1;
}

/* -- Content ------------------------------------------------------------- */

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--space-xl) var(--container-padding);
}

.hero__overline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-red);
  margin-bottom: var(--space-lg);
  display: block;
}

.hero__overline span {
  margin: 0 0.5em;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: italic;
  color: var(--color-red);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-300);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  line-height: var(--leading-relaxed);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* -- Scroll indicator ---------------------------------------------------- */

.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-gray-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  animation: pulse 2s infinite;
}

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

/* -- Mobile -------------------------------------------------------------- */

@media (max-width: 767px) {
  .hero__video {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__scroll {
    display: none;
  }
}


/* ==========================================================================
   SECTION 10: components/_trust-bar.css — Trust Bar (Media logos)
   ========================================================================== */

.trust-bar {
  padding-block: var(--space-2xl);
  background: var(--color-gray-900);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-bar__label {
  font-size: var(--text-sm);
  color: var(--color-gray-muted);
  text-align: center;
  margin-bottom: var(--space-lg);
  font-weight: var(--weight-medium);
}

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

.trust-bar__logo {
  height: 40px;
  width: auto;
  opacity: 0.65;
  filter: brightness(1.2) contrast(0.9);
  transition: opacity var(--transition-base), filter var(--transition-base);
}

.trust-bar__logo:hover {
  opacity: 1;
  filter: brightness(1.4) contrast(1);
}

@media (max-width: 767px) {
  .trust-bar__logos {
    gap: var(--space-xl);
  }

  .trust-bar__logo {
    height: 24px;
  }
}


/* ==========================================================================
   SECTION 11: components/_practice-cards.css — Practice Area Cards Grid
   ========================================================================== */

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}

.practice-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-gray-900);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--color-white);
}

.practice-card:hover {
  background: var(--color-gray-800);
  border-color: rgba(255, 255, 255, 0.12);
  border-left-color: var(--color-red);
  transform: translateY(-2px);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.practice-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
}

.practice-card__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.practice-card__title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}

.practice-card__arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  color: var(--color-red);
  font-size: var(--text-lg);
}

.practice-card:hover .practice-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* -- Responsive ---------------------------------------------------------- */

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

@media (min-width: 576px) and (max-width: 767px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .practice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ==========================================================================
   SECTION 12: components/_team-grid.css — Team Grid / Carousel
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.team-member {
  text-align: center;
  transition: transform var(--transition-base);
}

.team-member:hover {
  transform: translateY(-4px);
}

.team-member__photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  aspect-ratio: 3 / 4;
  background: var(--color-gray-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.team-member__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-member:hover .team-member__photo {
  transform: scale(1.05);
}

.team-member__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-lg);
}

.team-member:hover .team-member__overlay {
  opacity: 1;
}

.team-member__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.team-member__title {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.team-member__link {
  display: inline-block;
  color: var(--color-red);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-top: var(--space-xs);
}

/* -- Carousel (optional) ------------------------------------------------- */

.team-carousel {
  position: relative;
  overflow: hidden;
}

.team-carousel__track {
  display: flex;
  gap: var(--space-lg);
  transition: transform 500ms ease;
}

.team-carousel__track .team-member {
  flex: 0 0 calc(25% - var(--space-lg));
  min-width: 220px;
}

.team-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.8);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  transition: background var(--transition-fast);
  z-index: var(--z-base);
}

.team-carousel__arrow:hover {
  background: var(--color-red);
}

.team-carousel__arrow--prev {
  left: var(--space-md);
}

.team-carousel__arrow--next {
  right: var(--space-md);
}

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

.team-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-gray-600);
  transition: background var(--transition-fast);
}

.team-carousel__dot.is-active {
  background: var(--color-red);
}

/* -- Responsive ---------------------------------------------------------- */

@media (max-width: 767px) {
  .team-carousel__track .team-member {
    flex: 0 0 calc(100% - var(--space-lg));
  }

  .team-carousel__arrow {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .team-carousel__track .team-member {
    flex: 0 0 calc(50% - var(--space-lg));
  }
}


/* ==========================================================================
   SECTION 13: components/_media-section.css — Media Section (TV, Radio, Press)
   ========================================================================== */

.media-grid {
  display: grid;
  gap: var(--space-lg);
}

/* Feature card (larger) */
.media-grid--featured {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .media-grid--featured {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .media-grid--featured {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid--featured .media-card:first-child {
    grid-row: span 2;
  }
}

.media-card {
  background: var(--color-gray-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.media-card:hover {
  border-color: var(--color-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 16, 46, 0.15);
}

.media-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.media-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.media-card:hover .media-card__image {
  transform: scale(1.05);
}

.media-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-red);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-sm);
}

.media-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.media-card:hover .media-card__play {
  opacity: 1;
}

.media-card__play-icon {
  width: 60px;
  height: 60px;
  background: var(--color-red);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
}

.media-card__body {
  padding: var(--space-lg);
}

.media-card__category {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-red);
  margin-bottom: var(--space-xs);
  display: block;
}

.media-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-snug);
}

.media-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: var(--leading-normal);
}

.media-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.media-card__link:hover {
  gap: var(--space-sm);
  color: var(--color-red);
}

.media-card__link::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}


/* ==========================================================================
   SECTION 14: components/_contact-form.css — Contact Form & CTA Section
   ========================================================================== */

/* -- CTA Section (red background) ---------------------------------------- */

.cta-section {
  background: var(--color-red);
  padding-block: var(--section-padding);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

/* -- Form ---------------------------------------------------------------- */

.form {
  max-width: 640px;
  margin-inline: auto;
}

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

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.875rem var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
}

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

/* On dark (non-red) backgrounds */
.section--dark .form__input,
.section--dark .form__textarea {
  background: var(--color-gray-800);
  border-color: var(--color-gray-600);
}

.section--dark .form__input:focus,
.section--dark .form__textarea:focus {
  border-color: var(--color-red);
}

/* On light backgrounds */
.section--light .form__input,
.section--light .form__textarea {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--color-text-dark);
}

.section--light .form__input::placeholder,
.section--light .form__textarea::placeholder {
  color: var(--color-gray-muted);
}

.section--light .form__input:focus,
.section--light .form__textarea:focus {
  border-color: var(--color-red);
}

/* -- Validation ---------------------------------------------------------- */

.form__input.is-error,
.form__textarea.is-error {
  border-color: #ff4444;
}

.form__error {
  font-size: var(--text-xs);
  color: #ff4444;
  margin-top: var(--space-xs);
  display: none;
}

.form__input.is-error ~ .form__error,
.form__textarea.is-error ~ .form__error {
  display: block;
}

/* -- Honeypot ------------------------------------------------------------ */

.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* -- Submit -------------------------------------------------------------- */

.form__submit {
  width: 100%;
}

.cta-section .form__submit {
  background: var(--color-white);
  color: var(--color-red);
  border-color: var(--color-white);
}

.cta-section .form__submit:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* -- Form row (inline fields) -------------------------------------------- */

.form__row {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 576px) {
  .form__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -- Success message ----------------------------------------------------- */

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

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

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


/* ==========================================================================
   SECTION 15: components/_footer.css — Footer
   ========================================================================== */

.footer {
  background: var(--color-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-xl);
}

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

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* -- Brand column -------------------------------------------------------- */

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-lg);
}

.footer__description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-800);
  border-radius: var(--radius-full);
  color: var(--color-gray-muted);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* -- Link columns -------------------------------------------------------- */

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

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

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

/* -- Contact info -------------------------------------------------------- */

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-red);
  flex-shrink: 0;
  margin-top: 3px;
}

/* -- Bottom bar ---------------------------------------------------------- */

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-gray-muted);
}

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

.footer__legal a {
  font-size: var(--text-xs);
  color: var(--color-gray-muted);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--color-red);
}

/* -- Barreau badge ------------------------------------------------------- */

.footer__barreau {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-gray-muted);
}

.footer__barreau img {
  height: 32px;
  width: auto;
  opacity: 0.6;
}


/* ==========================================================================
   SECTION 16: components/_floating-cta.css — Floating CTA (Mobile sticky bottom)
   ========================================================================== */

.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-floating-cta);
  background: var(--color-black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-sm) var(--container-padding);
  display: none;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.floating-cta.is-visible {
  transform: translateY(0);
}

.floating-cta__inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: var(--container-max);
  margin-inline: auto;
}

.floating-cta__text {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  flex: 1;
}

.floating-cta .btn {
  flex-shrink: 0;
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
}

.floating-cta__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-gray-800);
  border-radius: var(--radius-full);
  color: var(--color-white);
  flex-shrink: 0;
}

.floating-cta__phone svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Only show on mobile */
@media (max-width: 767px) {
  .floating-cta {
    display: block;
  }
}


/* ==========================================================================
   SECTION 17: components/_attorney-profile.css — Attorney Profile Page
   ========================================================================== */

.profile {
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

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

@media (min-width: 1024px) {
  .profile__grid {
    grid-template-columns: 380px 1fr;
  }
}

/* -- Sidebar (photo + quick info) ---------------------------------------- */

.profile__sidebar {
  position: relative;
}

@media (min-width: 1024px) {
  .profile__sidebar {
    position: sticky;
    top: calc(var(--header-height-scrolled) + var(--space-xl));
    align-self: start;
  }
}

.profile__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  background: var(--color-gray-800);
}

.profile__name {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-xs);
}

.profile__role {
  font-size: var(--text-lg);
  color: var(--color-red);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-lg);
}

.profile__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.profile__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.profile__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-red);
  flex-shrink: 0;
}

.profile__contact-item a {
  color: var(--color-text-muted);
}

.profile__contact-item a:hover {
  color: var(--color-red);
}

/* -- Main content -------------------------------------------------------- */

.profile__content {
  max-width: 720px;
}

.profile__section {
  margin-bottom: var(--space-3xl);
}

.profile__section-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-red);
  display: inline-block;
}

.profile__bio p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-300);
  margin-bottom: var(--space-lg);
}

/* -- Formation ----------------------------------------------------------- */

.profile__education-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.profile__education-item {
  padding-left: var(--space-lg);
  border-left: 2px solid var(--color-gray-600);
}

.profile__education-item h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
}

.profile__education-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* -- Practice areas ------------------------------------------------------ */

.profile__practices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.profile__practice-tag {
  display: inline-flex;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-gray-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.profile__practice-tag:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

/* -- Media section ------------------------------------------------------- */

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

@media (min-width: 576px) {
  .profile__media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.profile__media-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-gray-800);
}

.profile__media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -- CTA ----------------------------------------------------------------- */

.profile__cta {
  background: var(--color-gray-900);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.profile__cta p {
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  color: var(--color-text-muted);
}


/* ==========================================================================
   SECTION 18: components/_practice-detail.css — Practice Area Detail Page
   ========================================================================== */

.practice-page {
  padding-top: calc(var(--header-height) + var(--space-2xl));
}

/* -- Breadcrumb ---------------------------------------------------------- */

.breadcrumb {
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '\203A';
  margin-right: var(--space-xs);
  color: var(--color-gray-600);
}

.breadcrumb__item a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb__item a:hover {
  color: var(--color-red);
}

.breadcrumb__item--active {
  color: var(--color-white);
  font-weight: var(--weight-medium);
}

/* -- Practice Hero ------------------------------------------------------- */

.practice-hero {
  margin-bottom: var(--space-3xl);
}

.practice-hero .overline {
  margin-bottom: var(--space-md);
  display: block;
}

.practice-hero h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

.practice-hero__lead {
  font-size: var(--text-lg);
  color: var(--color-gray-300);
  line-height: var(--leading-relaxed);
  max-width: 72ch;
}

/* -- Content layout ------------------------------------------------------ */

.practice-content {
  display: grid;
  gap: var(--space-3xl);
}

@media (min-width: 1024px) {
  .practice-content {
    grid-template-columns: 1fr 320px;
  }
}

.practice-main {
  max-width: 72ch;
}

.practice-main p {
  color: var(--color-gray-300);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.practice-main h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.practice-main h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.practice-main ul {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-lg);
}

.practice-main li {
  position: relative;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--color-gray-300);
  font-size: var(--text-base);
}

.practice-main li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-red);
  border-radius: var(--radius-full);
}

/* -- Sidebar ------------------------------------------------------------- */

.practice-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .practice-sidebar {
    position: sticky;
    top: calc(var(--header-height-scrolled) + var(--space-xl));
    align-self: start;
  }
}

.practice-sidebar__card {
  background: var(--color-gray-900);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.practice-sidebar__card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
}

/* -- FAQ Accordion ------------------------------------------------------- */

.faq {
  margin-top: var(--space-2xl);
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  text-align: left;
  cursor: pointer;
}

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  font-size: 1.25rem;
  transition: transform var(--transition-base);
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq__item.is-open .faq__answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

.faq__answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* -- Related attorneys --------------------------------------------------- */

.related-attorneys {
  background: var(--color-gray-900);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.related-attorneys h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
}

.related-attorneys__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.related-attorneys__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  text-decoration: none;
  color: var(--color-white);
}

.related-attorneys__item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
}

.related-attorneys__photo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-gray-800);
}

.related-attorneys__item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.related-attorneys__item span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* -- Sidebar CTA card ---------------------------------------------------- */

.sidebar-cta {
  background: var(--color-gray-900);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.sidebar-cta h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
}

.sidebar-cta p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.sidebar-cta .btn + .btn {
  margin-top: var(--space-sm);
}


/* ==========================================================================
   SECTION 19: components/_gallery.css — Gallery & Lightbox
   ========================================================================== */

.gallery-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--color-gray-800);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}

.gallery-item__artist {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* -- Lightbox ------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  z-index: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: var(--color-red);
}

.lightbox__nav--prev {
  left: var(--space-xl);
}

.lightbox__nav--next {
  right: var(--space-xl);
}

.lightbox__caption {
  text-align: center;
  padding: var(--space-md);
  color: var(--color-gray-300);
  font-size: var(--text-sm);
}


/* ==========================================================================
   SECTION 20: components/_podcast-player.css — Podcast Player
   ========================================================================== */

.podcast-section {
  background: var(--color-gray-900);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.podcast-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.podcast-cover {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.podcast-info h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.podcast-info .overline {
  margin-bottom: var(--space-xs);
}

.podcast-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.podcast-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-sm);
}

.podcast-stat {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.podcast-stat strong {
  color: var(--color-white);
  font-weight: var(--weight-bold);
}

.podcast-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.podcast-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-gray-800);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  transition: background var(--transition-fast);
}

.podcast-link:hover {
  background: var(--color-red);
  color: var(--color-white);
}

@media (max-width: 575px) {
  .podcast-header {
    flex-direction: column;
    text-align: center;
  }

  .podcast-stats {
    justify-content: center;
  }

  .podcast-links {
    justify-content: center;
  }
}


/* ==========================================================================
   SECTION 21: components/_conference.css — Conference Section / Page
   ========================================================================== */

.conference-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

.conference-hero {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .conference-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.conference-hero__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.conference-hero__content .overline {
  margin-bottom: var(--space-md);
  display: block;
}

.conference-hero__content h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

.conference-hero__content p {
  color: var(--color-gray-300);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

/* -- Topics grid --------------------------------------------------------- */

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.topic-card {
  background: var(--color-gray-900);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--transition-base);
}

.topic-card:hover {
  border-color: var(--color-red);
}

.topic-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red-light);
  border-radius: var(--radius-md);
  color: var(--color-red);
  margin-bottom: var(--space-md);
}

.topic-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.topic-card h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
}

.topic-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* -- Testimonials -------------------------------------------------------- */

.testimonial {
  background: var(--color-gray-900);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  border-left: 3px solid var(--color-red);
  margin-bottom: var(--space-lg);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.testimonial__author {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.testimonial__author strong {
  color: var(--color-white);
}


/* ==========================================================================
   SECTION 22: utilities/_animations.css — Scroll Reveal Animations
   ========================================================================== */

/* -- Base reveal state --------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slower), transform var(--transition-slower);
}

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

/* -- Directional variants ------------------------------------------------ */

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

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

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

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

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

.reveal--scale.reveal--visible {
  transform: scale(1);
}

/* -- Fallback: show reveals if JS hasn't run after 3s -------------------- */

@keyframes revealFallback {
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: revealFallback 0s 3s forwards;
}

.reveal.reveal--visible {
  animation: none;
}

/* -- Stagger children ---------------------------------------------------- */

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.stagger-children.reveal--visible > *,
.stagger-children:not(.reveal) > * {
  opacity: 1;
  transform: none;
}

.stagger-children.reveal--visible > *:nth-child(1)  { transition-delay: 0ms; }
.stagger-children.reveal--visible > *:nth-child(2)  { transition-delay: 100ms; }
.stagger-children.reveal--visible > *:nth-child(3)  { transition-delay: 200ms; }
.stagger-children.reveal--visible > *:nth-child(4)  { transition-delay: 300ms; }
.stagger-children.reveal--visible > *:nth-child(5)  { transition-delay: 400ms; }
.stagger-children.reveal--visible > *:nth-child(6)  { transition-delay: 500ms; }
.stagger-children.reveal--visible > *:nth-child(7)  { transition-delay: 600ms; }
.stagger-children.reveal--visible > *:nth-child(8)  { transition-delay: 700ms; }
.stagger-children.reveal--visible > *:nth-child(9)  { transition-delay: 800ms; }
.stagger-children.reveal--visible > *:nth-child(10) { transition-delay: 900ms; }
.stagger-children.reveal--visible > *:nth-child(11) { transition-delay: 1000ms; }
.stagger-children.reveal--visible > *:nth-child(12) { transition-delay: 1100ms; }

.stagger-children.reveal--visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* -- Keyframes ----------------------------------------------------------- */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lineGrow {
  from { width: 0; }
  to { width: 60px; }
}


/* ==========================================================================
   SECTION 23: utilities/_utilities.css — Utility Classes
   ========================================================================== */

/* -- Display ------------------------------------------------------------- */

.d-none          { display: none !important; }
.d-block         { display: block !important; }
.d-flex          { display: flex !important; }
.d-grid          { display: grid !important; }
.d-inline        { display: inline !important; }
.d-inline-block  { display: inline-block !important; }

/* -- Flex utilities ------------------------------------------------------ */

.flex-center     { display: flex; align-items: center; justify-content: center; }
.flex-between    { display: flex; align-items: center; justify-content: space-between; }
.flex-col        { flex-direction: column; }
.flex-wrap       { flex-wrap: wrap; }
.gap-xs          { gap: var(--space-xs); }
.gap-sm          { gap: var(--space-sm); }
.gap-md          { gap: var(--space-md); }
.gap-lg          { gap: var(--space-lg); }
.gap-xl          { gap: var(--space-xl); }
.gap-2xl         { gap: var(--space-2xl); }

/* -- Text ---------------------------------------------------------------- */

.text-center     { text-align: center; }
.text-left       { text-align: left; }
.text-right      { text-align: right; }
.text-uppercase  { text-transform: uppercase; }
.text-muted      { color: var(--color-text-muted); }
.text-red        { color: var(--color-red); }
.text-white      { color: var(--color-white); }
.text-dark       { color: var(--color-text-dark); }

.font-heading    { font-family: var(--font-heading); }
.font-body       { font-family: var(--font-body); }
.fw-normal       { font-weight: var(--weight-normal); }
.fw-medium       { font-weight: var(--weight-medium); }
.fw-semibold     { font-weight: var(--weight-semibold); }
.fw-bold         { font-weight: var(--weight-bold); }

/* -- Spacing ------------------------------------------------------------- */

.mt-0   { margin-top: 0; }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-0   { margin-bottom: 0; }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mx-auto { margin-inline: auto; }

.pt-0   { padding-top: 0; }
.pb-0   { padding-bottom: 0; }

/* -- Widths -------------------------------------------------------------- */

.w-full          { width: 100%; }
.max-w-prose     { max-width: 72ch; }

/* -- Visual -------------------------------------------------------------- */

.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;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-video    { aspect-ratio: 16 / 9; }
.aspect-square   { aspect-ratio: 1; }
.aspect-portrait { aspect-ratio: 3 / 4; }

.page-hero       { padding-top: calc(var(--header-height) + var(--space-3xl)); }

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


/* ==========================================================================
   SECTION 24: utilities/_responsive.css — Responsive Media Queries
   ========================================================================== */

/* -- Mobile first breakpoints -------------------------------------------- */
/* sm: 576px | md: 768px | lg: 1024px | xl: 1280px | 2xl: 1440px */

/* -- Hide/Show utilities ------------------------------------------------- */

.hide-mobile {
  display: none;
}

.hide-desktop {
  display: block;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
  .hide-desktop {
    display: none;
  }
}

/* -- Responsive grids ---------------------------------------------------- */

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

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

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

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

@media (min-width: 576px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -- Responsive text ----------------------------------------------------- */

@media (max-width: 767px) {
  .section__header h2 {
    font-size: var(--text-3xl);
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    text-align: center;
  }
}

/* -- Container adjustments ----------------------------------------------- */

@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}


/* ==========================================================================
   SECTION 25: WordPress / Contact Form 7 (CF7) Compatibility
   Maps .wpcf7-form elements to match the original .form styling
   ========================================================================== */

/* -- CF7 Form Container -------------------------------------------------- */

.wpcf7-form {
  max-width: 640px;
  margin-inline: auto;
}

/* -- CF7 Form Groups (p tags used as wrappers) --------------------------- */

.wpcf7-form p {
  margin-bottom: var(--space-lg);
  max-width: none;
}

.wpcf7-form p:last-child {
  margin-bottom: 0;
}

/* -- CF7 Labels ---------------------------------------------------------- */

.wpcf7-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* -- CF7 Inputs & Textareas ---------------------------------------------- */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form textarea,
.wpcf7-form select,
.wpcf7-form .wpcf7-select {
  width: 100%;
  padding: 0.875rem var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
}

.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* CF7 on dark (non-red) backgrounds */
.section--dark .wpcf7-form input[type="text"],
.section--dark .wpcf7-form input[type="email"],
.section--dark .wpcf7-form input[type="tel"],
.section--dark .wpcf7-form textarea {
  background: var(--color-gray-800);
  border-color: var(--color-gray-600);
}

.section--dark .wpcf7-form input:focus,
.section--dark .wpcf7-form textarea:focus {
  border-color: var(--color-red);
}

/* CF7 on light backgrounds */
.section--light .wpcf7-form input[type="text"],
.section--light .wpcf7-form input[type="email"],
.section--light .wpcf7-form input[type="tel"],
.section--light .wpcf7-form textarea {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--color-text-dark);
}

.section--light .wpcf7-form input::placeholder,
.section--light .wpcf7-form textarea::placeholder {
  color: var(--color-gray-muted);
}

.section--light .wpcf7-form input:focus,
.section--light .wpcf7-form textarea:focus {
  border-color: var(--color-red);
}

/* -- CF7 Submit Button --------------------------------------------------- */

.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 100%;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  text-decoration: none;
  border: 2px solid var(--color-red);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  background-color: var(--color-red);
  color: var(--color-white);
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
  background-color: var(--color-red-hover);
  border-color: var(--color-red-hover);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* CF7 Submit on CTA red section */
.cta-section .wpcf7-form input[type="submit"],
.cta-section .wpcf7-form .wpcf7-submit {
  background: var(--color-white);
  color: var(--color-red);
  border-color: var(--color-white);
}

.cta-section .wpcf7-form input[type="submit"]:hover,
.cta-section .wpcf7-form .wpcf7-submit:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* -- CF7 Validation Messages --------------------------------------------- */

.wpcf7-not-valid-tip {
  font-size: var(--text-xs);
  color: #ff4444;
  margin-top: var(--space-xs);
  display: block;
}

.wpcf7-not-valid {
  border-color: #ff4444 !important;
}

/* CF7 response output */
.wpcf7-response-output {
  margin: var(--space-lg) 0 0;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  text-align: center;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  color: #46b450;
  background: rgba(70, 180, 80, 0.1);
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #ff4444;
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}

.wpcf7-spam-blocked,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #ff4444;
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}

/* -- CF7 Spinner --------------------------------------------------------- */

.wpcf7-spinner {
  display: inline-block;
  margin-left: var(--space-sm);
  vertical-align: middle;
}

/* -- CF7 Acceptance & Checkbox ------------------------------------------- */

.wpcf7-acceptance label {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: normal;
  font-weight: var(--weight-normal);
  cursor: pointer;
}

.wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-red);
}

/* -- CF7 row layout for inline fields ------------------------------------ */

.wpcf7-form .form__row {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 576px) {
  .wpcf7-form .form__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -- Ensure WordPress images don't break layout -------------------------- */

.wp-post-image,
.attachment-post-thumbnail,
.size-full,
.size-large,
.size-medium {
  max-width: 100%;
  height: auto;
}

/* -- WordPress alignment classes ----------------------------------------- */

.alignleft {
  float: left;
  margin-right: var(--space-lg);
  margin-bottom: var(--space-md);
}

.alignright {
  float: right;
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
}

.alignwide {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* -- WordPress caption --------------------------------------------------- */

.wp-caption {
  max-width: 100%;
  margin-bottom: var(--space-md);
}

.wp-caption-text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  padding-top: var(--space-xs);
}

/* -- WordPress screen reader text ---------------------------------------- */

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