/* Super Builder — Spot On Websites
   Design System v1.0
   Generated: 2026-03-22 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
  /* Brand colours */
  --color-primary: #16A34A;
  --color-primary-rgb: 22, 163, 74;
  --color-primary-light: #22C55E;
  --color-primary-dark: #15803D;
  --color-secondary: #0B1728;
  --color-secondary-rgb: 11, 23, 40;
  /* Neutrals */
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-700: #334155;
  --color-gray-900: #0f172a;
  /* Functional */
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-border: #e2e8f0;
  /* Typography */
  --font-family-heading: Montserrat, system-ui, sans-serif;
  --font-family-body: Inter, system-ui, sans-serif;
  /* Layout */
  --max-width-content: 1200px;
  --container-padding: 24px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  /* Motion */
  --transition-base: 250ms cubic-bezier(0.4,0,0.2,1);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-family-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-family-heading);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--color-text-muted);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   Header & Navigation (Glassmorphism)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(var(--color-secondary-rgb), 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: height 0.3s ease, background 0.3s ease;
}

.header--scrolled {
  height: 64px;
  background: rgba(var(--color-secondary-rgb), 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-img {
  height: 40px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-white);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

@media (max-width: 992px) {
  .header__nav {
    display: none;
  }
}

.header__nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  transition: color 0.2s ease;
}

.header__nav-link:hover {
  color: var(--color-white);
}

.header__cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

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

.header__hamburger {
  display: none;
  color: var(--color-white);
  width: 32px;
  height: 32px;
}

@media (max-width: 992px) {
  .header__hamburger {
    display: block;
  }
}

/* Mobile Drawer */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  background: rgba(var(--color-secondary-rgb), 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.drawer__close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--color-white);
}

.drawer__link {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.drawer__link:hover {
  color: var(--color-white);
}

.drawer__cta {
  margin-top: 24px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ==========================================================================
   Hero (Full‑Screen Parallax)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-secondary);
}

.hero--page {
  min-height: 45vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1600&q=80&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero__bg {
    background-attachment: scroll;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--color-secondary-rgb), 0.92) 0%,
    rgba(var(--color-secondary-rgb), 0.72) 50%,
    rgba(var(--color-secondary-rgb), 0.50) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: var(--color-white);
}

.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 0.2s;
}

.hero__headline {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 0.4s;
}

.hero__subheadline {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 0.6s;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 0.8s;
}

.hero__trust-bar {
  margin-top: 48px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 1.0s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__headline,
  .hero__subheadline,
  .hero__cta-group,
  .hero__trust-bar {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  text-align: center;
}

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

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

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

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

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

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

/* ==========================================================================
   Wave Dividers
   ========================================================================== */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.wave-divider--top svg {
  top: 0;
  bottom: auto;
}

@media (max-width: 640px) {
  .wave-divider {
    height: 40px;
  }
}

.wave-divider--white {
  color: #ffffff;
}

.wave-divider--light {
  color: #f8fafc;
}

.wave-divider--dark {
  color: var(--color-secondary);
}

.wave-divider--primary {
  color: var(--color-primary);
}

/* ==========================================================================
   Scroll‑Reveal Animations
   ========================================================================== */
.animate-on-scroll,
.animate-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1),
              transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.animate-on-scroll.is-visible,
.animate-stagger > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Stats Bar with Counter Animation
   ========================================================================== */
.section--textured {
  position: relative;
}

.section--textured::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-family-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-white);
  display: block;
  margin-bottom: 8px;
}

.stat-item__label {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  font-weight: 500;
}

/* ==========================================================================
   Service Cards with Border Glow
   ========================================================================== */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 0 0 1px var(--color-primary);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(var(--color-primary-rgb), 0.10);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
  transition: background 0.25s ease, color 0.25s ease;
}

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

.service-card__title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card__desc {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card__arrow {
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Why‑Us Cards
   ========================================================================== */
.why-card {
  padding: 32px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(var(--color-primary-rgb), 0.10);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.why-card__title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ==========================================================================
   Location Cards
   ========================================================================== */
.location-card {
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.location-card__title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.location-card__subtitle {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-banner__subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-family-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding-top: 80px;
  padding-bottom: 32px;
}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 24px;
}

.footer__tagline {
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-family-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.75);
}

.footer__contact-icon {
  width: 20px;
  color: var(--color-primary);
}

.footer__bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center {
  text-align: center;
}

.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .service-card,
  .why-card,
  .location-card {
    padding: 24px;
  }
}

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