/* ============================================================
   LOZEKAM — Design System
   Site jurídico · Tema light · Paleta: Navy + Gold + White
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700;800&display=swap');

/* ── CSS Custom Properties (Tokens) ── */
:root {
  /* Primárias */
  --color-navy: #0d2a3f;
  --color-gold: #c09f63;
  --color-white: #ffffff;

  /* Família azul marinho */
  --color-navy-medium: #1a4060;
  --color-navy-deep: #2e5f80;
  --color-slate: #5a7080;
  --color-mist: #b8ccd8;
  --color-ice: #e8eff4;

  /* Família dourado */
  --color-gold-light: #d4b87a;
  --color-champagne: #ede0c4;
  --color-cream: #f4f0e8;

  /* Neutros */
  --color-bg-secondary: #f7f8fa;
  --color-border-default: #dde4e8;
  --color-text-muted: #a8b4bc;
  --color-text-secondary: #4a6070;
  --color-text-primary: #1c1c1c;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --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;

  /* Border radius */
  --radius-sm: 1px;
  --radius-md: 1px;
  --radius-lg: 1px;
  --radius-xl: 2px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 42, 63, 0.06);
  --shadow-md: 0 4px 12px rgba(13, 42, 63, 0.08);
  --shadow-lg: 0 8px 30px rgba(13, 42, 63, 0.12);
  --shadow-xl: 0 16px 50px rgba(13, 42, 63, 0.15);

  /* Transition */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul,
ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

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

/* ── Section ── */
.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}

.section-header p {
  max-width: 600px;
  margin: var(--space-lg) auto 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 159, 99, 0.3);
}

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

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  background: var(--color-ice);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-default);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(13, 42, 63, 0.08);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

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

.navbar-nav a {
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.navbar-nav a:hover {
  color: var(--color-gold);
}

.navbar-nav a:hover::after {
  width: 100%;
}

/* Dropdown items should not show the underline ::after */
.dropdown-menu a::after {
  display: none;
}

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

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  stroke: currentColor;
}

.has-dropdown:hover .dropdown-chevron,
.has-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--color-white);
  border: 1px solid var(--color-border-default);
  border-top: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 200;
  list-style: none;
  padding: var(--space-xs) 0;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px var(--space-xl);
  color: var(--color-text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
  border-bottom: 1px solid var(--color-border-default);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--color-ice);
  color: var(--color-gold);
  padding-left: 28px;
}

.navbar-cta {
  z-index: 1001;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 9999;
  background: none;
  border: none;
  padding: var(--space-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 1px;
  transition: all var(--transition-base);
}

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

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

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a4060 0%, #0d2a3f 60%);
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Geometric decorative elements */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(192, 159, 99, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: 100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(192, 159, 99, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  font-weight: 800;
}

.hero-content h1 .gold {
  color: var(--color-gold);
}

.hero-content p {
  color: var(--color-mist);
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

/* Hero badges */
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.badge-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 159, 99, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(5px);
  transition: all var(--transition-base);
}

.badge-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(192, 159, 99, 0.3);
  transform: translateX(6px);
}

.badge-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.badge-text h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.badge-text span {
  color: var(--color-mist);
  font-size: 0.85rem;
}

/* ============================================================
   URGENCY BAR
   ============================================================ */
.urgency-bar {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  padding: var(--space-md) 0;
  text-align: center;
}

.urgency-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.urgency-bar .urgency-icon {
  font-size: 1.3rem;
}

.urgency-bar p {
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.urgency-bar strong {
  color: var(--color-navy);
}

/* ============================================================
   SOLUTIONS (Nossas Soluções)
   ============================================================ */
.solutions {
  background: var(--color-white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.solution-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-default);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--color-navy);
}

.solution-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.solution-card:hover .card-icon {
  background: var(--color-navy);
}

.solution-card .card-icon svg {
  transition: stroke var(--transition-base);
}

.solution-card:hover .card-icon svg {
  stroke: #ffffff;
}

.solution-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.solution-card p {
  font-size: 0.93rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.card-link:hover {
  color: var(--color-navy);
  gap: var(--space-sm);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   WHY LOZEKAM
   ============================================================ */
.why-section {
  background: var(--color-cream);
}

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

.why-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.why-card:hover .why-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(13, 42, 63, 0.25);
}

.why-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.why-card p {
  font-size: 0.93rem;
  max-width: 300px;
  margin: 0 auto;
}

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

/* ============================================================
   NUMBERS / SOCIAL PROOF
   ============================================================ */
.numbers-section {
  background: var(--color-navy);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.numbers-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(192, 159, 99, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
}

.number-item {
  text-align: center;
  padding: var(--space-xl);
}

.number-item .number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.number-item .label {
  color: var(--color-mist);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--color-navy);
  text-align: center;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border: 1px solid rgba(192, 159, 99, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.cta-section h2::after {
  display: none;
}

.cta-section p {
  color: var(--color-mist);
  max-width: 550px;
  margin: 0 auto var(--space-2xl);
  position: relative;
  z-index: 2;
}

.cta-section .btn {
  position: relative;
  z-index: 2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-medium) 100%);
  padding-top: var(--space-4xl);
  border-top: 1px solid rgba(192, 159, 99, 0.15);
}

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

.footer-brand p {
  color: var(--color-mist);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  max-width: 320px;
  line-height: 1.7;
}

.footer-brand .footer-logo {
  height: 32px;
  width: auto;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul li {
  margin-bottom: var(--space-sm);
}

.footer ul a {
  color: var(--color-mist);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer ul a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--color-mist);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.footer-contact .contact-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-socials {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-md);
  justify-content: flex-start;
}

.footer-bottom {
  border-top: 1px solid rgba(184, 204, 216, 0.1);
  padding: var(--space-lg) 0;
}

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

.footer-bottom p {
  color: var(--color-slate);
  font-size: 0.8rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--color-slate);
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

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

.footer-legal {
  display: flex;
  gap: var(--space-xl);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children */
.stagger-children .fade-up:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children .fade-up:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger-children .fade-up:nth-child(3) {
  transition-delay: 0.19s;
}

.stagger-children .fade-up:nth-child(4) {
  transition-delay: 0.26s;
}

.stagger-children .fade-up:nth-child(5) {
  transition-delay: 0.33s;
}

.stagger-children .fade-up:nth-child(6) {
  transition-delay: 0.40s;
}

/* ── Subpage Components ── */
.page-header {
  padding: calc(var(--space-2xl) * 2) 0 var(--space-xl);
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border-default);
  text-align: center;
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-header-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

.page-header-content p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
}

.hero-badge-label {
  display: inline-block;
  background: rgba(192, 159, 99, 0.15);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(192, 159, 99, 0.3);
  margin-bottom: var(--space-md);
}

/* Service Details Layout */
.service-details {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
  color: var(--color-navy);
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-2xl);
  align-items: start;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--color-navy);
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

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

.feature-list li {
  font-size: 1.1rem;
  padding-left: var(--space-md);
  position: relative;
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}

.checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 1.1rem;
  line-height: 1.6;
}

.checklist svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.content-highlight {
  background: var(--color-navy);
  border: 1px solid var(--color-navy-deep);
  padding: var(--space-xl);
  border-radius: var(--radius-sm);
}

.content-highlight h3 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.content-highlight p,
.content-highlight ul,
.content-highlight li {
  color: var(--color-white);
}

.content-highlight li strong {
  color: var(--color-white);
}


.highlight-box {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: rgba(192, 159, 99, 0.1);
  border-left: 3px solid var(--color-gold);
  color: var(--color-white);
}

.warning-box {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(192, 159, 99, 0.05);
  border: 1px solid rgba(192, 159, 99, 0.3);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.warning-box svg {
  flex-shrink: 0;
}

.warning-box p {
  margin: 0;
  color: var(--color-text-secondary);
}

/* Workflow Steps */
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.workflow-step {
  display: flex;
  gap: var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border-default);
  padding: var(--space-lg);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.workflow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-badge {
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.step-content p {
  margin: 0;
  font-size: 1rem;
}

/* Sidebar */
.service-sidebar {
  position: relative;
}

.sidebar-card {
  background: var(--color-navy);
  border: 1px solid var(--color-navy-deep);
  padding: var(--space-xl);
  border-radius: var(--radius-sm);
  color: var(--color-white);
}

.sidebar-card.sticky {
  position: sticky;
  top: 100px;
}

.sidebar-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--color-gold);
}

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

.summary-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-label {
  font-size: 0.85rem;
  color: var(--color-mist);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.sidebar-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: var(--space-xl) 0;
}

.sidebar-cta p {
  font-size: 0.95rem;
  color: var(--color-mist);
  margin-bottom: var(--space-md);
  text-align: center;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-badges {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

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

  .service-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card.sticky {
    position: static;
  }

  .workflow-step {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  body {
    overflow-x: hidden;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
    max-width: 100%;
    overflow-x: hidden;
  }

  /* ── Service page mobile fixes ── */
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .feature-list li,
  .checklist li {
    font-size: 0.95rem;
  }

  .content-section p {
    font-size: 1rem;
  }

  /* Table overflow fix */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  /* Sidebar overflow fix */
  .sidebar-card {
    max-width: 100%;
    word-break: break-word;
  }

  .summary-list {
    overflow-x: hidden;
  }

  .warning-box {
    flex-direction: column;
  }

  /* Navbar mobile */
  .hamburger {
    display: flex;
  }

  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: calc(var(--nav-height) + var(--space-xl)) 0 0 0;
    overflow-y: auto;
    transition: right var(--transition-base);
    box-shadow: -10px 0 30px rgba(13, 42, 63, 0.15);
    border-left: 1px solid var(--color-border-default);
    z-index: 9998;
  }

  .navbar-nav.active {
    right: 0;
  }

  /* Each top-level item */
  .navbar-nav>li {
    border-bottom: 1px solid var(--color-border-default);
    width: 100%;
  }

  .navbar-nav>li:last-child {
    border-bottom: none;
  }

  .navbar-nav a {
    display: block;
    width: 100%;
    font-size: 0.95rem;
    color: var(--color-navy);
    padding: 14px var(--space-xl);
  }

  .navbar-nav a::after {
    display: none;
  }

  /* Mobile dropdown */
  .has-dropdown {
    width: 100%;
    text-align: left;
  }

  /* Override desktop hover transform and visibility */
  .has-dropdown:hover .dropdown-menu {
    transform: none;
    opacity: 0;
    visibility: hidden;
  }

  .has-dropdown.open:hover .dropdown-menu,
  .has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }

  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--space-xl);
    width: 100%;
    font-size: 0.95rem;
    color: var(--color-navy);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--color-gold);
    border-top: none;
    border-radius: 0;
    background: var(--color-bg-secondary);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    padding: 0;
    margin: 0;
    min-width: unset;
    width: 100%;
  }

  .has-dropdown.open:hover .dropdown-menu,
  .has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
  }

  .dropdown-menu li {
    border-bottom: 1px solid var(--color-border-default);
  }

  .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .dropdown-menu a {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    padding: 12px var(--space-xl);
    border-bottom: none;
    text-align: left;
    display: block;
    width: 100%;
    white-space: normal;
    transition: none;
    /* Disable transition to prevent half-grey glitch on touch */
    -webkit-tap-highlight-color: transparent;
  }

  /* No hover background changes on mobile to avoid sticky touch states */
  .dropdown-menu a:hover,
  .dropdown-menu a:active {
    padding-left: var(--space-xl);
    background: transparent;
    color: var(--color-gold);
  }

  .navbar-cta .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .btn-whatsapp-label {
    display: none;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 42, 63, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .badge-card {
    padding: var(--space-md) var(--space-lg);
  }

  /* Grids */
  .solutions-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

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

  .footer-bottom .container {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }

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

  .urgency-bar .container {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .content-section h2 {
    font-size: 1.3rem;
  }

  /* Table compact on very small screens */
  table th,
  table td {
    padding: 8px 10px !important;
    font-size: 0.82rem !important;
  }
}