/* ============================================================
   ANYANG LEWIS LAW FIRM — Global Stylesheet
   Design: Professional Corporate | Level 1 — Subtle
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --primary: #1a2d6b;
  --primary-dark: #0f1c47;
  --primary-light: #2a4299;
  --accent: #c9a84c;
  --accent-light: #e4c97a;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-100: #f1f3f8;
  --gray-300: #c8cdd9;
  --gray-500: #7a82a0;
  --gray-700: #3d4462;
  --text-dark: #0d1530;
  --text-body: #3a4060;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;

  --shadow-sm: 0 2px 8px rgba(26,45,107,0.08), 0 1px 3px rgba(26,45,107,0.06);
  --shadow-md: 0 8px 32px rgba(26,45,107,0.12), 0 2px 8px rgba(26,45,107,0.08);
  --shadow-lg: 0 20px 60px rgba(26,45,107,0.16), 0 8px 24px rgba(26,45,107,0.10);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 4px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { font-size: clamp(0.95rem, 1.5vw, 1.05rem); }

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

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--accent:hover {
  background: var(--accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

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

/* ── HEADER ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26,45,107,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

#header.hidden { transform: translateY(-100%); }
#header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav a:hover { color: var(--primary); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 1rem;
  padding: 0.6rem 1.4rem !important;
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: var(--border-radius) !important;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-cta::after { display: none !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
  aria-label: "Toggle menu";
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.5rem 2rem;
  transition: color var(--transition);
}

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

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

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

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

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

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item { text-align: left; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Hero images */
.hero-images {
  position: relative;
  height: 580px;
}

.hero-img-main {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 68%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px 4px 60px 4px;
  box-shadow: var(--shadow-lg);
}

.hero-img-secondary {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px 60px 4px 4px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.hero-accent-box {
  position: absolute;
  top: 30px;
  left: 10%;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.hero-accent-box .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.hero-accent-box .label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 0.2rem;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--primary-dark);
  padding: 1.5rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.trust-item i { color: var(--accent); font-size: 1rem; }

/* ── ABOUT / INTRO ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-img-wrap {
  position: relative;
}

.intro-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px 80px 4px 4px;
  box-shadow: var(--shadow-lg);
}

.intro-accent {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: 4px;
  z-index: -1;
}

.intro-badge {
  position: absolute;
  top: 2rem;
  right: -1rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.intro-badge .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.intro-badge .lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.intro-content .section-tag { display: block; }

.intro-content h2 {
  margin-bottom: 1.25rem;
}

.intro-content p {
  color: var(--text-body);
  margin-bottom: 1rem;
}

.intro-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.value-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon i { color: var(--accent); font-size: 0.85rem; }

.value-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.value-text span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ── SERVICES ── */
.services-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  grid-column: span 1;
  background: var(--primary);
  color: var(--white);
  border-color: transparent;
}

.service-card.featured::before { background: var(--accent); }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}

.service-icon i { color: var(--primary); font-size: 1.3rem; }

.service-card.featured .service-icon {
  background: rgba(255,255,255,0.15);
}

.service-card.featured .service-icon i { color: var(--accent-light); }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-card.featured h3 { color: var(--white); }

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.service-card.featured p { color: rgba(255,255,255,0.75); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap var(--transition);
}

.service-card.featured .service-link { color: var(--accent-light); }
.service-link:hover { gap: 0.75rem; }

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 2rem;
  font-family: var(--font-display);
  font-size: 20rem;
  font-weight: 700;
  color: rgba(201,168,76,0.06);
  line-height: 1;
  pointer-events: none;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonials-header h2 { color: var(--white); }

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

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.3);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars i { color: var(--accent); font-size: 0.85rem; }

.testimonial-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}

.author-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-info p {
  color: var(--text-body);
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon i { color: var(--accent); font-size: 1rem; }

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.2rem;
}

.contact-item-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.contact-hours {
  background: var(--off-white);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.contact-hours h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.contact-hours p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: 1.75rem;
  font-size: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full { grid-column: span 2; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,45,107,0.1);
}

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

.form-submit {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ── MAP ── */
.map-section { padding: 0; }

.map-section iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
  filter: grayscale(20%);
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-name { color: var(--white); }

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--accent-light); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--accent-light); }

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-credit a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-credit a:hover { color: var(--accent-light); }

/* ── FLOATING WHATSAPP ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: all var(--transition);
  aria-label: "Chat on WhatsApp";
}

.whatsapp-float i { color: var(--white); font-size: 1.6rem; }

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0.75rem;
  background: var(--text-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 9998;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-top i { color: var(--white); font-size: 0.9rem; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 { color: var(--white); position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.75); margin-top: 1rem; font-size: 1.1rem; position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.breadcrumb .current { color: var(--accent-light); font-size: 0.85rem; font-weight: 500; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-images { height: 400px; }
  .hero-img-main { width: 75%; height: 360px; right: 0; top: auto; transform: none; bottom: 0; }
  .hero-img-secondary { width: 50%; height: 260px; }
  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-bento { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  .hero { min-height: auto; padding: 6rem 0 3rem; }
  .hero-images { display: none; }
  .hero-stats { gap: 1.5rem; }
  .services-bento { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .intro-values { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .trust-bar-inner { flex-direction: column; gap: 1.25rem; }
}


/* ── SVG Icon Styles ── */
.fa-icon {
  display: inline-block;
  vertical-align: middle;
  filter: currentcolor;
}
.icon-xs { width: 12px; height: 12px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 28px; height: 28px; }
.icon-star { width: 16px; height: 16px; }
.icon-social { width: 18px; height: 18px; }

/* Color filters for icons */
.trust-item .fa-icon,
.value-icon .fa-icon,
.pillar-icon .fa-icon,
.service-icon .fa-icon,
.service-full-icon .fa-icon,
.footer-contact-item .fa-icon,
.contact-item-icon .fa-icon {
  filter: invert(72%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(95%);
}
.testimonial-stars .fa-icon,
.testi-stars .fa-icon {
  filter: invert(72%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(95%);
}
.hero-badge .fa-icon {
  filter: invert(72%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(95%);
  width: 14px; height: 14px;
}
.btn .fa-icon,
.service-link .fa-icon {
  filter: invert(1);
  width: 14px; height: 14px;
}
.btn--outline-white .fa-icon { filter: invert(1); }
.btn--accent .fa-icon { filter: invert(1); }
.btn--primary .fa-icon { filter: invert(1); }
.social-link .fa-icon { filter: invert(1); }
.whatsapp-float .fa-icon {
  filter: invert(1);
  width: 26px; height: 26px;
}
.back-top .fa-icon { filter: invert(1); width: 16px; height: 16px; }
.breadcrumb .fa-icon { filter: invert(60%); width: 10px; height: 10px; }
.footer-contact-item .fa-icon { width: 14px; height: 14px; margin-right: 0.5rem; flex-shrink: 0; }
.contact-item-icon .fa-icon { width: 22px; height: 22px; }
