/* ============================================
   CONTTEGRA CONTABILIDADE - Design System
   Site Redesign 2026
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors - Paleta original Conttegra */
  --primary: #0056A7;
  --primary-dark: #003d75;
  --primary-light: #1863DC;
  --accent: #67CEF5;
  --accent-dark: #4db8e0;
  --dark: #1F3741;
  --dark-deeper: #162a32;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --text-dark: #212121;
  --text-body: #4A5568;
  --text-light: #718096;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #B0C4D8;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0056A7 0%, #1F3741 100%);
  --gradient-hero: linear-gradient(135deg, #0a1e3d 0%, #1F3741 50%, #0056A7 100%);
  --gradient-accent: linear-gradient(135deg, #67CEF5 0%, #1863DC 100%);
  --gradient-dark: linear-gradient(180deg, #1F3741 0%, #162a32 100%);
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', 'Montserrat', sans-serif;
  
  /* Font Sizes (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --text-3xl: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem);
  --text-4xl: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  --text-5xl: clamp(2.5rem, 1.8rem + 2.5vw, 3.8rem);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --section-py: clamp(60px, 8vw, 100px);
  
  /* Layout */
  --container-max: 1200px;
  --container-padding: clamp(16px, 4vw, 32px);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 4px 20px rgba(0, 86, 167, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(0, 86, 167, 0.15);
  --shadow-accent: 0 8px 24px rgba(103, 206, 245, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Header */
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

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

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

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

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-md);
}

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

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--gradient-dark);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: var(--text-on-dark-muted);
}

.section--gray {
  background-color: var(--off-white);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section__subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__desc {
  font-size: var(--text-lg);
  color: var(--text-light);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.text-white { color: var(--white) !important; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
}

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

.btn--dark:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn--white:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 24px;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 18px 40px;
  font-size: var(--text-base);
}

.btn i, .btn svg {
  font-size: 1.1em;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition);
}

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

.header--transparent {
  background: transparent;
}

.header--scrolled {
  background: rgba(31, 55, 65, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header__logo img {
  height: 50px;
  width: auto;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.header__logo img:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(103, 206, 245, 0.25);
}

.header--scrolled .header__logo img {
  height: 40px;
  padding: 5px 12px;
  border-color: rgba(0, 86, 167, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--accent);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav__item--dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: var(--text-sm);
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav__dropdown-link:hover {
  background: var(--off-white);
  color: var(--primary);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.85;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: calc(var(--header-height) + 40px) 0 60px;
}

.hero__title {
  color: var(--white);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.hero__title span {
  color: var(--accent);
}

.hero__subtitle {
  color: var(--text-on-dark-muted);
  font-size: var(--text-xl);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
  max-width: 550px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero__shape svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Services Bar ---------- */
.services-bar {
  padding: var(--space-3xl) 0;
  background: var(--white);
  position: relative;
  z-index: 4;
}

.services-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  color: inherit;
}

.service-card__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 1.8rem;
  color: var(--primary);
  transition: all var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--primary);
  color: var(--white);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.5;
}

/* ---------- About Section ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about__content {
  order: 1;
}

.about__image-wrap {
  order: 2;
  position: relative;
}

.about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about__text {
  font-size: var(--text-base);
  color: var(--text-body);
  margin-bottom: var(--space-xl);
}

.about__text p {
  margin-bottom: var(--space-md);
}

.about__address {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-light);
  padding: var(--space-md);
  background: var(--off-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.about__address i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* ---------- Specialties Section ---------- */
.specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.specialty-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.specialty-card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.specialty-card:hover .specialty-card__image {
  transform: scale(1.05);
}

.specialty-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 86, 167, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl);
}

.specialty-card__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
}

/* ---------- Why Choose Us (Diferenciais) ---------- */
.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.why-us__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}

.why-us__item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateX(4px);
}

.why-us__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--dark);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
}

.why-us__text {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--gradient-accent);
  text-align: center;
}

.cta-section__title {
  color: var(--dark);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.cta-section__desc {
  color: var(--dark-deeper);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  opacity: 0.85;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- Contact Section ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact__info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
}

.contact__info-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact__info-text span,
.contact__info-text a {
  font-size: var(--text-sm);
  color: var(--text-light);
}

.contact__info-text a:hover {
  color: var(--accent);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-md);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Contact Form ---------- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xl);
  color: var(--text-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.form-group label .required {
  color: #e53e3e;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--text-base);
  color: var(--text-dark);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 167, 0.1);
  background: var(--white);
}

.form-control::placeholder {
  color: var(--gray-400);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.form-check label {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.5;
}

.form-check label a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--text-on-dark-muted);
  padding: var(--space-4xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  margin-top: var(--space-md);
  line-height: 1.6;
}

.footer__brand img {
  height: 45px;
  width: auto;
  filter: brightness(1.1);
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
}

.footer__brand img:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(103, 206, 245, 0.2);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer__social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: var(--text-sm);
}

.footer__copyright a {
  color: var(--accent);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
}

.footer__bottom-links a:hover {
  color: var(--accent);
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #1ebe59;
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Page Header (Subpages) ---------- */
.page-header {
  padding: calc(var(--header-height) + 60px) 0 60px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header__title {
  color: var(--white);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-sm);
}

.page-header__breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
}

.page-header__breadcrumb a {
  color: var(--accent);
}

.page-header__shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.page-header__shape svg {
  display: block;
  width: 100%;
}

/* ---------- Page Content ---------- */
.page-content {
  padding: var(--section-py) 0;
}

.page-content h2 {
  margin-bottom: var(--space-lg);
  margin-top: var(--space-2xl);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.page-content ul {
  margin-bottom: var(--space-lg);
}

.page-content ul li {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  position: relative;
}

.page-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85em;
}

.content-cols {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.content-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.sidebar-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.sidebar-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.sidebar-card .btn {
  width: 100%;
  justify-content: center;
}

.sidebar-links {
  list-style: none !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.sidebar-links li {
  padding-left: 0 !important;
  margin-bottom: var(--space-sm) !important;
}

.sidebar-links li::before {
  display: none !important;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-links a:hover,
.sidebar-links a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateX(4px);
}

.sidebar-links a i {
  font-size: 0.85em;
  color: var(--primary);
  transition: color var(--transition);
}

.sidebar-links a:hover i,
.sidebar-links a.active i {
  color: var(--white);
}

.content-cta-box {
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  margin: var(--space-2xl) 0;
  box-shadow: var(--shadow-lg);
}

.content-cta-box h3 {
  color: var(--white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.content-cta-box p {
  color: var(--text-on-dark-muted);
  max-width: 650px;
  margin: 0 auto var(--space-xl);
  font-size: var(--text-base);
}

.service-feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-xl);
}

.service-feature-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.steps-list {
  list-style: none !important;
  padding: 0 !important;
  margin: var(--space-xl) 0 !important;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.steps-list li {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg) !important;
  transition: all var(--transition);
}

.steps-list li:hover {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.steps-list li::before {
  display: none !important;
}

.steps-list__num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}

.steps-list__content h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
}

.steps-list__content p {
  margin-bottom: 0;
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.6;
}


/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 100ms; }
.animate-on-scroll.delay-2 { transition-delay: 200ms; }
.animate-on-scroll.delay-3 { transition-delay: 300ms; }
.animate-on-scroll.delay-4 { transition-delay: 400ms; }

.animate-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-right.animated {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-height) + 20px) var(--space-xl) var(--space-xl);
    gap: 0;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  .nav__list.active {
    right: 0;
  }

  .nav__link {
    padding: 14px 0;
    font-size: var(--text-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__link::after {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    display: none;
  }

  .nav__item--dropdown.active .nav__dropdown {
    display: block;
  }

  .nav__dropdown-link {
    color: var(--text-on-dark-muted);
    padding: 10px 16px;
  }

  .nav__dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
  }

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

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about__image-wrap {
    order: 1;
  }

  .about__content {
    order: 2;
  }

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

  .why-us__grid {
    grid-template-columns: 1fr;
  }

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

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

  .content-cols {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .services-bar__grid {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-section__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .page-header {
    padding: calc(var(--header-height) + 40px) 0 40px;
  }
}

/* ---------- Body overlay for mobile menu ---------- */
.body-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

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

/* ---------- Steps List (Numbered) ---------- */
.steps-list {
  list-style: none;
  padding: 0;
  margin: var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}

.steps-list li::before {
  display: none;
}

.steps-list li:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.steps-list__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: var(--radius-full);
}

.steps-list__content h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.steps-list__content p {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: 0;
}

/* ---------- Content CTA Box ---------- */
.content-cta-box {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  margin: var(--space-2xl) 0;
}

.content-cta-box h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.content-cta-box p {
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-lg);
}

/* ---------- Sidebar Links ---------- */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sidebar-links li {
  padding-left: 0;
}

.sidebar-links li::before {
  display: none;
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 14px;
  font-size: var(--text-sm);
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.sidebar-links li a:hover,
.sidebar-links li a.active {
  background: var(--primary);
  color: var(--white);
}

.sidebar-links li a i {
  font-size: 0.9em;
  width: 20px;
  text-align: center;
}

/* ---------- Badge Pills ---------- */
.badge-pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: 50px;
}

.badge-pill--success {
  background: #C6F6D5;
  color: #22543D;
}

.badge-pill--warning {
  background: #FEFCBF;
  color: #744210;
}

.badge-pill--danger {
  background: #FED7D7;
  color: #742A2A;
}

.badge-pill--info {
  background: #BEE3F8;
  color: #2A4365;
}

/* ---------- Tax Comparison Table ---------- */
.tax-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tax-compare-table th,
.tax-compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.tax-compare-table thead th {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.tax-compare-table th.highlight-col {
  background: var(--primary);
}

.tax-compare-table tbody tr:hover {
  background: var(--off-white);
}

.tax-compare-table .highlight-cell {
  background: rgba(0, 86, 167, 0.05);
  font-weight: 500;
}

.tax-compare-table tbody tr:last-child td {
  border-bottom: none;
  font-weight: 700;
}

@media (max-width: 640px) {
  .tax-compare-table {
    font-size: var(--text-xs);
  }
  .tax-compare-table th,
  .tax-compare-table td {
    padding: 8px 10px;
  }
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-item summary {
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  transition: transform var(--transition);
  color: var(--primary);
}

.faq-item[open] summary i {
  transform: rotate(180deg);
}

.faq-item > div,
.faq-item > p {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.7;
}

/* ---------- CRC Highlight Box ---------- */
.crc-highlight {
  position: relative;
  background: linear-gradient(135deg, var(--off-white) 0%, #e8f4fd 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin: var(--space-2xl) 0;
  overflow: hidden;
}

.crc-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--accent);
}

.crc-highlight__badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.crc-highlight__title {
  color: var(--primary);
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.crc-highlight p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-body);
}

.crc-highlight p strong {
  color: var(--text-dark);
}

/* ---------- Service Feature Image ---------- */
.service-feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-md);
}

.service-feature-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ---------- Print styles ---------- */
@media print {
  .header, .whatsapp-float, .footer {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
