@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #d62843;
  --primary-hover: #b91c1c;
  --primary-dark: #991b1b;
  --primary-light: #fff1f2;
  --primary-glow: rgba(214, 40, 67, 0.15);
  
  --bg-color: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-active: rgba(214, 40, 67, 0.3);
  
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 12px 30px -4px rgba(214, 40, 67, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --card-shadow-active: 0 16px 36px -6px rgba(214, 40, 67, 0.2);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  padding: 1.5rem 1rem 3rem 1rem;
}

/* Background Atmosphere */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 10% 20%, rgba(214, 40, 67, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(30, 54, 164, 0.03) 0%, transparent 45%),
    var(--bg-color);
}

.container {
  max-width: 580px;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ==========================================================================
   HEADER & HERO
   ========================================================================== */
header {
  text-align: center;
  position: relative;
}

.header-banner-wrapper {
  position: relative;
  width: 100%;
  height: 170px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header-banner {
  width: 100%;
  height: 100%;
  background-image: url('public/fachada_gruponextil.webp');
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.header-banner-wrapper:hover .header-banner {
  transform: scale(1.03);
}

.header-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15, 23, 42, 0.65) 100%);
}

.banner-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-container {
  width: 110px;
  height: 110px;
  margin: -55px auto 1rem;
  border-radius: 50%;
  background: #ffffff;
  border: 5px solid var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.logo-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(214, 40, 67, 0.18);
}

.logo-container img {
  width: 78%;
  height: auto;
  object-fit: contain;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.brand-badge img {
  height: 15px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

header h1 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.header-lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 490px;
  margin: 0 auto 0.8rem;
}

/* Bio Collapsible */
.bio-collapsible {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.bio-collapsible.expanded {
  max-height: 400px;
  opacity: 1;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
}

.bio-collapsible p {
  margin-bottom: 0.5rem;
}

.bio-toggle-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.bio-toggle-btn:hover {
  background: var(--primary-light);
}

.bio-toggle-btn i {
  transition: transform 0.3s ease;
}

.bio-toggle-btn.expanded i {
  transform: rotate(180deg);
}

/* ==========================================================================
   HUB SECTION CARDS (THE 4 PILLARS - THEMED STYLING)
   ========================================================================== */
.hub-sections {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.section-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  border: none;
}

.section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.15);
}

/* Base Section Header */
.section-header {
  padding: 1.35rem 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  transition: filter 0.2s ease;
}

.section-header:hover {
  filter: brightness(1.04);
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
}

.section-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: var(--transition-smooth);
}

.section-card:hover .section-icon-box {
  transform: scale(1.06);
}

.section-info {
  flex: 1;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
  padding: 2px 8px;
  border-radius: 6px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 3px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
}

.section-chevron {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.section-card.expanded .section-chevron {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   ESCALA: 1º VERMELHO APOLO + 3 SEGUINTES EM CINZA DO MAIS CLARO PRO MAIS ESCURO
   -------------------------------------------------------------------------- */

/* Nível 1: Quero Comprar Kits (Vermelho Apolo Vibrante / Destaque Primário) */
#section-kits {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
}

#section-kits .section-tag {
  background: rgba(0, 0, 0, 0.18);
  color: #ffe4e6;
}

#section-kits .section-title {
  color: #ffffff;
}

#section-kits .section-subtitle {
  color: rgba(255, 255, 255, 0.94);
}

#section-kits .section-icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#section-kits .section-chevron {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

#section-kits:hover {
  box-shadow: 0 14px 32px -4px rgba(225, 29, 72, 0.38);
}

/* Nível 2: Grandes Contas & Corporativo (Cinza Claro Slate) */
#section-grandes-contas {
  background: linear-gradient(135deg, #64748b 0%, #526075 100%);
  color: #ffffff;
}

#section-grandes-contas .section-tag {
  background: rgba(0, 0, 0, 0.16);
  color: #ffffff;
}

#section-grandes-contas .section-title {
  color: #ffffff;
}

#section-grandes-contas .section-subtitle {
  color: #f1f5f9;
}

#section-grandes-contas .section-icon-box {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

#section-grandes-contas .section-chevron {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

#section-grandes-contas:hover {
  box-shadow: 0 14px 32px -4px rgba(100, 116, 139, 0.32);
}

/* Nível 3: Apresente sua Marca (Cinza Médio Ardósia) */
#section-marcas {
  background: linear-gradient(135deg, #475569 0%, #384658 100%);
  color: #ffffff;
}

#section-marcas .section-tag {
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

#section-marcas .section-title {
  color: #ffffff;
}

#section-marcas .section-subtitle {
  color: #e2e8f0;
}

#section-marcas .section-icon-box {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

#section-marcas .section-chevron {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

#section-marcas:hover {
  box-shadow: 0 14px 32px -4px rgba(71, 85, 105, 0.32);
}

/* Nível 4: Conheça a Apolo (Cinza Escuro Moderado) */
#section-sobre {
  background: linear-gradient(135deg, #334155 0%, #253346 100%);
  color: #ffffff;
}

#section-sobre .section-tag {
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

#section-sobre .section-title {
  color: #ffffff;
}

#section-sobre .section-subtitle {
  color: #cbd5e1;
}

#section-sobre .section-icon-box {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#section-sobre .section-chevron {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

#section-sobre:hover {
  box-shadow: 0 14px 32px -4px rgba(51, 65, 85, 0.32);
}

/* --------------------------------------------------------------------------
   CORPO EXPANDIDO (FUNDO BRANCO LIMPO PARA MÁXIMA LEITURA)
   -------------------------------------------------------------------------- */
.section-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.4rem;
  background: #ffffff;
  color: var(--text-primary);
}

.section-card.expanded .section-body {
  max-height: 1400px;
  opacity: 1;
  padding-bottom: 1.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.3rem;
}

/* ==========================================================================
   PILLAR 1: KITS & CONSULTANTS
   ========================================================================== */
.consultants-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.consultant-item {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  transition: var(--transition-smooth);
}

.consultant-item:hover {
  background: #ffffff;
  border-color: rgba(214, 40, 67, 0.25);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.consultant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.consultant-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.consultant-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  background: #e2e8f0;
}

.consultant-meta h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.consultant-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

.status-dot-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 12px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.consultant-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #1ebd59;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transform: translateY(-1px);
}

.btn-vip-group {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.btn-vip-group:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* ==========================================================================
   PILLAR 2: GRANDES CONTAS & TRIAGEM CORPORATIVA
   ========================================================================== */
.executives-intro {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #edf2f7;
}

.executives-intro-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  text-align: center;
}

.executives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.exec-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.exec-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.exec-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 0.4rem;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  display: block;
  background: #f1f5f9;
}

.exec-card h5 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.exec-card p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Strategic CTA Box */
.corporate-cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.3rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.corporate-cta-box h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.corporate-cta-box p {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.btn-corporate-primary {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(214, 40, 67, 0.35);
  transition: var(--transition-smooth);
}

.btn-corporate-primary:hover {
  background: #e11d48;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 40, 67, 0.45);
}

.direct-phone-link {
  margin-top: 0.8rem;
  display: inline-block;
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.direct-phone-link strong {
  color: #ffffff;
}

.direct-phone-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   PILLAR 3: APRESENTE SUA MARCA (MARCELO)
   ========================================================================== */
.brand-partner-box {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.marcelo-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  background: #f1f5f9;
}

.manager-meta h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.manager-meta .role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.manager-meta .desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.btn-brand-apply {
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(214, 40, 67, 0.25);
}

.btn-brand-apply:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(214, 40, 67, 0.35);
}

/* ==========================================================================
   PILLAR 4: CONHEÇA A APOLO & GRUPO NEXTIL
   ========================================================================== */
.about-history {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.about-history p {
  margin-bottom: 0.6rem;
}

/* Stats Metrics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.stat-card {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md);
  padding: 1rem 0.8rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Official Links Stack */
.official-links-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.official-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.official-link-row:hover {
  background: #ffffff;
  border-color: rgba(214, 40, 67, 0.3);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.link-brand-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.link-brand-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.link-brand-text h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.link-brand-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.link-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.official-link-row:hover .link-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* ==========================================================================
   MODAL: TRIAGEM CORPORATIVA & GRANDES CONTAS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.4rem 1.6rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #edf2f7;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.modal-title-box h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-title-box p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.btn-close-modal {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-close-modal:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.modal-body {
  padding: 1.4rem 1.6rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: #ffffff;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-submit-triage {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.2rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
}

.btn-submit-triage:hover {
  background: #1ebd59;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
}

.footer-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  transition: color 0.2s;
}

.footer-address:hover {
  color: var(--primary);
}

.footer-address i {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 480px) {
  body {
    padding: 1rem 0.75rem 2.5rem 0.75rem;
  }
  
  .header-banner-wrapper {
    height: 140px;
  }
  
  .logo-container {
    width: 96px;
    height: 96px;
    margin: -48px auto 0.8rem;
  }
  
  header h1 {
    font-size: 1.6rem;
  }
  
  .section-header {
    padding: 1.1rem 1.1rem;
  }
  
  .section-icon-box {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }
  
  .section-title {
    font-size: 1.05rem;
  }
  
  .consultant-actions {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}
