/* ========================================
   Rural & Reckless Media LLC
   Design System: Rustic Modern
   ======================================== */

/* --- Design Tokens --- */
:root {
  /* Brand Palette */
  --primary: #8B5A2B;          /* Cedar wood brown */
  --primary-hover: #6E451F;     /* Darker cedar */
  --primary-light: #A67C52;     /* Light cedar */
  --accent: #C87941;            /* Muted copper */
  --accent-gold: #D4A54A;       /* Warm gold for highlights */

  /* Backgrounds */
  --bg: #EBDDCB;               /* Antique parchment */
  --bg-card: #FFFFFF;
  --bg-dark: #1F2937;           /* Dark panel bg */
  --bg-darker: #111827;         /* Darker panel bg */
  --bg-services: #FAFAF8;       /* Off-white for service cards */

  /* Text */
  --text: #212529;
  --text-heading: #111827;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;
  --text-white: #FFFFFF;
  --text-on-dark: #F3F4F6;

  /* Borders & Utility */
  --border: #CFD8DC;
  --border-dark: #374151;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 12px 32px rgba(139, 90, 43, 0.08);

  /* Typography */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
  --transition-fast: all 0.15s var(--ease);
}

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

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

body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--text-white);
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-heading);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  font-weight: 700;
}


/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(253, 252, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  z-index: 110;
}

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

/* Desktop nav */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* Nav CTA button */
.nav-cta {
  background: var(--primary) !important;
  color: var(--text-white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
}

/* Hamburger toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile responsive nav */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(253, 252, 251, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 105;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .main-nav a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .main-nav a::after {
    bottom: -6px;
  }

  .nav-cta {
    font-size: 1.2rem !important;
    padding: 0.85rem 2rem !important;
  }
}


/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139, 90, 43, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-outline:hover {
  background-color: var(--bg-card);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}


/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  padding: 10rem 0 8rem;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.35),
    rgba(26, 26, 26, 0.65)
  ), url('images/mountains.png') no-repeat center center;
  background-size: cover;
  color: var(--text-white);
  border-bottom: 2px solid var(--border);
  overflow: hidden;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-title {
  color: var(--text-white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-subtitle {
  color: var(--text-on-dark);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-hero {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-hero-outline {
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-white);
}

@media (max-width: 600px) {
  .hero-section {
    padding: 7rem 0 5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}


/* ========================================
   SECTIONS (shared)
   ======================================== */
.section {
  padding: 6rem 0;
}

.section-heading {
  max-width: 600px;
}

.section-heading.centered {
  text-align: center;
  margin: 0 auto 3.5rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.section-text p:last-child {
  margin-bottom: 0;
}


/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

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

.about-image-wrap img {
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: 16px;
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  .about-badge {
    right: 8px;
    bottom: -12px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}


/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.service-card {
  background-color: var(--bg-services);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

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

.service-icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.service-card h3 {
  color: var(--text-heading);
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  transition: var(--transition-fast);
}

.card-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}


/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }
}

/* Form */
.contact-form {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 600px) {
  .contact-form {
    padding: 3rem 2.5rem;
  }
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-heading);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition-fast);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.1);
}

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

/* Form success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-height: 300px;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.form-success h3 {
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 360px;
}

/* Contact info panel */
.contact-info-wrap {
  background: var(--bg-darker);
  color: var(--text-white);
  padding: 2.5rem 2rem;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 600px) {
  .contact-info-wrap {
    padding: 3rem 2.5rem;
  }
}

.contact-info-wrap h3 {
  color: var(--text-white);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.contact-info-wrap > p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  color: var(--accent);
  display: inline-flex;
  flex-shrink: 0;
  padding-top: 2px;
}

.info-text {
  font-size: 1rem;
}

.info-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.info-text a,
.info-text span {
  color: var(--text-white);
  font-weight: 500;
  transition: var(--transition-fast);
}

.info-text a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}


/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text-muted);
  transition: var(--transition-fast);
  font-weight: 500;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--primary);
}

@media (max-width: 600px) {
  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
  }
}


/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger service cards */
.service-card.fade-in-target:nth-child(2) {
  transition-delay: 0.1s;
}

.service-card.fade-in-target:nth-child(3) {
  transition-delay: 0.2s;
}


/* ========================================
   FOCUS & ACCESSIBILITY
   ======================================== */
*:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-target {
    opacity: 1;
    transform: none;
  }
}


/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .site-header,
  .mobile-menu-toggle,
  .hero-actions,
  .contact-form {
    display: none;
  }

  .section {
    padding: 2rem 0;
  }
}

/* ========================================
   NEW SECTIONS & UTILITIES
   ======================================== */

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.portfolio-image {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
}

.portfolio-image-label {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.portfolio-card--future {
  border: 2px dashed var(--primary-light);
  background: transparent;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
}

.portfolio-card--future:hover {
  border-color: var(--accent);
  background: rgba(139, 90, 43, 0.02);
}

.portfolio-image--future {
  height: auto;
  background: transparent;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.portfolio-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-body h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-heading);
}

.portfolio-body p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-badge {
  background: var(--bg);
  color: var(--primary-hover);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 90, 43, 0.15);
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 600px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-us-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

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

.why-us-card .service-icon {
  margin-bottom: 1rem;
}

.why-us-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-heading);
}

.why-us-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.process-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--bg);
  line-height: 1;
  user-select: none;
}

.process-step .service-icon {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-heading);
  position: relative;
  z-index: 1;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Testimonials Section */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--bg);
  line-height: 1;
  font-weight: 800;
  user-select: none;
}

.testimonial-card blockquote {
  margin: 0 0 1.5rem 0;
  position: relative;
  z-index: 1;
}

.testimonial-card blockquote p {
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-heading);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* Legal Pages & Cookie Banner */
.legal-page {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-content-section {
  padding: 5rem 0;
  flex-grow: 1;
}

.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .legal-wrap {
    padding: 4rem;
  }
}

.legal-wrap h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.legal-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text-heading);
}

.legal-body p, .legal-body ul {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.legal-body ul {
  padding-left: 1.5rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-darker);
  color: var(--text-on-dark);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  border-top: 1px solid var(--border-dark);
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-banner-inner {
    flex-direction: row;
    text-align: left;
  }
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: var(--accent-gold);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--text-white);
}

.cookie-accept {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.5rem 2rem;
}
