/* ───────────────────────────────────────────────────────────────────
   Rosalie's Tax Service — Styles
   Palette: Teal (#0d9488) + Slate Grey (#1e293b / #475569)
   Fonts: DM Serif Display (headings) + Inter (body)
─────────────────────────────────────────────────────────────────── */

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

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .07), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .1), 0 4px 12px rgba(15, 23, 42, .05);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, .12), 0 8px 16px rgba(15, 23, 42, .06);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --transition: 250ms cubic-bezier(.4, 0, .2, 1);
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--teal-700); }

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

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--slate-800);
  line-height: 1.2;
  font-weight: 400;
}

.text-gradient {
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9375rem;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--teal-600);
  color: #fff;
  border-color: var(--teal-600);
}
.btn-primary:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, .3);
}

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--teal-600);
  border-color: var(--teal-600);
}
.btn-outline:hover {
  background: var(--teal-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, .25);
}

.btn-sm { padding: 8px 20px; font-size: .875rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── SECTION LABELS ─────────────────────────────────────────────── */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal-600);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-400);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--slate-500);
  max-width: 600px;
  line-height: 1.7;
}

/* ───────────────────────────────────────────────────────────────────
   HEADER / NAV
─────────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-800);
  flex-shrink: 0;
}
.logo:hover { color: var(--slate-800); }

.logo-icon {
  color: var(--teal-600);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -.01em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin-left: auto;
}

.main-nav a {
  padding: 8px 16px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  text-decoration: none;
}
.main-nav a:hover {
  color: var(--teal-600);
  background: var(--teal-50);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  margin-left: auto;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger {
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ───────────────────────────────────────────────────────────────────
   HERO
─────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 40%, #0ea5e9 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--teal-400);
  top: -10%; left: -10%;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: #818cf8;
  bottom: -15%; right: -5%;
  animation-delay: -7s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: var(--teal-200);
  top: 30%; right: 20%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(.95); }
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: .8125rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  letter-spacing: .02em;
}
.hero-badge svg { opacity: .8; }

.hero-headline {
  font-size: clamp(2.25rem, 6vw, 4rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero-headline .text-gradient {
  background: linear-gradient(135deg, var(--teal-200) 0%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-trust::before,
.hero-trust::after {
  content: '';
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,.25);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  font-weight: 500;
}
.trust-item svg { opacity: .7; }

/* ───────────────────────────────────────────────────────────────────
   SERVICES
─────────────────────────────────────────────────────────────────── */

.services {
  padding: 100px 0;
  background: var(--slate-50);
}
.services .container { text-align: center; }
.services .section-sub { margin: 0 auto 56px; }

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

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  color: var(--teal-600);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--teal-600);
  color: #fff;
}

.service-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--slate-800);
}
.service-card p {
  font-size: .9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ───────────────────────────────────────────────────────────────────
   ABOUT
─────────────────────────────────────────────────────────────────── */

.about {
  padding: 100px 0;
  background: #fff;
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #fff;
}
.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-experience {
  position: absolute;
  top: -20px;
  right: 40px;
  background: var(--teal-600);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  line-height: 1.3;
}
.about-experience .exp-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 4px;
}
.about-experience .exp-label {
  font-size: .8125rem;
  opacity: .85;
  font-weight: 500;
}

.about-content .section-sub { margin-bottom: 24px; }

.about-body {
  color: var(--slate-500);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--slate-100);
}
.stat { text-align: left; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--teal-600);
  margin-bottom: 4px;
}
.stat-label {
  font-size: .8125rem;
  color: var(--slate-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ───────────────────────────────────────────────────────────────────
   WHY US
─────────────────────────────────────────────────────────────────── */

.why-us {
  padding: 100px 0;
  background: var(--slate-50);
}
.why-us .container { text-align: center; }
.why-us .section-sub { margin: 0 auto 56px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
  opacity: 0;
  transition: opacity var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-card:hover::before { opacity: 1; }

.why-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--teal-100);
  line-height: 1;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.why-card:hover .why-num { color: var(--teal-200); }

.why-card h3 {
  font-size: 1.1875rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 10px;
}
.why-card p {
  font-size: .9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ───────────────────────────────────────────────────────────────────
   TESTIMONIALS
─────────────────────────────────────────────────────────────────── */

.testimonials {
  padding: 100px 0;
  background: #fff;
}
.testimonials .container { text-align: center; }
.testimonials .section-sub { margin: 0 auto 56px; }

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

.testimonial-card {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}

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

.testimonial-text {
  font-size: .9375rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--slate-800);
}
.author-location {
  font-size: .8125rem;
  color: var(--slate-400);
}

/* ───────────────────────────────────────────────────────────────────
   CTA BANNER
─────────────────────────────────────────────────────────────────── */

.cta-banner {
  position: relative;
  padding: 96px 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 60%, #0ea5e9 100%);
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
}
.cta-orb-1 {
  width: 400px; height: 400px;
  background: var(--teal-400);
  top: -20%; left: -5%;
}
.cta-orb-2 {
  width: 300px; height: 300px;
  background: #818cf8;
  bottom: -20%; right: -5%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 16px;
}
.cta-title .text-gradient {
  background: linear-gradient(135deg, var(--teal-200) 0%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-actions .btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.cta-actions .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

/* ───────────────────────────────────────────────────────────────────
   CONTACT
─────────────────────────────────────────────────────────────────── */

.contact {
  padding: 100px 0;
  background: var(--slate-50);
}

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

.contact-body {
  color: var(--slate-500);
  margin-bottom: 36px;
  line-height: 1.75;
}

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

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

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  color: var(--teal-600);
  flex-shrink: 0;
}

.contact-label {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.contact-value {
  font-size: .9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}
.contact-value a {
  color: var(--slate-600);
  text-decoration: underline;
  text-decoration-color: var(--teal-200);
  text-underline-offset: 3px;
}
.contact-value a:hover {
  color: var(--teal-600);
  text-decoration-color: var(--teal-600);
}

/* Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
}

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

.contact-form label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--slate-800);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition);
  appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--slate-400);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--teal-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
}
.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--slate-800);
}
.form-success p {
  color: var(--slate-500);
  font-size: .9375rem;
}

/* ───────────────────────────────────────────────────────────────────
   FOOTER
─────────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--slate-800);
  color: var(--slate-400);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-tagline {
  margin-top: 16px;
  font-size: .9375rem;
  line-height: 1.7;
  max-width: 320px;
  color: var(--slate-400);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate-200);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: .875rem;
  color: var(--slate-400);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col a:hover { color: var(--teal-400); }

.footer-contact-list {
  gap: 14px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: .6;
}

.footer-bottom {
  border-top: 1px solid var(--slate-700);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: .8125rem;
  color: var(--slate-500);
}

/* ───────────────────────────────────────────────────────────────────
   SCROLL ANIMATIONS
─────────────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(.4,0,.2,1), transform 600ms cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ───────────────────────────────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-100);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 99;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
  }
  .main-nav a {
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }
  .main-nav .btn { justify-content: center; margin-top: 8px; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-headline { font-size: clamp(1.875rem, 8vw, 2.75rem); }
  .hero-trust { gap: 16px; }
  .hero-trust::before, .hero-trust::after { display: none; }
  .trust-item { font-size: .8125rem; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-float { right: 16px; bottom: -24px; }
  .about-experience { right: 16px; top: -16px; }
  .about-stats { gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: auto; max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .about-stats { flex-direction: column; gap: 20px; }
  .footer-links { grid-template-columns: 1fr; }
}
