/* ═══════════════════════════════════════════
   DANIEL AUGUSTO RIBEIRO ADVOCACIA
   PREMIUM DESIGN SYSTEM
   ═══════════════════════════════════════════ */

:root {
  --primary: #1C2333;
  --primary-dark: #141A28;
  --accent: #8AAAB8;
  --accent-light: #B8CDD6;
  --bg-light: #F4F6F8;
  --white: #FFFFFF;
  --text-main: #333333;
  --text-muted: #666666;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', sans-serif;

  --container-max: 1300px;
  --transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

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

.section-subtitle {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1.2;
}

/* Special Button Animation requested by USER */
.elementor-button {
  animation: 2s cubic-bezier(0.2, 0.5, 0.9, 0.6) 2s infinite brilho !important;
  background-image: linear-gradient(45deg,
      #25D366,
      #075E54,
      #25D366,
      #075E54) !important;
  background-size: 400% 200% !important;
  transition: all .8s !important;
  color: white !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  /* Prevent wrapping */
}

@keyframes brilho {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100% 0;
  }
}

.elementor-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  /* Slightly more space */
}

.logo-img {
  height: 50px;
  /* Bit larger */
  width: auto;
  flex-shrink: 0;
}

.logo-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center lines within the column */
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.logo-subtext {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-top: 2px;
  /* Positive margin for better breath */
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.90rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.8;
  transition: var(--transition);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-cta {
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary);
  color: var(--white);
}

.hamburger {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  background-image: url('https://portifoliolp.megaadvocacia.com/wp-content/uploads/2026/02/Design-sem-nome-3.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-top: 90px;
  /* nav height */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 26, 40, 0.85) 0%, rgba(20, 26, 40, 0.7) 100%);
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

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

.hero-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-headline .highlight {
  color: var(--accent-light);
  font-style: italic;
}

.hero-subheadline {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

/* Services */
.services {
  padding: 8rem 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}

.service-card {
  padding: 3.5rem 2.5rem;
  background: var(--primary);
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--white);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-15px);
  background: var(--primary-dark);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-light);
}

.service-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 2rem;
  background: transparent;
  color: var(--accent-light);
  border: 2px solid var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-light);
  color: var(--primary);
  transform: rotateY(180deg);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.service-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* About */
.about {
  padding: 8rem 0;
  background: var(--primary-dark);
  color: var(--white);
  overflow: hidden;
}

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

.about-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 1.2s ease-out;
  transform: scale(1.05);
}

.carousel-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.about-content .section-title {
  color: var(--white);
  margin-bottom: 2rem;
}

.institutional-text p {
  margin-bottom: 1.5rem;
  font-weight: 300;
  opacity: 0.85;
  font-size: 1.1rem;
}

/* Differentials */
.differentials {
  padding: 8rem 0;
  background-color: var(--bg-light);
}

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

.differential-card {
  padding: 3rem;
  background: var(--primary);
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.differential-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.differential-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.differential-card:hover {
  transform: translateY(-10px);
  background: var(--primary-dark);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-light);
}

.dif-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 2rem;
  background: transparent;
  color: var(--accent-light);
  border: 2px solid var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.differential-card:hover .dif-icon {
  background: var(--accent-light);
  color: var(--primary);
  transform: rotateY(180deg);
}

/* Team Section */
.team {
  padding: 8rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.lawyer-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.lawyer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.lawyer-image {
  height: 400px;
  background: #eee;
  overflow: hidden;
}

.lawyer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.lawyer-info {
  padding: 2.5rem;
}

.oab {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.lawyer-info h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1.5rem;
}

.lawyer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-tag {
  font-size: 0.7rem;
  padding: 0.4rem 0.8rem;
  background: var(--bg-light);
  border-radius: 4px;
  font-weight: 600;
  color: var(--primary);
}

/* Timeline Redesign */
.how-it-works {
  padding: 8rem 0;
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.how-it-works .section-title {
  color: var(--accent-light);
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(138, 170, 184, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

/* Zig-Zag Timeline */
.zigzag-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1000px;
  margin: 4rem auto 0;
  position: relative;
}

.timeline-row {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.timeline-row.left {
  justify-content: flex-start;
}

.timeline-row.right {
  justify-content: flex-end;
}

.timeline-box {
  width: 45%;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 5;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-box:hover {
  transform: translateY(-10px);
  background: var(--white);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  border-color: var(--accent-light);
}

.step-badge {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  background: transparent;
  color: var(--primary);
  border: 2.5px solid var(--primary);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.timeline-box:hover .step-badge {
  background: var(--primary);
  color: var(--white);
  transform: rotateY(180deg);
}

.step-text h4 {
  color: var(--primary-dark);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.step-text p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Connector Lines */
.connector-line {
  flex-grow: 1;
  height: 2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.3);
  position: relative;
}

/* Vertical connections */
.timeline-row::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  border-right: 2px dashed rgba(255, 255, 255, 0.3);
}

.timeline-row.left::after {
  right: 44.5%;
  top: 50%;
}

.timeline-row.right::after {
  left: 44.5%;
  top: 50%;
}

.timeline-row:last-child::after {
  display: none;
}

.timeline-final-cta {
  text-align: center;
  margin-top: 5rem;
}

/* Responsive adjustment for timeline */
@media (max-width: 768px) {
  .timeline-row {
    flex-direction: column !important;
    align-items: center !important;
  }

  .timeline-box {
    width: 90%;
    margin-bottom: 3rem;
  }

  .connector-line,
  .timeline-row::after {
    display: none;
  }
}

/* FAQ */
.faq {
  padding: 8rem 0;
  background: var(--bg-light);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #151b28;
  /* Dark navy for closed state */
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-header {
  padding: 1.8rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--white);
  transition: all 0.3s ease;
}

.faq-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  padding-right: 1.5rem;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

/* Active State Styles */
.faq-item.active {
  background: var(--white);
  border: 2px solid var(--primary-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.faq-item.active .faq-header {
  color: var(--primary-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-toggle {
  background: var(--primary-dark);
  color: var(--white);
  transform: rotate(0deg);
  /* Keeping the - icon look */
}

.faq-item.active .faq-body {
  display: block;
}

.faq-body p {
  margin: 0;
}

.faq-cta {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.faq-body {
  padding: 2rem 2.5rem;
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
  background: var(--white);
  display: none;
}

.faq-body p {
  color: var(--text-muted);
}

/* CTA Block */
.final-cta {
  padding: 4rem 0 8rem;
}

.cta-box {
  background: var(--primary-dark);
  padding: 5rem;
  border-radius: 30px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-box p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.8;
}

/* Footer Styles Update */
.footer {
  padding: 8rem 0 0;
  background: var(--primary-dark);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.footer-logo {
  height: 80px;
  /* Increased */
  width: auto;
  align-self: flex-start;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #FFFFFF;
  /* Pure white */
}

.oab-footer {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-top: 1rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #FFFFFF;
  position: relative;
}

.footer-links a,
.footer-contact p {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
  display: block;
  transition: var(--transition);
}

.footer-links a:hover {
  transform: translateX(10px);
  color: var(--accent-light);
}

.footer-bottom {
  padding: 1.5rem 0;
  background: #222222;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.produced-by {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.produced-by img {
  height: 22px;
  width: auto;
}

/* Responsive adjustment for footer bottom */
@media (max-width: 768px) {
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

/* Section CTA Spacing */
.about-cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 3rem;
}

.team-cta {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.about-content {
  display: flex;
  flex-direction: column;
}

/* WhatsApp Widget */
#wa-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.wa-balloon {
  background: var(--white);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  width: 280px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: absolute;
  bottom: 75px;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: var(--transition);
  transform-origin: bottom right;
  pointer-events: none;
}

.wa-btn-float:hover+.wa-balloon,
.wa-balloon:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-balloon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--white);
}

.wa-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.wa-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

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

.wa-status {
  font-size: 0.7rem;
  color: #25D366;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-online-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  animation: wa-pulse 1.5s infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.wa-message {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #F0F2F5;
  padding: 12px;
  border-radius: 0 12px 12px 12px;
  line-height: 1.5;
}

.wa-btn-float {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.wa-btn-float:hover {
  transform: scale(1.1) rotate(5deg);
}

.wa-svg {
  width: 35px;
  height: 35px;
  fill: white;
}

/* ═══════════════════════════════════════════
     RESPONSIVIDADE COMPLETA
═══════════════════════════════════════════ */

/* Mobile Menu Base */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--primary-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  z-index: 1000;
  transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent-light);
}

/* TABLET (1024px) */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 90%;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero Mobile */
  .hero {
    height: auto;
    padding: 10rem 0 6rem;
    text-align: center;
    background-position: 70% center;
    /* Adjust to show lawyer better on mobile if possible */
  }

  .hero-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-headline {
    font-size: 2.2rem;
    line-height: 1.2;
    text-align: center;
  }

  .hero p {
    font-size: 1rem;
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 100%;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }

  .hero-actions .btn-primary {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    white-space: normal;
  }

  /* CTA Final Mobile Fix */
  .final-cta {
    padding: 4rem 0;
  }

  .cta-box {
    padding: 3rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-box h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  .cta-box p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .btn-primary {
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  /* Grid Layouts Stack */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-icon {
    margin: 0 auto 1.5rem;
  }

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

  .section-header {
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  /* About Mobile */
  .about-grid {
    gap: 3rem;
  }

  .about-carousel {
    height: 350px;
  }

  .about-content {
    text-align: center;
  }

  .about-cta {
    justify-content: center;
  }

  /* Timeline Mobile */
  .zigzag-timeline {
    gap: 3rem;
  }

  .timeline-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0;
    padding-left: 0;
    position: relative;
  }

  .timeline-box {
    width: 100% !important;
    text-align: center;
    flex-direction: column;
    padding: 2rem;
  }

  .connector-line,
  .timeline-row::after {
    display: none;
  }

  /* Footer Mobile */
  .footer-brand,
  .footer-links,
  .footer-contact {
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    align-self: center;
  }

  /* FAQ Mobile */
  .faq-header {
    padding: 1.5rem;
  }

  .faq-header h3 {
    font-size: 1rem;
  }

  .faq-accordion {
    padding: 0 10px;
  }
}

/* SMALL PHONES (480px) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-badge {
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .wa-balloon {
    width: 250px;
    font-size: 0.8rem;
  }
}

.mobile-nav-cta {
  background: #25d366;
  color: white !important;
  padding: 1rem;
  text-align: center;
  border-radius: 5px;
  font-weight: 700;
}