/* ========================================
   MERRICLEAN — Custom Styles
   Emerald Green + Cream | Editorial Bold
======================================== */

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

:root {
  --emerald-950: #042f23;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  --cream-50:  #fefce8;
  --cream-100: #fef9c3;
  --cream-200: #fef08a;
  --cream-50:  #fefce8;
  --cream:     #faf8f0;
  --cream-light: #fdfcf7;

  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50:  #fafaf9;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.16);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--stone-800);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

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

.btn--secondary {
  background: var(--emerald-600);
  color: #fff;
  border-color: var(--emerald-600);
}
.btn--secondary:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
}

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.55);
}

.btn--white {
  background: #fff;
  color: var(--emerald-800);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* --- Section Headings --- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 12px;
}
.section-eyebrow--light {
  color: var(--emerald-100);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--stone-900);
  margin-bottom: 20px;
}
.section-title--light {
  color: var(--cream-light);
}
.section-title--accent {
  color: var(--emerald-700);
  font-style: italic;
}
.section-title--accent-light {
  color: var(--emerald-300);
  font-style: italic;
}
.section-title--accent-light {
  color: #6ee7b7;
}

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header--light {
  margin-bottom: 72px;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--emerald-800);
}
.nav-logo-icon {
  color: var(--emerald-700);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--stone-700);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.nav-link:hover {
  color: var(--emerald-700);
  background: var(--emerald-50);
}

.nav-link--cta {
  background: var(--emerald-700);
  color: #fff !important;
  margin-left: 8px;
}
.nav-link--cta:hover {
  background: var(--emerald-800);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--stone-800);
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 47, 35, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: var(--cream);
  padding: 96px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.nav-overlay.active .nav-overlay-inner {
  transform: translateX(0);
}

.nav-overlay-link {
  padding: 14px 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--stone-800);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-overlay-link:hover {
  background: var(--emerald-50);
  color: var(--emerald-700);
}
.nav-overlay-cta {
  margin-top: 16px;
  background: var(--emerald-700);
  color: #fff !important;
  text-align: center;
  border-radius: 8px;
}

/* ========================================
   HERO
======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--emerald-900);
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(5, 150, 105, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Main Hero Card */
.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 48px 44px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.hero-card--main {
  background: rgba(255, 255, 255, 0.96);
  border: none;
  color: var(--stone-900);
}
.hero-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400), #6ee7b7);
  border-radius: 20px 20px 0 0;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--stone-950);
  margin-bottom: 20px;
}
.hero-headline--accent {
  color: var(--emerald-700);
  font-style: italic;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--stone-600);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Floating Stat Cards */
.hero-float-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.float-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: floatIn 0.6s ease both;
}
.float-card--1 { animation-delay: 0.2s; }
.float-card--2 { animation-delay: 0.4s; }
.float-card--3 { animation-delay: 0.6s; }

@keyframes floatIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.float-card-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--emerald-700);
  line-height: 1;
}
.float-card-label {
  font-size: 0.875rem;
  color: var(--stone-600);
  font-weight: 500;
  line-height: 1.4;
}

/* Hero Image */
.hero-image-col {
  position: relative;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}
.hero-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background: var(--emerald-600);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
}

/* ========================================
   SERVICES
======================================== */
.services {
  padding: 100px 0;
  background: var(--cream);
}

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

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid var(--stone-200);
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: var(--emerald-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.service-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--stone-900);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--stone-600);
  line-height: 1.65;
}

/* ========================================
   ABOUT
======================================== */
.about {
  padding: 100px 0;
  background: var(--cream-light);
}

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

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

.about-image {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--emerald-700);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
}

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--stone-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--stone-800);
}
.about-value svg {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* ========================================
   WHY US
======================================== */
.why-us {
  padding: 100px 0;
  background: var(--emerald-900);
}

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

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.3s ease;
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.why-card-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(110, 231, 183, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.why-card-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.why-card-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ========================================
   AREAS
======================================== */
.areas {
  padding: 100px 0;
  background: var(--cream);
}

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

.areas-desc {
  font-size: 1.0625rem;
  color: var(--stone-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.areas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.areas-list li {
  font-size: 1rem;
  font-weight: 500;
  color: var(--stone-800);
  padding-left: 20px;
  position: relative;
}
.areas-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--emerald-500);
  border-radius: 50%;
}

.areas-map {
  background: var(--emerald-800);
  border-radius: 20px;
  padding: 48px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: #fff;
}
.map-placeholder svg {
  color: var(--emerald-300);
  margin-bottom: 20px;
  opacity: 0.8;
}
.map-placeholder p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.map-address {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ========================================
   CTA BANNER
======================================== */
.cta-banner {
  padding: 80px 0;
  background: var(--emerald-700);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1;
  min-width: 280px;
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   CONTACT
======================================== */
.contact {
  padding: 100px 0;
  background: var(--cream-light);
}

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

.contact-desc {
  font-size: 1.0625rem;
  color: var(--stone-600);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

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

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

.contact-detail-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--stone-800);
  font-weight: 500;
  line-height: 1.5;
}

.contact-link {
  color: var(--emerald-700);
  transition: color 0.2s ease;
}
.contact-link:hover {
  color: var(--emerald-600);
  text-decoration: underline;
}

/* Form */
.contact-form-col {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--stone-200);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stone-700);
}

.form-input {
  padding: 12px 16px;
  border: 1.5px solid var(--stone-300);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--stone-900);
  background: var(--stone-50);
  transition: all 0.2s ease;
  outline: none;
  width: 100%;
}
.form-input:focus {
  border-color: var(--emerald-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.form-input::placeholder {
  color: var(--stone-400);
}

.form-select {
  appearance: none;
  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='%2378716c' stroke-width='2' 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 14px center;
  padding-right: 40px;
}

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

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 20px;
}
.form-success.show {
  display: flex;
}
.form-success svg {
  color: var(--emerald-600);
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--stone-900);
}
.form-success p {
  font-size: 0.9375rem;
  color: var(--stone-600);
  line-height: 1.6;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--stone-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(255,255,255,0.5);
}

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

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }
  .hero-card {
    padding: 36px 32px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-container {
    gap: 48px;
  }
  .about-image {
    height: 480px;
  }
}

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

  .hero {
    padding: 100px 0 60px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-card--main {
    order: 1;
  }
  .hero-image-col {
    order: 2;
    display: none;
  }
  .hero-float-cards {
    order: 3;
    flex-direction: row;
  }
  .float-card {
    flex: 1;
    padding: 20px 16px;
  }
  .float-card-number {
    font-size: 1.5rem;
  }

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

  .about-container {
    grid-template-columns: 1fr;
  }
  .about-image {
    height: 360px;
  }
  .about-image-badge {
    right: 16px;
    bottom: -16px;
  }
  .about-values {
    grid-template-columns: 1fr;
  }

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

  .areas-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .areas-map {
    min-height: 280px;
    padding: 32px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-card {
    padding: 28px 22px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    justify-content: center;
  }
  .hero-float-cards {
    flex-direction: column;
  }
  .services, .about, .why-us, .areas, .contact {
    padding: 72px 0;
  }
  .section-header {
    margin-bottom: 48px;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form-col {
    padding: 24px;
  }
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback: ensure content is visible even if JS fails */
@supports not (animation: floatIn 0.6s ease both) {
  .float-card {
    opacity: 1;
    transform: none;
  }
}
