/* ==========================================================================
   KM Castillo Tax & Accounting Services - Main Stylesheet
   Modern, Optimized, Responsive & Accessible
   ========================================================================== */

:root {
  --color-primary-dark: #0B132B;
  --color-primary: #1C2541;
  --color-primary-light: #2E3E66;
  --color-accent: #D4AF37;
  --color-accent-hover: #C59B27;
  --color-accent-light: #FDF8E7;
  --color-teal: #0EA5E9;
  --color-teal-dark: #0284C7;
  --color-success: #10B981;
  
  --color-bg-dark: #0B1120;
  --color-bg-card-dark: rgba(28, 37, 65, 0.65);
  --color-bg-light: #F8FAFC;
  --color-bg-white: #FFFFFF;
  --color-border-light: #E2E8F0;
  --color-border-dark: rgba(255, 255, 255, 0.1);
  
  --color-text-dark: #0F172A;
  --color-text-muted: #64748B;
  --color-text-light: #F8FAFC;
  --color-text-subtle: #94A3B8;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, select, textarea {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Top Bar */
.top-bar {
  background-color: #060B18;
  color: var(--color-text-subtle);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-item a:hover {
  color: var(--color-accent);
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  fill: var(--color-accent);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #10B981;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: rgba(11, 19, 43, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

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

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

.nav-link {
  color: #CBD5E1;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #0B132B;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E5C158 0%, #C59B27 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-facebook {
  background: #1877F2;
  color: #FFFFFF;
}

.btn-facebook:hover {
  background: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.35);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--color-primary-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
    url('../images/bg-01-free-img.webp');
  background-size: cover, cover, cover;
  background-position: center;
  color: #FFFFFF;
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #936D06;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-title span.text-gold {
  background: linear-gradient(135deg, #FFDF73 0%, #D4AF37 50%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgb(11, 19, 43);
  margin-bottom: 2.25rem;
  line-height: 1.7;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.hero-stat-item .stat-label {
  font-size: 0.85rem;
  color: rgb(11, 19, 43);
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, rgba(28, 37, 65, 0.5) 0%, rgba(11, 19, 43, 0.9) 100%);
}

.hero-image-card img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

.hero-floating-card {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: rgba(11, 19, 43, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-floating-card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-card .icon-box svg {
  width: 22px;
  height: 22px;
  fill: #F59E0B;
}

.hero-floating-card .text-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.hero-floating-card .text-desc {
  font-size: 0.8rem;
  color: #94A3B8;
}

/* Trust / Partners Ribbon */
.partners-ribbon {
  background: #080D1A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.25rem 0;
}

.ribbon-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748B;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3.5rem;
  opacity: 0.75;
}

.logos-grid img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: var(--transition-fast);
}

.logos-grid img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title.text-white {
  color: #FFFFFF;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.section-desc.text-light {
  color: #94A3B8;
}

/* Services Section */
.services-section {
  padding: 6.5rem 0;
  background-color: var(--color-bg-light);
}

.service-nav-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: var(--color-text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--color-accent);
  color: #B8860B;
}

.tab-btn.active {
  background: var(--color-primary-dark);
  color: #FFFFFF;
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(11, 19, 43, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #0EA5E9);
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #CBD5E1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: #B8860B;
}

.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #E2E8F0;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.85rem;
}

.service-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-checklist {
  margin-top: auto;
  border-top: 1px solid #F1F5F9;
  padding-top: 1.25rem;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 0.6rem;
}

.service-checklist li svg {
  width: 16px;
  height: 16px;
  fill: var(--color-success);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* About Section */
.about-section {
  padding: 6.5rem 0;
  background-color: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 4.5rem;
}

.about-image-column {
  position: relative;
}

.about-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid #FFFFFF;
}

.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-primary-dark);
  color: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 240px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.about-badge-card .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.about-badge-card .txt {
  font-size: 0.85rem;
  color: #CBD5E1;
  margin-top: 0.35rem;
}

.about-text-column .section-header {
  text-align: left;
  margin: 0 0 2rem;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.about-bio {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.value-item {
  display: flex;
  gap: 0.85rem;
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-teal);
}

.value-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  margin-bottom: 0.2rem;
}

.value-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Why Choose Me / Features Section */
.why-section {
  padding: 6.5rem 0;
  background-color: #0A0F1D;
  color: #FFFFFF;
  position: relative;
}

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

.feature-box {
  background: rgba(28, 37, 65, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition-base);
  backdrop-filter: blur(8px);
}

.feature-box:hover {
  background: rgba(28, 37, 65, 0.8);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-5px);
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon-circle svg {
  width: 24px;
  height: 24px;
  fill: #F59E0B;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* Process Timeline Section */
.process-section {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.step-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(11, 19, 43, 0.25);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Testimonials Section */
.testimonials-section {
  padding: 6.5rem 0;
  background-color: var(--color-bg-light);
}

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

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
}

.star-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.star-rating svg {
  width: 18px;
  height: 18px;
  fill: #F59E0B;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid #F1F5F9;
  padding-top: 1rem;
}

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

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.author-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* FAQ Section */
.faq-section {
  padding: 6.5rem 0;
  background-color: #FFFFFF;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: #64748B;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  fill: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: var(--color-bg-light);
  padding: 0 1.5rem;
}

.faq-answer p {
  padding: 1rem 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Contact & Quote Section */
.contact-section {
  padding: 6.5rem 0;
  background: linear-gradient(135deg, #0B132B 0%, #17213C 100%);
  color: #FFFFFF;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-col {
  padding-right: 1.5rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: #F59E0B;
}

.contact-card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.contact-card-value {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card-value a:hover {
  color: var(--color-accent);
}

.facebook-banner-card {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(24, 119, 242, 0.15);
  border: 1px solid rgba(24, 119, 242, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.facebook-banner-card svg {
  width: 36px;
  height: 36px;
  fill: #1877F2;
  flex-shrink: 0;
}

.fb-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.fb-card-sub {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 0.5rem;
}

/* Contact Form Box */
.contact-form-box {
  background: #FFFFFF;
  color: var(--color-text-dark);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #B8860B;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

/* Toast Alerts */
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: none;
}

.form-alert.success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  display: block;
}

.form-alert.error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
  display: block;
}

/* Footer */
.site-footer {
  background: #060B18;
  color: #94A3B8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #94A3B8;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94A3B8;
}

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

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

/* Floating Quick Dial Pill */
.floating-actions {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: var(--transition-fast);
  color: #FFFFFF;
}

.float-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.float-messenger {
  background: #0084FF;
}

.float-messenger:hover {
  transform: scale(1.1);
  background: #0073e6;
}

.float-call {
  background: var(--color-success);
}

.float-call:hover {
  transform: scale(1.1);
  background: #059669;
}

.back-to-top {
  background: var(--color-primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
}

.back-to-top.visible {
  display: flex;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 43, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modal-enter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats-row {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-floating-card {
    left: 1rem;
    bottom: 1rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-image-column {
    max-width: 480px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .navbar {
    height: 70px;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-box {
    padding: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   Mobile Drawer Menu (Hidden by default on Desktop)
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: #0B132B;
  z-index: 1500;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  visibility: hidden;
}

.mobile-drawer.open {
  right: 0;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links a {
  color: #E2E8F0;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.mobile-drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Drawer Backdrop Overlay */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1490;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Strictly hide mobile drawer on Desktop screens */
@media (min-width: 769px) {
  .mobile-drawer,
  .drawer-backdrop,
  .mobile-menu-btn {
    display: none !important;
  }
}

