/* Sterling Classic Inc. — recreated layout */

:root {
  --brand: rgb(82, 87, 106);      /* #52576a */
  --brand-hover: rgb(66, 70, 86);
  --brand-active: rgb(45, 48, 60);
  --dark-bg: rgb(22, 22, 22);
  --tagline-grey: rgb(169, 169, 169);
  --heading-dark: rgb(27, 27, 27);
  --body-grey: rgb(94, 94, 94);
  --font-heading: 'Righteous', serif, system-ui;
  --font-body: 'Josefin Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: rgb(255, 255, 255);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

@media (min-width: 1280px) {
  .container { max-width: 1160px; }
}
@media (min-width: 1536px) {
  .container { max-width: 1280px; }
}

/* ===== HEADER / HERO ===== */

.header-section {
  background-color: var(--dark-bg);
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  .header-section { padding-bottom: 56px; }
}

.navbar {
  background-color: rgb(255, 255, 255);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .logo-img { height: 99px; }
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: auto;
}
@media (min-width: 1024px) {
  .hero { flex-direction: row; min-height: 350px; }
}

.hero-image-col {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-image-col { width: 50%; }
}

.hero-figure {
  margin: 0;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background-color: rgb(255, 255, 255);
  display: block;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-top: 32px;
  padding-bottom: 0;
}
@media (min-width: 1024px) {
  .hero-text-col {
    width: 66.6667%;
    margin-left: 16.6667%;
    padding-top: 0;
  }
}

.hero-inner {
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-inner { padding-top: 72px; padding-bottom: 72px; }
}

.hero-tagline {
  color: var(--tagline-grey);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
}
@media (min-width: 1536px) {
  .hero-tagline { font-size: 24px; }
}
.hero-tagline p { margin: 0; }
.hero-tagline a {
  color: inherit;
  text-decoration: none;
}
.hero-tagline a:hover { text-decoration: underline; }

.hero-phone {
  margin: 56px 0 0;
  color: var(--tagline-grey);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}
@media (min-width: 1536px) {
  .hero-phone { font-size: 24px; }
}
.hero-phone a {
  color: inherit;
  text-decoration: none;
}
.hero-phone a:hover { text-decoration: underline; }

/* ===== CONTACT SECTION ===== */

.contact-section {
  background-color: rgb(255, 255, 255);
  padding-top: 56px;
  padding-bottom: 56px;
}

.contact-heading {
  font-family: var(--font-heading);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-align: center;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 40px;
  font-size: 28px;
}
@media (min-width: 768px) { .contact-heading { font-size: 33px; } }
@media (min-width: 1280px) { .contact-heading { font-size: 39px; } }
@media (min-width: 1536px) { .contact-heading { font-size: 42px; } }

.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-info {
  width: 100%;
  text-align: center;
}
@media (min-width: 1024px) {
  .contact-info { width: 66.6667%; }
}

.biz-name {
  font-family: var(--font-heading);
  color: var(--heading-dark);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 24px;
  font-size: 28px;
}
@media (min-width: 768px) { .biz-name { font-size: 33px; } }
@media (min-width: 1280px) { .biz-name { font-size: 39px; } }
@media (min-width: 1536px) { .biz-name { font-size: 42px; } }

.address {
  color: var(--body-grey);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 24px;
}

.phones,
.email {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.phones a,
.email a {
  color: var(--brand);
  text-decoration: none;
}
.phones a:hover,
.email a:hover { color: var(--brand-hover); }
.phones a:active,
.email a:active { color: var(--brand-active); }

/* Get a Quote button */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(255, 255, 255);
  background-color: var(--brand);
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.063em;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  min-height: 56px;
  padding: 8px 32px;
  margin-top: 40px;
}
.btn-primary:hover { background-color: var(--brand-hover); }
.btn-primary:active { background-color: var(--brand-active); }

.quote-block { display: flex; flex-direction: column; align-items: center; }

.quote-form {
  display: none;
  width: 100%;
  max-width: 480px;
  margin-top: 24px;
  text-align: left;
}
.quote-form.open { display: block; }

.quote-form h4 {
  font-family: var(--font-body);
  color: var(--heading-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}

.field {
  position: relative;
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 12px;
  color: var(--body-grey);
  margin-bottom: 4px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid rgb(200, 200, 200);
  border-radius: 4px;
  color: var(--heading-dark);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.recaptcha-note {
  font-size: 12px;
  color: var(--body-grey);
  line-height: 1.5;
  margin: 0 0 16px;
}
.recaptcha-note a { color: var(--brand); }

.form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-cancel {
  background: none;
  border: none;
  color: var(--brand);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.063em;
  cursor: pointer;
  padding: 8px 16px;
}
.btn-cancel:hover { color: var(--brand-hover); }

.get-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.get-directions:hover { color: var(--brand-hover); }
.get-directions .icon { display: inline-block; transform: rotate(45deg); }

/* ===== MAP ===== */

.map-section {
  width: 100%;
  line-height: 0;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 480px;
}

/* ===== FOOTER ===== */

.site-footer {
  background-color: rgb(0, 0, 0);
  padding: 24px;
  text-align: center;
  border-top: none;
}

.copyright,
.powered-by {
  font-size: 12px;
  color: rgb(230, 230, 230);
  margin: 0 0 4px;
}

.powered-by a {
  color: rgb(230, 230, 230);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

.airo-logo {
  height: 16px;
  width: auto;
  display: inline-block;
}

/* ===== COOKIE BANNER ===== */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 420px;
  background: rgb(255, 255, 255);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  padding: 20px;
  z-index: 9999;
}
.cookie-banner.hidden { display: none; }

.cookie-title {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 8px;
  color: var(--heading-dark);
}

.cookie-text {
  font-size: 13px;
  color: var(--body-grey);
  line-height: 1.5;
  margin: 0 0 16px;
}

.cookie-banner .btn-primary {
  margin-top: 0;
  min-height: 40px;
  padding: 8px 24px;
  width: 100%;
}

/* ===== CHAT WIDGET ===== */

.chat-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-popup {
  width: 300px;
  max-width: calc(100vw - 32px);
  background: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 16px;
}
.chat-popup.hidden { display: none; }

.chat-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.chat-popup-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--heading-dark);
}

.chat-popup-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--body-grey);
  font-size: 14px;
  line-height: 1;
  padding: 4px;
}

.chat-popup-message {
  font-size: 13px;
  color: var(--body-grey);
  margin: 0 0 16px;
  line-height: 1.5;
}

.chat-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
}
.chat-btn:last-child { margin-bottom: 0; }

.chat-btn-primary {
  background-color: var(--brand);
  color: rgb(255, 255, 255);
}
.chat-btn-primary:hover { background-color: var(--brand-hover); }

.chat-btn-secondary {
  background-color: var(--brand);
  color: rgb(255, 255, 255);
}
.chat-btn-secondary:hover { background-color: var(--brand-hover); }

.chat-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--brand);
  color: rgb(255, 255, 255);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.chat-bubble:hover { background-color: var(--brand-hover); }
