/* ==========================================================================
   Shifa Tangier - Clinical Medical Blue Theme & Layout System
   Vanilla CSS with RTL/LTR Logical Property Support & High-Performance Specs
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Professional Clinical Medical Blue */
  --primary-navy: #0A2540;
  --primary-blue: #0284C7;
  --primary-blue-hover: #0369A1;
  --accent-cyan: #06B6D4;
  --accent-teal: #0D9488;
  --accent-cyan-light: #E0F2FE;
  
  --trust-green: #059669;
  --trust-green-light: #D1FAE5;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-hover: #1EBE5D;

  --warning-amber: #D97706;
  --warning-amber-bg: #FFFBEB;
  --warning-amber-border: #FCD34D;

  /* Neutral Tones */
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  
  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --border-light: #E2E8F0;
  --border-focus: #38BDF8;

  /* Fonts */
  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-latin: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 32px -8px rgba(10, 37, 64, 0.18);
  --shadow-glow-whatsapp: 0 8px 24px rgba(37, 211, 102, 0.4);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Direction-aware typography */
[lang="fr"] body, [lang="en"] body {
  font-family: var(--font-latin);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-block: 0.6rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.brand-icon-wrapper {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}

.brand-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--primary-blue);
  font-weight: 600;
  white-space: nowrap;
}

/* Live Doctor Online Status Badge */
.header-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--trust-green-light);
  color: var(--trust-green);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(5, 150, 105, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--trust-green);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background-color: rgba(5, 150, 105, 0.4);
  animation: pulse-ring 1.8s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Header Actions & Language Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

/* Language Switcher Dropdown/Pills */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.lang-btn.active {
  background: var(--primary-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
  background: rgba(2, 132, 199, 0.12);
  color: var(--primary-blue);
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-navy);
  color: #fff;
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header-call:hover {
  background: var(--primary-blue);
  transform: translateY(-1px);
}

.btn-header-call svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding-block: 3rem 3.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.6) 0%, rgba(248, 250, 252, 1) 70%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  background: var(--accent-cyan-light);
  color: var(--primary-blue-hover);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}

.badge-tag svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Key Features List in Hero */
.hero-points-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-block: 0.5rem;
}

.hero-point-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.point-icon {
  width: 22px;
  height: 22px;
  background: var(--trust-green-light);
  color: var(--trust-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.point-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Mild Anti-Abuse Disclaimer Banner */
.fair-use-banner {
  background: var(--warning-amber-bg);
  border: 1px solid var(--warning-amber-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.fair-use-icon {
  color: var(--warning-amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.fair-use-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.fair-use-content strong {
  display: block;
  font-size: 0.9rem;
  color: var(--warning-amber);
  margin-bottom: 0.2rem;
}

.fair-use-content p {
  font-size: 0.85rem;
  color: #92400E;
  line-height: 1.5;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-whatsapp-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  padding: 0.95rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow-whatsapp);
  transition: var(--transition-bounce);
}

.btn-whatsapp-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-primary svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.btn-secondary-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  color: var(--primary-navy);
  border: 2px solid var(--border-light);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-secondary-call:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: var(--bg-subtle);
}

.btn-secondary-call svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-trust-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Medical Consultation Image Card (Right side) */
.hero-image-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-card:hover .hero-img {
  transform: scale(1.03);
}

.hero-image-overlay-badge {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image-overlay-badge svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-cyan);
}

.hero-quick-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-inline: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-main);
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

.btn-card-submit {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--primary-navy);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-card-submit:hover {
  background: var(--primary-blue);
}

.btn-card-submit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Stats Counter Bar --- */
.stats-bar {
  background: var(--primary-navy);
  color: #ffffff;
  padding-block: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.1;
}

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

/* --- Section Formatting --- */
.section-padding {
  padding-block: 4.5rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* --- Features Grid Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-box {
  background: var(--primary-navy);
  color: var(--accent-cyan);
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- How It Works Process Section --- */
.process-section {
  background: #ffffff;
  border-block: 1px solid var(--border-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: var(--transition-normal);
}

.process-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.step-badge {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
  font-family: var(--font-latin);
}

.process-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.process-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.process-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Dynamic Consultation Topics Helper Section --- */
.topics-section {
  background: var(--bg-main);
}

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

.topic-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  text-align: start;
}

.topic-card:hover {
  border-color: var(--whatsapp-green);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.15);
}

.topic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topic-icon {
  width: 40px;
  height: 40px;
  background: rgba(37, 211, 102, 0.1);
  color: var(--whatsapp-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.topic-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.topic-action-icon {
  color: var(--whatsapp-green);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.topic-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.topic-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- Quality & Medical Care Showcase --- */
.privacy-showcase-section {
  background: linear-gradient(135deg, var(--primary-navy), #061E36);
  color: #ffffff;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.privacy-content .section-title {
  color: #ffffff;
  text-align: start;
}

.privacy-content .section-subtitle {
  color: var(--text-light);
  text-align: start;
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.privacy-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.privacy-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-item-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.privacy-item-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.privacy-item-text p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.privacy-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.parcel-demo-box {
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(6, 182, 212, 0.4);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.parcel-icon {
  width: 64px;
  height: 64px;
  color: var(--accent-cyan);
}

.parcel-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.parcel-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.parcel-sublabel {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Patient Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.stars-rating {
  color: #F59E0B;
  display: flex;
  gap: 3px;
}

.stars-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent-cyan-light);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.author-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- FAQ Accordion --- */
.faq-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.faq-accordion {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: start;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.faq-icon-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: var(--transition-fast);
}

.faq-item.active .faq-icon-toggle {
  background: var(--primary-navy);
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-inline: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* --- Floating WhatsApp & Call Buttons --- */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-bounce);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: var(--shadow-glow-whatsapp);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.notification-badge {
  position: absolute;
  top: -2px;
  inset-inline-start: -2px;
  width: 22px;
  height: 22px;
  background: #EF4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  font-family: var(--font-latin);
}

.floating-call {
  background: var(--primary-navy);
}

.floating-call svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* --- Quick Consultation Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-bounce);
}

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

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #EF4444;
  color: #ffffff;
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.modal-header {
  margin-bottom: 1.5rem;
  text-align: start;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- Footer --- */
.site-footer {
  background: #06192E;
  color: #ffffff;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand .brand-subtitle {
  color: var(--accent-cyan);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-disclaimer-box strong {
  color: var(--accent-cyan);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-inline-start: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-cyan);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Toast Banner */
.toast-notification {
  position: fixed;
  top: 90px;
  inset-inline-end: 24px;
  z-index: 3000;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-bounce);
  border: 1px solid var(--accent-cyan);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Comprehensive Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .header-status-badge {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid, .process-grid, .testimonials-grid, .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .header-container {
    min-height: 64px;
    padding-block: 0.5rem;
  }

  .brand-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .brand-icon-wrapper svg {
    width: 20px;
    height: 20px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.65rem;
  }

  .lang-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.74rem;
  }

  .btn-header-call {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .features-grid, .process-grid, .testimonials-grid, .topics-grid {
    grid-template-columns: 1fr;
  }

  .hero-points-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .header-container {
    gap: 0.4rem;
  }

  .brand-subtitle {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .lang-switcher {
    padding: 2px;
    gap: 2px;
  }

  .lang-btn {
    padding: 0.22rem 0.42rem;
    font-size: 0.7rem;
  }

  .btn-header-call span {
    display: none;
  }

  .btn-header-call {
    padding: 0.45rem;
    border-radius: 50%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-whatsapp-primary, .btn-secondary-call {
    width: 100%;
    justify-content: center;
  }
}
