:root {
  --brand-blue: #0d6efd;
  --brand-blue-dark: #0a58ca;
  --brand-navy: #0f1f4a;
  --text-color: #2d3a4a;
  --title-color: #111b36;
  --header-border: #e6ebf1;
  --hero-bg: #f3f5f8;
  --section-bg: #f4f5f7;
  --card-border: #d9dee7;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fc;
  --bg-tertiary: #f4f5f7;
  --border-color: #e6ebf1;
  --shadow-color: rgba(31, 42, 68, 0.08);
  --shadow-hover: rgba(13, 110, 253, 0.15);
}

[data-theme="dark"] {
  --brand-blue: #4d9fff;
  --brand-blue-dark: #3d8fef;
  --brand-navy: #e8edf5;
  --text-color: #c5d1e0;
  --title-color: #e8edf5;
  --header-border: #2a3544;
  --hero-bg: #151b24;
  --section-bg: #1a2029;
  --card-border: #2a3544;
  
  --bg-primary: #1a2029;
  --bg-secondary: #151b24;
  --bg-tertiary: #0f1419;
  --border-color: #2a3544;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --shadow-hover: rgba(77, 159, 255, 0.2);
}

[data-theme="dark"] body {
  background-color: var(--bg-primary);
  color: var(--text-color);
}

[data-theme="dark"] .site-header {
  background-color: var(--bg-primary) !important;
  border-color: var(--header-border) !important;
}

[data-theme="dark"] .hero-banner {
  background: linear-gradient(140deg, #111722 0%, #0f1622 50%, #0b111b 100%);
}

[data-theme="dark"] .bg-section {
  background-color: var(--section-bg);
}

[data-theme="dark"] .profile-card,
[data-theme="dark"] .professional-item,
[data-theme="dark"] .location-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .case-item {
  background: var(--bg-primary);
  border-color: var(--card-border);
  box-shadow: 0 4px 12px var(--shadow-color);
}

[data-theme="dark"] .profile-card:hover,
[data-theme="dark"] .professional-item:hover,
[data-theme="dark"] .location-card:hover,
[data-theme="dark"] .testimonial-card:hover {
  box-shadow: 0 12px 28px var(--shadow-hover);
}

[data-theme="dark"] .section-soft {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
}

[data-theme="dark"] #casos {
  background: linear-gradient(135deg, #1a2029 0%, #151b24 100%);
}

[data-theme="dark"] .comparison-slider {
  background: #0f1419;
}

[data-theme="dark"] .testimonial-image-wrapper {
  background: linear-gradient(135deg, #0f1419 0%, #151b24 100%);
}

[data-theme="dark"] .testimonial-image-placeholder {
  background: linear-gradient(135deg, rgba(77, 159, 255, 0.15) 0%, rgba(96, 190, 16, 0.08) 100%);
}

[data-theme="dark"] .testimonial-author {
  border-top-color: var(--border-color);
}

[data-theme="dark"] .modal-content {
  background: var(--bg-primary);
}

[data-theme="dark"] .modal-body {
  background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .modal-intro {
  background: var(--bg-secondary);
  color: var(--text-color);
}

[data-theme="dark"] .appointment-form .form-control,
[data-theme="dark"] .appointment-form .form-select {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-color);
}

[data-theme="dark"] .appointment-form .form-control:focus,
[data-theme="dark"] .appointment-form .form-select:focus {
  background: var(--bg-primary);
  border-color: var(--brand-blue);
}

[data-theme="dark"] .form-check {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .form-check-input {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
}

[data-theme="dark"] .modal-footer {
  background: var(--bg-secondary);
  border-top-color: var(--border-color);
}

[data-theme="dark"] .modal-footer .btn-secondary {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-color);
}

[data-theme="dark"] .modal-footer .btn-secondary:hover {
  background: var(--bg-primary);
  border-color: var(--brand-blue);
}

[data-theme="dark"] .contact-hours {
  background: linear-gradient(135deg, rgba(77, 159, 255, 0.1) 0%, rgba(77, 159, 255, 0.05) 100%);
  border-left-color: var(--brand-blue);
}

[data-theme="dark"] .chat-messages {
  background: #0f1419;
}

[data-theme="dark"] .message.incoming .message-bubble {
  background: var(--bg-secondary);
  color: var(--text-color);
}

[data-theme="dark"] .phone-input {
  background: var(--bg-secondary);
  border-top-color: var(--border-color);
}

[data-theme="dark"] .phone-input input {
  background: var(--bg-tertiary);
  color: var(--text-color);
}

[data-theme="dark"] .section-divider {
  border-color: var(--border-color);
}

[data-theme="dark"] .hero-banner-main {
  background: #1b2433;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .nav-link {
  color: var(--text-color);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link:focus {
  color: var(--brand-blue);
}

[data-theme="dark"] .navbar-toggler {
  border-color: var(--border-color);
}

[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

[data-theme="dark"] .hero-description {
  color: var(--text-color);
}

[data-theme="dark"] .case-description,
[data-theme="dark"] .testimonial-text,
[data-theme="dark"] .testimonial-role {
  color: var(--text-color);
}

.theme-toggle {
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-left: 1rem;
}

.theme-toggle:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-blue);
  transform: scale(1.05);
}

.theme-toggle i {
  font-size: 1.2rem;
  color: var(--brand-blue);
  transition: all 0.3s ease;
}

.theme-toggle .fa-moon {
  position: absolute;
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

.theme-toggle .fa-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .fa-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .fa-sun {
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.site-header {
  border-color: var(--header-border) !important;
  backdrop-filter: saturate(180%) blur(4px);
}

.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.brand-logo-container:hover {
  opacity: 0.85;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-title {
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.01em;
  font-family: "Playfair Display", Georgia, serif;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.brand-title:hover,
.brand-title:focus {
  opacity: 0.85;
}

.nav-links {
  gap: 1.35rem;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: #243447;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-blue);
}

.cta-button {
  border-radius: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}

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

.hero-banner {
  background: linear-gradient(135deg, #0066cc 0%, #004a99 50%, #003366 100%);
  padding: 0;
  position: relative;
  overflow: visible;
  min-height: 600px;
  margin-bottom: 250px;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  z-index: 1;
}

.hero-banner-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-banner-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4rem 3rem;
  flex: 1;
  gap: 3rem;
}

.hero-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 50ch;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-btn-primary {
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0066cc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  background: #f0f0f0;
}

.hero-banner-image-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  animation: floatImage 3s ease-in-out infinite;
}

.hero-banner-image-panel:has(.hero-image-circle:hover) {
  animation-play-state: paused;
}

.hero-image-circle {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition:
    border-radius 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.6s ease,
    border-color 0.5s ease;
  cursor: pointer;
}

.hero-image-circle:hover {
  border-radius: 22px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 5px rgba(0, 180, 166, 0.65),
    0 0 70px 8px rgba(0, 180, 166, 0.18);
  border-color: rgba(0, 180, 166, 0.9);
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-circle:hover .hero-banner-image {
  transform: scale(1.06);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 27, 68, 0.88) 0%,
    rgba(14, 27, 68, 0.42) 48%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.8rem 1.6rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.08s, transform 0.5s ease 0.08s;
  pointer-events: none;
}

.hero-image-circle:hover .hero-image-overlay {
  opacity: 1;
  transform: translateY(0);
}

.hero-overlay-content {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.hero-overlay-name {
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero-overlay-title {
  color: #2bc8c8;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero-banner-cards {
  position: absolute;
  bottom: -15%;
  left: 150px;
  right: 150px;
  z-index: 3;
  width: calc(100% - 300px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transform: translateY(0);
}

.hero-info-card {
  padding: 2.0rem 2.0rem;

  color: #fff;
  bottom: -50%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 12px;
  margin: 0 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.hero-info-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
}

.hero-info-card p {
  opacity: 0.95;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.hero-info-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  display: block;
}

.hero-info-card a {
  margin-top: 1.2rem;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

.hero-info-card a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.hero-info-btn {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
}

.hero-info-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-info-card-primary {
  background: linear-gradient(135deg, #00b4a6 0%, #009999 100%);
}

.hero-info-card-primary:hover {
  box-shadow: 0 15px 40px rgba(0, 180, 166, 0.4);
  transform: translateY(-6px);
}

.hero-info-card-secondary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.hero-info-card-secondary:hover {
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
  transform: translateY(-6px);
}

.hero-info-card-tertiary {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.hero-info-card-tertiary:hover {
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
  transform: translateY(-6px);
}

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .hero-banner {
    min-height: 550px;
  }

  .hero-banner-content-wrapper {
    padding: 3rem 2rem;
    gap: 2rem;
  }

  .hero-image-circle {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 991.98px) {
  .hero-banner {
    min-height: 700px;
  }

  .hero-banner-content-wrapper {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
  }

  .hero-banner-image-panel {
    order: -1;
  }

  .hero-image-circle {
    width: 280px;
    height: 280px;
  }

  .hero-banner-cards {
    grid-template-columns: 1fr;
    transform: translateY(0);
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .hero-info-card {
    margin: 0.5rem 0;
    bottom: 0;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-banner {
    min-height: 600px;
  }

  .hero-banner-content-wrapper {
    padding: 2rem 1.5rem;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .hero-image-circle {
    width: 240px;
    height: 240px;
  }

  .hero-info-card {
    padding: 1.8rem 1.5rem;
    margin: 0.5rem 0;
    bottom: 0;
    width: 100%;
  }

  .hero-info-card h2 {
    font-size: 1.1rem;
  }

  .hero-info-card p {
    font-size: 0.9rem;
  }

  .hero-info-icon {
    font-size: 2rem;
  }
}

.section-space {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

#sobre-mi {
  padding-top: 1rem;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #1e2d5b;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  margin-top: 0.8rem;
  background: linear-gradient(90deg, var(--brand-blue) 0%, #60be10 100%);
}

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

.sub-title {
  font-family: "Playfair Display", Georgia, serif;
  color: #1e2d5b;
  font-size: 2rem;
  margin: 1.9rem 0 1rem;
  letter-spacing: -0.01em;
}

.lead-text {
  font-size: 1.4rem;
  line-height: 1.7;
}

.profile-card,
.professional-item,
.location-card {
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(31, 42, 68, 0.08);
  transition: all 0.3s ease;
}

.profile-card:hover,
.professional-item:hover,
.location-card:hover {
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.15);
  transform: translateY(-2px);
}

.profile-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

.profile-caption {
  padding: 1rem 1.1rem 1.2rem;
}

.profile-caption h2 {
  color: #1e2d5b;
}

.profile-position {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0d6efd;
  margin: 0;
  line-height: 1.4;
}

[data-theme="dark"] .profile-caption h2 {
  color: var(--title-color);
}

[data-theme="dark"] .profile-position {
  color: #4d9fff;
}

.professional-item {
  padding: 1.4rem;
}

.professional-item h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: #1e2d5b;
}

.bullet-list {
  padding-left: 1.3rem;
}

.bullet-list li {
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
  line-height: 1.55;
}

.bullet-list li::marker {
  color: #60be10;
}

.section-divider {
  margin: 1.7rem 0;
  border-color: #cfd6e3;
}

.section-soft {
  background-color: #eef1f6;
  border-top: 1px solid #d8dee9;
  border-bottom: 1px solid #d8dee9;
}

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

.location-card {
  padding: 1.8rem;
}

.location-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: #1e2d5b;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  font-size: 1.4rem;
}

.location-card p {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.site-footer {
  background: #1e2d5b;
  color: #f5f7fb;
}

.footer-main {
  padding: 5rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.6fr;
  gap: 2.2rem;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  margin-bottom: 1.4rem;
}

.footer-brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-brand-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
}

.footer-description {
  color: rgba(245, 247, 251, 0.86);
  max-width: 35ch;
  line-height: 1.8;
  margin-bottom: 1.35rem;
  font-size: 1.1rem;
}

.footer-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

.footer-links li + li {
  margin-top: 0.75rem;
}

.footer-links a {
  color: rgba(245, 247, 251, 0.72);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-card {
  background: #f5f6f8;
  color: var(--text-color);
  border-radius: 1.25rem;
  padding: 2rem;
  border-left: 4px solid #2bc8c8;
}

.footer-contact-card .footer-title {
  color: #1e2d5b;
  margin-bottom: 1rem;
}

.footer-contact-text,
.footer-address {
  color: #6f7d96;
  line-height: 1.65;
  font-size: 1.15rem;
}

.footer-phone {
  color: #3552a0;
  font-weight: 700;
  font-size: 2rem;
  margin: 1rem 0;
}

.footer-phone i {
  margin-right: 0.5rem;
  font-size: 1.6rem;
}

.footer-contact-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-cta {
  color: #2bc8c8;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-cta-small {
  font-size: 1.2rem;
}

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

.social-icon {
  width: 38px;
  height: 38px;
  background: #1e2d5b;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  background: #eef1f6;
  padding: 1.75rem 0;
}

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

.footer-copyright {
  color: #73829f;
  font-size: 1.03rem;
}

.footer-legal {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-legal a {
  text-decoration: none;
  color: #73829f;
  font-size: 1.03rem;
}

.footer-legal a:hover {
  color: #4a5d82;
}

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

  .footer-contact-card {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .footer-main {
    padding: 3.7rem 0 3rem;
  }

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

  .footer-contact-card {
    max-width: 100%;
  }

  .footer-phone {
    font-size: 1.6rem;
  }

  .footer-bottom-content {
    justify-content: center;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    gap: 1rem;
  }
}

.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 66px;
  height: 66px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-button::before {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #ff3b30;
  border-radius: 50%;
  border: 2px solid white;
  animation: notificationBounce 1.5s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

@keyframes notificationBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.whatsapp-button:hover {
  background-color: #20ba5a;
  color: white;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  animation: none;
}

.location-card p i {
  margin-right: 0.6rem;
  color: var(--brand-blue);
  width: 20px;
  text-align: center;
}

.location-card p i.fa-whatsapp {
  color: #25d366;
}

/* Contact Section Styles */
.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.contact-content {
  flex: 1;
}

.contact-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e2d5b;
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1.15rem;
  color: var(--brand-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-value:hover {
  color: var(--brand-blue-dark);
  text-decoration: underline;
}

.contact-hours {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.02) 100%);
  border-left: 4px solid var(--brand-blue);
  padding: 1.5rem;
  border-radius: 0.8rem;
}

.contact-hours p {
  font-size: 1.05rem;
  color: var(--text-color);
}

/* Phone Chat Animation Styles */
.chat-phone-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 25px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-header {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: white;
  padding: 12px 16px;
  border-radius: 20px 20px 0 0;
  margin-top: 8px;
}

.phone-status {
  font-size: 0.75rem;
  margin-bottom: 4px;
  opacity: 0.9;
}

.time {
  font-weight: 600;
}

.phone-carrier {
  display: flex;
  flex-direction: column;
}

.carrier-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.carrier-status {
  font-size: 0.75rem;
  opacity: 0.8;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.message-1 {
  animation: messageLoop 6s ease-in-out infinite;
  animation-delay: 0s;
}

.message-2 {
  animation: messageLoop 6s ease-in-out infinite;
  animation-delay: 0.7s;
}

.message-3 {
  animation: messageLoop 6s ease-in-out infinite;
  animation-delay: 1.4s;
}

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

@keyframes messageLoop {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  15% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.message.incoming {
  align-items: flex-start;
}

.message.outgoing {
  align-items: flex-end;
}

.message-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.message.incoming .message-bubble {
  background: white;
  color: #333;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message.outgoing .message-bubble {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 1px 2px rgba(13, 110, 253, 0.2);
}

.message-time {
  font-size: 0.7rem;
  color: #999;
  padding: 0 4px;
}

.phone-input {
  background: white;
  padding: 12px;
  border-radius: 0 0 20px 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #e0e0e0;
}

.phone-input input {
  flex: 1;
  border: none;
  outline: none;
  background: #f5f5f5;
  padding: 10px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #999;
}

.send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

@media (max-width: 991.98px) {
  .chat-phone-container {
    margin-top: 2rem;
  }

  .phone-frame {
    width: 280px;
    height: 560px;
  }
}

/* Cases Section Styles */
#casos {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
}

.case-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.15);
  cursor: ew-resize;
  background: #f0f0f0;
  user-select: none;
}

.comparison-slider.is-dragging {
  cursor: grabbing;
}

.comparison-slider.is-dragging .comparison-line {
  cursor: grabbing;
}

.comparison-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.comparison-img-before {
  z-index: 1;
}

.comparison-img-after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.comparison-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  z-index: 3;
  transform: translateX(-50%);
}

.comparison-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4), 0 0 5px rgba(255, 255, 255, 0.5);
  transform: translateX(-50%);
  cursor: ew-resize;
}

.comparison-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-line::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: var(--brand-blue);
  font-weight: bold;
  pointer-events: none;
}

.case-content {
  text-align: center;
}

.case-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e2d5b;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.case-description {
  font-size: 1rem;
  color: #4a5f7f;
  margin: 0;
}

/* Testimonials Section Styles */
.testimonial-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(13, 110, 253, 0.2);
}

.testimonial-image-wrapper {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: linear-gradient(135deg, #f0f4f9 0%, #e6ebf1 100%);
  overflow: hidden;
}

.testimonial-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(96, 190, 16, 0.05) 100%);
}

.testimonial-image-placeholder i {
  font-size: 4rem;
  color: var(--brand-blue);
  opacity: 0.3;
}

.testimonial-content {
  padding: 2rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  margin-bottom: 1rem;
}

.testimonial-quote i {
  font-size: 2rem;
  color: var(--brand-blue);
  opacity: 0.2;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5f7f;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid #e6ebf1;
}

.testimonial-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e2d5b;
  margin-bottom: 0.3rem;
}

.testimonial-role {
  font-size: 0.95rem;
  color: #6b7c93;
  margin: 0;
}

.testimonial-video-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: white;
  border: none;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.testimonial-video-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.testimonial-video-btn i {
  font-size: 0.9rem;
}

/* Modal Styles */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: white;
  padding: 2.5rem 2.5rem 2rem;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.modal-header::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.modal-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  position: relative;
  z-index: 2;
  width: 1.5rem;
  height: 1.5rem;
}

.modal-header .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
  transition: all 0.3s ease;
}

.modal-body {
  padding: 2.5rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fc 100%);
}

.modal-intro {
  font-size: 1.1rem;
  color: #4a5f7f;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 500;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.08);
}

.appointment-form .form-label {
  font-weight: 600;
  color: #1e2d5b;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.appointment-form .form-label::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brand-blue);
  border-radius: 50%;
}

.appointment-form .form-control,
.appointment-form .form-select {
  border: 2px solid #e6ebf1;
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.appointment-form .form-control:hover,
.appointment-form .form-select:hover {
  border-color: #d0d9e6;
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1), 0 4px 12px rgba(13, 110, 253, 0.15);
  transform: translateY(-1px);
}

.appointment-form textarea.form-control {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.appointment-form .row {
  margin-bottom: 0.5rem;
}

.form-check {
  background: white;
  padding: 1.2rem;
  border-radius: 12px;
  border: 2px solid #e6ebf1;
  transition: all 0.3s ease;
}

.form-check:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1);
}

.form-check-input {
  border: 2px solid #d0d9e6;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-check-input:hover {
  border-color: var(--brand-blue);
}

.form-check-input:checked {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.form-check-label {
  font-size: 0.95rem;
  color: #4a5f7f;
  margin-left: 0.6rem;
  cursor: pointer;
  line-height: 1.5;
}

.form-check-label a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.form-check-label a:hover {
  border-bottom-color: var(--brand-blue);
}

.modal-footer {
  padding: 1.8rem 2.5rem;
  border-top: 1px solid #e6ebf1;
  background: #f8f9fc;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.modal-footer .btn {
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-footer .btn-primary {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.modal-footer .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4);
}

.modal-footer .btn-primary:active {
  transform: translateY(-1px);
}

.modal-footer .btn-secondary {
  background: white;
  border: 2px solid #e6ebf1;
  color: #6c757d;
}

.modal-footer .btn-secondary:hover {
  background: #f8f9fc;
  border-color: #d0d9e6;
  color: #5a6268;
}

@media (max-width: 991.98px) {
  .comparison-slider {
    aspect-ratio: 16 / 9;
  }

  .case-title {
    font-size: 1.15rem;
  }

  .testimonial-content {
    padding: 1.5rem 1.3rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-name {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .whatsapp-button {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .whatsapp-button::before {
    width: 16px;
    height: 16px;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .modal-header,
  .modal-footer {
    padding: 1.2rem 1.5rem;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }

  .phone-frame {
    width: 260px;
    height: 520px;
  }

  .contact-item {
    gap: 1rem;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .comparison-slider {
    aspect-ratio: 16 / 9;
  }

  .case-title {
    font-size: 1.05rem;
  }

  .case-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 991.98px) {
  .nav-links {
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .hero-banner-content {
    padding: 2.6rem 1.4rem 2.2rem;
  }

  .hero-title {
    max-width: 16ch;
  }

  .hero-description {
    max-width: 100%;
  }

  .lead-text,
  .bullet-list li,
  .section-intro,
  .location-card p {
    font-size: 1.05rem;
  }

  .sub-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 575.98px) {
  .brand-title {
    font-size: 1.35rem;
  }

  .hero-kicker {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 1.2rem;
  }

  .hero-description {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    margin-bottom: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-banner {
    padding-top: 1.5rem;
  }

  .hero-banner-image-panel {
    min-height: 300px;
  }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOutLoading 0.6s ease-in-out 2s forwards;
}

.loading-container {
  text-align: center;
}

.loading-logo {
  margin-bottom: 2rem;
}

.logo-animate {
  width: 80px;
  height: 80px;
  animation: logoScale 1.5s ease-in-out infinite;
}

.loading-text {
  font-size: 2rem;
  font-weight: 700;
  color: #1e2d5b;
  margin-bottom: 2rem;
  font-family: "Playfair Display", Georgia, serif;
  animation: textFadeIn 1s ease-in-out;
}

.loading-bar {
  width: 200px;
  height: 3px;
  background: #e6ebf1;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  width: 0%;
  animation: progressBar 2s ease-in-out forwards;
}

@keyframes logoScale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

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

@keyframes progressBar {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes fadeOutLoading {
  from {
    opacity: 1;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Partners Section */
.partners-section {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 4rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

.partners-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partners-track {
  display: flex;
  gap: 3rem;
  animation: scrollPartners 40s linear infinite;
  width: max-content;
  padding: 0 1rem;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 100px;
  position: relative;
  transition: all 0.3s ease;
}

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
}

.partner-logo-item:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.15);
}

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

[data-theme="dark"] .partners-section {
  background: linear-gradient(135deg, #1a2029 0%, #151b24 100%);
  border-top-color: var(--border-color);
}
