/* ============================================================
   CHAOS CREATURES RESCUE — Main Website Design System
   Cohesive premium dark-first aesthetic matching the /info library
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Color Palette — Dark Theme */
  --bg-primary:    #06080d;
  --bg-secondary:  #0d1017;
  --bg-tertiary:   #151a24;
  --bg-card:       #111520;
  --bg-glass:      rgba(11, 14, 20, 0.85);

  --text-primary:  #e8ecf2;
  --text-secondary:#8894a8;
  --text-tertiary: #505c72;

  --accent:        #22c55e;
  --accent-hover:  #16a34a;
  --accent-light:  #4ade80;
  --accent-glow:   rgba(34, 197, 94, 0.3);
  --accent-subtle: rgba(34, 197, 94, 0.07);

  --accent-2:      #3b82f6;
  --accent-2-glow: rgba(59, 130, 246, 0.2);

  --warning:       #f59e0b;
  --warning-bg:    rgba(245, 158, 11, 0.08);
  --danger:        #ef4444;
  --danger-bg:     rgba(239, 68, 68, 0.08);
  --info:          #3b82f6;
  --info-bg:       rgba(59, 130, 246, 0.08);

  --border:        rgba(255, 255, 255, 0.05);
  --border-hover:  rgba(255, 255, 255, 0.1);
  --border-accent: rgba(34, 197, 94, 0.35);

  --shadow-sm:     0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md:     0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow:   0 0 60px rgba(34, 197, 94, 0.12);
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.03);

  --font-display:  'Outfit', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;

  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2.5rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;

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

  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 280ms;
  --spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-max: 1200px;
  --nav-height:    72px;
}

/* ============================================================
   LIGHT THEME
   ============================================================ */
html.light-theme {
  --bg-primary:    #f5f7fa;
  --bg-secondary:  #ffffff;
  --bg-tertiary:   #edf0f4;
  --bg-card:       #ffffff;
  --bg-glass:      rgba(245, 247, 250, 0.88);

  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-tertiary: #94a3b8;
  --text-inverse:  #f5f7fa;

  --accent:        #16a34a;
  --accent-hover:  #15803d;
  --accent-light:  #22c55e;
  --accent-glow:   rgba(22, 163, 74, 0.18);
  --accent-subtle: rgba(22, 163, 74, 0.05);

  --accent-2-glow: rgba(59, 130, 246, 0.12);

  --border:        rgba(0, 0, 0, 0.06);
  --border-hover:  rgba(0, 0, 0, 0.12);
  --border-accent: rgba(22, 163, 74, 0.3);

  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md:     0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:     0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-glow:   0 0 40px rgba(22, 163, 74, 0.08);
  --shadow-card:   0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1.5rem);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.012) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover { color: var(--accent-light); }

/* Focus Accessible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--duration) var(--ease);
}
.skip-link:focus { top: var(--sp-md); }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--text-tertiary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
  position: relative;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.03em;
}

.section-header p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-md);
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-full);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.navbar-fixed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.7;
}

.navbar {
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.nav-brand h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu li a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  position: relative;
  z-index: 1;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  opacity: 0;
  transform: scale(0.9);
  transition: all var(--duration) var(--spring);
  z-index: -1;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--accent-light);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  opacity: 1;
  transform: scale(1);
}

.nav-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.theme-btn,
.nav-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.theme-btn:hover,
.nav-action-btn:hover {
  background: var(--accent-subtle);
  border-color: var(--border-accent);
  color: var(--accent);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px var(--accent-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--sp-2xl)) 0 var(--sp-3xl);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    radial-gradient(ellipse 600px 500px at 20% 25%, rgba(34, 197, 94, 0.12) 0%, transparent 75%),
    radial-gradient(ellipse 500px 450px at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 75%),
    linear-gradient(to bottom, rgba(6, 8, 13, 0.4) 0%, var(--bg-primary) 90%);
}

.hero::before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 15%;
  left: 10%;
  animation: floatOrb 10s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 6px 18px;
  background: linear-gradient(135deg, var(--accent-subtle), rgba(59, 130, 246, 0.03));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-lg);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--sp-lg);
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #a3e635 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto var(--sp-xl);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #06080d;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-subtle);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* ============================================================
   THE 3 AMIGOS SECTION
   ============================================================ */
.dedication-section {
  position: relative;
  padding: var(--sp-3xl) 0;
  overflow: hidden;
  background: var(--bg-secondary);
}

.dedication-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.amigo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.amigo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0.6;
}

.amigo-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 30px var(--accent-glow);
}

.amigo-header {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.amigo-avatar {
  font-size: 2.2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.amigo-title h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.amigo-dates {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.amigo-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   ZERO-JUDGMENT PROMISE
   ============================================================ */
.promise-section {
  padding: var(--sp-3xl) 0;
  position: relative;
}

.promise-box {
  background: linear-gradient(135deg, var(--accent-subtle), rgba(59, 130, 246, 0.02));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-card), 0 0 50px rgba(34,197,94,0.05);
  position: relative;
  overflow: hidden;
}

.promise-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.promise-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-md);
  line-height: 1.15;
}

.promise-content h2 span {
  color: var(--accent-light);
}

.promise-content p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.promise-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.promise-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.feature-check {
  font-size: 1.2rem;
  color: var(--accent-light);
  line-height: 1;
}

.promise-features li strong {
  display: block;
  font-size: 1rem;
  color: var(--accent-light);
  margin-bottom: 2px;
}

/* ============================================================
   WHAT WE DO (SERVICES)
   ============================================================ */
.services-section {
  padding: var(--sp-3xl) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: all 0.4s var(--ease);
  position: relative;
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 30px var(--accent-glow);
}

.service-icon {
  font-size: 2.2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-subtle), rgba(59, 130, 246, 0.05));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-lg);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.service-warning {
  grid-column: 1 / -1;
  margin-top: var(--sp-lg);
  padding: var(--sp-md) var(--sp-lg);
  background: linear-gradient(135deg, var(--warning-bg), transparent);
  border-left: 4px solid var(--warning);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--warning);
}

/* ============================================================
   INTAKE FORM & CONTACT
   ============================================================ */
.contact-section {
  padding: var(--sp-3xl) 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-card);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-md);
}

.contact-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-light);
  transition: all var(--duration) var(--ease);
}

.contact-link-btn:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* Form Styles */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-card);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-md);
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--duration) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  cursor: pointer;
  user-select: none;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-sm);
}

/* Visual Success / Status Banner */
.form-success-banner {
  display: none;
  margin-top: var(--sp-md);
  padding: var(--sp-md);
  background: linear-gradient(135deg, var(--accent-subtle), transparent);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent-light);
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--sp-xl) 0 var(--sp-lg);
  position: relative;
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

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

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-left: 1px solid var(--border);
    padding: calc(var(--nav-height) + var(--sp-lg)) var(--sp-lg) var(--sp-lg);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--duration) var(--ease),
                visibility var(--duration) var(--ease);
    z-index: 1000;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  }

  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu li a {
    display: block;
    padding: var(--sp-md);
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu li a::after { display: none; }

  .nav-actions-group {
    margin-top: var(--sp-lg);
    padding: var(--sp-md) var(--sp-sm) 0;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    border-top: 1px solid var(--border);
  }

  .hero { min-height: 80vh; }
  .hero::before { display: none; }

  .dedication-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }

  .form-group-row { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-md); }
  .nav-brand h2 { font-size: 0.92rem; }
}
