/* =============================================
   Calheiros Brast — Components
   ============================================= */

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-5) 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav--scrolled {
  padding: var(--space-3) 0;
  background: rgba(15, 29, 51, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--section-padding-x);
}

.nav__logo {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform var(--duration-normal) var(--ease-out);
}

.nav__logo:hover {
  transform: scale(1.02);
}

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

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: #FFFFFF;
}

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

/* Language Switcher */
.nav__lang {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav__lang-btn {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  background: transparent;
}

.nav__lang-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.nav__lang-btn svg {
  width: 12px;
  height: 12px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav__lang-dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  background: rgba(15, 29, 51, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav__lang-dropdown--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__lang-option {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: var(--font-body);
}

.nav__lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.nav__lang-option--active {
  color: var(--accent);
}

/* WhatsApp CTA in nav */
.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-wide);
  color: var(--accent);
  padding: var(--space-2) var(--space-5);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
}

.nav__cta:hover {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav__cta svg {
  width: 16px;
  height: 16px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: calc(var(--z-nav) + 1);
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #FFFFFF;
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.nav__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
@media (max-width: 900px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 400px);
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 21, 40, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-16);
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__links--open {
    transform: translateX(0);
  }

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

  .nav__lang {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav__lang-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: var(--space-2);
  }

  .nav__cta {
    margin-top: var(--space-4);
  }
}

/* Mobile overlay */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
  z-index: calc(var(--z-nav) - 1);
}

.nav__overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(var(--primary-rgb), 0.3) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(10, 21, 40, 0.3) 0%,
      rgba(15, 29, 51, 0.6) 40%,
      rgba(10, 21, 40, 0.9) 100%
    );
  z-index: 2;
}

/* Hero background image */
.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 0.25;
  filter: saturate(0.6);
  animation: heroBgSlow 20s ease-out forwards;
  will-change: transform;
}

/* Animated geometric elements */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: heroShapeFloat 20s infinite ease-in-out;
}

.hero__shape--1 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero__shape--2 {
  width: clamp(200px, 30vw, 450px);
  height: clamp(200px, 30vw, 450px);
  bottom: -5%;
  left: -10%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.04) 0%, transparent 70%);
  animation-delay: -7s;
}

.hero__shape--3 {
  width: clamp(150px, 20vw, 300px);
  height: clamp(150px, 20vw, 300px);
  top: 40%;
  left: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  animation-delay: -14s;
}

/* Moving lines */
.hero__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.15), transparent);
  animation: heroLineSweep 8s infinite ease-in-out;
}

.hero__line--1 {
  top: 30%;
  left: -100%;
  width: 100%;
  animation-delay: 0s;
}

.hero__line--2 {
  top: 55%;
  left: -100%;
  width: 80%;
  animation-delay: -3s;
  opacity: 0.6;
}

.hero__line--3 {
  top: 75%;
  left: -100%;
  width: 60%;
  animation-delay: -5s;
  opacity: 0.4;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
  padding: var(--space-20) var(--section-padding-x) var(--space-12);
}

.hero__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: heroLabelReveal 1.2s var(--spring-smooth) 0.4s forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--weight-medium);
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: heroBlurIn 1.4s var(--spring-smooth) 0.6s forwards;
  perspective: 800px;
}

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

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-on-dark-muted);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  opacity: 0;
  animation: heroBlurIn 1.2s var(--spring-smooth) 0.9s forwards;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  animation: heroCtaReveal 1s var(--spring-bounce) 1.2s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  animation: heroPulse 2s infinite ease-in-out;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.6), transparent);
  animation: heroScrollLine 2s infinite ease-in-out;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--primary-dark);
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.btn--outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.06);
}

.btn--dark {
  background: var(--primary);
  color: #FFFFFF;
  border: 1px solid var(--primary);
}

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

/* =============================================
   FIRM / ABOUT SECTION
   ============================================= */
.firm {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 2.5rem + 3.5vw, 6.5rem) 0;
  display: flex;
  align-items: center;
}

.firm .container {
  position: relative;
}

.firm__content {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-10);
  align-items: center;
}

.firm__text {
  max-width: 100%;
}

.firm__text .text-label {
  margin-bottom: var(--space-4);
  color: var(--accent-dark);
}

.firm__text h2 {
  margin-bottom: var(--space-6);
  color: var(--primary);
}

.firm__text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  max-width: 80ch;
}

.firm__text p:last-of-type {
  margin-bottom: 0;
}

.firm__stats-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
  align-items: flex-start;
}

.firm__stat-badge {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out), background-color var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
}

.firm__stat-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.firm__stat-badge:hover::after {
  transform: translateX(100%);
}

.firm__stat-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.3);
  border-left-color: var(--accent-light);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.firm__stat-number-wrapper {
  display: flex;
  align-items: baseline;
  color: var(--accent-dark);
  font-weight: var(--weight-bold);
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
}

.firm__stat-number {
  font-family: var(--font-heading);
}

.firm__stat-number-plus {
  margin-left: 2px;
  font-family: var(--font-heading);
}

.firm__stat-number--text {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
}

.firm__stat-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
}

@media (max-width: 1024px) {
  .firm__content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .firm__stats-container {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
  }

  .firm__stat-badge {
    max-width: calc(33.333% - var(--space-4));
    min-width: 180px;
    align-items: center;
    text-align: center;
  }

  .firm__stat-number-wrapper {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .firm__stats-container {
    flex-direction: column;
    align-items: center;
  }

  .firm__stat-badge {
    max-width: 230px;
    width: 100%;
  }
}

/* =============================================
   PRACTICE AREAS
   ============================================= */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.practice-card {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--spring-smooth),
              box-shadow 0.5s var(--spring-smooth),
              border-color 0.5s var(--spring-smooth);
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.6s var(--spring-smooth);
}

.practice-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.practice-card:hover::before {
  width: 100%;
}

.practice-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  color: var(--accent);
}

.practice-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.practice-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--text);
}

.practice-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

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

/* =============================================
   ATTORNEYS
   ============================================= */
@media (min-width: 1025px) {
  #attorneys .container {
    max-width: 1380px;
  }
}

.attorneys-grid {
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
  width: 100%;
  align-items: stretch;
  transition: all 0.8s var(--spring-smooth);
}

.attorney-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 1 1 0%;
  height: auto;
  transition: flex 0.8s var(--spring-smooth),
              transform 0.6s var(--spring-smooth),
              box-shadow 0.6s var(--spring-smooth),
              border-color 0.5s var(--spring-smooth),
              height 0.8s var(--spring-smooth);
}

.attorney-card:not(.attorney-card--expanded):not(.attorney-card--shrunk):hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(var(--accent-rgb), 0.15);
}

.attorney-card__photo {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  transition: width 0.8s var(--spring-smooth),
              height 0.8s var(--spring-smooth);
}

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

.attorney-card:not(.attorney-card--shrunk):hover .attorney-card__photo img {
  transform: scale(1.03);
}

.attorney-card__photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.attorney-card__body {
  padding: var(--space-6);
  width: 100%;
  transition: width 0.8s var(--spring-smooth),
              opacity 0.4s ease,
              transform 0.4s ease,
              padding 0.8s var(--spring-smooth);
}

.attorney-card__body-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 1025px) {
  .attorney-card__body-content {
    max-width: 500px;
    flex-shrink: 0;
  }
}

.attorney-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
  color: var(--text);
}

.attorney-card__title-role {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.attorney-card__experience {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.5s ease;
}

.attorney-card__toggle {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--duration-fast);
  background: none;
  border: none;
  padding: 0;
}

.attorney-card__toggle:hover {
  color: var(--accent-dark);
}

.attorney-card__toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.attorney-card__toggle--open svg {
  transform: rotate(180deg);
}

.attorney-card__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.attorney-card__details--open {
  max-height: 600px;
  opacity: 1;
  margin-top: var(--space-4);
}

.attorney-card__details-inner {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.attorney-card__detail-section {
  margin-bottom: var(--space-4);
}

.attorney-card__detail-section:last-child {
  margin-bottom: 0;
}

.attorney-card__detail-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.attorney-card__detail-list {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.attorney-card__detail-list-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.attorney-card__detail-list li {
  padding-left: var(--space-4);
  position: relative;
  margin-bottom: var(--space-1);
}

.attorney-card__detail-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.attorney-card__email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--accent);
  margin-top: var(--space-3);
  transition: color 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.attorney-card__email:hover {
  color: var(--accent-light);
  transform: translateX(4px);
  gap: var(--space-3);
}

.attorney-card__email svg {
  width: 14px;
  height: 14px;
}

/* --- Attorney Profiles Visual Banner & Badges --- */
/* --- Attorney Profiles Visual Banner & Badges --- */
.attorney-card__banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.attorney-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.attorney-card__tag {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  text-transform: none;
  color: var(--text-secondary);
  background: var(--bg-warm);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  transition: all 0.3s var(--ease-out);
}

.attorney-card__tag:hover {
  background: var(--primary-light);
  color: #ffffff;
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

/* Photo Flags Banderole Overlay */
.attorney-card__photo-flags {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 29, 51, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.5s var(--spring-smooth), opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.attorney-card--expanded .attorney-card__photo-flags {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.attorney-card__flag-wrapper {
  position: relative;
  display: inline-flex;
  cursor: help;
}

.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s var(--ease-spring);
  display: block;
}

.attorney-card__flag-wrapper:hover .flag-icon {
  transform: scale(1.2) translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Custom Tooltip Styling */
.attorney-card__flag-wrapper::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -8px) scale(0.85);
  background: var(--primary-dark);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--weight-bold);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-md);
  z-index: var(--z-dropdown);
}

.attorney-card__flag-wrapper:hover::after {
  opacity: 1;
  transform: translate(-50%, -8px) scale(1);
}

/* --- Expanded & Shrunk States (Desktop) --- */
.attorney-card--expanded {
  flex: 2.4 1 0%;
  height: 560px;
  flex-wrap: nowrap;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(var(--accent-rgb), 0.15);
}

.attorney-card--expanded .attorney-card__photo {
  width: 32%;
  height: 560px;
}

.attorney-card--expanded .attorney-card__body {
  width: 68%;
  height: 100%;
  max-height: 100%;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.3) transparent;
}

.attorney-card--expanded .attorney-card__body::-webkit-scrollbar {
  width: 6px;
}

.attorney-card--expanded .attorney-card__body::-webkit-scrollbar-track {
  background: transparent;
}

.attorney-card--expanded .attorney-card__body::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-full);
}

.attorney-card--expanded .attorney-card__body::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.6);
}

.attorney-card--expanded .attorney-card__experience {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.attorney-card--expanded .attorney-card__toggle {
  display: none;
}

.attorney-card--expanded .attorney-card__details {
  max-height: 600px;
  opacity: 1;
  margin-top: var(--space-4);
}

.attorney-card--shrunk {
  flex: 0.3 1 0%;
  height: 560px;
  cursor: pointer;
}

.attorney-card--shrunk .attorney-card__photo {
  width: 100%;
  height: 560px;
}

.attorney-card--shrunk .attorney-card__photo-overlay {
  height: 100%;
  background: rgba(15, 29, 51, 0.75);
  backdrop-filter: grayscale(40%);
  transition: background 0.5s var(--spring-smooth), backdrop-filter 0.5s var(--spring-smooth);
  pointer-events: none;
}

.attorney-card--shrunk:hover .attorney-card__photo-overlay {
  background: rgba(15, 29, 51, 0.4);
  backdrop-filter: grayscale(0%);
}

.attorney-card--shrunk .attorney-card__body {
  opacity: 0;
  width: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

.attorney-card__shrunk-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.9);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--spring-smooth), transform 0.5s var(--spring-smooth), color 0.3s;
  z-index: 5;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.attorney-card--shrunk .attorney-card__shrunk-name {
  opacity: 0.8;
  transform: translate(-50%, -50%) rotate(-90deg) scale(1);
}

.attorney-card--shrunk:hover .attorney-card__shrunk-name {
  opacity: 1;
  color: var(--accent);
}

/* --- Responsive overrides --- */
@media (max-width: 1024px) {
  .attorneys-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
  }
  
  .attorney-card {
    flex: 0 1 calc(50% - var(--space-4));
    height: auto !important;
  }

  .attorney-card--expanded {
    flex: 0 1 calc(50% - var(--space-4));
    height: auto !important;
  }

  .attorney-card--expanded .attorney-card__photo {
    width: 100%;
    height: 380px;
  }

  .attorney-card--expanded .attorney-card__body {
    width: 100%;
    height: auto;
    padding: var(--space-6);
  }

  .attorney-card--shrunk {
    flex: 0 1 calc(50% - var(--space-4));
    height: auto !important;
    cursor: default;
  }

  .attorney-card--shrunk .attorney-card__photo {
    width: 100%;
    height: 380px;
  }

  .attorney-card--shrunk .attorney-card__photo-overlay {
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
    backdrop-filter: none;
  }

  .attorney-card--shrunk .attorney-card__body {
    opacity: 1;
    width: 100%;
    height: auto;
    padding: var(--space-6);
    overflow: visible;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .attorney-card,
  .attorney-card--expanded,
  .attorney-card--shrunk {
    flex: 0 1 100%;
    max-width: 400px;
    margin-inline: auto;
  }
}

/* =============================================
   NEWS
   ============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.news-card {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  background: var(--card-dark);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.news-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    250px circle at var(--glow-x) var(--glow-y),
    rgba(201, 168, 76, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.news-card:hover::after {
  opacity: 1;
}

.news-card:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  transform: translateY(-10px) scale(1.01);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.news-card__date {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.news-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--text-on-dark);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}

.news-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  line-height: var(--leading-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* =============================================
   CONTACT
   ============================================= */
.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: stretch;
}

.contact__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.25rem + 2vw, 3rem);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-spring), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact__card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

.contact__card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: var(--space-4);
  font-weight: var(--weight-medium);
}

.contact__card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

/* AI specific styling */
.contact__card--ai {
  background: var(--primary-dark);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
}

.contact__card--ai h3 {
  color: #ffffff;
}

.contact__card--ai p {
  color: var(--text-on-dark-muted);
  flex-grow: 0;
  margin-bottom: var(--space-5);
}

.contact__ai-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex-grow: 1;
}

.contact__ai-steps li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
}

.contact__ai-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: rgba(201, 168, 76, 0.15);
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__ai-step-icon svg {
  width: 12px;
  height: 12px;
}

.contact__card .btn {
  align-self: flex-start;
  width: 100%;
  text-align: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

/* WhatsApp Specific Button */
.btn--success {
  background-color: var(--success);
  color: #ffffff;
  border: 1px solid transparent;
}

.btn--success:hover {
  background-color: #047857;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact__details-list {
  margin-top: var(--space-6);
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-6);
}

.contact__info h3 {
  margin-bottom: var(--space-6);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact__detail-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact__detail-icon svg {
  width: 100%;
  height: 100%;
}

.contact__detail-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.contact__detail-text a {
  color: var(--accent);
  transition: color 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.contact__detail-text a:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  position: relative;
}

.form-group__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-group__input,
.form-group__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--text);
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s;
}

.form-group__input:hover,
.form-group__textarea:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
}

.form-group__input:focus,
.form-group__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1),
              0 4px 20px rgba(var(--accent-rgb), 0.08);
  transform: translateY(-2px);
  background: #FFFFFF;
}

.form-group__input::placeholder,
.form-group__textarea::placeholder {
  color: var(--text-muted);
}

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

.form-group__error {
  font-size: var(--text-xs);
  color: var(--error);
  margin-top: var(--space-1);
  display: none;
}

.form-group--error .form-group__input,
.form-group--error .form-group__textarea {
  border-color: var(--error);
}

.form-group--error .form-group__error {
  display: block;
}

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

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-status {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: none;
}

.form-status--success {
  display: block;
  background: rgba(5, 150, 105, 0.1);
  color: var(--success);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.form-status--error {
  display: block;
  background: rgba(220, 38, 38, 0.1);
  color: var(--error);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

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

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-darker);
  padding: var(--space-12) 0 var(--space-8);
  color: var(--text-on-dark-muted);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--duration-fast);
}

.footer__logo:hover {
  opacity: 1;
}

.footer__copy {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
}

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

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

.footer__socials {
  display: flex;
  align-items: center;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-dark);
  border: 1px solid var(--border-on-dark);
  color: var(--text-on-dark-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

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

@media (max-width: 640px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}



/* =============================================
   COOKIE / MISC
   ============================================= */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  border: none;
}

.divider--dark {
  background: linear-gradient(90deg, transparent, var(--border-on-dark), transparent);
}

/* =============================================
   NEWS CAROUSEL & DETAILS MODAL
   ============================================= */
.news-carousel {
  position: relative;
  width: 100%;
  padding: var(--space-4) 0 var(--space-2);
}

.news-carousel__viewport {
  width: 100%;
  overflow: visible; /* degrades to default grid when inactive */
}

/* Active Carousel Layout overrides grid */
.news-carousel--active .news-carousel__viewport {
  overflow: hidden;
}

.news-carousel--active .news-grid {
  display: flex;
  grid-template-columns: none !important;
  gap: var(--space-6);
  transition: transform 0.5s var(--spring-smooth);
  will-change: transform;
  width: max-content;
}

.news-carousel--active .news-grid.no-transition {
  transition: none !important;
}

.news-carousel--active .news-card {
  flex: 0 0 calc(33.333vw - (var(--space-6) * 2 / 3)); /* base relative sizing */
  box-sizing: border-box;
}

/* Adjust card width based on container width constraints (approximating 1200px max container) */
@media (min-width: 1200px) {
  .news-carousel--active .news-card {
    width: 376px; /* (1200 - 48 gap) / 3 */
    flex: 0 0 376px;
  }
}

@media (max-width: 1024px) {
  .news-carousel--active .news-card {
    flex: 0 0 calc(50vw - (var(--space-6) * 1.5));
  }
}

@media (max-width: 768px) {
  .news-carousel--active .news-card {
    flex: 0 0 calc(100vw - 40px); /* 1 card visible */
  }
}

/* Carousel Buttons */
.news-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: rgba(26, 45, 74, 0.8);
  border: 1px solid var(--border-on-dark);
  color: var(--accent);
  fill: currentColor;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--duration-fast) var(--ease-out);
  backdrop-filter: blur(4px);
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-carousel__btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.news-carousel__btn--prev {
  left: -23px;
}

.news-carousel__btn--next {
  right: -23px;
}

.news-carousel--active .news-carousel__btn {
  display: flex;
}

@media (max-width: 1240px) {
  .news-carousel__btn--prev { left: var(--space-2); }
  .news-carousel__btn--next { right: var(--space-2); }
}

/* Carousel Dots */
.news-carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.news-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  border: none;
  padding: 0;
}

.news-carousel__dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.news-carousel__dot--active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Modal backdrop for general news detail view */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 21, 40, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-chatbot-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* News details modal */
.news-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 90%;
  max-width: 720px;
  background: rgba(15, 29, 51, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.2);
  z-index: var(--z-chatbot-modal);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-spring);
  color: var(--text-on-dark);
}

.news-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.news-modal__header {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border-on-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-modal__date {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.news-modal__close {
  background: transparent;
  border: none;
  color: white;
  font-size: var(--text-2xl);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.news-modal__close:hover {
  color: var(--accent);
}

.news-modal__body {
  padding: var(--space-6) var(--space-8);
  overflow-y: auto;
  flex-grow: 1;
}

.news-modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.news-modal__content {
  font-size: var(--text-base);
  color: var(--text-on-dark-muted);
  line-height: var(--leading-relaxed);
  white-space: pre-wrap; /* preserves paragraph linebreaks from DB */
}

/* Card hover glow enhancements and cursor pointers */
.news-grid .news-card {
  cursor: pointer;
}
