:root {
  --primary-text: #4A4E69;
  --heading: #22223B;
  --secondary: #9A8C98;
  --background: #F2E9E4;
  --accent: #FF6B81;
  --white: #F2E9E4;
  --font-primary: 'Lora', serif;
  --font-secondary: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: var(--secondary);
  color: var(--heading);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  color: var(--heading);
  font-weight: 700;
}

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

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

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

.btn-primary:hover {
  background: #e55a6e;
}

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

.btn-secondary:hover {
  background: rgba(154, 140, 152, 0.2);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header.scrolled {
  padding: 10px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
}

.logo-subtext {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  color: var(--primary-text);
}

.logo-underline {
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin-top: 2px;
}

nav ul {
  display: none;
  list-style: none;
}

nav ul li a {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 15px;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li a:hover::after {
  width: 80%;
}

.header-cta {
  display: none;
}

.header-phone {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--heading);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--heading);
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu ul li a {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-menu .btn-primary {
  margin-top: 30px;
  padding: 16px 32px;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(34, 34, 59, 0.3), rgba(34, 34, 59, 0.5)),
    url('images/hero-background-desktop.png') center/cover no-repeat;
  position: relative;
}

.hero-content {
  max-width: 600px;
  padding: 0 20px;
  color: var(--white);
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero .btn-primary {
  text-align: center;
}

.hero .btn-secondary {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
  text-align: center;
}

.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  opacity: 0.6;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Problem/Solution Section */
.problem-solution {
  background: var(--background);
}

.problem-solution .section-title {
  font-size: 1.8rem;
}

.problem-cards {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.problem-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.problem-card svg {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  stroke: var(--accent);
}

.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.problem-card p {
  font-size: 0.95rem;
}

/* Services Overview */
.services-overview {
  background: var(--background);
}

.services-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--secondary);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.service-card svg {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  stroke: var(--primary-text);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card a {
  color: var(--primary-text);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.service-card a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.service-card a:hover::after {
  width: 100%;
}

/* Why Sonya */
.why-sonya {
  background: var(--secondary);
}

.why-sonya-content {
  display: grid;
  gap: 40px;
  align-items: center;
}

.why-sonya-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
  filter: blur(5px);
  transition: filter 0.5s ease;
}

.why-sonya-image img.loaded {
  filter: blur(0);
}

.why-sonya-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.why-sonya-text p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.why-sonya-text ul {
  list-style: none;
}

.why-sonya-text ul li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  font-size: 0.95rem;
}

.why-sonya-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
}

/* Testimonials */
.testimonials {
  background: var(--background);
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-card cite {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--heading);
  font-style: normal;
}

.testimonial-card .location {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-text);
  margin-top: 5px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-dots span.active {
  background: var(--accent);
}

/* Process Section */
.process {
  background: var(--background);
}

.process-steps {
  display: grid;
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.2rem;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  background: var(--secondary);
}

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

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--heading);
}

.faq-question .icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
}

/* Final CTA Section */
.final-cta {
  background: var(--primary-text);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 15px;
}

.final-cta p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.final-cta .btn-primary {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 129, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(255, 107, 129, 0); }
}

/* Footer */
footer {
  background: var(--background);
  padding: 60px 0 30px;
  border-top: 1px solid var(--secondary);
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-links h4, .footer-contact h4, .footer-trust h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.footer-trust ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.8rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-text);
}

/* Inner Page Hero */
.inner-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.inner-hero.family-law {
  background: linear-gradient(rgba(74, 78, 105, 0.4), rgba(74, 78, 105, 0.6)),
    url('images/family-law-hero-background.png') center/cover no-repeat;
}

.inner-hero.mediation {
  background: linear-gradient(rgba(154, 140, 152, 0.5), rgba(154, 140, 152, 0.7)),
    url('images/hero-background-desktop.png') center/cover no-repeat;
}

.inner-hero.estate-planning {
  background: linear-gradient(rgba(34, 34, 59, 0.4), rgba(34, 34, 59, 0.6)),
    url('images/estate-planning-hero-background.png') center/cover no-repeat;
}

.inner-hero.about {
  background: linear-gradient(rgba(154, 140, 152, 0.4), rgba(154, 140, 152, 0.6)),
    url('images/sonya-portrait.png') center/cover no-repeat;
  background-position: center top;
}

.inner-hero.contact {
  background: linear-gradient(rgba(242, 233, 228, 0.9), rgba(242, 233, 228, 0.95)),
    url('images/contact-hero-background.png') center/cover no-repeat;
}

.inner-hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.inner-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.inner-hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* Service Grid */
.service-grid {
  display: grid;
  gap: 30px;
}

.grid-card {
  background: var(--white);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--secondary);
  transition: all 0.3s ease;
}

.grid-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.grid-card svg {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  stroke: var(--primary-text);
}

.grid-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.grid-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Contact Page */
.contact-section {
  display: grid;
  gap: 50px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.form-group label {
  display: block;
  font-family: var(--font-secondary);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--secondary);
  border-radius: 6px;
  font-family: var(--font-primary);
  font-size: 1rem;
  background: var(--background);
  transition: border-color 0.3s ease;
}

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

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

.contact-info {
  display: grid;
  gap: 30px;
}

.info-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-card svg {
  width: 40px;
  height: 40px;
  min-width: 40px;
  stroke: var(--accent);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.95rem;
}

/* About Page */
.about-story {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-story img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
}

.about-quote {
  background: var(--secondary);
  padding: 60px 40px;
  text-align: center;
  border-radius: 12px;
}

.about-quote blockquote {
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-quote cite {
  font-family: var(--font-secondary);
  font-weight: 600;
}

.credentials-grid {
  display: grid;
  gap: 40px;
}

.credentials-list {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
}

.credentials-list h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.credentials-list ul {
  list-style: none;
}

.credentials-list ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.credentials-list ul li:last-child {
  border-bottom: none;
}

.credentials-list svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

/* Testimonials Page */
.testimonials-full {
  background: var(--background);
}

.testimonial-grid {
  display: grid;
  gap: 30px;
}

.testimonial-full-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--secondary);
}

.testimonial-full-card blockquote {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-full-card .stars {
  color: var(--accent);
  margin-bottom: 10px;
}

.testimonial-full-card cite {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--heading);
}

/* Contact Map */
.map-section {
  padding: 40px 0;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder svg {
  width: 60px;
  height: 60px;
  stroke: var(--white);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Night Mode */
body.night-mode {
  --background: #1a1a2e;
  --primary-text: #b8b8d1;
  --heading: #e8e8f0;
  --secondary: #2d2d44;
}

body.night-mode header {
  background: #1a1a2e;
}

body.night-mode .problem-card,
body.night-mode .service-card,
body.night-mode .grid-card,
body.night-mode .testimonial-card,
body.night-mode .testimonial-full-card,
body.night-mode .contact-form,
body.night-mode .faq-item,
body.night-mode .credentials-list {
  background: #2d2d44;
  border-color: #3d3d5c;
}

body.night-mode .service-card svg,
body.night-mode .grid-card svg {
  stroke: #e8e8f0;
}

/* Responsive - Tablet */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    flex: 0 0 auto;
  }

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

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

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

  .why-sonya-content {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .contact-section {
    grid-template-columns: 1fr 1fr;
  }

  .about-story {
    grid-template-columns: 1fr 1fr;
  }

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

  .process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
  }

  .process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--secondary);
  }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
  header {
    padding: 20px 0;
  }

  .header-content {
    justify-content: space-between;
  }

  .logo {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }

  .logo img {
    height: 60px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .logo-subtext {
    font-size: 0.85rem;
  }

  .logo-underline {
    width: 80%;
  }

  nav ul {
    display: flex;
    gap: 5px;
  }

  .hamburger {
    display: none;
  }

  .header-cta,
  .header-phone {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .header-phone a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-text);
  }

  .header-phone svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding-left: 80px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.25rem;
  }

  .section {
    padding: 100px 0;
  }

  .problem-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  }

  .process-step {
    flex: 1;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .process-step .step-number {
    margin-bottom: 15px;
  }
}

/* Mobile only */
@media (max-width: 767px) {
  .inner-hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .testimonial-slider {
    padding: 0 10px;
  }

  .process-steps::before {
    display: none;
  }
}

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

  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* Focus states */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-text);
  outline-offset: 2px;
}

.btn:focus {
  outline: 2px solid var(--primary-text);
  outline-offset: 2px;
}
