/* ==========================================================================
   DRA. CAMILA MAGALHÃES - ADVOCACIA CRIMINAL
   Design System & Custom CSS - Otimizado para SEO, Mobile & Todos os Dispositivos
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEME SETUP
   -------------------------------------------------------------------------- */
:root {
  --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette - Luxury Dark & Gold Legal Aesthetic */
  --bg-main: #0b0f17;
  --bg-secondary: #121826;
  --bg-card: #182032;
  --bg-card-hover: #1f2b42;
  --bg-accent: #151d2d;

  --primary-gold: #d4af37;
  --primary-gold-hover: #e5be48;
  --primary-gold-light: #f5e4a8;
  --primary-gold-dark: #a88820;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #1eb956;
  --whatsapp-shadow: rgba(37, 211, 102, 0.4);

  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-strong: rgba(212, 175, 55, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;

  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Section Common Styles */
section {
  padding: 4.5rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title span.gold {
  color: var(--primary-gold);
  background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Gold Gradient Divider Line */
.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
  margin: 1.25rem auto 2.25rem;
}

/* --------------------------------------------------------------------------
   3. NAVIGATION HEADER (RESPONSIVE & CLEAN)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(11, 15, 23, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--border-gold);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0; /* Prevents flex overflow */
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.15;
  white-space: nowrap;
}

.logo-spec {
  font-size: 0.725rem;
  color: var(--primary-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-gold);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-drawer-cta {
  display: none; /* Hidden on desktop, visible in mobile drawer */
}

/* Right Header Actions */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, #128c7e 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition-normal);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Hamburger Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
  flex-shrink: 0;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: var(--transition-normal);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding: 5rem 0 4.5rem;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('media/logo_ofuscado.jpeg');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.08;
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--primary-gold-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-title span.highlight {
  color: var(--primary-gold);
  background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Hero Checkpoints */
.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.975rem;
  color: var(--text-main);
  font-weight: 500;
}

.hero-check-icon {
  width: 22px;
  height: 22px;
  background-color: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Hero CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 1.85rem;
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-green-hover) 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px var(--whatsapp-shadow);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary-wa::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.2) 50%, transparent 55%);
  transform: rotate(30deg);
  transition: var(--transition-slow);
}

.btn-primary-wa:hover::after {
  left: 100%;
}

.btn-primary-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.5);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.05rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.btn-secondary-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-gold);
  color: var(--primary-gold-light);
  transform: translateY(-2px);
}

/* Hero Right Card / Image Frame & Lawyer Photo */
.hero-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  text-align: center;
}

.hero-photo-container {
  position: relative;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-gold-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}

.hero-lawyer-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.hero-photo-container:hover .hero-lawyer-photo {
  transform: scale(1.03);
}

.oab-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 15, 23, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold-light);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero-brand-logo {
  max-width: 220px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.hero-card-name {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 0.25rem;
}

.hero-card-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  background: rgba(11, 15, 23, 0.6);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-gold);
}

.stat-label {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. PRACTICE AREAS SECTION (ÁREAS DE ATUAÇÃO)
   -------------------------------------------------------------------------- */
.areas-section {
  background-color: var(--bg-secondary);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.area-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-gold) 0%, transparent 100%);
  opacity: 0.4;
  transition: var(--transition-normal);
}

.area-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-gold-strong);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(212, 175, 55, 0.15);
}

.area-card:hover::before {
  opacity: 1;
  height: 100%;
}

.area-icon-wrapper {
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.area-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.area-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.area-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.area-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.885rem;
  color: var(--text-main);
  line-height: 1.5;
}

.area-list-item i {
  color: var(--primary-gold);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.area-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--primary-gold);
  margin-top: auto;
}

.area-card-link:hover {
  color: var(--primary-gold-light);
  gap: 0.75rem;
}

/* Full Width Featured Card */
.area-card-full {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #1c273c 0%, #121928 100%);
  border: 1px solid var(--border-gold);
}

/* --------------------------------------------------------------------------
   6. ABOUT SECTION (SOBRE A ADVOGADA)
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-main);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-lawyer-img {
  width: 100%;
  max-width: 360px;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 1rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), var(--shadow-gold);
  display: block;
  transition: transform 0.4s ease;
}

.about-lawyer-img:hover {
  transform: scale(1.02);
}

.about-badge-overlay {
  background: rgba(11, 15, 23, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: -1.25rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.about-badge-icon {
  font-size: 1.5rem;
  color: var(--primary-gold);
  flex-shrink: 0;
}

.about-badge-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.about-badge-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.about-text {
  color: var(--text-muted);
  font-size: 1.025rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}

.about-h-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem;
  border-radius: var(--radius-md);
}

.about-h-title {
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 0.25rem;
}

.about-h-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. DIFFERENTIALS SECTION (DIFERENCIAIS)
   -------------------------------------------------------------------------- */
.diff-section {
  background-color: var(--bg-secondary);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-normal);
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.diff-icon {
  width: 54px;
  height: 54px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1.35rem;
  margin: 0 auto 1.1rem;
}

.diff-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.diff-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. HOW IT WORKS / STEPS
   -------------------------------------------------------------------------- */
.steps-section {
  background-color: var(--bg-main);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  position: relative;
}

.step-number {
  position: absolute;
  top: -14px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
  color: #0b0f17;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. EMERGENCY CTA BANNER
   -------------------------------------------------------------------------- */
.banner-urgencia {
  background: linear-gradient(135deg, #1f0a10 0%, #311019 50%, #1a080d 100%);
  border-top: 1px solid rgba(225, 29, 72, 0.3);
  border-bottom: 1px solid rgba(225, 29, 72, 0.3);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-urgencia-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.banner-urgencia-text {
  font-size: 1.1rem;
  color: #fecdd3;
  max-width: 740px;
  margin: 0 auto 2rem;
}

.btn-emergency-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.25rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition-normal);
}

.btn-emergency-wa:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
}

/* --------------------------------------------------------------------------
   10. FAQ ACCORDION SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-secondary);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary-gold);
}

.faq-icon {
  font-size: 0.95rem;
  color: var(--primary-gold);
  transition: var(--transition-normal);
  flex-shrink: 0;
  margin-left: 0.85rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 800px;
  padding: 0 1.35rem 1.35rem;
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card, .contact-form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.contact-info-card {
  border-color: var(--border-gold);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.contact-val {
  color: var(--text-muted);
  font-size: 0.925rem;
}

.contact-val a {
  color: var(--primary-gold);
  font-weight: 600;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-form-submit {
  width: 100%;
  padding: 1.05rem;
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, #128c7e 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.975rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transition: var(--transition-normal);
}

.btn-form-submit:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: #070a10;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 0.2rem;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-subtle);
  font-size: 0.8rem;
}

.oab-disclaimer {
  max-width: 800px;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--text-subtle);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.floating-wa-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: var(--transition-normal);
  animation: pulse-wa 2.2s infinite;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

.wa-badge-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.wa-badge-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--bg-card);
}

.floating-wa-container:hover .wa-badge-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE MEDIA QUERIES (MOBILE, TABLET & DESKTOP FINE-TUNING)
   -------------------------------------------------------------------------- */

/* TABLET & MOBILE BREAKPOINT (<= 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  /* Slide-in Mobile Drawer Menu */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-main);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: var(--transition-normal);
    z-index: 999;
    border-top: 1px solid var(--border-gold);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
  }

  .btn-drawer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 320px;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #128c7e 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }

  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .diff-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SMALL PHONES & MOBILE BREAKPOINT (<= 640px) */
@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .container {
    padding: 0 1rem;
  }

  .logo-img {
    height: 40px;
  }

  .logo-name {
    font-size: 1rem;
  }

  .logo-spec {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .btn-header-cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .cta-text {
    font-size: 0.8rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-wa, .btn-secondary-outline {
    width: 100%;
  }

  .areas-grid, .contact-grid, .diff-grid, .steps-grid, .about-highlights {
    grid-template-columns: 1fr;
  }

  .area-card {
    padding: 1.5rem;
  }

  .area-title {
    font-size: 1.25rem;
  }

  .banner-urgencia {
    padding: 3rem 0;
  }

  .banner-urgencia-title {
    font-size: 1.5rem;
  }

  .banner-urgencia-text {
    font-size: 0.975rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-wa-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
    font-size: 1.75rem;
  }

  .wa-badge-tooltip {
    display: none;
  }
}

/* VERY NARROW PHONES (<= 380px) */
@media (max-width: 380px) {
  .logo-name {
    font-size: 0.925rem;
  }

  .logo-spec {
    font-size: 0.6rem;
  }

  .btn-header-cta .cta-text {
    display: none; /* Shows icon only on ultra-narrow screens */
  }

  .btn-header-cta {
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
  }
}
