/* ============================================
   God's Design Midwifery — Custom Styles
   Plum + Amber Palette
   ============================================ */

:root {
  --plum-50: #fdf2f8;
  --plum-100: #fce7f3;
  --plum-200: #fbcfe8;
  --plum-300: #f9a8d4;
  --plum-400: #f472b6;
  --plum-500: #db2777;
  --plum-600: #be185d;
  --plum-700: #9d174d;
  --plum-800: #831843;
  --plum-900: #500724;
  --plum-deep: #3d0618;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;

  --warm-50: #fefaf6;
  --warm-100: #fdf5ed;
  --warm-200: #fae8d5;
  --warm-300: #f5d5b5;
  --warm-cream: #fffbf5;
  --warm-bg: #fff9f3;

  --text-dark: #1a0a0e;
  --text-mid: #4a2030;
  --text-light: #7a4055;
  --text-muted: #9a6075;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(80, 7, 36, 0.06), 0 1px 2px rgba(80, 7, 36, 0.04);
  --shadow-md: 0 4px 14px rgba(80, 7, 36, 0.08), 0 2px 6px rgba(80, 7, 36, 0.04);
  --shadow-lg: 0 10px 30px rgba(80, 7, 36, 0.1), 0 4px 10px rgba(80, 7, 36, 0.05);
  --shadow-xl: 0 20px 50px rgba(80, 7, 36, 0.12), 0 8px 16px rgba(80, 7, 36, 0.06);

  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--warm-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--plum-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--plum-700);
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 251, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(157, 23, 77, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 251, 245, 0.96);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--plum-800);
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  color: var(--plum-600);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-mid);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover {
  background: var(--plum-100);
  color: var(--plum-700);
}

.nav-cta {
  background: var(--plum-700) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--plum-800) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--plum-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--plum-deep) 0%,
    var(--plum-800) 20%,
    var(--plum-600) 45%,
    var(--plum-500) 65%,
    var(--amber-600) 85%,
    var(--amber-400) 100%
  );
}

.hero-ornament {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(1px);
}

.hero-ornament--1 {
  width: 500px;
  height: 500px;
  background: var(--amber-300);
  top: -120px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-ornament--2 {
  width: 300px;
  height: 300px;
  background: var(--plum-300);
  bottom: -60px;
  left: -60px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-ornament--3 {
  width: 180px;
  height: 180px;
  background: var(--amber-200);
  top: 40%;
  left: 10%;
  animation: float 6s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.03); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-200);
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber-300);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--amber-300);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 28px;
  height: 28px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--plum-700);
  color: #fff;
  border-color: var(--plum-700);
}

.btn-primary:hover {
  background: var(--plum-800);
  border-color: var(--plum-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 17px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 64px;
}

.text-center {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum-500);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--warm-cream);
}

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

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

.about-image-wrap img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  inset: -16px -16px auto auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--plum-200), var(--amber-200));
  z-index: -1;
  opacity: 0.5;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-values {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.value-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--plum-50);
  border: 1px solid var(--plum-100);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--plum-800);
}

.value-card svg {
  width: 18px;
  height: 18px;
  color: var(--amber-500);
  flex-shrink: 0;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: linear-gradient(180deg, var(--warm-bg) 0%, var(--plum-50) 100%);
}

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

.service-card {
  background: #fff;
  border: 1px solid rgba(157, 23, 77, 0.07);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--plum-200);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--plum-100), var(--amber-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--plum-700);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   APPROACH
   ============================================ */
.approach {
  background: var(--warm-cream);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.approach-text p {
  color: var(--text-mid);
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.approach-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.approach-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-mid);
  font-size: 0.98rem;
  line-height: 1.6;
}

.approach-list svg {
  width: 20px;
  height: 20px;
  color: var(--amber-500);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.approach-image-wrap img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-quote {
  position: absolute;
  bottom: -24px;
  left: -24px;
  right: -24px;
  background: var(--plum-700);
  color: #fff;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.approach-quote svg {
  width: 28px;
  height: 28px;
  color: var(--amber-300);
  margin-bottom: 12px;
  opacity: 0.7;
}

.approach-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum-800) 50%, var(--plum-700) 100%);
  color: #fff;
}

.testimonials .section-eyebrow {
  color: var(--amber-300);
}

.testimonials .section-title {
  color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--amber-400);
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.testimonial-author {
  color: var(--amber-300) !important;
  font-weight: 700;
  font-size: 0.9rem !important;
  margin-bottom: 0 !important;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--warm-bg);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(157, 23, 77, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 28px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--plum-700);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--plum-500);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 28px 22px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 50%, var(--plum-600) 100%);
  padding: 80px 0;
}

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

.cta-ornament {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  opacity: 0.5;
}

.cta-ornament svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.cta-title {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 20px;
}

.cta-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--warm-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro {
  color: var(--text-light);
  font-size: 1.02rem;
  margin-bottom: 36px;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--plum-100), var(--amber-100));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--plum-700);
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum-600);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-item a {
  color: var(--text-mid);
}

.contact-item a:hover {
  color: var(--plum-700);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid rgba(157, 23, 77, 0.07);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--plum-100);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--warm-cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--plum-400);
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

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

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

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  color: #065f46;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-success svg {
  width: 22px;
  height: 22px;
  color: #10b981;
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--plum-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-logo svg {
  width: 24px;
  height: 24px;
  color: var(--amber-400);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-300);
  margin-bottom: 18px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--amber-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
  color: var(--amber-300);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--warm-cream);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 28px 40px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 12px;
    text-align: center;
  }

  .about-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap {
    order: -1;
  }

  .about-image-accent {
    display: none;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .approach-quote {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 20px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.4rem);
  }

  .hero-trust {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }

  .contact-form-wrap {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .about-values {
    flex-direction: column;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
