/* ============================================
   LOFT INSULATIONS - MAIN STYLESHEET
   https://loftinsulations.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2338;
  --accent: #e8a020;
  --accent-light: #f5c050;
  --secondary: #2e7d32;
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #f9f8f6;
  --white: #ffffff;
  --border: #ddd;
  --shadow: 0 4px 24px rgba(26,58,92,0.10);
  --shadow-lg: 0 12px 48px rgba(26,58,92,0.18);
  --radius: 10px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Atkinson Hyperlegible', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--primary-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin-bottom: 1.1rem; color: var(--text-light); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); }
ul, ol { padding-left: 1.5rem; color: var(--text-light); margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1380px; margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
  font-family: var(--font-body);
  font-weight: 500;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--accent-light); }
.topbar a:hover { color: white; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }

/* ===== HEADER / NAV ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 18px rgba(26,58,92,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem; font-weight: 900;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 900; color: var(--primary-dark); }
.logo-tagline { font-size: 0.72rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 0.88rem; font-weight: 600;
  color: var(--text); padding: 8px 12px;
  border-radius: 6px; white-space: nowrap;
  transition: all var(--transition);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(26,58,92,0.06); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.22s; padding: 8px 0; z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 9px 18px; font-size: 0.86rem;
  color: var(--text); font-weight: 500;
  transition: all var(--transition);
}
.dropdown-menu a:hover { background: rgba(26,58,92,0.06); color: var(--primary); padding-left: 22px; }

.btn-nav {
  background: var(--accent); color: white !important;
  padding: 9px 20px !important; border-radius: 6px !important;
  font-weight: 700 !important; white-space: nowrap;
}
.btn-nav:hover { background: var(--primary) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; cursor: pointer;
  background: none; border: none; padding: 6px;
}
.menu-toggle span {
  display: block; width: 28px; height: 3px;
  background: var(--primary); border-radius: 3px;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e5080 100%);
  color: white; position: relative; overflow: hidden;
  padding: 80px 0 90px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,160,32,0.18); border: 1px solid rgba(232,160,32,0.4);
  color: var(--accent-light); padding: 6px 16px; border-radius: 30px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 22px;
}
.hero h1 { color: white; margin-bottom: 20px; line-height: 1.15; }
.hero h1 span { color: var(--accent-light); }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.08rem; margin-bottom: 0; }
.hero-desc { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--accent-light); line-height: 1; }
.hero-stat .label { font-size: 0.78rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.hero-image-box {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  aspect-ratio: 4/3;
  position: relative;
}
.hero-image-box img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-badge {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--accent); color: white;
  padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-decoration: none; font-family: var(--font-body);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #c8860a; color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,160,32,0.35); }
.btn-secondary { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: white; color: white; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-sm { padding: 9px 20px; font-size: 0.86rem; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white); padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--primary-dark); }
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ===== CARDS ===== */
.card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block; background: rgba(26,58,92,0.08);
  color: var(--primary); font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { font-size: 0.92rem; }

/* Service Cards */
.service-card {
  background: white; border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  border-top: 4px solid var(--primary);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-top-color: var(--accent); }
.service-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(26,58,92,0.08) 0%, rgba(232,160,32,0.12) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.22rem; }
.service-card .btn { margin-top: 18px; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 40px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header h1 { color: white; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.78); max-width: 640px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 0; font-size: 0.83rem;
  border-bottom: 1px solid var(--border);
  background: white;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 4px; }
.breadcrumb li { display: flex; align-items: center; gap: 4px; color: var(--text-light); }
.breadcrumb li::after { content: '›'; color: var(--border); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb [aria-current="page"] { color: var(--text-light); }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .eyebrow {
  display: inline-block; color: var(--accent);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.02rem; }

/* ===== FEATURES ===== */
.feature-item { display: flex; gap: 20px; margin-bottom: 32px; }
.feature-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; color: white; font-size: 1.3rem;
}
.feature-content h3 { margin-bottom: 6px; font-size: 1.1rem; }
.feature-content p { margin: 0; font-size: 0.92rem; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer;
  font-family: var(--font-heading); font-size: 1.08rem; font-weight: 700;
  color: var(--primary-dark); gap: 16px;
  user-select: none;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 1.4rem; flex-shrink: 0; transition: transform 0.3s; color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 0 20px; font-size: 0.95rem; color: var(--text-light); }

/* ===== REVIEWS ===== */
.review-card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.05);
}
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-card p { font-style: italic; margin-bottom: 18px; font-size: 0.94rem; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.reviewer-info strong { display: block; font-size: 0.9rem; color: var(--text); }
.reviewer-info span { font-size: 0.78rem; color: var(--text-light); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white; padding: 72px 0; text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ===== CONTACT ===== */
.contact-form-wrap { background: white; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.9rem; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 7px;
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text); background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(26,58,92,0.08); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== FOOTER ===== */
footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.8);
  padding-top: 64px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand .logo-name { color: white; }
.footer-brand .logo-tagline { color: var(--accent-light); }
.footer-desc { color: rgba(255,255,255,0.62); font-size: 0.88rem; margin: 16px 0 24px; line-height: 1.7; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.88rem; }
.footer-contact-item a { color: var(--accent-light); }
.footer-contact-item a:hover { color: white; }

.footer-col h4 {
  color: white; font-family: var(--font-heading);
  font-size: 1rem; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.68); font-size: 0.87rem; transition: all var(--transition); }
.footer-col ul li a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: white; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ===== LOCATION PAGE SPECIFIC ===== */
.location-map { border-radius: var(--radius); overflow: hidden; height: 400px; box-shadow: var(--shadow); }
.location-map iframe { width: 100%; height: 100%; border: 0; }

/* ===== IMAGE GALLERY ===== */
.img-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.img-gallery img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.img-gallery-2 { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.img-gallery-2 .img-main { grid-row: span 2; border-radius: var(--radius); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.img-gallery-2 img:not(.img-main) { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ===== INFO BOX ===== */
.info-box {
  background: linear-gradient(135deg, rgba(26,58,92,0.06) 0%, rgba(232,160,32,0.06) 100%);
  border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; margin: 28px 0;
}
.info-box h4 { color: var(--primary-dark); margin-bottom: 8px; }
.info-box p { margin: 0; font-size: 0.94rem; }

/* ===== TABLE ===== */
table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.94rem; }
th { background: var(--primary); color: white; padding: 12px 16px; text-align: left; font-family: var(--font-heading); }
td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
tr:nth-child(even) td { background: rgba(26,58,92,0.03); }
tr:hover td { background: rgba(26,58,92,0.06); }

/* ===== LINKS PAGE ===== */
.partner-card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition);
}
.partner-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.partner-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.partner-card p { font-size: 0.9rem; margin-bottom: 16px; }

/* ===== SITEMAP PAGE ===== */
.sitemap-section h2 { margin-bottom: 16px; font-size: 1.4rem; }
.sitemap-section ul { list-style: none; padding: 0; columns: 2; gap: 30px; }
.sitemap-section ul li { break-inside: avoid; margin-bottom: 8px; }
.sitemap-section ul li a { font-size: 0.9rem; }

/* ===== BLOG ===== */
.blog-meta { font-size: 0.82rem; color: var(--text-light); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.blog-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== CASE STUDIES ===== */
.case-study-card {
  background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1.4fr;
  transition: all var(--transition);
}
.case-study-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-study-img { aspect-ratio: 1; overflow: hidden; }
.case-study-img img { width: 100%; height: 100%; object-fit: cover; }
.case-study-body { padding: 32px; }
.case-study-stat { margin-bottom: 20px; }
.case-study-stat .num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.case-study-stat .desc { font-size: 0.85rem; color: var(--text-light); }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: white;
  border: none; cursor: pointer; font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover { background: var(--accent); transform: translateY(-3px); }

/* ===== NOTICE BAR ===== */
.notice-bar {
  background: var(--accent); color: white;
  text-align: center; padding: 9px;
  font-size: 0.85rem; font-weight: 600;
}
.notice-bar a { color: white; text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-box { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .case-study-card { grid-template-columns: 1fr; }
  .case-study-img { aspect-ratio: 16/9; }
  nav { display: none; }
  .menu-toggle { display: flex; }
  nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: white; z-index: 999;
    padding: 90px 24px 40px;
    overflow-y: auto; align-items: flex-start; gap: 0;
  }
  nav.open .nav-link { padding: 14px 8px; font-size: 1rem; width: 100%; border-bottom: 1px solid var(--border); }
  nav.open .dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    background: rgba(26,58,92,0.04); padding: 0;
  }
  nav.open .nav-dropdown { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .img-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  .topbar { display: none; }
  .sitemap-section ul { columns: 1; }
  .img-gallery { grid-template-columns: 1fr; }
}
