/* =========================================
   DESIGN SYSTEM & VARIABLES
   ========================================= */
:root {
  /* Colors */
  --color-primary: #7c2a66;
  --color-primary-rgb: 124, 42, 102;
  --color-accent: #580e2c;
  --color-bg-light: #ffffff;
  --color-bg-alt: #f3f4f6;
  --color-text: #111111;
  --color-text-muted: #6b6b6b;
  --color-white: #ffffff;
  --color-error: #d32f2f;

  /* Typography */
  --font-main: 'Arimo', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.5rem, 3vw, 2rem);
  --text-3xl: clamp(2rem, 5vw, 3rem);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --header-height: 65px;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section {
  padding: var(--space-16) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.text-muted {
  color: var(--color-text-muted);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  gap: var(--space-2);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

/* =========================================
   HEADER & NAV
   ========================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  /* Start Transparent */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1000;
  box-shadow: none;
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, height 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* Scrolled State */
.header.header-scrolled {
  background-color: rgba(255, 255, 255, 0.6);
  /* Less Opaque */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  height: 60px;
  /* Slightly smaller */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  /* White by default */
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color 0.4s ease;
  position: relative;
  height: 100px;
  /* Increased size to 100px */
  width: auto;
}

.logo-img {
  height: 100%;
  width: auto;
  transition: opacity 0.4s ease;
}

.logo-white {
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
}

.logo-purple {
  opacity: 0;
  position: relative;
  /* Acts as the layout spacer if they are same size, or absolute if stacked exactly */
}

/* For perfect stacking if sizes match, we can make purple absolute and white relative, or both absolute and set explicit width on container.
   Given generic nature, let's try making .logo-purple relative (to give width) and white absolute. */
.logo-purple {
  position: relative;
  z-index: 1;
}

.logo-white {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

/* Scrolled Logo States */
.header.header-scrolled .logo-white {
  opacity: 0;
}

.header.header-scrolled .logo-purple {
  opacity: 1;
}

.nav-menu {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: var(--text-base);
  position: relative;
  color: #fff;
  /* White by default */
  transition: color 0.4s ease;
}

.header.header-scrolled .nav-link {
  color: var(--color-text);
  /* Back to Gray */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  /* White underline */
  transition: width var(--transition-base), background-color 0.4s ease;
}

.header.header-scrolled .nav-link::after {
  background-color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

@media (max-width: 1100px) {
  .btn.d-mobile-none {
    display: none;
  }
}


.lang-selector {
  display: flex;
  gap: var(--space-2);
  margin-left: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
}

.lang-link {
  opacity: 0.8;
  text-transform: uppercase;
  color: #fff;
  /* White by default */
  transition: color 0.4s ease;
}

.header.header-scrolled .lang-link {
  color: var(--color-text);
}

.lang-link:hover,
.lang-link.active {
  opacity: 1;
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1002;
  align-items: center;
  justify-content: center;
}

.nav-icon {
  width: 25px;
  /* Adjust size as needed */
  height: 25px;
  transition: filter 0.4s ease;
  filter: brightness(0) invert(1);
  /* Pure white */
}

.header.header-scrolled .nav-icon {
  filter: none;
  /* Original color (Purple) */
}

/* Remove old span styles for hamburger */

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-8);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
  }

  /* Force dark text for links in mobile menu since background is white */
  .nav-menu .nav-link {
    color: var(--color-text);
  }

  .nav-menu.open {
    right: 0;
  }
}

/* =========================================
   NEW HERO GRID
   ========================================= */
.hero-new {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  color: var(--color-white);
  display: flex;
  align-items: center;
}

.hero-bg-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/hero-image.png') no-repeat center center/cover;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  padding-top: var(--header-height);
  padding-bottom: var(--space-8);
}

/* Top Socials */
.hero-top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  padding-top: var(--space-8);
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--color-primary);
}

/* Floating Card (Right Side) */
.hero-card-container {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: var(--space-8);
}

.hero-floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.card-image-placeholder {
  width: 100%;
  height: 120px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background-image: url('../img/hero-complement.png');
  background-position: center;
  background-size: cover;
}

.card-content h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
}

.card-badges {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.card-badges span {
  font-size: var(--text-xs);
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Main Content (Bottom Left) */
.hero-main {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-12);
}

.hero-tags {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.hero-tags span {
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 0;
}

/* CTA (Bottom Right) */
.hero-cta-block {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  text-align: right;
  max-width: 400px;
  justify-self: end;
  padding-bottom: var(--space-12);
}

.hero-cta-block p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  opacity: 0.9;
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
}

.btn-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    padding-bottom: var(--space-12);
    padding-top: 80px;
    text-align: center;
    justify-items: center;
    height: auto;
    min-height: 100vh;
    gap: var(--space-8);
  }

  .hero-top {
    justify-content: center;
    padding-top: 0;
  }

  .hero-main {
    grid-column: 1;
    grid-row: 2;
    align-items: center;
    padding-bottom: 0;
  }

  .hero-card-container {
    grid-column: 1;
    grid-row: 3;
    padding-right: 0;
    justify-content: center;
  }

  .hero-cta-block {
    grid-column: 1;
    grid-row: 4;
    text-align: center;
    justify-self: center;
    padding-bottom: 0;
  }

  .hero-tags {
    justify-content: center;
  }
}

/* =========================================
   SECTIONS: CENTROS, ASEGURADORAS, ETC
   ========================================= */
.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-8);
  color: var(--color-primary);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  margin: var(--space-2) auto 0;
  border-radius: var(--radius-full);
}

/* Centros Cards */
.centers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid #eee;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Aseguradoras Grid */
.insurers-filter {
  max-width: 400px;
  margin: 0 auto var(--space-8);
}

.filter-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid #eee;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
}

.filter-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.insurers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-4);
}

.insurer-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid #f0f0f0;
  transition: all var(--transition-fast);
}

.insurer-item:hover {
  border-color: var(--color-primary);
}

.insurer-item.hidden {
  display: none;
}

/* Profesionales Tabs */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-6);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prof-card {
  text-align: center;
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.prof-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-4);
  background-color: #eee;
}

.prof-role {
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   PROFESSIONALS LIST MODAL
   ========================================= */
.prof-modal-btn-container {
  display: flex;
  justify-content: center;
  margin: var(--space-8) 0;
  padding: 0 var(--space-4);
}

.prof-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prof-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.prof-modal-content {
  background-color: var(--color-white);
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.prof-modal-overlay.open .prof-modal-content {
  transform: translateY(0);
}

.prof-modal-header {
  padding: var(--space-6);
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-primary);
  color: white;
}

.prof-modal-header h3 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 700;
}

.prof-modal-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.2s;
}

.prof-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.prof-modal-body {
  padding: var(--space-6);
  overflow-y: auto;
}

.prof-list-section {
  margin-bottom: var(--space-6);
}

.prof-list-title {
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.prof-list-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.prof-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  transition: transform 0.2s;
}

.prof-list-item:hover {
  transform: translateX(5px);
  background-color: #eee;
}

.prof-item-name {
  font-weight: 600;
  color: var(--color-text);
}

.prof-item-role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  background: white;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid #ddd;
}

@media (max-width: 500px) {
  .prof-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
  font-size: var(--text-sm);
}

.form-control {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--text-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 42, 102, 0.1);
}

.form-check {
  display: flex;
  align-items: flex-start;
  /* Align checkbox to top of text */
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.form-check input {
  margin-top: 4px;
  /* Slight visual adjustment */
}

/* Footer */
.footer {
  background-color: var(--color-text);
  color: var(--color-white);
  padding: var(--space-12) 0 var(--space-4);
  font-size: var(--text-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-4);
  text-align: center;
  color: #888;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel-slide,
  .reveal {
    transition: none;
    transform: none;
    animation: none;
    opacity: 1;
  }

  .carousel-slide.active {
    opacity: 1;
  }
}

/* Feature Comparison Section (Glassmorphism & Accordion) */
.feature-banner {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: var(--space-16);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  color: white;
}

.feature-bg-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2c1a26;
  background-image: url('../img/qanda.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.feature-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Slightly darker for readability */
  z-index: 1;
}

.glass-panel {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  /* Slightly more opaque */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.5rem;
  padding: 3rem;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
}

.glass-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
}

.glass-badge {
  background: #f7e6d4;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Accordion Styles */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: background 0.3s ease;
  border: 1px solid transparent;
}

.accordion-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.accordion-header:hover {
  color: #f7e6d4;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  /* Turns + into x */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  padding-bottom: 1.25rem;
}

/* Professionals Section - Marquee Layout */
.prof-marquee-container {
  /* AGGRESSIVE Full Width Strategy for ALL Screens */
  width: 130vw;
  /* Always wider than screen */
  position: relative;
  left: 50%;
  right: 50%;
  /* Centering Logic */
  margin-left: -60vw;
  /* Half of 130vw (-65vw) + shift (+5vw) = -60vw */
  padding-left: 15vw;
  /* Push content */
  transform: translateX(5vw);
  /* Adjust center */

  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 3rem;

  /* Use simple mask */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);

  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Remove the desktop-only query since base class now handles it */


.prof-marquee-track {
  display: flex;
  gap: 3rem;
  /* Increased gap */
  width: max-content;
  /* Infinite Scroll Animation - Slower */
  animation: scroll 60s linear infinite;
  will-change: transform;
  /* GPU Acceleration */
}

.prof-marquee-track.reverse {
  animation-direction: reverse;
}

.prof-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1.5rem));
    /* Logic: duplicate items, move half (gap/2) */
  }
}

/* Pill Card Style */
.prof-pill-card {
  background: #fff;
  border-radius: 60px;
  /* Bigger pill */
  padding: 0.75rem 2rem 0.75rem 0.75rem;
  /* Increased padding */
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  min-width: 300px;
  /* Bigger width */
  border: 1px solid #f0f0f0;
}

.prof-pill-card:hover {
  transform: translateY(-5px) scale(1.05);
  /* Slightly bigger hover */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.prof-pill-img {
  width: 70px;
  /* Bigger image */
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-bg-alt);
}

.prof-pill-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.prof-pill-name {
  font-weight: 700;
  font-size: 1.15rem;
  /* Bigger font */
  color: var(--color-text);
  line-height: 1.2;
}

.prof-pill-role {
  font-size: 0.9rem;
  /* Bigger font */
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 600px;
  border-radius: 1.5rem;
  padding: 0;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

/* Desktop layout: Side by side */
@media (min-width: 640px) {
  .modal-content {
    flex-direction: row;
    max-width: 700px;
    min-height: 400px;
  }
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Left side: Image */
.modal-image-container {
  flex: 1;
  min-height: 250px;
  position: relative;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

/* Right side: Info */
.modal-info {
  flex: 1.5;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.modal-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.modal-badge {
  background: #e5e7eb;
  /* Grey button */
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
  width: fit-content;
}

.modal-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.modal-btn {
  margin-top: 1rem;
}

/* =========================================
   SPECIALTIES TABLE (Minimalist)
   ========================================= */
.specialties-container {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid #e5e7eb;
}

.specialty-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid #e5e7eb;
}

.group-header {
  padding: 1.5rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.group-items {
  display: flex;
  flex-direction: column;
}

.spec-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  color: var(--color-text);
  font-size: 1rem;
}

.spec-item:last-child {
  border-bottom: none;
}


@media (max-width: 768px) {
  .specialty-group {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .group-header {
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
  }

  .spec-item {
    padding: 1rem 0;
    margin-left: 1rem;
  }
}

/* =========================================
   FEATURED SPECIALTIES (Cards)
   ========================================= */
.featured-specs-grid {
  display: grid;
  /* Default mobile: stack */
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

@media (min-width: 992px) {
  .featured-specs-grid {
    /* Desktop: 4 columns, first one wider */
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    align-items: stretch;
    /* All same height */
  }
}

.feature-card {
  position: relative;
  /* Taller cards to stylize them */
  min-height: 500px;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background-color: #e5e5e5;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  color: #fff;
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-md);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.feature-content {
  position: relative;
  z-index: 2;
}

.feature-badges {
  position: absolute;
  top: 24px;
  /* Correct positioning */
  left: 24px;
  /* Correct positioning */
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  z-index: 5;
}

.f-badge {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.feature-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.2rem;
  transform: rotate(-45deg);
  /* Arrow pointing up-right */
}

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  line-height: 1.1;
}

.feature-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: var(--space-6);
  line-height: 1.4;
}

.feature-btn {
  background: #fff;
  color: #111;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.feature-btn:hover {
  background: #f0f0f0;
}

/* =========================================
   EXPANDABLE LIST & MODAL
   ========================================= */
.spec-item {
  cursor: pointer;
  transition: color var(--transition-fast);
}

.spec-item:hover {
  color: var(--color-primary);
  font-weight: 600;
}

.hidden-specs {
  display: none;
}

.hidden-specs.open {
  display: block;
  animation: fadeIn 0.5s ease;
}

.show-more-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: none;
  border-radius: var(--radius-sm);
  margin-top: var(--space-4);
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition-fast);
  text-align: center;
}

.show-more-btn:hover {
  background-color: #e5e7eb;
  color: var(--color-text);
}

/* Info Modal */
/* =========================================
   NEW HERO GRID
   ========================================= */
/* Experience Section */
.experience-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-8);
  align-items: center;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.exp-text-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.exp-item {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-text-light);
  /* Muted by default */
  cursor: default;
  transition: color 0.3s;
  margin: 0;
  line-height: 1.1;
  position: relative;
  padding-left: 0;
}

.exp-item.text-muted {
  opacity: 0.3;
}

.exp-item.active {
  color: #111;
  /* Dark active text */
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.exp-line {
  width: 60px;
  height: 3px;
  background-color: #111;
  display: block;
}

/* Right Side Card */
.exp-right-col {
  position: relative;
  padding-left: var(--space-8);
}

.exp-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
}

.exp-content-wrapper {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.exp-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}

.exp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-rating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #111;
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.exp-score {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1;
}

.exp-stars {
  font-size: var(--text-xs);
  opacity: 0.8;
  margin-top: 4px;
  color: #FFD700;
  /* Gold */
}

.exp-quote-block {
  max-width: 300px;
  padding-top: var(--space-4);
}

.exp-quote {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.exp-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.exp-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.exp-user-info {
  display: flex;
  flex-direction: column;
  font-size: var(--text-sm);
}

.exp-user-info strong {
  color: var(--color-text);
}

.exp-user-info span {
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .exp-text-list {
    align-items: center;
  }

  .exp-item.active {
    flex-direction: column;
    gap: var(--space-2);
  }

  .exp-content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .exp-right-col {
    padding-left: 0;
  }

  .exp-quote-block {
    text-align: center;
    max-width: 100%;
  }

  .exp-user {
    justify-content: center;
  }
}

/* Intro Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.spec-modal-overlay.active {
  display: flex;
}

.spec-modal {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-8);
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

.close-modal {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
}

.modal-title-dyn {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.modal-desc-dyn {
  color: var(--color-text);
  line-height: 1.6;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Stats Bar */
.stats-bar {
  background-color: #ffffff;
  color: #333333;
  padding: 3rem 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
  /* Subtle shadow for separation */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: 3.5rem;
  /* Increased size */
  font-weight: 700;
  line-height: 1;
  color: #333333;
  /* Dark Gray Numbers */
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
  /* Slightly lighter for hierarchy */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-link {
  color: var(--color-primary);
  /* Primary color for links */
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.5rem;
  transition: opacity 0.3s;
}

.stat-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Specialties CTA Spacing */
.specialties-cta {
  margin-top: 4rem !important;
  /* Increased space as requested */
}



/* Stats Bar Separation */
.stats-bar {
  border-top: none;
}

/* =========================================
   NEW CENTER CARD DESIGN
   ========================================= */
.center-card-new {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.center-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.center-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  /* Fixed height for image area */
  overflow: hidden;
}

.center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* =========================================
   NEW CONTACT SECTION REDESIGN
   ========================================= */
.contact-new-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .contact-new-layout {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }
}

.contact-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 4rem;
  letter-spacing: -2px;
}

.contact-desc {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 4rem;
  max-width: 400px;
  line-height: 1.5;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 columns on desktop for info if space permits, 
   but with form on right, 2 cols is safer or even 1 col grid 
   mimicking the list style */
@media (min-width: 1200px) {
  .contact-details-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Keep 2 col grid below text */
  }
}

.c-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.c-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #9ca3af;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.c-detail-item p,
.c-detail-item a {
  font-size: 1rem;
  color: #111;
  line-height: 1.5;
  font-weight: 500;
}

.c-detail-item a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.d-block {
  display: block;
}

.social-links-row {
  display: flex;
  gap: 1.5rem;
}

.social-links-row a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Clean Form Style */
.form-card-clean {
  box-shadow: none !important;
  background-color: #f9fafb !important;
  /* Very light gray bg */
  border: 1px solid #e5e7eb;
  padding: 2.5rem !important;
}

.form-card-clean .form-control {
  background-color: #fff;
  border-color: #d1d5db;
}

.form-card-clean .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 42, 102, 0.1);
}

.center-action-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--color-primary);
  /* Or a specific light color from reference */
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 24px 0 24px 0;
  /* Unique corner shape or just circle */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.3s ease;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
}

/* Rounded corner cutout effect simulation */
.center-action-btn::before {
  content: '';
  position: absolute;
  top: -24px;
  right: 0;
  width: 24px;
  height: 24px;
  background: transparent;
  box-shadow: 12px 12px 0 0 #fff;
  border-bottom-right-radius: 12px;
  pointer-events: none;
}

.center-action-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -24px;
  width: 24px;
  height: 24px;
  background: transparent;
  box-shadow: 12px 12px 0 0 #fff;
  border-bottom-right-radius: 12px;
  pointer-events: none;
}


/* Alternative: Simple Circle Floating */
.center-action-btn {
  border-radius: 50% !important;
  width: 56px;
  height: 56px;
  bottom: 16px;
  right: 16px;
  border: none;
  background-color: #f3f4f6;
  /* Light Grey */
  color: #111;
}

.center-action-btn:hover {
  background-color: var(--color-primary);
  color: white;
  transform: rotate(-45deg);
  /* Arrow effect */
}

/* Reset before/after for circle style */
.center-action-btn::before,
.center-action-btn::after {
  display: none;
}


.center-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.center-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.center-desc {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.center-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.c-tag {
  background-color: #f3f4f6;
  color: #374151;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.c-tag:nth-child(1) {
  background-color: #fae8ff;
  /* Light purple tint */
  color: #86198f;
}

.c-tag:nth-child(2) {
  background-color: #dbeafe;
  /* Light blue tint */
  color: #1e40af;
}

@media (min-width: 768px) {
  .centers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Restored Info Styles */
.center-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #4b5563;
  /* Text muted */
  border-top: 1px solid #f3f4f6;
  padding-top: 1rem;
}

.c-info-item strong {
  display: block;
  color: #111;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.c-info-item p {
  margin: 0;
  line-height: 1.4;
}

.center-actions {
  margin-bottom: 1rem;
}

.c-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.c-link:hover {
  border-bottom-color: var(--color-primary);
  gap: 4px;
}

/* Centered Text Section below Stats Bar */
.centered-text-section {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
}

.centered-text-section p {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
}

/* =========================================
   SCROLLING MARQUEE BANNER
   ========================================= */
.marquee-banner {
  background-color: var(--color-primary);
  width: 100%;
  padding: 0.8rem 0;
  overflow: hidden;
  position: relative;
  display: flex;
}

.marquee-track {
  display: flex;
  width: fit-content;
  animation: marquee-lr 60s linear infinite;
  /* Will contain two copies of the content */
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  gap: 4rem;
  /* Space between items */
  padding-right: 4rem;
  /* Space between groups */
}

.marquee-text {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-main);
  margin: 0;
  white-space: nowrap;
}

/* Seamless Left-to-Right Animation */
@keyframes marquee-lr {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* =========================================
   VIDEO PROMO SECTION
   ========================================= */
.video-promo-section {
  padding: var(--space-8) 0;
  background-color: #fff;
}

.video-promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .video-promo-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
  }
}

.video-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: #000;
}

.video-text-content {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text);
  font-family: var(--font-main);
  text-align: left;
}

.video-text-content strong {
  color: var(--color-primary);
}

.sound-toggle-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.sound-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.sound-toggle-btn svg {
  width: 20px;
  height: 20px;
}

/* =========================================
   POPUP AVISO
   ========================================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.popup-content {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popupFadeIn 0.3s ease;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.popup-close:hover {
  color: var(--color-primary);
}

.popup-header h3 {
  color: var(--color-primary);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.popup-body p {
  color: var(--color-text);
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}