@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700;900&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  /* Brand Palette */
  --brand-yellow: #F8C018;
  --brand-yellow-rgb: 248, 192, 24;
  --brand-black: #000000;
  --brand-white: #FFFFFF;
  --brand-blue: #1D2D44;
  --brand-cyan: #01A9E0;
  --brand-red: #A32522;

  /* UI Colors */
  --bg-primary: #1a1a18;
  --bg-secondary: #141412;
  --bg-card: #353632;
  --bg-card-hover: #454541;
  --accent: var(--brand-yellow);
  --accent-strong: #ffe699;
  --accent-alt: #6a6043;
  --accent-rgb: var(--brand-yellow-rgb);
  --accent-glow: var(--brand-yellow);
  --accent-yellow: #ffffff;
  --accent-yellow-glow: #fef3c7;
  --accent-text-primary: var(--brand-black);
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: #3a3b1e;
  --border-rgb: 58, 59, 30;
  --success: #22c55e;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px -10px rgba(var(--accent-rgb), 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-bg: rgba(14, 14, 13, 0.7);
  --mobile-menu-bg: rgba(24, 22, 17, 0.97);
  --cta-secondary-border: rgba(255,255,255,0.3);
  --cta-secondary-text: #fff;
  --cta-secondary-hover-bg: rgba(255,255,255,0.1);
  --cta-secondary-hover-border: #fff;
  --cta-button-bg: #fff;
  --cta-button-shadow: 0 8px 30px rgba(0,0,0,0.2);
  --emergency-gradient: linear-gradient(135deg, var(--brand-red), #ef4444);
  --emergency-text: #fff;
  --emergency-shadow: 0 4px 20px rgba(163,37,34,0.4);
  --emergency-shadow-hover: 0 8px 30px rgba(163,37,34,0.5);
  --emergency-banner-gradient: linear-gradient(90deg, var(--brand-red), #b91c1c, var(--brand-red));
  --emergency-banner-link: #fff;
  --accent-text-shadow: 1px 2px 2px rgba(15,23,42,0.15);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #ebebeb;
    --bg-secondary: #dcdcdc;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --accent: var(--brand-yellow);
    --accent-strong: var(--brand-yellow);
    --accent-alt: var(--brand-yellow);
    --accent-glow: var(--brand-yellow);
    --accent-yellow: #dfc472;
    --accent-text-primary: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border: #7a7a7a;
    --border-rgb: 122, 122, 122;
    --shadow: 0 4px 10px -2px rgba(15,23,42,0.08), 0 2px 6px -2px rgba(15,23,42,0.08);
    --shadow-lg: 0 16px 40px -16px rgba(15,23,42,0.18);
    --header-bg: rgba(255, 255, 255, 0.85);
    --mobile-menu-bg: rgba(248, 250, 252, 0.97);
    --cta-secondary-border: rgba(15,23,42,0.2);
    --cta-secondary-text: #0f172a;
    --cta-secondary-hover-bg: rgba(15,23,42,0.08);
    --cta-secondary-hover-border: rgba(15,23,42,0.4);
    --cta-button-bg: #fff;
    --cta-button-shadow: 0 10px 24px rgba(15,23,42,0.15);
    --emergency-text: #fff;
    --emergency-banner-link: #fff;
    --accent-text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.9);
    color-scheme: light;
  }
}
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .nav-desktop a, .nav-cta, .btn, .section-label {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea { font-family: inherit; }

/* ========== UTILITY ========== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 16px;
  text-shadow: var(--accent-text-shadow);
}
.section-label::before {
  content: ''; width: 14px; height: 14px;
  background: url('/logo-icon.svg') no-repeat center;
  background-size: contain;
  filter: drop-shadow(0 0 2px var(--brand-yellow));
}
@media (prefers-color-scheme: light) {
  .section-label {
    text-shadow: none;
    color: var(--accent-text-primary);
  }
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 700;
  line-height: 1.15; margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 600px; line-height: 1.7;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px; font-weight: 700;
  font-size: 1rem; border: none; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--brand-yellow); color: var(--brand-black);
  border: 2px solid var(--brand-yellow);
  box-shadow: 0 4px 20px rgba(var(--brand-yellow-rgb), 0.4);
}
.btn-primary:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--brand-yellow-rgb), 0.5);
}
.btn-secondary {
  background: transparent; color: var(--brand-white);
  border: 2px solid var(--brand-blue);
}
.btn-secondary:hover { border-color: var(--brand-yellow); color: var(--brand-yellow); text-shadow: none; }
.btn-emergency {
  background: var(--emergency-gradient);
  color: var(--emergency-text); box-shadow: var(--emergency-shadow);
}
.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: var(--emergency-shadow-hover);
}
.glow-text { color: var(--accent-glow); text-shadow: var(--accent-text-shadow); }
.yellow-text { color: var(--accent-yellow); text-shadow: var(--accent-text-shadow); }

/* Animations */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s 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; }

/* ========== EMERGENCY BANNER ========== */
.emergency-banner {
  background: var(--emergency-banner-gradient);
  background-size: 200% 100%;
  animation: bannerShift 3s ease infinite;
  padding: 10px 24px; text-align: center;
  font-size: 0.9rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  position: fixed; top: 0; left: 0; right: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
  color: var(--emergency-text);
}
.emergency-banner.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}
.emergency-banner a {
  color: var(--emergency-banner-link); text-decoration: underline;
  text-underline-offset: 3px;
}
@media screen and (max-width: 600px) {
  .emergency-banner { font-size: 0.65rem; padding: 12px 0px; }
}
@keyframes bannerShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========== HEADER ========== */
.header {
  position: fixed; top: 44px; left: 0; right: 0; z-index: 1000;
  transition: var(--transition);
  background: var(--header-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
.header.banner-hidden { top: 0; }
.header.scrolled { border-bottom-color: var(--border); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 120px; padding: 0 24px;
}
.logo {
  display: flex; align-items: center;
  position: relative; z-index: 1001;
}
.logo-dark-theme, .logo-light-theme {
  height: 85px;
  width: auto;
  transition: transform 0.3s ease;
}
.logo-dark-theme:hover, .logo-light-theme:hover {
  transform: scale(1.05);
}

.logo-light-theme { display: none; } /* Default to hidden */

@media (prefers-color-scheme: light) {
  .logo-dark-theme { display: none; }
  .logo-light-theme { display: block; }
}

@media (max-width: 768px) {
  .logo-dark-theme, .logo-light-theme { height: 64px; }
  .header-inner { height: 100px; }
}

.nav-desktop { display: flex; align-items: center; gap: 8px; }
.nav-desktop a {
  padding: 8px 18px; border-radius: 50px; font-size: 1.1rem;
  font-weight: 700; color: var(--text-secondary);
  transition: var(--transition);
}
.nav-desktop a:hover { color: var(--text-primary); background: var(--bg-card); }
@media (prefers-color-scheme: light) {
  .nav-desktop a:hover { color: var(--text-primary); background: var(--accent); }
}
.nav-cta {
  margin-left: 12px; padding: 10px 24px !important;
  background: var(--accent) !important; color: #fff !important;
  border-radius: 50px !important; font-weight: 600 !important;
  box-shadow: 0 2px 15px rgba(var(--accent-rgb), 0.3);
  color: var(--accent-text-primary) !important;
}
.nav-cta:hover { background: var(--accent-strong) !important; transform: translateY(-1px); }

/* Mobile Menu */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; z-index: 1001;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--mobile-menu-bg); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-size: 1.7rem; font-weight: 700; padding: 12px 32px;
  border-radius: 12px; transition: var(--transition);
}
.mobile-menu a:hover { background: var(--bg-card); color: var(--accent); text-shadow: var(--accent-text-shadow); }

/* ========== HERO ========== */
.hero {
  padding: 220px 0 80px; position: relative; overflow: hidden;
  min-height: auto; display: flex; align-items: center;
  background-image: url('/logo-footer.svg');
  background-position: 100% 100%;
  background-repeat: no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(var(--accent-rgb), 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(251,191,36,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px; border-radius: 50px;
  background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.2);
  font-size: 0.85rem; font-weight: 600; color: var(--accent-glow);
  text-shadow: var(--accent-text-shadow);
  margin-bottom: 24px;
}
@media (prefers-color-scheme: light) {
  .hero-badge {
    background: var(--accent);
    color: var(--accent-text-primary);
    text-shadow: none;
  }
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700;
  line-height: 1.1; margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 40px; max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: relative; display: flex; align-items: center;
  justify-content: center;
}
.hero-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg); position: relative; width: 100%;
}
.hero-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.05), rgba(251,191,36,0.1), rgba(251,191,36,0.05));
  z-index: -1; padding: 1px;
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hero-stat h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-white));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (prefers-color-scheme: light) {
  .hero-stat h3 {
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
    color: var(--brand-blue);
  }
}
.hero-stat p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.hero-stat-divider {
  grid-column: 1 / -1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.floating-badge {
  position: absolute; padding: 12px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px;
}
.floating-badge.top-right { top: -20px; right: -20px; }
.floating-badge.bottom-left { bottom: -20px; left: -20px; }

/* ========== SERVICES ========== */
.services-section { background: var(--bg-secondary); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-subtitle { margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--brand-blue); border: 1px solid var(--brand-blue);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
  color: var(--brand-white);
}
.service-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.15);
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-yellow));
  transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.service-card:hover::after { transform: scaleX(1); }

.service-title-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.service-icon-small { font-size: 1.5rem; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--brand-white); }
.service-card p { font-size: 0.9rem; color: var(--brand-white); opacity: 0.8; line-height: 1.6; }

/* ========== ABOUT ========== */
.about-grid {
  display: block;
  max-width: 800px; margin: 0 auto; text-align: center;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; text-align: left;
}
.about-feature {
  display: flex; gap: 16px; align-items: flex-start;
}
.about-feature-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.15);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
@media (prefers-color-scheme: light) {
  .about-feature-icon {
    background: rgba(var(--accent-rgb), 0.2);
    border-color: var(--accent);
    color: var(--accent-text-primary);
  }
}
.about-feature h4 { font-weight: 700; margin-bottom: 4px; }
.about-feature p { font-size: 0.9rem; color: var(--text-secondary); }

/* ========== TESTIMONIALS ========== */
.testimonials-section { background: var(--bg-secondary); }
.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials-header .section-subtitle { margin: 0 auto; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(var(--accent-rgb), 0.3); }
.testimonial-stars { color: var(--accent-yellow); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; text-shadow: var(--accent-text-shadow); }
.testimonial-text {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-yellow));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: var(--bg-primary);
}
.testimonial-author-info h4 { font-size: 0.95rem; font-weight: 700; }
.testimonial-author-info p { font-size: 0.8rem; color: var(--text-muted); }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--brand-blue);
  border-radius: var(--radius-lg); padding: 60px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}
.cta-banner > * { position: relative; z-index: 1; color: var(--brand-white); }
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 16px; color: var(--brand-white); }
.cta-banner p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; color: var(--brand-white); }
.cta-banner .btn-primary {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: 2px solid var(--brand-yellow);
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-banner .btn-secondary {
  border-color: var(--brand-white);
  color: var(--brand-white);
  background: transparent;
}
.cta-banner .btn-secondary:hover {
  border-color: var(--brand-yellow);
  color: var(--brand-yellow);
}

/* ========== CONTACT / FOOTER ========== */
.contact-section { background: var(--bg-secondary); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
  align-items: start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--accent); }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(var(--accent-rgb), 0.3); display: flex;
  border: 1px solid rgba(var(--accent-rgb), 0.7);
  align-items: center; justify-content: center; font-size: 1.3rem;
}
.contact-info-card h4 { font-weight: 700; margin-bottom: 4px; }
.contact-info-card p { font-size: 0.9rem; color: var(--text-secondary); }
.contact-info-card a { color: var(--accent-glow); text-shadow: var(--accent-text-shadow); }
.contact-info-card a:hover { text-decoration: underline; }
@media (prefers-color-scheme: light) {
  .contact-info-card a {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--accent);
    text-shadow: none;
  }
  .contact-info-card a:hover { border-bottom-color: transparent; }
}

.contact-form-wrapper {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.contact-form-wrapper h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.contact-form-wrapper > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
}
.form-group input, .form-group textarea {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; color: var(--text-primary);
  font-size: 0.95rem; transition: var(--transition); width: 100%;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  margin-top: 8px; width: 100%; background: var(--accent);
  color: #fff; border: none; padding: 16px; border-radius: 12px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: var(--transition);
  color: var(--accent-text-primary);
}
.form-submit:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.4); }

/* ========== FOOTER ========== */
.footer {
  background: var(--brand-blue);
  color: var(--brand-white);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-left p { font-size: 0.85rem; color: var(--brand-white); opacity: 0.8; }
.footer-right { text-align: right; }
.footer-right p { font-size: 0.8rem; color: var(--brand-white); opacity: 0.8; line-height: 1.8; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { order: -1; }
  .hero h1 { text-align: center; }
  .hero-sub { text-align: center; margin: 0 auto 40px; }
  .hero-badge { margin: 0 auto 24px; }
  .hero-buttons { justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }

  /* RAISED HERO FOR MOBILE: Reduced padding and gap */
  .hero { padding: 150px 0 60px; min-height: auto; }
  .hero-grid { gap: 30px; }
  .hero-card { padding: 25px 20px; }

  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-stat h3 { font-size: 2rem; }
  .floating-badge { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: 1; }
  .cta-banner { padding: 40px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
  .contact-form-wrapper { padding: 28px 20px; }
}

/* --- Pulsing Call Button Animation --- */
@keyframes slowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(var(--accent-rgb), 0);
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
    transform: scale(1);
  }
}

.pulse-call {
  animation: slowPulse 3s infinite ease-in-out;
  display: inline-flex !important;
}

/* ========== LIGHT THEME OVERRIDES ========== */
@media (prefers-color-scheme: light) {
  .btn-secondary { color: var(--text-primary); }
  .btn-secondary:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--brand-white);
  }

  .service-card {
    background: #f8fafc;
    border-color: var(--brand-blue);
    color: var(--brand-blue);
  }
  .service-card h3, 
  .service-card p { 
    color: var(--brand-blue) !important; 
  }
  .service-card:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--brand-white);
  }
  .service-card:hover h3, 
  .service-card:hover p { 
    color: var(--brand-white) !important; 
  }
  .service-card:hover .service-icon-small { 
    filter: brightness(0) invert(1); 
  }
}
