/* ============================================================
   WebCraft – styles.css
   Palette: #1E1E1E (dark bg), #99FFCC (sea green accent)
   Fonts: Clash Display (display, via Fontshare), DM Sans (body)
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --bg: #1E1E1E;
  --bg-2: #252525;
  --bg-3: #2d2d2d;
  --bg-card: #242424;
  --accent: #99FFCC;
  --accent-dim: rgba(153, 255, 204, 0.15);
  --accent-mid: rgba(153, 255, 204, 0.35);
  --text: #e8e8e8;
  --text-muted: #888;
  --text-dim: #555;
  --border: rgba(153, 255, 204, 0.12);
  --border-hover: rgba(153, 255, 204, 0.4);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 70px;
  --font-display: 'Clash Display', 'Clash Grotesk', 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* Ensure hidden elements stay hidden */
[hidden] { display: none !important; }

/* ── Animated Background Canvas ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ── Utility ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }
.mt-1 { margin-top: 24px; }
.required { color: var(--accent); font-size: 0.8em; }

/* ── Reveal Animations ── */
/* Default: fully visible. JS will add .js-loaded to <html> to enable animations */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* Only hide & animate when JS has loaded */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--accent);
  color: #0f1a14;
  font-weight: 700;
}
.btn-primary:hover {
  background: #7dffc0;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(153, 255, 204, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(153, 255, 204, 0.15);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-full { width: 100%; }

/* ── Section Base ── */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  isolation: isolate;
  height: var(--header-h);
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
#site-header.scrolled {
  background: rgba(20, 20, 20, 0.95);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-name span { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-cta {
  background: var(--accent);
  color: #0f1a14 !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 8px;
}
.nav-cta:hover {
  background: #7dffc0 !important;
  color: #0f1a14 !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  /* No separate z-index needed — header handles stacking */
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HOME SECTION
   ============================================================ */
.section-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-h);
  padding-bottom: 80px;
  position: relative;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hover);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
}
.home-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.home-logo-wrap {
  margin-top: 8px;
  margin-bottom: -4px;
}
.home-logo {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 0 24px rgba(153, 255, 204, 0.3));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.home-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9.5vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.title-line { display: block; }
.title-line.accent {
  color: var(--accent);
  text-shadow: 0 0 60px rgba(153, 255, 204, 0.25);
}

.home-sub {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 460px;
  line-height: 1.7;
  margin-top: 8px;
}

.home-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 0;
}
@media (max-height: 680px) { .scroll-hint { display: none; } }
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.section-about {
  background: linear-gradient(180deg, transparent, rgba(153,255,204,0.02) 50%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
  margin-top: 8px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}
.about-text em { color: var(--accent); font-style: normal; font-weight: 500; }

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  border-radius: 10px;
  transition: background 0.2s;
}
.stat:hover { background: var(--accent-dim); }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-btn:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(153, 255, 204, 0.15);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.section-services {
  position: relative;
}
.section-services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(153,255,204,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }

.card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(153,255,204,0.1);
  background: #2a2a2a;
}

.card.featured {
  border-color: rgba(153, 255, 204, 0.4);
  background: linear-gradient(135deg, #242424, #1e2b22);
}
.card.featured:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 40px rgba(153,255,204,0.12);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #0f1a14;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: background 0.3s;
}
.card:hover .card-icon { background: rgba(153,255,204,0.25); }

.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}

.card-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.card-price strong { color: var(--accent); font-size: 1rem; }

.card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.card .btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* ============================================================
   KINDS SECTION
   ============================================================ */
.section-kinds {
  background: linear-gradient(180deg, transparent, rgba(153,255,204,0.015) 50%, transparent);
}

.kinds-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.contact-socials h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link-full {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}
.social-link-full svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.social-link-full:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
}

/* ── Forms ── */
.contact-form,
.order-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

input, textarea, select {
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 15px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(153, 255, 204, 0.1);
}

input.error, textarea.error, select.error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

input.valid, textarea.valid {
  border-color: var(--accent);
}

input::placeholder, textarea::placeholder {
  color: var(--text-dim);
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

select option { background: var(--bg-3); }

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

.field-error {
  font-size: 0.75rem;
  color: #ff6b6b;
  min-height: 16px;
  display: block;
}

.form-success {
  background: rgba(153, 255, 204, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.form-server-error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid #ff5050;
  color: #ff8080;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ORDER SECTION
   ============================================================ */
.section-order {
  position: relative;
}
.section-order::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.2;
}

/* Order Banner */
.order-banner {
  background: linear-gradient(135deg, rgba(153,255,204,0.12), rgba(153,255,204,0.05));
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  animation: fadeIn 0.4s ease;
  flex-wrap: wrap;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.banner-icon { font-size: 1.2rem; }

.banner-text {
  color: var(--text-muted);
}
.banner-text strong { color: var(--accent); }

.banner-change {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.banner-change:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Service selection area */
.order-service-area {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}

.service-area-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.radio-label:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.radio-label input[type="radio"] { display: none; }
.radio-label.selected {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.order-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayIn 0.25s ease;
}
/* [hidden] is handled globally above */

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: #222;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
  line-height: 1;
}
.modal-close:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.modal-header {
  margin-bottom: 24px;
  padding-right: 40px;
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.modal-price {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
}

.modal-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.modal-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.modal-features li::before {
  content: '✦';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 3px;
}

/* Kind modal */
.modal-kind-preview {
  margin-bottom: 20px;
}
.kind-preview-img {
  background: var(--bg-3);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.kind-preview-img svg { width: 100%; height: auto; }

.modal-overlay .modal > h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-right: 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  position: relative;
  z-index: 1;
  background: #181818;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

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

.footer-logo .logo-name { font-size: 1.05rem; }

.footer-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   RESPONSIVE – Tablet
   ============================================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-card {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   RESPONSIVE – Mobile
   ============================================================ */
@media (max-width: 680px) {
  :root { --header-h: 60px; }

  .section { padding: 80px 0; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    transform: translateY(-120%) translateZ(0);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .main-nav.open { transform: translateY(0) translateZ(0); }

  .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
  }
  .nav-cta { margin-left: 0; text-align: center; }
  /* Keep Order CTA visible in mobile nav menu but not as floating button */
  .hamburger { display: flex; }

  .home-title { font-size: clamp(3.5rem, 14vw, 5rem); }

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

  .cards-grid,
  .kinds-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-card { grid-template-columns: 1fr; }
  .stat { flex-direction: row; gap: 12px; align-items: center; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-nav { justify-content: center; }

  .order-banner { flex-direction: column; align-items: flex-start; }
  .service-radio-group { flex-direction: column; }

  .modal { padding: 24px; }
}

@media (max-width: 420px) {
  .cards-grid,
  .kinds-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--bg-3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

/* ── Focus visible ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
