/* ============================================================
   AmenityIQ — Shared Stylesheet
   Colors: Burgundy #4A1020 | Dark #6B1A2B | Gold #C4922A
   ============================================================ */

:root {
  --burgundy: #4A1020;
  --dark-burgundy: #6B1A2B;
  --light-burgundy: #8B2A3D;
  --gold: #C4922A;
  --gold-hover: #a87820;
  --ink: #1A1018;
  --ink-soft: #3D2835;
  --muted: #6B5E65;
  --cream: #F8F5F1;
  --border: #E5DDD8;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--white); line-height: 1.5; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVIGATION ── */
.aiq-nav {
  background: var(--burgundy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.aiq-logo { display: flex; align-items: center; gap: 10px; }
.aiq-logo-name { font-size: 1.05rem; font-weight: 600; color: var(--white); letter-spacing: .02em; }
.aiq-logo-name span { color: var(--gold); }
.aiq-logo-sub { font-size: .4rem; letter-spacing: .2em; color: rgba(255,255,255,.42); text-transform: uppercase; display: block; margin-top: 1px; }

/* Main nav links */
.aiq-nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.aiq-nav-menu > li { position: relative; }
.aiq-nav-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,.78); font-size: .73rem; padding: 8px 12px;
  border-radius: 3px; transition: color .15s, background .15s;
  white-space: nowrap;
}
.aiq-nav-menu > li > a:hover,
.aiq-nav-menu > li:hover > a { color: var(--white); background: rgba(255,255,255,.08); }
.aiq-nav-menu .has-dropdown > a::after { content: '▾'; font-size: .6rem; margin-left: 2px; opacity: .6; }

/* Dropdown */
.aiq-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 300;
}
.has-dropdown:hover .aiq-dropdown,
.has-dropdown:focus-within .aiq-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.aiq-dropdown a {
  display: block; padding: 9px 16px;
  font-size: .74rem; color: var(--ink-soft);
  border-bottom: 1px solid var(--border); transition: background .1s, color .1s;
}
.aiq-dropdown a:last-child { border-bottom: none; }
.aiq-dropdown a:hover { background: var(--cream); color: var(--burgundy); }

/* Nav CTA */
.aiq-nav-cta {
  background: var(--gold); color: var(--white) !important;
  padding: 8px 18px !important; border-radius: 3px;
  font-weight: 600 !important; font-size: .73rem !important;
  transition: background .15s !important; margin-left: 8px;
}
.aiq-nav-cta:hover { background: var(--gold-hover) !important; }

/* Hamburger */
.aiq-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--white); }
.aiq-hamburger svg { display: block; }

/* ── HERO ── */
.aiq-hero {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--dark-burgundy) 55%, var(--light-burgundy) 100%);
  padding: 72px 40px 64px; position: relative; overflow: hidden;
}
.aiq-hero-crosshair { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); opacity: .06; pointer-events: none; }
.aiq-hero-badge { display: inline-block; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.aiq-hero h1 { font-size: 2.4rem; font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 18px; max-width: 620px; }
.aiq-hero h1 em { color: var(--gold); font-style: normal; }
.aiq-hero-sub { font-size: .95rem; color: rgba(255,255,255,.72); max-width: 520px; line-height: 1.7; margin-bottom: 32px; font-weight: 300; }
.aiq-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.aiq-hero-tags { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.aiq-hero-tag { font-size: .63rem; color: rgba(255,255,255,.58); letter-spacing: .1em; text-transform: uppercase; }
.aiq-hero-tag::before { content: '✓ '; color: var(--gold); }

/* ── BUTTONS ── */
.btn-gold {
  background: var(--gold); color: var(--white);
  padding: 13px 28px; border-radius: 3px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  display: inline-block; transition: background .15s; border: none; cursor: pointer; font-family: inherit;
}
.btn-gold:hover { background: var(--gold-hover); color: var(--white); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,.35); color: rgba(255,255,255,.88);
  padding: 11px 28px; border-radius: 3px;
  font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  display: inline-block; transition: all .15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-burgundy {
  background: var(--dark-burgundy); color: var(--white);
  padding: 13px 28px; border-radius: 3px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  display: inline-block; transition: background .15s; border: none; cursor: pointer; font-family: inherit;
}
.btn-burgundy:hover { background: var(--burgundy); color: var(--white); }

/* ── SECTION WRAPPER ── */
.aiq-section { padding: 56px 40px; }
.aiq-section.bg-cream { background: var(--cream); }
.aiq-section.bg-dark { background: var(--ink); }
.aiq-section-eye { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.aiq-section-title { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.22; }
.aiq-section-title.white { color: var(--white); }
.aiq-section-sub { font-size: .88rem; color: var(--muted); max-width: 540px; line-height: 1.65; margin-bottom: 36px; }
.aiq-section-sub.white { color: rgba(255,255,255,.65); }
.aiq-gold-rule { width: 40px; height: 3px; background: var(--gold); margin: 14px 0 28px; }

/* ── SERVICE CARDS ── */
.aiq-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aiq-service-card {
  border: 1px solid var(--border); border-radius: 5px; padding: 26px 22px;
  background: var(--white); position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.aiq-service-card:hover { box-shadow: 0 6px 24px rgba(74,16,32,.12); transform: translateY(-2px); }
.aiq-service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.aiq-service-card h3 { font-size: .9rem; font-weight: 600; color: var(--ink); margin: 14px 0 8px; }
.aiq-service-card p { font-size: .75rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.aiq-service-card ul { list-style: none; margin-bottom: 18px; }
.aiq-service-card ul li { font-size: .72rem; color: var(--muted); padding: 2px 0; }
.aiq-service-card ul li::before { content: '— '; color: var(--gold); }
.aiq-card-link { font-size: .68rem; color: var(--dark-burgundy); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; transition: color .15s; }
.aiq-card-link:hover { color: var(--gold); }

/* ── INDUSTRIES GRID ── */
.aiq-industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aiq-industry-chip {
  border: 1px solid var(--border); border-radius: 4px; padding: 18px 16px;
  display: flex; align-items: center; gap: 10px;
  background: var(--white); transition: border-color .15s, box-shadow .15s;
  text-decoration: none;
}
.aiq-industry-chip:hover { border-color: var(--gold); box-shadow: 0 2px 10px rgba(196,146,42,.15); }
.aiq-industry-chip-icon { width: 32px; height: 32px; background: var(--cream); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aiq-industry-chip-label { font-size: .78rem; font-weight: 600; color: var(--ink); }
.aiq-industry-chip-sub { font-size: .65rem; color: var(--muted); margin-top: 1px; }

/* ── WHY SECTION ── */
.aiq-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aiq-why-card { padding: 24px 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 4px; }
.aiq-why-card h3 { font-size: .88rem; font-weight: 600; color: var(--white); margin: 12px 0 6px; }
.aiq-why-card p { font-size: .73rem; color: rgba(255,255,255,.58); line-height: 1.6; }

/* ── TRUST / STATS ── */
.aiq-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.aiq-stat { padding: 28px 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.aiq-stat-num { font-size: 2rem; font-weight: 700; color: var(--burgundy); }
.aiq-stat-label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

/* ── TESTIMONIALS ── */
.aiq-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aiq-testimonial { background: var(--white); border: 1px solid var(--border); border-radius: 5px; padding: 24px; position: relative; }
.aiq-testimonial::before { content: '\201C'; position: absolute; top: 16px; right: 20px; font-size: 3rem; color: var(--gold); opacity: .25; font-family: Georgia, serif; line-height: 1; }
.aiq-testimonial-text { font-size: .8rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.aiq-testimonial-author { font-size: .7rem; font-weight: 600; color: var(--ink); }
.aiq-testimonial-role { font-size: .65rem; color: var(--muted); margin-top: 2px; }

/* ── DIFFERENTIATORS BAR ── */
.aiq-diff-bar { background: var(--cream); padding: 24px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.aiq-diff-item { display: flex; gap: 12px; align-items: flex-start; }
.aiq-diff-icon { width: 34px; height: 34px; background: var(--dark-burgundy); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aiq-diff-label { font-size: .76rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.aiq-diff-desc { font-size: .68rem; color: var(--muted); line-height: 1.5; }

/* ── QUOTE FORM ── */
.aiq-form-wrap { max-width: 700px; }
.aiq-form-card { background: var(--white); border: 1px solid var(--border); border-radius: 5px; padding: 32px; }
.aiq-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.aiq-form-group { margin-bottom: 14px; }
.aiq-form-label { font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 5px; display: block; }
.aiq-form-label span { color: var(--gold); }
.aiq-form-input, .aiq-form-select, .aiq-form-textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border); border-radius: 3px;
  font-size: .8rem; color: var(--ink); background: var(--white);
  font-family: inherit; outline: none; transition: border-color .15s;
}
.aiq-form-input:focus, .aiq-form-select:focus, .aiq-form-textarea:focus { border-color: var(--dark-burgundy); }
.aiq-form-textarea { resize: vertical; min-height: 90px; }
.aiq-access-note { background: var(--cream); border-left: 3px solid var(--gold); padding: 8px 12px; margin-top: 7px; font-size: .65rem; color: var(--muted); line-height: 1.5; border-radius: 0 3px 3px 0; }
.aiq-submit-btn {
  width: 100%; background: var(--dark-burgundy); color: var(--white);
  padding: 14px; border: none; border-radius: 3px;
  font-size: .84rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; margin-top: 8px; font-family: inherit; transition: background .15s;
}
.aiq-submit-btn:hover:not(:disabled) { background: var(--burgundy); }
.aiq-submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.aiq-form-msg { margin-top: 14px; padding: 11px 16px; border-radius: 3px; font-size: .78rem; display: none; }
.aiq-form-msg.success { background: #EFF8F0; color: #196127; border: 1px solid #BBE5C0; display: block; }
.aiq-form-msg.error { background: #FEF0EF; color: #8B1A1A; border: 1px solid #F7BEBE; display: block; }

/* ── PAGE HERO (inner pages) ── */
.aiq-page-hero { background: linear-gradient(135deg, var(--burgundy) 0%, var(--dark-burgundy) 100%); padding: 52px 40px; }
.aiq-page-hero-eye { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.aiq-page-hero h1 { font-size: 1.9rem; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 12px; max-width: 580px; }
.aiq-page-hero p { font-size: .88rem; color: rgba(255,255,255,.72); max-width: 500px; line-height: 1.65; margin-bottom: 24px; font-weight: 300; }
.aiq-breadcrumb { font-size: .65rem; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.aiq-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.aiq-breadcrumb a:hover { color: var(--gold); }
.aiq-breadcrumb span { color: rgba(255,255,255,.3); margin: 0 6px; }

/* ── FEATURE LIST ── */
.aiq-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.aiq-feature-item { display: flex; gap: 14px; align-items: flex-start; }
.aiq-feature-icon { width: 36px; height: 36px; background: var(--cream); border: 1px solid var(--border); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aiq-feature-title { font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.aiq-feature-desc { font-size: .73rem; color: var(--muted); line-height: 1.6; }

/* ── FOOTER ── */
.aiq-footer { background: var(--ink); padding: 48px 40px 24px; }
.aiq-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.aiq-footer-brand-text { font-size: .7rem; color: rgba(255,255,255,.32); margin-top: 10px; line-height: 1.7; max-width: 220px; }
.aiq-footer-contact { margin-top: 12px; }
.aiq-footer-contact a { display: block; color: rgba(255,255,255,.52); font-size: .72rem; text-decoration: none; margin-bottom: 4px; transition: color .15s; }
.aiq-footer-contact a:hover { color: rgba(255,255,255,.85); }
.aiq-footer-col h4 { font-size: .57rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 600; }
.aiq-footer-col a { display: block; color: rgba(255,255,255,.42); font-size: .7rem; text-decoration: none; margin-bottom: 6px; transition: color .15s; }
.aiq-footer-col a:hover { color: rgba(255,255,255,.78); }
.aiq-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.aiq-footer-copy { font-size: .63rem; color: rgba(255,255,255,.2); }
.aiq-footer-legal { display: flex; gap: 16px; }
.aiq-footer-legal a { font-size: .63rem; color: rgba(255,255,255,.22); text-decoration: none; }
.aiq-footer-legal a:hover { color: rgba(255,255,255,.5); }

/* ── SERVICE AREAS ── */
.aiq-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.aiq-area { padding: 14px 18px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: .76rem; color: var(--muted); }
.aiq-area strong { display: block; font-size: .78rem; color: var(--ink); margin-bottom: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .aiq-service-grid { grid-template-columns: repeat(2, 1fr); }
  .aiq-why-grid { grid-template-columns: repeat(2, 1fr); }
  .aiq-stats { grid-template-columns: repeat(2, 1fr); }
  .aiq-testimonials { grid-template-columns: 1fr 1fr; }
  .aiq-footer-grid { grid-template-columns: 1fr 1fr; }
  .aiq-industry-grid { grid-template-columns: repeat(3, 1fr); }
  .aiq-diff-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .aiq-nav { padding: 0 16px; height: 56px; }
  .aiq-nav-menu { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--burgundy); padding: 12px 0; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  .aiq-nav-menu.open { display: flex; }
  .aiq-nav-menu > li { width: 100%; }
  .aiq-nav-menu > li > a { padding: 10px 20px; border-radius: 0; }
  .aiq-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-top: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); display: none; }
  .aiq-dropdown a { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.08); padding-left: 32px; }
  .aiq-dropdown a:hover { background: rgba(255,255,255,.08); color: var(--white); }
  .has-dropdown > a::after { float: right; }
  .aiq-hamburger { display: block; }
  .aiq-nav-cta { display: none !important; }
  .aiq-hero { padding: 44px 20px 40px; }
  .aiq-hero-crosshair { display: none; }
  .aiq-hero h1 { font-size: 1.65rem; }
  .aiq-hero-sub { font-size: .85rem; }
  .aiq-section { padding: 40px 20px; }
  .aiq-page-hero { padding: 36px 20px; }
  .aiq-service-grid { grid-template-columns: 1fr; }
  .aiq-why-grid { grid-template-columns: 1fr; }
  .aiq-stats { grid-template-columns: 1fr 1fr; }
  .aiq-testimonials { grid-template-columns: 1fr; }
  .aiq-industry-grid { grid-template-columns: 1fr 1fr; }
  .aiq-diff-bar { grid-template-columns: 1fr; padding: 20px; }
  .aiq-form-row { grid-template-columns: 1fr; }
  .aiq-feature-grid { grid-template-columns: 1fr; }
  .aiq-footer { padding: 36px 20px 20px; }
  .aiq-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .aiq-areas { grid-template-columns: 1fr 1fr; }
}
