/* ==========================================
   ZANETTI INSTITUTO - ODONTOLOGIA DIGITAL
   Design System — Custom Styles v1.1
   ========================================== */

:root {
  /* ==========================================
     1. CORES BASE (Nossa Paleta Principal)
     ========================================== */
  --bg-main-white: #F2EFE9;
  /* Branco Asséptico */
  --bg-secondary-beige: #F2EFE9;
  /* Bege Clínico */

  --text-primary-dark: #222222;
  /* Preto Títulos */
  --text-secondary-wood: #936640;
  /* Acento de Conforto (Madeira) */

  --action-primary-cyan: #35827C;
  /* Ciano Saúde */
  --support-green: #537B59;
  /* Verde Integral */
  --accent-terracotta: #C1694A;
  /* Acento de Cuidado */

  /* ==========================================
     2. APLICAÇÃO SEMÂNTICA (Fundos e Textos)
     ========================================== */
  /* Backgrounds */
  --bg-main: var(--bg-main-white);
  --bg-secondary: var(--bg-secondary-beige);
  --bg-tertiary: #E8E4DD;
  /* Um tom ligeiramente mais escuro que o bege para divisões sutis */
  --bg-dark: #192322;
  /* Fundo escuro elegante (derivado do Ciano/Preto) para rodapés */

  /* Tipografia */
  --text-primary: var(--text-primary-dark);
  --text-secondary: #4A4A4A;
  /* Cinza chumbo para textos longos (evita cansaço visual) */
  --text-muted: #7A7A7A;
  --text-wood: var(--text-secondary-wood);
  --text-wood-light: #35827c;

  /* ==========================================
     3. ESCALAS DE CORES (Para Hover, Bordas e Focos)
     ========================================== */

  /* Ciano Saúde - Escala */
  --cyan-50: #F0F7F6;
  /* Fundo sutil para cards de procedimentos */
  --cyan-100: #D1E7E5;
  --cyan-200: #A3CFCC;
  --cyan-300: #6DB3AD;
  --cyan-400: #4A9E97;
  --cyan-500: #36817c;
  /* Base */
  --cyan-600: #2D706B;
  --cyan-700: #215955;
  --cyan-800: #17423F;

  /* Cor para Hover em botões (
/* ===== BASE RESET ===== */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
  }

  body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  ::selection {
    background-color: var(--cyan-100);
    color: var(--cyan-800);
  }

  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* ===== BACKGROUND UTILITIES ===== */
  .bg-zanetti-white {
    background-color: var(--bg-main) !important;
  }

  .bg-zanetti-beige {
    background-color: var(--bg-secondary) !important;
  }

  .bg-zanetti-dark {
    background-color: var(--bg-dark) !important;
  }

  .bg-zanetti-dark-alt {
    background-color: var(--bg-dark-alt) !important;
  }

  .bg-zanetti-cyan {
    background-color: var(--cyan-500) !important;
  }

  .bg-zanetti-cyan-dk {
    background-color: var(--cyan-600) !important;
  }

  .bg-zanetti-cyan-lt {
    background-color: var(--cyan-50) !important;
  }

  .bg-zanetti-cyan100 {
    background-color: var(--cyan-100) !important;
  }

  .bg-zanetti-green {
    background-color: var(--support-green) !important;
  }

  .bg-zanetti-terra {
    background-color: var(--terra-500) !important;
  }

  /* ===== TEXT UTILITIES ===== */
  .text-zanetti-dark {
    color: var(--text-primary) !important;
  }

  .text-zanetti-sec {
    color: var(--text-secondary) !important;
  }

  .text-zanetti-muted {
    color: var(--text-muted) !important;
  }

  .text-zanetti-wood {
    color: var(--text-wood) !important;
  }

  .text-zanetti-cyan {
    color: var(--cyan-500) !important;
  }

  .text-zanetti-cyan-dk {
    color: var(--cyan-700) !important;
  }

  .text-zanetti-cyan-lt {
    color: var(--cyan-300) !important;
  }

  .text-zanetti-green {
    color: var(--support-green) !important;
  }

  .text-zanetti-terra {
    color: var(--terra-500) !important;
  }

  .text-zanetti-cyan100 {
    color: var(--cyan-100) !important;
  }

  /* ===== BORDER UTILITIES ===== */
  .border-zanetti {
    border-color: var(--border-light) !important;
  }

  .border-zanetti-md {
    border-color: var(--border-medium) !important;
  }

  .border-zanetti-cyan {
    border-color: var(--cyan-500) !important;
  }

  .border-zanetti-cyan-lt {
    border-color: var(--cyan-200) !important;
  }

  .border-zanetti-dark {
    border-color: rgba(53, 130, 124, .3) !important;
  }

  /* ===== GRADIENT ===== */
  .gradient-text-zanetti {
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ===== HEADER SHRINK ===== */
  header {
    transition: all 0.3s ease;
  }

  header.header-shrink {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  }

  header.header-shrink .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  header.header-shrink img {
    height: 2rem !important;
    /* shrink logo */
  }

  /* ===== BUTTONS ===== */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background-color: var(--cyan-500);
    color: #fff;
    font-weight: 500;
    padding: .875rem 2rem;
    border-radius: 9999px;
    transition: all .3s ease;
    box-shadow: 0 10px 25px -5px var(--shadow-cyan);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
  }

  .btn-primary:hover {
    background-color: var(--cyan-600);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(53, 130, 124, .3);
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-weight: 500;
    padding: .875rem 2rem;
    border-radius: 9999px;
    border: 1px solid var(--border-light);
    transition: all .3s ease;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
  }

  .btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--cyan-200);
    color: var(--cyan-600);
  }

  .btn-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background-color: var(--cyan-500);
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem;
    border-radius: .75rem;
    transition: all .3s ease;
    box-shadow: 0 10px 25px -5px var(--shadow-cyan);
    border: none;
    cursor: pointer;
    font-family: inherit;
  }

  .btn-submit:hover {
    background-color: var(--cyan-400);
    box-shadow: 0 15px 30px -5px rgba(53, 130, 124, .3);
  }

  /* ===== NAVBAR ===== */
  .navbar {
    background-color: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .06);
  }

  .nav-link {
    color: var(--text-secondary);
    font-size: .875rem;
    font-weight: 500;
    transition: color .3s ease;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--cyan-500);
    transition: width .3s ease-in-out;
  }

  .nav-link:hover {
    color: var(--cyan-500);
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background-color: var(--cyan-500);
    color: #fff;
    font-size: .875rem;
    font-weight: 500;
    padding: .625rem 1.25rem;
    border-radius: 9999px;
    transition: all .3s;
    box-shadow: 0 4px 15px var(--shadow-cyan);
    text-decoration: none;
  }

  .nav-cta:hover {
    background-color: var(--cyan-600);
    box-shadow: 0 8px 25px rgba(53, 130, 124, .3);
  }

  @media (max-width: 767.98px) {
    .nav-cta {
      display: none !important;
    }
  }

  @media (min-width: 768px) {
    #menu-toggle {
      display: none !important;
    }
  }

  /* ===== HERO ===== */


  .hero-image-wrap {
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(34, 47, 45, .15);
    position: relative;
  }

  .hero-image-wrap img {
    transition: transform .7s ease;
  }

  .hero-image-wrap:hover img {
    transform: scale(1.05);
  }

  .hero-overlay {
    background: linear-gradient(to top, rgba(26, 47, 45, .6), transparent, transparent);
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    background-color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    padding: .375rem .75rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--cyan-800);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
  }

  .hero-bottom-card {
    background-color: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
  }

  .blur-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(64px);
    z-index: -1;
  }

  /* ===== STAT HIGHLIGHT ===== */
  .stat-highlight {
    background-color: var(--cyan-500);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(53, 130, 124, .15);
    color: #fff;
  }

  /* ===== SERVICE CARDS ===== */
  .service-card {
    padding: .5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-light);
    background-color: #fff;
    transition: all .3s ease;
    overflow: hidden;
    position: relative;
  }

  .service-card:hover {
    box-shadow: 0 20px 40px var(--shadow-dark);
  }

  .service-card-img {
    position: relative;
    height: 14rem;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--bg-secondary);
  }

  .service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
  }

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

  .service-card-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    padding: .25rem .75rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  }

  .service-card-icon {
    position: absolute;
    top: -2.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: var(--cyan-500);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    transition: all .3s ease;
  }

  .service-card:hover .service-card-icon {
    background-color: var(--cyan-500);
    color: #fff;
  }

  /* ===== FAQ ===== */
  .faq-item {
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    overflow: hidden;
  }

  .faq-item[open] {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 0 0 1px rgba(53, 130, 124, .15);
  }

  .faq-item summary {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: .375rem;
    padding: 1.5rem;
    color: var(--text-primary);
    list-style: none;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary h3 {
    font-size: 1.125rem;
    font-weight: 600;
  }

  .faq-chevron {
    padding: .375rem;
    border-radius: 9999px;
    background-color: var(--cyan-50);
    color: var(--cyan-500);
    transition: transform .3s ease;
    flex-shrink: 0;
  }

  .faq-item[open] .faq-chevron {
    transform: rotate(-180deg);
  }

  .faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 500;
  }

  /* ===== FORM ===== */
  .form-input {
    width: 100%;
    border: 1px solid rgba(53, 130, 124, .3);
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    background-color: rgba(26, 47, 45, .3);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all .3s ease;
    outline: none;
  }

  .form-input::placeholder {
    color: rgba(53, 130, 124, .5);
  }

  .form-input:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 2px rgba(53, 130, 124, .2);
  }

  .form-select {
    width: 100%;
    border: 1px solid rgba(53, 130, 124, .3);
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    background-color: rgba(26, 47, 45, .3);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all .3s ease;
    outline: none;
    appearance: none;
    cursor: pointer;
  }

  .form-select:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 2px rgba(53, 130, 124, .2);
  }

  .form-select option {
    color: var(--text-primary);
    background: var(--bg-main);
  }

  /* ===== SOCIAL ICONS ===== */
  .social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: var(--cyan-500);
    transition: all .3s;
    text-decoration: none;
  }

  .social-icon:hover {
    background-color: var(--cyan-500);
    border-color: var(--cyan-500);
    color: #fff;
  }

  /* ===== NAV ARROWS ===== */
  .nav-arrow {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all .3s;
    background: none;
    cursor: pointer;
  }

  .nav-arrow:hover {
    background-color: var(--cyan-500);
    border-color: var(--cyan-500);
    color: #fff;
  }

  /* ===== FOOTER ===== */
  .footer-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color .2s;
    text-decoration: none;
  }

  .footer-link:hover {
    color: var(--cyan-500);
  }

  /* ===== MOBILE MENU ===== */
  .mobile-menu {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    z-index: 100;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .mobile-menu a {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    transition: color .2s;
  }

  .mobile-menu a:hover {
    color: var(--cyan-500);
  }

  .mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
  }

  /* ===== DOT PATTERN ===== */
  .dot-pattern {
    background-image: radial-gradient(circle at 2px 2px,
        rgba(255, 255, 255, .1) 1px,
        transparent 0);
    background-size: 40px 40px;
  }

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

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .anim-fade-up {
    animation: fadeInUp .6s ease both;
  }

  .anim-fade {
    animation: fadeIn .6s ease both;
  }

  /* Scroll-triggered reveal */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 2s cubic-bezier(.16, 1, .3, 1);
  }

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

  /* Stagger children */
  .reveal-delay-1 {
    transition-delay: .1s;
  }

  .reveal-delay-2 {
    transition-delay: .2s;
  }

  .reveal-delay-3 {
    transition-delay: .3s;
  }

  .reveal-delay-4 {
    transition-delay: .4s;
  }

  .reveal-delay-5 {
    transition-delay: .5s;
  }

  /* ===== MISC ===== */
  img {
    display: block;
    max-width: 100%;
  }

  /* Collage float effect */
  .collage-float {
    transition: transform .5s ease;
  }

  .collage-float:hover {
    transform: rotate(0deg) !important;
  }

  /* ===== GALERIA DE FOTOS ===== */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .gallery-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 47, 45, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
  }

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

  .gallery-title {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    transform: translateY(10px);
    transition: transform 0.4s ease;
  }

  .gallery-item:hover .gallery-title {
    transform: translateY(0);
  }

  /* ===== TESTIMONIALS ===== */
  .testimonial-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(53, 130, 124, 0.08);
  }

  .quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--cyan-100);
    opacity: 0.5;
    width: 48px;
    height: 48px;
  }

  /* ===== MAPA LOCALIZACAO ===== */
  .map-container {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(53, 130, 124, 0.15);
    border: 4px solid white;
    height: 450px;
    position: relative;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2) contrast(1.1);
  }

  /* ===== WHATSAPP FAB ===== */
  .fab-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background-color: #25D366;
    color: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: pulse-whatsapp 2s infinite;
  }

  .fab-whatsapp:hover {
    background-color: #1ebe57;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    animation: none;
  }

  .fab-whatsapp svg {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
  }

  @keyframes pulse-whatsapp {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
      box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }

  /* ===== 3D DIFERENCIAIS ===== */
  .perspective-1000 {
    perspective: 1000px;
  }

  .diff-card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .diff-card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(53, 130, 124, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    transform: translateZ(0);
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .diff-card-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  }

  .diff-card-3d:hover .diff-card-inner {
    background: rgba(53, 130, 124, 0.1);
    border-color: rgba(53, 130, 124, 0.5);
    box-shadow: 0 20px 40px rgba(53, 130, 124, 0.2);
  }

  /* ===== ESPECIALIDADES INTERATIVAS ===== */
  .esp-list-item {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .esp-list-item:hover {
    background: rgba(53, 130, 124, 0.05);
  }

  .esp-list-item.active {
    background: #fff;
    border-color: var(--cyan-200);
    box-shadow: 0 10px 25px rgba(53, 130, 124, 0.1);
  }

  .esp-list-item.active h3 {
    color: var(--cyan-600);
  }

  .esp-list-item.active .esp-arrow {
    opacity: 1;
    transform: translateX(0);
  }

  .esp-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--cyan-500);
  }

  .esp-image-view {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 25px 50px -12px rgba(53, 130, 124, 0.2);
  }

  .esp-img-pane {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
    transform: scale(1.05);
  }

  .esp-img-pane.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 10;
  }

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

  .esp-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 47, 45, 0.8) 0%, rgba(26, 47, 45, 0.4) 40%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
  }

/* Fix Logo Flash of Unstyled Content (FOUC) before Tailwind loads */
.logo-navbar {
  height: 40px !important;
  width: auto !important;
}
@media (min-width: 768px) {
  .logo-navbar {
    height: 48px !important;
  }
}
.logo-footer {
  height: 40px !important;
  width: auto !important;
}
