/*
Theme Name: TAS Advogados Associados
Theme URI: https://tasadvogados.com.br
Author: GDX Digital
Author URI: https://gdxdigital.com.br
Description: Tema profissional para o escritório TAS Advogados Associados — especialistas em recuperação de créditos por sub-rogação para seguradoras, associações e cooperativas.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tas-advogados
Tags: one-page, law-firm, custom-logo, responsive
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  --color-navy: #1C2B3A;
  --color-navy-dark: #141f2b;
  --color-navy-light: #243546;
  --color-gold: #C4963C;
  --color-gold-dark: #a87e30;
  --color-gold-light: #d4ad5a;
  --color-bg-light: #F8F6F3;
  --color-white: #FFFFFF;
  --color-text-dark: #2C2C2C;
  --color-text-light: #6B7280;
  --color-border: #E5E7EB;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  --container-max: 1200px;
  --container-narrow: 900px;
  --nav-height: 80px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

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

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 650px;
  margin: 0 auto 3rem;
}

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

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  border: none;
  margin-bottom: 2rem;
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn--gold:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 150, 60, 0.35);
}

.btn--navy {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn--navy:hover {
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 43, 58, 0.35);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
  padding: 0.5rem 0;
}

.site-header--transparent {
  background: transparent;
}

.site-header--solid {
  background: var(--color-navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 42px;
  width: auto;
  transition: opacity var(--transition-base);
}

.header-logo .logo-dark {
  display: none;
}

.header-logo .logo-light {
  display: block;
}

.site-header--solid .header-logo .logo-dark {
  display: block;
}

.site-header--solid .header-logo .logo-light {
  display: none;
}

/* Desktop nav */
.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  letter-spacing: 0.01em;
}

.main-nav a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

.header-cta .btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.8125rem;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  transition: color var(--transition-fast);
}

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

.mobile-menu .btn {
  margin-top: 1.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 150, 60, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-logo {
  width: 180px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: heroFadeIn 1s ease-out 0.2s forwards;
}

@media (min-width: 768px) {
  .hero-logo {
    width: 220px;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeIn 1s ease-out 0.5s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: heroFadeIn 1s ease-out 0.8s forwards;
}

.hero-cta {
  opacity: 0;
  animation: heroFadeIn 1s ease-out 1.1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: heroFadeIn 1s ease-out 1.4s forwards;
}

.hero-scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-arrow svg {
  width: 20px;
  height: 20px;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ==========================================================================
   ABOUT / SOBRE SECTION
   ========================================================================== */

.about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.about-text p {
  font-size: 1.0625rem;
  line-height: 1.85;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-box {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services {
  background: var(--color-bg-light);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-top: 3px solid var(--color-gold);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--color-bg-light);
  margin-bottom: 1.25rem;
  color: var(--color-gold);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-gold);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ==========================================================================
   PROCESS / COMO FUNCIONA SECTION
   ========================================================================== */

.process {
  background: var(--color-white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Vertical center line */
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold), var(--color-navy));
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-1px);
  }
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 3rem;
    margin-left: 0;
  }

  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 3rem;
    padding-right: 0;
  }
}

/* Step number circle */
.timeline-number {
  position: absolute;
  left: 8px;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--color-white);
}

@media (min-width: 768px) {
  .timeline-number {
    left: auto;
    right: -13px;
  }

  .timeline-item:nth-child(even) .timeline-number {
    right: auto;
    left: -13px;
  }
}

.timeline-content {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  position: relative;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.timeline-content p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   DIFFERENTIALS / DIFERENCIAIS SECTION
   ========================================================================== */

.differentials {
  background: var(--color-navy);
}

.differentials .section-title {
  color: var(--color-white);
}

.differentials .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

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

.diff-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.diff-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background var(--transition-base), transform var(--transition-base);
}

.diff-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.diff-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(196, 150, 60, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.diff-card-icon svg {
  width: 32px;
  height: 32px;
}

.diff-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.diff-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq {
  background: var(--color-bg-light);
}

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

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-gold);
}

.faq-question-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.faq-question-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.faq-item.active .faq-question-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  color: var(--color-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
  background: var(--color-gold);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-navy);
  opacity: 0.8;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
}

.cta-email-btn:hover {
  background: var(--color-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 43, 58, 0.35);
}

.cta-email-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.cta-small-text {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-navy);
  opacity: 0.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-navy-dark);
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.footer-logo {
  width: 140px;
  margin: 0 auto 1.25rem;
  opacity: 0.9;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.75rem;
}

.footer-divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  border: none;
  margin: 0 auto 1.75rem;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  transition: color var(--transition-fast);
}

.footer-email:hover {
  color: var(--color-gold);
}

.footer-email svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  text-align: center;
  padding: 2rem;
}

.page-404 h1 {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404 h2 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.page-404 p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* ==========================================================================
   WORDPRESS SPECIFICS
   ========================================================================== */

.wp-block-image img {
  height: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.aligncenter {
  display: block;
  margin: 0 auto 1.5rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

/* ==========================================================================
   RESPONSIVE FINE-TUNING
   ========================================================================== */

@media (max-width: 639px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 140px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .stat-box {
    padding: 1.5rem 1.25rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .timeline-content {
    padding: 1.25rem;
  }

  .diff-card {
    padding: 1.5rem;
  }

  .cta-section {
    padding: 3.5rem 0;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Print styles */
@media print {
  .site-header,
  .hero-scroll,
  .mobile-toggle,
  .mobile-menu {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .section {
    padding: 2rem 0;
    break-inside: avoid;
  }
}
