/* ============================================================
   Holio Design System — shared across all pages
   ============================================================ */

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

:root {
  --green:        #d97706;
  --green-light:  #f59e0b;
  --green-dark:   #b45309;
  --green-bg:     #fffbeb;
  --navy:         #0f172a;
  --navy-mid:     #1e293b;
  --slate:        #64748b;
  --slate-light:  #94a3b8;
  --border:       #e2e8f0;
  --bg:           #f8fafc;
  --white:        #ffffff;
  --text:         #1e293b;
  --text-muted:   #64748b;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:       0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 20px 48px rgba(0,0,0,.14);
  --transition:   .2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

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

/* ── Typography ── */
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 9999px;
  font-size: .9375rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%); color: var(--white); border: none;
}
.btn-primary:hover { background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(251,191,36,.4); }
.btn-outline {
  background: transparent; color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green-bg); }
.btn-white {
  background: var(--white); color: var(--navy);
}
.btn-white:hover { background: var(--bg); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 9999px; font-size: .8125rem; font-weight: 600;
}
.badge-green  { background: #dcfce7; color: #15803d; }
.badge-green.badge-dot::before { background: #16a34a; animation: pulse-dot 1.5s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.3); } }
.badge-blue   { background: #eff6ff; color: #1d4ed8; }
.badge-orange { background: #fff7ed; color: #c2410c; }
.badge-gray   { background: #f1f5f9; color: var(--slate); }
.badge-dot::before { content:''; width:7px; height:7px; border-radius:50%; background:currentColor; display:inline-block; }

/* ── Section spacing ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-label {
  display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.section-heading { margin-bottom: 16px; }
.section-sub { font-size: 1.125rem; max-width: 600px; }
.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--green-bg); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Dark section ── */
.section-dark { background: var(--navy); color: var(--white); }
.section-dark p { color: var(--slate-light); }
.section-dark .section-label { color: var(--green-light); }

/* ── Green section ── */
.section-green { background: var(--green); color: var(--white); }
.section-green p { color: rgba(255,255,255,.8); }

/* ── Light section ── */
.section-light { background: var(--bg); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 0;
  height: 68px;
}
.nav-logo {
  font-size: 1.5rem; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 8px; margin-right: 48px; flex-shrink: 0;
}
.nav-logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .9375rem; font-weight: 500; color: var(--text);
  transition: var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--green); background: var(--green-bg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 220px;
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: var(--transition);
  /* transparent bridge fills the gap so hover doesn't break */
}
.nav-dropdown::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.nav-links > li:hover .nav-dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(8px);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--text);
  transition: var(--transition);
}
.nav-dropdown a:hover { background: var(--bg); color: var(--green); }

.nav-caret { font-size: .7rem; color: var(--slate); }

.nav-actions {
  display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0;
}
.nav-actions .btn { padding: 9px 20px; font-size: .875rem; }

/* Language selector */
.lang-sel {
  position: relative;
}
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600; color: var(--text);
  background: none; border: 1.5px solid var(--border);
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--green); color: var(--green); }
.lang-dd {
  position: absolute; top: 100%; right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 4px; min-width: 130px;
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: var(--transition); z-index: 200;
}
.lang-dd::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.lang-sel:hover .lang-dd,
.lang-sel.open .lang-dd {
  opacity: 1; pointer-events: auto; transform: translateY(8px);
}
.lang-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 4px;
  font-size: .875rem; font-weight: 500; color: var(--text);
  transition: var(--transition); cursor: pointer;
}
.lang-opt:hover { background: var(--bg); color: var(--green); }
.lang-opt.active { color: var(--green); font-weight: 600; }

/* Mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border: none; background: none; margin-left: auto;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: var(--white); padding: 72px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p { color: var(--slate-light); margin-top: 16px; font-size: .9375rem; max-width: 300px; }
.footer-logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.footer-col h4 { font-size: .9375rem; font-weight: 600; margin-bottom: 20px; color: var(--white); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: .9rem; color: var(--slate-light); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .875rem; color: var(--slate-light);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--slate-light); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   HERO (shared base)
   ============================================================ */
.hero {
  background: var(--navy); color: var(--white);
  padding: 96px 0 80px; overflow: hidden; position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 100%, rgba(217,119,6,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero p { color: rgba(255,255,255,.75); }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.hero h1 { margin-bottom: 24px; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--white); }
.hero-stat span  { font-size: .875rem; color: rgba(255,255,255,.6); }

/* ── Dashboard widget (used in hero) ── */
.dashboard-widget {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 24px;
  backdrop-filter: blur(8px); position: relative;
}
.dashboard-widget-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.dashboard-widget-header h4 { color: var(--white); font-size: .9375rem; }
.live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8125rem; color: var(--green-light); font-weight: 500;
}
.live-dot::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: .4; }
}
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.metric { background: rgba(255,255,255,.06); border-radius: var(--radius-sm); padding: 14px 16px; }
.metric strong { display: block; font-size: 1.375rem; font-weight: 700; color: var(--white); }
.metric span { font-size: .8rem; color: rgba(255,255,255,.5); }
.room-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.room-cell {
  background: rgba(255,255,255,.06); border-radius: var(--radius-sm); padding: 10px;
  text-align: center;
}
.room-cell .room-num { font-size: .75rem; color: rgba(255,255,255,.4); }
.room-cell .room-temp { font-size: 1rem; font-weight: 600; color: var(--white); }
.room-cell.occupied   { background: rgba(217,119,6,.25); }
.room-cell.preheating { background: rgba(96,165,250,.2); }
.room-cell.off        { background: rgba(255,255,255,.04); }

/* ============================================================
   FEATURE SPLIT (text + visual)
   ============================================================ */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9375rem; color: var(--text-muted);
}
.feature-list li::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-bg); color: var(--green); font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}

/* ── Visual panel (replaces screenshot) ── */
.visual-panel {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); position: relative;
}

/* ── Widget play/pause overlay button ── */
.widget-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none;
  color: var(--navy); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 20;
  opacity: 1; transition: opacity .2s, transform .2s;
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.widget-play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.widget-play-btn-light {
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.visual-panel-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.visual-panel-title { font-weight: 600; font-size: .9375rem; }
.visual-panel-dots { display: flex; gap: 6px; }
.visual-panel-dots span { width: 12px; height: 12px; border-radius: 50%; }
.dot-red   { background: #fc5c57; }
.dot-yellow{ background: #fdbc2c; }
.dot-green { background: #d97706; }

/* ============================================================
   LOGOS / INTEGRATION STRIP
   ============================================================ */
.logo-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.logo-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 700; color: var(--slate-light);
  opacity: .7; transition: var(--transition);
}
.logo-item:hover { opacity: 1; color: var(--text); }
.logo-item-icon { font-size: 1.6rem; }

/* ============================================================
   PRICING CALCULATOR
   ============================================================ */
.calc-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
  box-shadow: var(--shadow-lg); max-width: 800px; margin: 0 auto;
}
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.calc-field label {
  display: block; font-size: .875rem; font-weight: 600; margin-bottom: 8px; color: var(--text);
}
.calc-field input, .calc-field select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
  color: var(--text); transition: var(--transition); background: var(--white);
}
.calc-field input:focus, .calc-field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(217,119,6,.15);
}
.calc-divider { border: none; border-top: 2px dashed var(--border); margin: 36px 0; }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.calc-result {
  background: var(--bg); border-radius: var(--radius); padding: 24px 20px; text-align: center;
}
.calc-result strong { display: block; font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 6px; }
.calc-result span { font-size: .875rem; color: var(--text-muted); }
.calc-result.highlight { background: var(--green); }
.calc-result.highlight strong, .calc-result.highlight span { color: var(--white); }
.calc-result.highlight span { opacity: .85; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; }
.testimonial-text { font-size: .9375rem; color: var(--text); font-style: italic; line-height: 1.7; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-bg); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--green); flex-shrink: 0;
}
.testimonial-author-name { font-weight: 600; font-size: .9375rem; }
.testimonial-author-role { font-size: .8125rem; color: var(--text-muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info-card { background: var(--bg); border-radius: var(--radius-lg); padding: 40px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-item + .contact-info-item { margin-top: 28px; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--green-bg); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-label { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-value { font-weight: 600; color: var(--text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group + .form-group { margin-top: 20px; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: .9375rem; font-family: inherit;
  color: var(--text); transition: var(--transition); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(217,119,6,.15);
}
.form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================================
   BUSINESS TYPES
   ============================================================ */
.btype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.btype-tile {
  position: relative; display: block; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/3; text-decoration: none;
}
.btype-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.btype-tile:hover img { transform: scale(1.05); }
.btype-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 24px; gap: 16px;
}
.btype-overlay h3 { color: var(--white); margin: 0; font-size: 1.35rem; }
.btype-overlay .btn { align-self: flex-start; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy); color: var(--white);
  padding: 96px 0; text-align: center;
}
.cta-section p { color: rgba(255,255,255,.7); font-size: 1.125rem; margin: 16px auto 40px; max-width: 520px; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }

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

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  /* Full-screen mobile menu overlay — appended to body by nav.js */
  .mobile-menu-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 9999;
    display: flex; flex-direction: column; overflow: hidden;
  }
  .mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 68px; border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .mobile-menu-header img { height: 28px; width: auto; display: block; }
  .mobile-menu-close {
    background: none; border: none; cursor: pointer;
    width: 36px; height: 36px; position: relative; flex-shrink: 0;
  }
  .mobile-menu-close span {
    display: block; width: 22px; height: 2px; background: var(--text);
    border-radius: 2px; position: absolute; top: 50%; left: 50%;
  }
  .mobile-menu-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
  .mobile-menu-close span:last-child  { transform: translate(-50%, -50%) rotate(-45deg); }
  .mobile-menu-body {
    flex: 1; overflow-y: auto; padding: 20px 24px;
    display: flex; flex-direction: column; gap: 4px;
  }
  .mobile-menu-body li { list-style: none; }
  .mobile-menu-body li > a {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 4px; font-size: 1rem; font-weight: 500; color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu-body .nav-dropdown {
    position: static; opacity: 1; pointer-events: auto; transform: none;
    box-shadow: none; border: none; background: var(--bg);
    border-radius: var(--radius-sm); padding: 6px 0 6px 12px; margin: 4px 0 8px;
  }
  .mobile-menu-body .nav-dropdown a {
    font-size: .9rem; padding: 8px 12px; border-bottom: none;
  }
  .mobile-menu-footer {
    padding: 20px 24px 32px; border-top: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 10px; flex-shrink: 0;
  }
  .mobile-menu-footer .btn { text-align: center; justify-content: center; width: 100%; }
  .mobile-lang-row { display: flex; gap: 8px; margin-bottom: 4px; }
  .mobile-lang-row a { flex: 1; text-align: center; padding: 10px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: var(--text-muted); border: 1px solid var(--border); background: var(--surface); }
  .mobile-lang-row a.active { color: var(--green); border-color: var(--green); font-weight: 700; background: var(--green-bg); }
  body.menu-open { overflow: hidden; }
  .nav-dropdown { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border: none; background: var(--bg); border-radius: var(--radius-sm); padding: 6px 0 6px 12px; margin: 4px 0; }
  .nav-dropdown a { font-size: .875rem; padding: 8px 12px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .hero p { font-size: 1rem !important; }
  .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px; margin-top: 28px; }
  .stat-box { padding: 16px 8px !important; }
  .stat-box strong { font-size: 1.4rem !important; }
  .stat-box span { font-size: .7rem !important; overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .btn { flex: 1; text-align: center; justify-content: center; min-width: 0; }

  /* Dashboard mockup: hide sidebar on mobile */
  .dash-inner-grid { grid-template-columns: 1fr !important; }
  .dash-inner-grid > div:first-child { display: none; }
  .dashboard-widget { padding: 16px; }
  .dash-mockup { font-size: .8rem; }
  .kpi-card .val { font-size: 1.25rem; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse { direction: ltr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btype-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .calc-row, .calc-results { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stats { flex-wrap: nowrap; gap: 0; margin-top: 28px; padding-top: 20px; }
  .hero-stat { flex: 1; min-width: 0; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.1); }
  .hero-stat:last-child { padding-right: 0; border-right: none; padding-left: 12px; }
  .hero-stat:nth-child(2) { padding-left: 12px; }
  .hero-stat strong { font-size: 1.25rem !important; }
  .hero-stat span { font-size: .65rem !important; overflow-wrap: break-word; word-break: break-word; }
  .form-row-group { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric { padding: 12px 8px !important; }
  .metric strong { font-size: 1.1rem !important; }
  .metric span { font-size: .65rem !important; overflow-wrap: break-word; word-break: break-word; }
  .room-grid { grid-template-columns: repeat(3, 1fr); }

  /* Prevent horizontal overflow on mobile */
  html { overflow-x: clip; }
  .hero { overflow-x: hidden; }
  /* Both grid children must have min-width:0 so the 1fr column can shrink below min-content */
  .hero-layout > div { min-width: 0; max-width: 100%; }
  /* Stack hero buttons vertically so nowrap text doesn't force width */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; flex: none; text-align: center; justify-content: center; }
  /* Stat row: gap override — page <style> has gap:24px so needs !important */
  .stat-row { gap: 8px !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .dashboard-widget { max-width: 100%; overflow: hidden; box-sizing: border-box; }
}
