/* ==========================================================================
   MittenWeb — Warm Premium Theme
   Mobile-first, DM Serif Display + DM Sans, warm parchment palette
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  /* Backgrounds */
  --bg: #F8F6F1;
  --bg-elevated: #FFFFFF;
  --bg-section: #F0EDE5;
  --bg-dark: #1B1F23;
  --bg-glass: rgba(248, 246, 241, 0.85);

  /* Text */
  --text: #1B1F23;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-on-dark: #F8F6F1;

  /* Accent — Blue (trust) */
  --accent: #2563EB;
  --accent-light: #3B82F6;
  --accent-subtle: rgba(37, 99, 235, 0.08);

  /* CTA — Emerald (growth) */
  --cta: #059669;
  --cta-hover: #047857;
  --cta-subtle: rgba(5, 150, 105, 0.08);

  /* Utility */
  --success: #059669;

  /* Borders */
  --border: #E5E1DB;
  --border-hover: #D1CCC5;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 50px -5px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;
  --space-4xl: 10rem;

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

  /* Layout */
  --max-width: 1140px;
  --nav-height: 72px;

  /* Transitions */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease-premium);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 var(--space-md);
  letter-spacing: -0.02em;
}

ul {
  padding-left: 1.25em;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-family: var(--font-body);
  margin: 0 auto var(--space-xl);
  max-width: 560px;
  line-height: 1.7;
}

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

/* --- Section Dividers --- */
.about::before,
.services::before,
.how-it-works::before,
.portfolio::before,
.contact::before,
.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* --- Scroll Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-premium),
              transform 0.6s var(--ease-premium);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in:nth-child(2) { transition-delay: 0.08s; }
.animate-in:nth-child(3) { transition-delay: 0.16s; }
.animate-in:nth-child(4) { transition-delay: 0.24s; }
.animate-in:nth-child(5) { transition-delay: 0.32s; }
.animate-in:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .animate-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-premium);
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--cta);
  color: #FFFFFF;
  border-color: var(--cta);
}

.btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(5, 150, 105, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-elevated);
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Navigation — Glassmorphism (warm)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-logo {
  flex-shrink: 0;
}

.nav-brand-text {
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Hamburger toggle (CSS only) */
.nav-toggle-input {
  display: none;
}

.nav-toggle-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 110;
  border-radius: var(--radius-md);
  transition: background 0.2s var(--ease-premium);
}

.nav-toggle-label:hover {
  background: var(--accent-subtle);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-premium);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle-input:checked ~ .nav-toggle-label .hamburger {
  background: transparent;
}

.nav-toggle-input:checked ~ .nav-toggle-label .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle-input:checked ~ .nav-toggle-label .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile nav */
.nav-links {
  list-style: none;
  margin: 0;
  padding: var(--space-xl) var(--space-lg);
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  width: 300px;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-premium);
  z-index: 100;
}

.nav-toggle-input:checked ~ .nav-links {
  transform: translateX(0);
}

.nav-links a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.15s var(--ease-premium);
  font-size: 0.95rem;
}

.nav-links a:hover {
  background: var(--accent-subtle);
  color: var(--text);
}

.nav-cta {
  background: var(--cta) !important;
  color: #FFFFFF !important;
  text-align: center;
  border-radius: var(--radius-full) !important;
  margin-top: var(--space-sm);
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--cta-hover) !important;
}

/* ==========================================================================
   Hero — Warm Gradient
   ========================================================================== */
.hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F8F6F1 0%, #F0EDE5 50%, #E8E4DB 100%);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero-title br {
  display: block;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-xl);
  max-width: 480px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero .btn-primary {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.hero .btn-outline {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Hero browser mockup */
.hero-visual {
  display: none;
}

.hero-browser {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
}

.browser-dots {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dots span:first-child { background: #fc605c; }
.browser-dots span:nth-child(2) { background: #fdbc40; }
.browser-dots span:nth-child(3) { background: #34c749; }

.browser-content {
  padding: 20px;
}

.browser-text-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.browser-line {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
}

.browser-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.browser-card {
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 8px;
}

/* Browser mockup internal elements */
.browser-mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mock-nav-brand {
  width: 40px;
  height: 6px;
  background: var(--border-hover);
  border-radius: 3px;
}

.mock-nav-links {
  display: flex;
  gap: 6px;
}

.mock-nav-link {
  width: 24px;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
}

.browser-hero-block {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-hero-headline {
  width: 65%;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}

.mock-hero-subline {
  width: 45%;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.mock-hero-btn {
  width: 50px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  margin-top: 2px;
}

.mock-card-icon {
  width: 16px;
  height: 16px;
  background: var(--accent-subtle);
  border-radius: 50%;
  margin-bottom: 4px;
}

.mock-card-title {
  width: 70%;
  height: 5px;
  background: var(--border-hover);
  border-radius: 3px;
  margin-bottom: 4px;
}

.mock-card-text {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 3px;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding: var(--space-3xl) 0;
  position: relative;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-lead {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
}

.about p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-founder {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.about-areas {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.about-areas h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.area-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-xl);
}

.area-list li {
  position: relative;
  padding-left: 1.1rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.area-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

/* ==========================================================================
   Services — White Cards
   ========================================================================== */
.services {
  padding: var(--space-3xl) 0;
  position: relative;
}

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

.service-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s var(--ease-premium);
  box-shadow: var(--shadow-sm);
}

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

.service-card--featured {
  border-color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--accent-subtle);
}

.service-card--featured:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-subtle);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 18px;
  border-radius: var(--radius-full);
}

.service-icon {
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.service-price {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-xs);
  letter-spacing: -0.03em;
}

.service-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

.services-reassurance {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: var(--space-xl);
  font-style: italic;
}

.service-price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
}

.service-card > p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-includes {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}

.service-includes li {
  padding: 6px 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.how-it-works {
  padding: var(--space-3xl) 0;
  position: relative;
}

.steps {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  width: 100%;
}

.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  box-shadow: var(--shadow-sm);
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  font-weight: 400;
}

.step-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

.step-connector {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--border), transparent);
  margin-left: 25px;
}

.steps-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--space-xl);
  font-style: italic;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio {
  padding: var(--space-3xl) 0;
  position: relative;
}

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

.portfolio-card {
  display: block;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-premium);
  text-decoration: none;
  color: inherit;
  cursor: default;
  box-shadow: var(--shadow-sm);
}

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

.portfolio-preview {
  height: 180px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

/* Warm, industry-appropriate gradient backgrounds */
.portfolio-preview--restaurant {
  background: linear-gradient(135deg, #7C2D12 0%, #B45309 60%, #D97706 100%);
}

.portfolio-preview--contractor {
  background: linear-gradient(135deg, #1E3A5F 0%, #3B6B96 60%, #5B8DB8 100%);
}

.portfolio-preview--salon {
  background: linear-gradient(135deg, #831843 0%, #A3506E 60%, #C4849B 100%);
}

.portfolio-preview--retail {
  background: linear-gradient(135deg, #1A4D2E 0%, #3D7A55 60%, #5EA87A 100%);
}

.portfolio-preview--auto {
  background: linear-gradient(135deg, #292524 0%, #57534E 60%, #92400E 100%);
}

.portfolio-preview--fitness {
  background: linear-gradient(135deg, #9A3412 0%, #C2410C 60%, #EA580C 100%);
}

.preview-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 0 6px;
}

.preview-nav-logo {
  width: 18px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.preview-nav-links {
  display: flex;
  gap: 4px;
}

.preview-nav-link {
  width: 12px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.preview-hero-img {
  height: 60%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.preview-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.preview-line--heading {
  height: 7px;
  background: rgba(255, 255, 255, 0.35);
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 8px;
}

.preview-card-block {
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.portfolio-info {
  padding: var(--space-md) var(--space-lg);
}

.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 2px;
  font-weight: 400;
}

.portfolio-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: var(--space-3xl) 0;
  position: relative;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-premium);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item summary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  color: var(--text);
  transition: color 0.2s var(--ease-premium);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-premium);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-answer p {
  margin: 0 0 var(--space-sm);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  padding: var(--space-3xl) 0;
  position: relative;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info .section-title {
  text-align: left;
}

.contact-details {
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-secondary);
}

.contact-detail svg {
  flex-shrink: 0;
  color: var(--accent);
}

.contact-detail a {
  font-weight: 500;
  color: var(--text);
}

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

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

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s var(--ease-premium), box-shadow 0.2s var(--ease-premium);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

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

.contact-form .btn-primary {
  margin-top: var(--space-sm);
  border: none;
  font-family: var(--font-body);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-brand .nav-brand-text {
  color: var(--text-on-dark);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  display: block;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.footer-brand p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(248, 246, 241, 0.5);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.footer-social a {
  color: rgba(248, 246, 241, 0.5);
  transition: color 0.2s var(--ease-premium);
}

.footer-social a:hover {
  color: var(--text-on-dark);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(248, 246, 241, 0.5);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s var(--ease-premium);
}

.footer-links a:hover {
  color: var(--text-on-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 246, 241, 0.1);
  padding-top: var(--space-lg);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(248, 246, 241, 0.4);
}

.footer-address {
  margin-top: var(--space-xs);
  opacity: 0.6;
}

/* ==========================================================================
   Responsive — Tablet (640px+)
   ========================================================================== */
@media (min-width: 640px) {
  .section-title {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    flex-direction: row;
    gap: var(--space-2xl);
  }

  .contact-info,
  .contact-form-wrap {
    flex: 1;
  }
}

/* ==========================================================================
   Responsive — Desktop (900px+)
   ========================================================================== */
@media (min-width: 900px) {
  .section-title {
    font-size: 2.75rem;
  }

  /* Desktop nav */
  .nav-toggle-label {
    display: none;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    transform: none;
    width: auto;
    padding: 0;
    border: none;
    gap: var(--space-xs);
    background: transparent;
  }

  .nav-links a {
    padding: 6px 14px;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 8px 20px !important;
    margin-top: 0 !important;
  }

  /* Hero side-by-side */
  .hero {
    padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
    min-height: 90vh;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-content {
    flex: 1;
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .hero-visual {
    display: block;
    flex: 0 0 440px;
  }

  /* Services 3-col */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Portfolio 3-col */
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* FAQ max-width */
  .faq-item {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer row */
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Responsive — Large Desktop (1200px+)
   ========================================================================== */
@media (min-width: 1200px) {
  .hero-visual {
    flex: 0 0 500px;
  }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-nav,
  .hero-visual,
  .contact-form-wrap,
  .nav-toggle-label {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    background: none;
    color: #000;
    padding-top: 0;
    min-height: 0;
  }

  .site-footer {
    background: #fff;
    color: #000;
  }

  .footer-brand .nav-brand-text,
  .footer-links a,
  .footer-bottom p {
    color: #000;
  }

  .hero-title,
  h1, h2, h3, h4 {
    color: #000;
  }

  .service-card,
  .portfolio-card,
  .contact-form-wrap,
  .about-areas,
  .about-founder,
  .faq-item {
    box-shadow: none;
    border-color: #ccc;
  }
}
