/* ============================================================
   BN INSTITUTE — CARTÃO DIGITAL + SITE INSTITUCIONAL
   Design System: Dark Glassmorphism + Gold Accents
   ============================================================ */

/* === VARIABLES === */
:root {
  --primary-blue: #002D54;
  --primary-dark: #001a33;
  --accent-gold: #C5A059;
  --accent-gold-light: #d4b06a;
  --accent-gold-dim: rgba(197, 160, 89, 0.15);
  --text-dark: #1A1A1A;
  --text-light: #F5F5F5;
  --text-muted: #a0a0b0;
  --bg-card: #050a14;
  --bg-card-gradient: linear-gradient(160deg, #050a14 0%, #0d1b2a 40%, #091422 100%);
  --bg-light: #FFFFFF;
  --bg-cream: #fdfbf7;
  --bg-dark: #0A0A0A;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(197, 160, 89, 0.2);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-fast: all 0.2s ease;
  --container-width: 1200px;
  --card-max-width: 480px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 120px rgba(197, 160, 89, 0.06);
  --shadow-btn: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}


/* ============================================================
   PWA INSTALL MODAL & BOTTOM SHEET
   ============================================================ */
/* ============================================================
   PWA INSTALL MODAL (HORIZONTAL NO DESKTOP, VERTICAL NO MOBILE)
   ============================================================ */
.pwa-modal {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 2rem);
  max-width: 420px;
  background: rgba(10, 20, 35, 0.97);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: bottom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  opacity: 0;
  visibility: hidden;
}

.pwa-modal.visible {
  bottom: 1rem;
  opacity: 1;
  visibility: visible;
}

.pwa-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: var(--transition-fast);
  z-index: 10;
}

.pwa-modal-close:hover {
  color: var(--text-light);
  transform: rotate(90deg);
}

/* Coluna 1: Cabeçalho/Marca */
.pwa-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pwa-modal-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--glass-border);
  padding: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.pwa-modal-header-text {
  flex: 1;
}

.pwa-modal-title {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
  font-family: 'Playfair Display', serif;
}

.pwa-modal-subtitle {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

/* Coluna 2: Corpo das Instruções */
.pwa-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Tabs de Seleção */
.pwa-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: 50px;
  gap: 2px;
}

.pwa-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  background: none;
  border: none;
  border-radius: 50px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pwa-tab-btn svg {
  opacity: 0.6;
}

.pwa-tab-btn.active {
  background: var(--accent-gold);
  color: #fff;
}

.pwa-tab-btn.active svg {
  opacity: 1;
}

/* Conteúdo da Tab Ativa */
.pwa-tab-content {
  display: none;
}

.pwa-tab-content.active {
  display: flex;
  flex-direction: column;
}

.pwa-steps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pwa-step {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.pwa-step-num {
  width: 22px;
  height: 22px;
  background: var(--accent-gold-dim);
  border: 1px solid var(--glass-border);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pwa-step p {
  color: var(--text-light);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}

.pwa-step p strong {
  color: var(--accent-gold);
}

.inline-icon {
  display: inline;
  vertical-align: middle;
  margin: 0 2px;
  color: var(--accent-gold);
}

/* Coluna 3: Ações do Modal */
.pwa-modal-right {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pwa-install-btn-modal {
  background: linear-gradient(135deg, var(--accent-gold), #b48e4b);
  color: #fff;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
  text-align: center;
}

.pwa-install-btn-modal:hover {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

.pwa-dont-show-again {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  user-select: none;
}

.pwa-dont-show-again input[type="checkbox"] {
  accent-color: var(--accent-gold);
  cursor: pointer;
}

/* ============================================================
   RESPONSIVIDADE HORIZONTAL (Desktop / Rodapé completo)
   ============================================================ */
@media (min-width: 1024px) {
  .pwa-modal {
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1100px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }

  .pwa-modal.visible {
    bottom: 1.5rem;
  }

  /* Coluna 1: Ajuste de largura da marca */
  .pwa-modal-header {
    flex: 0 0 250px;
  }

  /* Coluna 2: Ajuste do corpo centralizado */
  .pwa-modal-body {
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 2rem;
  }

  /* Tabs no desktop ficam na vertical como uma pequena sidebar */
  .pwa-tabs {
    flex: 0 0 130px;
    flex-direction: column;
    background: none;
    border: none;
    padding: 0;
    gap: 6px;
  }

  .pwa-tab-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
  }

  .pwa-tab-btn.active {
    background: var(--accent-gold);
    border-color: transparent;
  }

  /* Conteúdo e passos na horizontal */
  .pwa-tab-content.active {
    flex: 1;
    flex-direction: row;
    align-items: center;
  }

  .pwa-steps {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
  }

  .pwa-step {
    flex: 1 1 180px;
    align-items: center;
    gap: 0.6rem;
  }

  .pwa-step p {
    font-size: 0.78rem;
  }

  /* Coluna 3: Ações na direita */
  .pwa-modal-right {
    flex: 0 0 180px;
    align-items: center;
  }

  .pwa-install-btn-modal {
    width: 100%;
  }
}


/* ============================================================
   RESTORED HERO SECTION
   ============================================================ */
.hero {
  background-image: linear-gradient(rgba(0, 45, 84, 0.82), rgba(5, 10, 20, 0.95)), url('psychoanalysis_hero_bg.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 160, 89, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  background: var(--accent-gold-dim);
  color: var(--accent-gold);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.btn-main {
  display: inline-block;
  background: var(--accent-gold);
  color: #fff;
  padding: 1rem 2.2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-main:hover {
  background: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 1rem 2.2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
  }
  .btn-main, .btn-outline {
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   HORIZONTAL BUSINESS CARD (NFC / QR CODE)
   ============================================================ */
.horizontal-card-section {
  padding: 6rem 0;
  background-color: var(--bg-cream);
  position: relative;
  overflow: hidden;
}

.horizontal-card-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 160, 89, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.business-card-horizontal {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2.5rem;
  background: var(--bg-card-gradient);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Subtle dot pattern inside card */
.business-card-horizontal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 160, 89, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Glow effect inside card */
.business-card-horizontal::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Coluna Esquerda */
.card-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  position: relative;
  z-index: 5;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-logo-horizontal {
  height: 50px;
  width: auto;
  filter: brightness(1.1);
}

.card-title-horizontal {
  color: var(--text-light);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  font-family: 'Playfair Display', serif;
}

.card-subtitle-horizontal {
  color: var(--accent-gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  display: block;
}

.card-tagline-horizontal {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 300;
}

.card-address-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-light);
  font-size: 0.82rem;
}

.card-address-horizontal svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.address-text-horizontal {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.address-text-horizontal strong {
  font-weight: 600;
}

.address-text-horizontal small {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-style: italic;
  margin-top: 2px;
}

/* Coluna Central */
.card-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 2rem;
  position: relative;
  z-index: 5;
}

.card-info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
  font-size: 0.84rem;
}

.card-info-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.card-info-item div {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1px;
}

.info-value {
  font-weight: 400;
  transition: var(--transition-fast);
}

a.info-value:hover {
  color: var(--accent-gold-light);
  text-decoration: underline;
}

/* Coluna Direita */
.card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  position: relative;
  z-index: 5;
  text-align: center;
}

.card-qr-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qr-wrapper-horizontal {
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.qr-wrapper-horizontal canvas {
  display: block;
  width: 90px;
  height: 90px;
}

.qr-text-horizontal {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.btn-save-contact-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--accent-gold), #b48e4b);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-save-contact-horizontal:hover {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.35);
}

.btn-save-contact-horizontal svg {
  color: #fff;
}

.card-social-horizontal {
  display: flex;
  gap: 0.8rem;
}

.card-social-horizontal a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.card-social-horizontal a:hover {
  background: var(--accent-gold);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVIDADE DO CARTÃO HORIZONTAL
   ============================================================ */
@media (max-width: 1024px) {
  .business-card-horizontal {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .card-center {
    border-right: none;
    padding-right: 0;
  }
  
  .card-right {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    width: 100%;
  }
  
  .btn-save-contact-horizontal {
    width: auto;
    padding: 0.75rem 2rem;
  }
}

@media (max-width: 768px) {
  .horizontal-card-section {
    padding: 4rem 0;
  }

  .business-card-horizontal {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  
  .card-center {
    border-left: none;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .card-right {
    flex-direction: column;
    gap: 1.2rem;
    border-top: none;
    padding-top: 0;
  }
  
  .btn-save-contact-horizontal {
    width: 100%;
  }
}


/* ============================================================
   STICKY NAVIGATION (appears after card)
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0.8rem 0;
  transition: var(--transition);
}

.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
}

.nav-logo-small {
  height: 45px;
  width: auto;
}

.nav-links-list {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}

.nav-links-list a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-links-list a:hover {
  color: var(--accent-gold);
}

.nav-links-list a:hover::after {
  width: 100%;
}

.nav-links-list .btn-nav-cta {
  background: var(--primary-blue);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
}

.nav-links-list .btn-nav-cta::after {
  display: none;
}

.nav-links-list .btn-nav-cta:hover {
  background: var(--accent-gold);
  color: #fff !important;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  background: none;
  border: none;
}

.mobile-menu-btn span {
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  display: block;
}

/* Mobile Nav Dropdown */
.mobile-nav-dropdown {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 10, 20, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.mobile-nav-dropdown.open {
  display: flex;
}

.mobile-nav-dropdown a {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.8rem 2rem;
  transition: var(--transition-fast);
}

.mobile-nav-dropdown a:hover {
  color: var(--accent-gold);
}


/* ============================================================
   INSTITUTIONAL SECTIONS (Below Card)
   ============================================================ */

/* === COMMON SECTION STYLES === */
.section {
  padding: 6rem 0;
}

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

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

.section-blue {
  background: var(--primary-blue);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 1rem;
}

.section-dark .section-label {
  color: var(--accent-gold);
}

.section-header h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  color: inherit;
}

.section-header p {
  max-width: 650px;
  margin: 1.5rem auto 0;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
}

.section-dark .section-header p {
  color: var(--text-muted);
}

/* === ABOUT SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-features {
  list-style: none;
  margin-top: 1.5rem;
}

.about-features li {
  margin-bottom: 1rem;
  padding-left: 1.8rem;
  position: relative;
  font-size: 1rem;
  color: #444;
}

.about-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
}

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

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: rgba(197, 160, 89, 0.2);
  border-radius: 50%;
  filter: blur(20px);
}

/* === TEAM SECTION === */
.team-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.team-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: auto;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  max-width: 550px;
  margin: 0 auto;
}

.team-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.team-image-wrapper:hover img {
  transform: scale(1.03);
}

.team-content h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.team-content p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .team-content h2 {
    font-size: 1.8rem;
  }
}

/* === SERVICES / FEATURES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid #eee;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.section-dark .service-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.section-dark .service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--accent-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary-blue);
}

.section-dark .service-card h3 {
  color: var(--text-light);
}

.service-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.section-dark .service-card p {
  color: var(--text-muted);
}

/* === PILLARS / FORMATION === */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pillar-card {
  position: relative;
  padding: 3rem 2.5rem;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent-gold);
  opacity: 0.1;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.pillar-card h4 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--primary-blue);
  position: relative;
}

.pillar-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}

/* === COURSES SECTION === */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.course-card {
  background: #fff;
  padding: 3rem;
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.course-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.course-tag {
  display: inline-block;
  background: var(--accent-gold);
  color: #fff;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.course-card h4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  line-height: 1.2;
}

.course-card > p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.course-details {
  list-style: none;
  margin: 1.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #eee;
}

.course-details li {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 0.4rem;
}

.btn-course {
  display: inline-block;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-course:hover {
  background: var(--primary-blue);
  color: #fff;
}

/* === TESTIMONIALS === */
.testimonials-section {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 160, 89, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--accent-gold);
  opacity: 0.2;
  position: absolute;
  top: -2rem;
  left: -1rem;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
}

.testimonial-author span {
  font-size: 0.85rem;
  opacity: 0.5;
}

/* === LOCATION SECTION === */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.location-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.location-address {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid #eee;
  margin-bottom: 1.5rem;
}

.location-address p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

.location-address .reference {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.location-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-blue);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.btn-directions:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-directions svg {
  width: 18px;
  height: 18px;
}

/* === CONTACT FORM SECTION === */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.contact-form-info p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-quick-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-quick-links a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  padding: 0.6rem 0;
}

.contact-quick-links a:hover {
  color: var(--accent-gold);
}

.contact-quick-links svg {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
}

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

.form-group select option {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn-submit {
  background: linear-gradient(135deg, var(--accent-gold), #b48e4b);
  color: #fff;
  border: none;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 4rem 0 1.5rem;
  background: #f8f8f8;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #888;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--primary-blue);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #666;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
  text-align: center;
  color: #999;
  font-size: 0.82rem;
  position: relative;
}

.footer-bottom a {
  color: inherit;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--accent-gold);
}

.footer-admin {
  margin-top: 0.5rem;
  font-size: 0.72rem;
}

.footer-admin a {
  color: #bbb;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.footer-admin a:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.footer-shield {
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  color: #ccc;
  opacity: 0.25;
  transition: var(--transition-fast);
}

.footer-shield:hover {
  opacity: 0.8;
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .footer-shield {
    right: 1.2rem;
    bottom: 1rem;
  }
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.3s; }


/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid,
  .location-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.2rem;
  }

  .digital-card-section {
    padding: 1.5rem 0.8rem;
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .card-container {
    max-width: 100%;
  }

  .card-header {
    padding: 2rem 1.5rem 1.2rem;
  }

  .card-logo {
    width: 80px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-contacts {
    padding: 1rem 1rem 0.5rem;
  }

  .contact-row {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .card-actions {
    padding: 0.8rem 1rem 1.2rem;
    gap: 0.5rem;
  }

  .card-action-btn {
    padding: 0.75rem 0.5rem;
    font-size: 0.72rem;
  }

  .card-qr-wrapper canvas,
  .card-qr-wrapper img {
    width: 120px;
    height: 120px;
  }

  .scroll-indicator {
    display: none;
  }

  /* Nav */
  .nav-links-list {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Sections */
  .section-header h2 {
    font-size: 1.8rem;
  }

  .services-grid,
  .pillars-grid,
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-image-wrapper {
    height: 300px;
  }

  .testimonial-quote {
    font-size: 1.3rem;
  }

  .course-card {
    padding: 2rem;
  }

  .course-card h4 {
    font-size: 1.4rem;
  }

  .location-map {
    height: 280px;
  }

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

  .contact-form-grid {
    gap: 2.5rem;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .card-actions {
    grid-template-columns: 1fr;
  }

  .card-header {
    padding: 1.5rem 1rem 1rem;
  }

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