/* ==========================================================================
   FEVLAKE — MODERN INFRASTRUCTURE AGENCY STYLESHEET
   Clean, Premium, High-Performance Dark Engineering Design System
   ========================================================================== */

/* --- Fonts & CSS Variables --- */
@font-face {
  font-family: 'PP Object Sans';
  src: url('../fonts/web/PPObjectSans-Heavy.woff2') format('woff2'),
       url('../fonts/otf/PPObjectSans-Heavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Object Sans';
  src: url('../fonts/web/PPObjectSans-Medium.woff2') format('woff2'),
       url('../fonts/otf/PPObjectSans-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Object Sans';
  src: url('../fonts/web/PPObjectSans-Regular.woff2') format('woff2'),
       url('../fonts/otf/PPObjectSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-base: #090d16;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #162035;
  --bg-surface-hover: #1e293b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(239, 68, 68, 0.4);
  
  --primary: #ef4444;
  --primary-hover: #dc2626;
  --primary-light: rgba(239, 68, 68, 0.12);
  --accent-cyan: #06b6d4;
  --accent-cyan-light: rgba(6, 182, 212, 0.12);
  --accent-emerald: #10b981;
  --accent-emerald-light: rgba(16, 185, 129, 0.12);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'PP Object Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px -5px rgba(239, 68, 68, 0.2);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-base);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(239, 68, 68, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(239, 68, 68, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

/* --- Container & Grid --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- Header & Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo img {
  height: 28px;
  width: auto;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.header-phone:hover {
  color: var(--text-main);
}

/* Hamburger button */
.hamburger-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  padding: 8px;
  cursor: pointer;
}

.hamburger-toggle svg {
  width: 24px;
  height: 24px;
}

/* --- Mobile Menu Drawer --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(9, 13, 22, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: auto;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
}

.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

/* --- Buttons & Pills --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-highlight);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-highlight);
  color: var(--text-muted);
}

.btn-outline:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* Tag & Pill badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(239, 68, 68, 0.25);
}

.badge-cyan {
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.25);
}

.badge-emerald {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.25);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Section Layouts --- */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-sm {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-darker {
  background-color: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* --- Hero Section --- */
.hero {
  padding-top: 90px;
  padding-bottom: 110px;
  position: relative;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 960px;
}

.hero-title .highlight {
  color: var(--primary);
  background: linear-gradient(135deg, #ef4444 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-value .stat-accent {
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* --- Cards & Grid Components --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-highlight);
  transform: translateY(-3px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Case Study Card --- */
.case-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
}

.case-card:hover {
  border-color: var(--primary);
  background: var(--bg-surface-elevated);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.case-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.case-client-badge {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.case-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.case-card-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-main);
}

.case-card-summary {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.case-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.case-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.case-card-link:hover {
  gap: 10px;
}

/* Stretched link for whole card clickability */
.stretched-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

/* --- Filter Bar Component --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: var(--border-highlight);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

/* --- Client Logo Grid --- */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 30px 0;
}

.client-logo-item {
  height: 44px;
  width: auto;
  max-width: 160px;
  opacity: 0.75;
  transition: var(--transition);
  object-fit: contain;
}

.client-logo-item:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* --- Partnership / Highlight Banner --- */
.banner-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%), var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}

.banner-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.banner-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* --- Feature List with Icons --- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-check {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-text {
  font-size: 15px;
  color: var(--text-main);
}

/* --- Accordions & Steps --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--border-highlight);
  background: var(--bg-surface-elevated);
}

.accordion-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.accordion-icon {
  transition: transform 0.2s;
  color: var(--text-muted);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-content {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* --- Single Case Article Layout --- */
.case-article {
  padding-top: 60px;
  padding-bottom: 100px;
}

.case-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.case-breadcrumbs a:hover {
  color: var(--primary);
}

.case-article-header {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.case-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.case-article-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.case-article-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.6;
}

.case-content-block {
  margin-bottom: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.case-content-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.case-content-subhead {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.case-content-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.case-content-body p {
  margin-bottom: 16px;
}

.case-content-body p:last-child {
  margin-bottom: 0;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-main);
  border-left: 3px solid var(--primary);
  padding-left: 24px;
  margin: 24px 0;
  font-style: italic;
}

/* --- Contact & Forms --- */
.contact-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 100px 0;
}

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

.contact-info-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-info-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

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

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

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.contact-detail-label {
  font-size: 12px;
  color: var(--text-dim);
}

.form-card {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 24px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 15px;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  background: var(--bg-surface-elevated);
}

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

.form-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.5;
}

.form-hint a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* --- Modal Dialog --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

/* --- Toast Feedback --- */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #10b981;
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-weight: 600;
  font-size: 15px;
  z-index: 4000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Footer --- */
.site-footer {
  background: #06090f;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 340px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-nav-link:hover {
  color: var(--text-main);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: var(--text-muted);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 48px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .banner-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .header-phone { display: none; }
  .hamburger-toggle { display: block; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 50px; padding-bottom: 70px; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 17px; }
  .section-title { font-size: 32px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-article-title { font-size: 32px; }
  .case-content-block { padding: 24px; }
  .modal-dialog { padding: 28px 20px; }
  .form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
