/* ── AQUA ALLIANCE — Global Site Enhancements ──────────────────────────────── */

/* ── GRAIN TEXTURE (subtle film grain over cream background) ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 8999;
  pointer-events: none;
  opacity: .030;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.80' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── SMOOTH SCROLLING ── */
html { scroll-behavior: smooth; }

/* ── FADE-IN ON SCROLL ── */
.aa-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .90s cubic-bezier(.16,1,.30,1) var(--aa-d, 0s),
              transform .90s cubic-bezier(.16,1,.30,1) var(--aa-d, 0s);
}
.aa-fade.aa-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .aa-fade { opacity: 1; transform: none; transition: none; }
}

/* ── HOVER ELEVATION (cards, tiles) ── */
.aa-lift {
  transition: transform .42s cubic-bezier(.16,1,.30,1),
              box-shadow .42s cubic-bezier(.16,1,.30,1) !important;
}
.aa-lift:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 56px rgba(42,48,64,.14) !important;
}

/* ── LOGO COLOR: navy on cream navbar (all pages) ── */
.nb .logo-img {
  filter: brightness(0) saturate(100%) invert(17%) sepia(50%) saturate(700%) hue-rotate(183deg) brightness(88%);
}

/* ── CTA NAVBAR BUTTON PULSE ── */
@keyframes aa-pulse {
  0%, 100% { box-shadow: 0 5px 22px rgba(27,58,92,.28); }
  50%       { box-shadow: 0 5px 22px rgba(27,58,92,.28), 0 0 0 7px rgba(27,58,92,.07); }
}
.nb-cta { animation: aa-pulse 3.2s ease-in-out infinite; }

/* ── SCHEDULE A CALL BUTTON ── */
@keyframes aa-call-pulse {
  0%,100% { box-shadow: 0 4px 18px rgba(158,123,64,.5); }
  50%      { box-shadow: 0 4px 18px rgba(158,123,64,.5), 0 0 0 8px rgba(158,123,64,.13); }
}
#aa-call-btn {
  position: fixed;
  bottom: 13rem;
  right: 2rem;
  height: 46px;
  padding: 0 1.15rem 0 .9rem;
  background: var(--gold, #9E7B40);
  color: #fff;
  border: none;
  border-radius: 23px;
  cursor: pointer;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: inherit;
  animation: aa-call-pulse 3s ease-in-out infinite;
  transition: transform .25s;
}
#aa-call-btn:hover { transform: scale(1.05); }
#aa-call-btn svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
#aa-call-btn .aa-call-label { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }

/* ── CALLBACK MODAL ── */
#aa-call-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,58,92,.55);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#aa-call-overlay.open { display: flex; }
#aa-call-box {
  background: #fff;
  border: 1px solid rgba(42,48,64,.13);
  padding: 2.5rem;
  max-width: 500px;
  width: 92%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(27,58,92,.25);
}
#aa-call-box h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: .3rem;
}
#aa-call-box p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: .92rem;
  color: #8494A8;
  margin-bottom: 1.6rem;
}
.aa-call-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EDE8DE;
  border: 1px solid rgba(42,48,64,.13);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: #8494A8;
  transition: all .2s;
}
.aa-call-close:hover { background: #E0D8CB; color: #1B3A5C; }
.aa-call-form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.aa-call-form .fw { grid-column: span 2; }
.aa-fg { display: flex; flex-direction: column; gap: .28rem; }
.aa-fg label { font-size: .56rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8494A8; }
.aa-fg input, .aa-fg select, .aa-fg textarea {
  width: 100%;
  padding: .72rem 1rem;
  background: #F7F4EF;
  border: 1px solid rgba(42,48,64,.13);
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: #2A3040;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.aa-fg input:focus, .aa-fg select:focus, .aa-fg textarea:focus {
  border-color: #1B3A5C;
  box-shadow: 0 0 0 3px rgba(27,58,92,.06);
}
.aa-fg input::placeholder, .aa-fg textarea::placeholder { color: #B8C5D5; }
.aa-fg textarea { min-height: 72px; resize: vertical; }
.aa-call-submit {
  grid-column: span 2;
  padding: .9rem;
  background: #9E7B40;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, box-shadow .3s;
}
.aa-call-submit:hover { background: #C09A5A; box-shadow: 0 6px 28px rgba(158,123,64,.35); }

/* Callback section on contact page */
.callback-section {
  padding: 6rem 0;
  background: #F7F4EF;
  border-top: 1px solid #E0D8CB;
}
.callback-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.callback-info h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 400;
  color: #1B3A5C;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.callback-info p {
  font-size: .92rem;
  color: rgba(27,58,92,.60);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.callback-promise { display: flex; align-items: center; gap: .75rem; color: #1B3A5C; font-size: .86rem; margin-bottom: .65rem; }
.callback-promise svg { flex-shrink: 0; }
.callback-form-wrap {
  background: #fff;
  border: 1px solid #E0D8CB;
  border-radius: 8px;
  padding: 2.2rem 2.5rem 2.5rem;
  box-shadow: 0 4px 24px rgba(27,58,92,.06);
}
.callback-form-wrap > div { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; font-weight: 500; color: #1B3A5C; margin-bottom: 1.4rem; }
.callback-form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.callback-form .fw { grid-column: span 2; }
.cb-fg { display: flex; flex-direction: column; gap: .28rem; }
.cb-fg label { font-size: .56rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(27,58,92,.5); }
.cb-fg input, .cb-fg select, .cb-fg textarea {
  width: 100%;
  padding: .68rem 1rem;
  background: #fff;
  border: 1px solid #D8D0C5;
  font-family: 'Inter', sans-serif;
  font-size: .84rem;
  color: #1B3A5C;
  outline: none;
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
}
.cb-fg input::placeholder, .cb-fg textarea::placeholder { color: rgba(27,58,92,.30); }
.cb-fg select option { background: #fff; color: #1B3A5C; }
.cb-fg input:focus, .cb-fg select:focus, .cb-fg textarea:focus { border-color: #1B3A5C; }
.cb-fg textarea { min-height: 72px; resize: vertical; }
.cb-submit {
  grid-column: span 2;
  padding: .88rem;
  background: #1B3A5C;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, box-shadow .3s;
  border-radius: 3px;
}
.cb-submit:hover { background: #9E7B40; box-shadow: 0 6px 28px rgba(158,123,64,.35); }
@media (max-width: 768px) {
  .callback-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .callback-form { grid-template-columns: 1fr; }
  .callback-form .fw { grid-column: span 1; }
  .aa-call-form { grid-template-columns: 1fr; }
  .aa-call-form .fw { grid-column: span 1; }
  .aa-call-submit { grid-column: span 1; }
  .cb-submit { grid-column: span 1; }
  #aa-call-btn { bottom: 13rem; right: 1.2rem; padding: 0 .9rem 0 .7rem; }
  #aa-call-btn .aa-call-label { display: none; }
  #aa-chat-panel { left: 1rem; right: 1rem; width: auto; bottom: 5.5rem; }
  #aa-chat-btn { right: 1.2rem; }
}

/* ── BACK TO TOP BUTTON ── */
#aa-btt {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: rgba(27,58,92,.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .32s, transform .32s;
  box-shadow: 0 4px 18px rgba(27,58,92,.38);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#aa-btt.aa-show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#aa-btt:hover { background: #1B3A5C; box-shadow: 0 6px 24px rgba(27,58,92,.5); }
#aa-btt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ── TYPOGRAPHY — Section headings larger & more impactful ── */
.sh-title {
  font-size: clamp(2.6rem, 5vw, 4.8rem) !important;
  line-height: 1.07 !important;
  letter-spacing: .008em !important;
}
.sh-sub {
  font-family: 'Inter', -apple-system, 'Helvetica Neue', sans-serif !important;
  font-style: normal !important;
  font-weight: 300 !important;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem) !important;
  line-height: 1.78 !important;
  color: var(--t2) !important;
  max-width: 580px !important;
}
.seg-t {
  font-size: clamp(2.2rem, 4vw, 3.8rem) !important;
  line-height: 1.08 !important;
}
.ph-title {
  line-height: 1.05 !important;
}
.ph-sub {
  font-family: 'Inter', -apple-system, 'Helvetica Neue', sans-serif !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: 1.78 !important;
}
.f-ab { line-height: 1.78 !important; }
.tl-desc { line-height: 1.78 !important; }

/* ── FIX: remove italic from em everywhere — classic uniform look ── */
em {
  font-style: normal !important;
  font-weight: inherit !important;
}

/* ── HERO PHONE CTA ── */
.h-phone {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}
.h-phone-icon {
  width: 18px;
  height: 18px;
  opacity: .65;
  flex-shrink: 0;
}
.h-phone a {
  font-size: 1.22rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: .05em;
  transition: color .2s;
  font-family: 'Inter', -apple-system, sans-serif;
}
.h-phone a:hover { color: #C09A5A; }
.h-phone-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.28);
  flex-shrink: 0;
}
.h-phone-note {
  font-size: .70rem;
  font-weight: 300;
  color: rgba(255,255,255,.52);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ── TIMELINE ENHANCEMENTS ── */
.tl { max-width: 820px !important; }
.tl-year {
  display: inline-block !important;
  background: rgba(158,123,64,.10) !important;
  padding: .18rem .75rem !important;
  border-left: 2px solid #9E7B40 !important;
  font-size: .78rem !important;
  letter-spacing: .20em !important;
  margin-bottom: .55rem !important;
}
.tl-event {
  font-size: 1.08rem !important;
  line-height: 1.32 !important;
  margin-bottom: .45rem !important;
}
.tl-item {
  transition: background .22s, transform .22s;
  border-radius: 2px;
}
.tl-item:hover {
  background: rgba(158,123,64,.04);
  transform: translateX(5px);
}
.tl-item::before {
  width: 13px !important;
  height: 13px !important;
  left: calc(-6.5px) !important;
  box-shadow: 0 0 0 4px rgba(158,123,64,.18), 0 0 16px rgba(158,123,64,.55) !important;
}

/* ── PROJECT CARD IMAGE ZOOM ── */
.pj > img,
.pj [style*="object-fit"] {
  transition: transform .55s cubic-bezier(.25,.46,.45,.94) !important;
}
.pj:hover > img { transform: scale(1.06) !important; }

/* ── STAT COUNTER NUMBERS ── */
.hst-n {
  min-width: 4ch;
  display: inline-block;
}

/* ── SERVICES OVERVIEW GRID ── */
.svc-ov { padding: 8rem 0; background: var(--w); border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr); }
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 4rem; border: 1px solid var(--bdr); }
.svc-card {
  padding: 2.2rem 1.6rem 2rem; position: relative; border-right: 1px solid var(--bdr);
  transition: background .3s, box-shadow .3s, transform .35s cubic-bezier(.16,1,.30,1);
  background: var(--bg); overflow: hidden;
}
.svc-card:last-child { border-right: none; }
.svc-card::after { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(to right,var(--gold),var(--gd2)); transform:scaleX(0); transform-origin:left; transition:transform .4s cubic-bezier(.16,1,.30,1); }
.svc-card:hover::after { transform:scaleX(1); }
.svc-card:hover { background: var(--w); box-shadow: 0 20px 60px rgba(42,48,64,.10); transform: translateY(-4px); z-index: 1; }
.svc-ico { width: 48px; height: 48px; border-radius: 4px; background: rgba(27,58,92,.07); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; transition: background .3s; }
.svc-card:hover .svc-ico { background: rgba(27,58,92,.12); }
.svc-ico svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-t { font-family: var(--sf); font-weight: 600; font-size: 1.05rem; color: var(--navy); line-height: 1.25; margin-bottom: .65rem; }
.svc-d { font-size: .95rem; color: var(--ink); opacity: .82; line-height: 1.72; margin-bottom: 1.4rem; }
.svc-pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.4rem; }
.svc-pill { font-size: .70rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .22rem .65rem; border: 1px solid var(--bdr2); color: var(--t2); }
.svc-lnk { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--bdr2); padding-bottom: 2px; display: inline-flex; align-items: center; gap: .4rem; transition: color .2s, border-color .2s, gap .25s; }
.svc-lnk:hover { color: var(--gold); border-color: var(--gold); gap: .7rem; }
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .svc-card:nth-child(2n) { border-right: none; }
  .svc-card:nth-child(-n+2) { border-bottom: 1px solid var(--bdr); }
}
@media (max-width: 700px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .svc-card { border-right: 1px solid var(--bdr); }
  .svc-card:nth-child(2n) { border-right: none; }
  .svc-card:nth-child(-n+4) { border-bottom: 1px solid var(--bdr); }
  .svc-card:last-child { border-bottom: none; }
}
@media (max-width: 480px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { border-right: none; border-bottom: 1px solid var(--bdr); } .svc-card:last-child { border-bottom: none; } .svc-ov { padding: 5rem 0; } }

/* ── MOBILE — Projects 4-col grid ── */
.pj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
@media (max-width: 900px) {
  .pj-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .pj-grid { grid-template-columns: 1fr 1fr !important; gap: 2px !important; }
}

/* ── MOBILE — Typography responsive clamps ── */
@media (max-width: 768px) {
  .sh-title { font-size: clamp(2rem, 8vw, 3.2rem) !important; line-height: 1.10 !important; }
  .sh-sub   { font-size: clamp(.95rem, 3.8vw, 1.08rem) !important; max-width: 100% !important; }
  .seg-t    { font-size: clamp(2rem, 7vw, 3rem) !important; }

  /* Hero phone — smaller on mobile */
  .h-phone { margin-top: 1.1rem; gap: .55rem; }
  .h-phone a { font-size: 1.05rem; }
  .h-phone-note { font-size: .64rem; }

  /* Timeline tighter */
  .tl { padding-left: 1.4rem !important; }
  .tl-event { font-size: .98rem !important; }
  .tl-desc { font-size: .88rem !important; }

  /* Back to top — pull in from edge */
  #aa-btt { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; font-size: .9rem; }

  /* Configurator spec panel */
  .spec-panel { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ── READING PROGRESS BAR ── */
#aa-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold, #9E7B40), var(--gd2, #C09A5A));
  z-index: 10001;
  width: 0%;
  transition: width .08s linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}

/* ── LIGHTBOX ── */
#aa-lb {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(5, 15, 30, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#aa-lb.aa-lb-open { opacity: 1; pointer-events: auto; }
#aa-lb-img-wrap {
  position: relative;
  max-width: min(88vw, 1100px);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#aa-lb-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 100px rgba(0,0,0,.6);
  display: block;
}
#aa-lb-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1.6rem 1.4rem;
  background: linear-gradient(to top, rgba(5,15,30,.95) 0%, transparent 100%);
  border-radius: 0 0 4px 4px;
}
#aa-lb-cat {
  font-family: 'Inter', sans-serif;
  font-size: .70rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #C09A5A; margin-bottom: .3rem;
}
#aa-lb-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: #fff; line-height: 1.2;
}
#aa-lb-loc {
  font-family: 'Inter', sans-serif;
  font-size: .76rem; color: rgba(255,255,255,.6);
  margin-top: .25rem;
}
.aa-lb-btn {
  position: fixed;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; line-height: 1;
  transition: background .2s, transform .2s;
  z-index: 9501;
}
.aa-lb-btn:hover { background: rgba(255,255,255,.18); transform: scale(1.08); }
#aa-lb-close { top: 1.5rem; right: 1.5rem; font-size: 1.6rem; }
#aa-lb-prev { left: 1.5rem; top: 50%; margin-top: -24px; }
#aa-lb-next { right: 1.5rem; top: 50%; margin-top: -24px; }
@media (max-width: 600px) {
  #aa-lb-prev { left: .5rem; }
  #aa-lb-next { right: .5rem; }
  #aa-lb-close { top: .8rem; right: .8rem; }
}

/* ── PRODUCT COMPARISON PANEL ── */
#aa-cmp-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 950;
  background: var(--navy, #1B3A5C);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 2rem;
  box-shadow: 0 -4px 32px rgba(27,58,92,.28);
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.16,1,.30,1);
  flex-wrap: wrap;
}
#aa-cmp-bar.aa-cmp-show { transform: translateY(0); }
#aa-cmp-bar-label {
  font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  opacity: .7; flex-shrink: 0;
}
#aa-cmp-slots { display: flex; gap: .6rem; flex: 1; }
.aa-cmp-slot {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  padding: .35rem .8rem;
  font-size: .82rem;
  min-width: 100px;
}
.aa-cmp-slot-x {
  background: none; border: none; color: rgba(255,255,255,.5);
  cursor: pointer; font-size: 1rem; padding: 0; margin-left: auto;
  transition: color .15s;
}
.aa-cmp-slot-x:hover { color: #fff; }
#aa-cmp-go {
  padding: .6rem 1.6rem;
  background: linear-gradient(135deg, #9E7B40, #C09A5A);
  color: #fff; border: none; border-radius: 3px;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}
#aa-cmp-go:disabled { opacity: .35; cursor: default; transform: none; }
#aa-cmp-go:not(:disabled):hover { opacity: .85; transform: translateY(-1px); }
.aa-cmp-chk-wrap {
  position: absolute; bottom: 1rem; left: 1rem;
  display: flex; align-items: center; gap: .4rem;
  z-index: 2;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: .25rem .6rem .25rem .4rem;
}
.aa-cmp-chk {
  width: 18px; height: 18px; cursor: pointer;
  accent-color: #C09A5A;
}
.aa-cmp-chk-label {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .10em; text-transform: uppercase;
  color: var(--t2, #4A5670); cursor: pointer;
  user-select: none;
}

/* ── COMPARISON MODAL ── */
#aa-cmp-modal {
  position: fixed; inset: 0;
  z-index: 9600;
  background: rgba(5,15,30,.88);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .32s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem;
}
#aa-cmp-modal.aa-cmp-modal-open { opacity: 1; pointer-events: auto; }
#aa-cmp-inner {
  background: var(--w, #fff);
  border-radius: 6px;
  max-width: 860px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
  position: relative;
}
#aa-cmp-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer;
  color: var(--t3, #8494A8);
  transition: color .15s;
  z-index: 2;
}
#aa-cmp-modal-close:hover { color: var(--ink, #2A3040); }
#aa-cmp-table { width: 100%; border-collapse: collapse; }
#aa-cmp-table th {
  background: var(--navy, #1B3A5C); color: #fff;
  padding: 1.2rem 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  text-align: left;
}
#aa-cmp-table td {
  padding: .9rem 1.5rem;
  border-bottom: 1px solid var(--bdr, rgba(42,48,64,.07));
  font-size: .92rem;
  vertical-align: middle;
}
#aa-cmp-table tr:nth-child(even) td { background: var(--bg, #F7F4EF); }
#aa-cmp-table td:first-child {
  font-size: .70rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--t3, #8494A8);
  width: 32%;
}
#aa-cmp-table td:not(:first-child) { font-weight: 500; color: var(--navy, #1B3A5C); }

/* ── CONFIGURATOR PRINT ── */
@media print {
  body > *:not(#cfg-print-wrap) { display: none !important; }
  #cfg-print-wrap {
    display: block !important;
    padding: 2cm;
    font-family: 'Inter', sans-serif;
    color: #1B3A5C;
  }
  .cfg-print-header { margin-bottom: 1.5rem; border-bottom: 2px solid #9E7B40; padding-bottom: 1rem; }
  .cfg-print-title { font-size: 22pt; font-weight: 700; }
  .cfg-print-sub { font-size: 10pt; color: #4A5670; margin-top: 4pt; }
  .cfg-print-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
  .cfg-print-row { padding: .6rem 0; border-bottom: 1px solid #E0D8CB; }
  .cfg-print-lbl { font-size: 7pt; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8494A8; margin-bottom: 3pt; }
  .cfg-print-val { font-size: 12pt; font-weight: 600; color: #1B3A5C; }
  .cfg-print-footer { margin-top: 2rem; font-size: 8pt; color: #8494A8; }
}

/* ── AMPERSAND — classic Georgia italic & in display headings ── */
.amp {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .02em;
}
.h-l2 .amp {
  font-size: .62em;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .sh-title { font-size: clamp(1.9rem, 9.5vw, 2.6rem) !important; }
  .h-phone-sep, .h-phone-note { display: none; }
  .spec-panel { grid-template-columns: repeat(2, 1fr) !important; }
  .viewer-toolbar { padding: .5rem 1rem; flex-wrap: wrap; gap: .5rem; }
  .view-btns { flex-wrap: wrap; }
  #aa-btt { bottom: 1rem; right: 1rem; }
}

/* ── VIRTUAL ASSISTANT CHAT WIDGET ── */

#aa-chat-btn {
  position: fixed;
  bottom: 9rem;
  right: 2rem;
  height: 46px;
  padding: 0 1.15rem 0 .9rem;
  background: #1B3A5C;
  color: #fff;
  border: none;
  border-radius: 23px;
  cursor: pointer;
  z-index: 990;
  box-shadow: 0 4px 18px rgba(27,58,92,.42);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: inherit;
  transition: transform .25s, box-shadow .25s;
}
#aa-chat-btn:hover { transform: scale(1.05); box-shadow: 0 6px 26px rgba(27,58,92,.58); }
#aa-chat-btn svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
#aa-chat-btn .aa-chat-label { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.aa-chat-24badge { font-size: .58rem; font-weight: 800; letter-spacing: .05em; background: #2ecc71; color: #fff; border-radius: 9px; padding: .1rem .38rem; line-height: 1.5; flex-shrink: 0; }
.aa-chat-badge247 { font-size: .60rem; font-weight: 800; letter-spacing: .06em; background: rgba(46,204,113,.22); color: #7fdc9f; border: 1px solid rgba(46,204,113,.35); border-radius: 9px; padding: .15rem .45rem; margin-right: .2rem; flex-shrink: 0; }
.aa-chat-dot {
  position: absolute; top: 7px; left: 7px;
  width: 10px; height: 10px;
  background: #2ecc71; border-radius: 50%; border: 2px solid #1B3A5C;
}

#aa-chat-panel {
  position: fixed;
  bottom: 9rem;
  right: 2rem;
  width: 390px;
  max-height: 640px;
  background: #F0F4F8;
  border-radius: 20px;
  box-shadow: 0 16px 56px rgba(27,58,92,.28), 0 2px 8px rgba(27,58,92,.10);
  display: flex;
  flex-direction: column;
  z-index: 991;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .3s;
  overflow: hidden;
}
#aa-chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

#aa-chat-header {
  background: linear-gradient(135deg, #1B3A5C 0%, #244F7A 100%);
  color: #fff;
  padding: 1rem 1.1rem .9rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.aa-chat-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg,#9E7B40,#C09A5A);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem; color: #fff; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.25);
}
.aa-chat-hinfo { flex: 1; min-width: 0; }
.aa-chat-hname { font-size: .84rem; font-weight: 700; letter-spacing: .02em; }
.aa-chat-hstatus { font-size: .70rem; font-weight: 500; opacity: .80; display: flex; align-items: center; gap: .35rem; margin-top: 1px; }
.aa-chat-hstatus-dot { width: 7px; height: 7px; background: #2ecc71; border-radius: 50%; display: inline-block; flex-shrink: 0; animation: aa-pulse-dot 2s ease-in-out infinite; }
@keyframes aa-pulse-dot { 0%,100%{opacity:1} 50%{opacity:.4} }
#aa-chat-close-btn { background: rgba(255,255,255,.12); border: none; color: rgba(255,255,255,.9); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: .3rem .45rem; border-radius: 50%; transition: background .2s; }
#aa-chat-close-btn:hover { background: rgba(255,255,255,.25); }

#aa-chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1rem .6rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  background: #F0F4F8;
}
#aa-chat-msgs::-webkit-scrollbar { width: 4px; }
#aa-chat-msgs::-webkit-scrollbar-thumb { background: #C8D8E8; border-radius: 2px; }

.aa-cm-row {
  display: flex;
  align-items: flex-end;
  gap: .45rem;
}
.aa-cm-row.user { flex-direction: row-reverse; }
.aa-cm-av {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,#9E7B40,#C09A5A);
  display: flex; align-items: center; justify-content: center;
  font-size: .58rem; font-weight: 800; color: #fff;
}
.aa-cm-av.hidden { visibility: hidden; }
.aa-cm {
  max-width: 78%;
  padding: .65rem 1rem;
  border-radius: 18px;
  font-size: .93rem;
  line-height: 1.56;
}
.aa-cm-row.bot .aa-cm { background: #fff; color: #1B3A5C; border-bottom-left-radius: 4px; box-shadow: 0 1px 4px rgba(27,58,92,.08); }
.aa-cm-row.user .aa-cm { background: #1B3A5C; color: #fff; border-bottom-right-radius: 4px; }
.aa-cm a { color: inherit; text-decoration: underline; }

/* typing indicator */
.aa-typing-row { display: flex; align-items: flex-end; gap: .45rem; }
.aa-typing-bubble { background: #fff; border-radius: 18px; border-bottom-left-radius: 4px; padding: .6rem .9rem; box-shadow: 0 1px 4px rgba(27,58,92,.08); display: flex; gap: 4px; align-items: center; }
.aa-typing-bubble span { width: 7px; height: 7px; background: #8494A8; border-radius: 50%; animation: aa-typing 1.2s ease-in-out infinite; }
.aa-typing-bubble span:nth-child(2) { animation-delay: .2s; }
.aa-typing-bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes aa-typing { 0%,60%,100%{transform:translateY(0);opacity:.4} 30%{transform:translateY(-5px);opacity:1} }

.aa-call-cta-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .45rem; padding: .38rem .85rem;
  background: #9E7B40; color: #fff;
  border: none; border-radius: 20px; cursor: pointer;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  transition: background .2s; font-family: inherit;
}
.aa-call-cta-chip:hover { background: #C09A5A; }

#aa-chat-chips {
  padding: .5rem 1rem .6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  flex-shrink: 0;
  background: #F0F4F8;
  border-top: 1px solid #E2EAF2;
}
.aa-chip {
  padding: .35rem .88rem;
  background: #fff; color: #1B3A5C;
  border: 1px solid #C8D8E8; border-radius: 16px;
  font-size: .76rem; font-weight: 600; cursor: pointer;
  transition: background .2s, border-color .2s; font-family: inherit;
  box-shadow: 0 1px 3px rgba(27,58,92,.06);
}
.aa-chip:hover { background: #EAF2FB; border-color: #1B3A5C; }

#aa-chat-input-wrap {
  display: flex; gap: .5rem;
  padding: .65rem .9rem;
  border-top: 1px solid #E2EAF2;
  flex-shrink: 0;
  background: #fff;
  align-items: center;
}
#aa-chat-input {
  flex: 1; border: 1.5px solid #E2EAF2; border-radius: 22px;
  padding: .55rem 1rem; font-size: .9rem; outline: none;
  color: #1B3A5C; font-family: inherit; background: #F7FAFD;
  transition: border-color .2s;
}
#aa-chat-input:focus { border-color: #1B3A5C; background: #fff; }
#aa-chat-send {
  background: #1B3A5C; color: #fff; border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s; font-family: inherit;
}
#aa-chat-send:hover { background: #244F7A; transform: scale(1.08); }
#aa-chat-send svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

