/* ==========================================================================
   SleepyLabs Auto Care – Minimalist Theme
   ========================================================================== */

:root {
  /* Warm, easy-on-the-eyes palette with pop */
  --bg: #faf9f7;
  --bg-muted: #f3f1ed;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  --text-tertiary: #999999;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-light: #ccfbf1;
  --pop: #f97316;
  --pop-light: #ffedd5;
  --border: #e8e6e1;
  --border-light: #f0eeea;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #f0fdfa 0%, #fef3c7 50%, #ffe4e6 100%);
  --gradient-cta: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
  
  /* Typography */
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Misc */
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

/* Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

/* Layout
   ========================================================================== */

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section-muted {
  background: var(--bg-muted);
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

/* Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--gradient-cta);
  color: white !important;
  border-radius: 100px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

/* Hero
   ========================================================================== */

.hero {
  padding: var(--space-2xl) 0;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-title-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gradient-cta);
  color: white;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Services
   ========================================================================== */

.services-grid {
  display: grid;
  gap: var(--space-md);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.1);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-light) 0%, #e0f2fe 100%);
  border-radius: var(--radius);
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, var(--pop-light) 0%, #fef3c7 100%);
  color: var(--pop);
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, #ede9fe 0%, #fce7f3 100%);
  color: #7c3aed;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.services-note {
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  text-align: center;
}

.services-note p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  background: var(--surface);
}

.pricing-name {
  font-size: 0.95rem;
}

.pricing-amount {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  text-align: center;
}

/* Steps
   ========================================================================== */

.steps {
  display: grid;
  gap: var(--space-md);
}

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

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.step:nth-child(2) .step-num {
  background: var(--pop-light);
  color: var(--pop);
}

.step:nth-child(3) .step-num {
  background: #ede9fe;
  color: #7c3aed;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Area
   ========================================================================== */

.area-grid {
  display: grid;
  gap: var(--space-md);
}

.area-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.area-card h3 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.area-card ul li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-light);
}

.area-card ul li:last-child {
  border-bottom: none;
}

.area-note {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* CTA Section
   ========================================================================== */

.cta-section {
  background: var(--gradient-cta);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
}

.cta-section .btn-primary {
  background: white;
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

.contact-info {
  display: grid;
  gap: var(--space-sm);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.contact-value {
  font-size: 1rem;
}

.contact-note {
  padding: var(--space-md);
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
}

.contact-note p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-light);
  padding: var(--space-md) 0;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* Responsive
   ========================================================================== */

@media (min-width: 640px) {
  .nav {
    display: flex;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .hero {
    padding: calc(var(--space-2xl) * 1.5) 0;
  }
  
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Animations
   ========================================================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title,
.hero-sub,
.hero-actions {
  animation: fadeUp 0.6s ease forwards;
}

.hero-sub {
  animation-delay: 0.1s;
}

.hero-actions {
  animation-delay: 0.2s;
}

/* Selection */
::selection {
  background: var(--accent);
  color: white;
}
