/*
Theme Name: Edge Cart Studio
Theme URI: https://edgecartstudio.com
Author: Edge Cart Studio
Description: Professional ecommerce listing and management services theme.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: edge-cart-studio
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
  --primary: #061B3A;
  --primary-90: rgba(6, 27, 58, 0.9);
  --primary-10: rgba(6, 27, 58, 0.1);
  --primary-05: rgba(6, 27, 58, 0.05);
  --foreground: #061B3A;
  --muted: #4a5a7a;
  --background: #ffffff;
  --bg-secondary: #f5f6fa;
  --bg-muted: #eef0f5;
  --border: #e4e6eb;
  --card-bg: #ffffff;
  --gold: #FFB800;
  --whatsapp: #25D366;
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 1px 3px rgba(6,27,58,0.08), 0 1px 2px rgba(6,27,58,0.06);
  --shadow-md: 0 4px 12px rgba(6,27,58,0.1), 0 2px 4px rgba(6,27,58,0.06);
  --shadow-lg: 0 10px 30px rgba(6,27,58,0.12), 0 4px 8px rgba(6,27,58,0.08);
  --shadow-xl: 0 20px 40px rgba(6,27,58,0.15), 0 8px 16px rgba(6,27,58,0.08);
}

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }

p { max-width: 65ch; }

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.font-bold { font-weight: 700; }

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-top: -74px;
  display: block;
}

.logo-clip {
  width: 200px;
  height: 52px;
  overflow: hidden;
  position: relative;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-whatsapp {
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}

.nav-whatsapp:hover { color: var(--whatsapp); transform: scale(1.1); }

.nav-whatsapp svg { width: 20px; height: 20px; display: block; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--foreground);
  z-index: 1001;
}

.mobile-toggle svg { width: 24px; height: 24px; display: block; }

.mobile-nav {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--primary); }

.mobile-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 0;
  color: var(--whatsapp) !important;
  font-weight: 600;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1641833278434-50f92b93d65a?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-90) 0%, rgba(6,27,58,0.85) 100%);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero h1 {
  color: #fff;
  line-height: 1.1;
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 640px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

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

.btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
}

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

.btn-solid:hover {
  background: #0a2a5a;
  border-color: #0a2a5a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-full { width: 100%; }

.btn svg { width: 20px; height: 20px; }

/* ================================================
   STATS SECTION
   ================================================ */
.stats-section {
  background: var(--background);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-icon {
  background: var(--primary-05);
  color: var(--primary);
  padding: 0.875rem;
  border-radius: 1rem;
}

.stat-icon svg { width: 32px; height: 32px; display: block; }

.stat-number {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services-section { background: var(--bg-secondary); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 { margin-bottom: 1rem; color: var(--primary); }

.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(6,27,58,0.2);
  transform: translateY(-2px);
}

.service-card.highlight {
  border-color: var(--primary);
  background: var(--primary-05);
  box-shadow: var(--shadow-sm);
}

.service-specialty-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-bottom-left-radius: var(--radius);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon.default { background: var(--bg-muted); color: var(--primary); }
.service-icon.featured { background: var(--primary); color: #fff; }
.service-icon svg { width: 22px; height: 22px; display: block; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--foreground);
}

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

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

.about-content h2 { color: var(--primary); margin-bottom: 1.25rem; }

.about-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-list { display: flex; flex-direction: column; gap: 1rem; }

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.about-list-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

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

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-stat-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -3rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
}

.stat-badge-icon {
  background: var(--primary-10);
  color: var(--primary);
  padding: 0.75rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.stat-badge-icon svg { width: 28px; height: 28px; display: block; }

.stat-badge-num {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-badge-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ================================================
   PROCESS SECTION
   ================================================ */
.process-section {
  background: var(--primary);
  padding: 5rem 0;
}

.process-section .section-header h2 { color: #fff; }

.process-timeline {
  max-width: 720px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
}

.timeline-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  border: 4px solid var(--primary);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
  z-index: 1;
  flex-shrink: 0;
}

.timeline-connector {
  width: 3px;
  flex: 1;
  min-height: 3rem;
  background: rgba(255,255,255,0.2);
  margin: 0.5rem 0;
}

.timeline-content {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.timeline-step:last-child .timeline-content { padding-bottom: 0; }

.timeline-content h3 {
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
}

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why-section { background: var(--bg-secondary); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

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

.why-icon {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.why-icon svg { width: 18px; height: 18px; display: block; }

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.why-item p { color: var(--muted); font-size: 0.9375rem; }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-section { background: var(--background); }

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

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.stars svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-text {
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
}

.testimonial-author .name { font-weight: 700; color: var(--foreground); }
.testimonial-author .role { font-size: 0.875rem; color: var(--muted); margin-top: 0.125rem; }

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

.contact-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 3fr;
  max-width: 860px;
  margin: 0 auto;
}

.contact-sidebar {
  background: var(--primary);
  color: #fff;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-sidebar h3 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-sidebar p {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-wa-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.contact-wa-btn:hover { background: rgba(255,255,255,0.18); }

.wa-icon-wrap {
  background: var(--whatsapp);
  padding: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.wa-icon-wrap svg { width: 22px; height: 22px; display: block; fill: #fff; }

.contact-wa-label { font-size: 0.8125rem; opacity: 0.75; }
.contact-wa-title { font-weight: 700; font-size: 1rem; }

.contact-form-wrap { padding: 3rem 2.5rem; }

/* ================================================
   FORM STYLES
   ================================================ */
.ecs-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--foreground);
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6,27,58,0.08);
  background: #fff;
}

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

.form-select-wrap {
  position: relative;
}

.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--muted);
  pointer-events: none;
}

.form-error {
  font-size: 0.8125rem;
  color: #dc2626;
  margin-top: 0.25rem;
}

.form-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin-bottom: 1rem;
}

.form-error-msg {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .footer-logo-wrap {
  width: 200px;
  height: 52px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
}

.footer-brand .footer-logo-wrap img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-top: -74px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links a, .footer-links button {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-align: left;
}

.footer-links a:hover, .footer-links button:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.footer-social svg { width: 16px; height: 16px; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.875rem; }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-stat-badge { left: 0; }
  .about-image-wrapper { padding-bottom: 2.5rem; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .mobile-toggle { display: block; }

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

  .contact-card { grid-template-columns: 1fr; }
  .contact-sidebar { order: 1; }
  .contact-form-wrap { order: 0; }

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

  .form-row { grid-template-columns: 1fr; }

  h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  h2 { font-size: clamp(1.625rem, 6vw, 2.25rem); }

  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
