/* estimate.css */
:root {
  --bg: #f5f2ec;
  --gold: #d2b274;
  --text: #f3f3f3;
  --input: #ececec;
  --blue: #4f8fe2;
  --card: #3a3d52;
  --container: 1260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Barlow", sans-serif; background: var(--bg); color: #222; }
a { text-decoration: none; color: inherit; }

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  transition: transform .32s ease;
}
.site-header.nav-hidden { transform: translateY(-100%); }

.navbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.logo img { height: 92px; display: block; }
.nav-links { list-style: none; display: flex; gap: 24px; }
.nav-links a { color: #222; font-weight: 700; }
.nav-links a:hover { color: var(--gold); }

.mobile-top-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* Desktop floating logo */
.floating-logo-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255,255,255,.55);
  z-index: 1205;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease;
}
.floating-logo-btn img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.floating-logo-btn.show { display: inline-flex; }

.desktop-dropdown {
  position: fixed;
  top: 136px;
  left: 16px;
  width: 240px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 12px;
  z-index: 1206;
  display: none;
}
.desktop-dropdown.open { display: block; }
.desktop-dropdown a {
  display: block;
  color: #222;
  font-weight: 700;
}

/* Mobile floating + sidebar */
.floating-mobile-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(10,12,20,.86);
  color: #fff;
  font-size: 2rem;
  z-index: 1206;
  display: none;
  cursor: pointer;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 88vw;
  height: 100vh;
  background: #f8f8f8;
  z-index: 1210;
  transition: right .28s ease;
  padding: 16px;
}
.mobile-sidebar.open { right: 0; }

.close-sidebar {
  border: 0;
  background: transparent;
  color: #222;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 10px;
}
.mobile-sidebar-nav { display: grid; gap: 12px; }
.mobile-sidebar-nav a { color: #222; font-weight: 700; }

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1209;
  display: none;
}
.sidebar-backdrop.show { display: block; }

main { padding-top: 130px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.pill {
  display: inline-block;
  border: 1px solid rgba(210, 178, 116, 0.95);
  color: #b38a43;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.estimate-section { padding: 58px 0 42px; }
.estimate-section h1 {
  font-family: "Montserrat", sans-serif;
  color: #b38a43;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 34px;
  text-transform: uppercase;
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
}

.estimate-info {
  background: #2f3244;
  border-radius: 14px;
  padding: 24px;
}
.estimate-info h2,
.estimate-info h3 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 12px;
  color: #fff;
}
.estimate-info h2 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
.estimate-info h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-top: 14px; }
.line { width: 150px; height: 5px; background: var(--gold); margin-bottom: 18px; }
.estimate-info p {
  font-size: 1.16rem;
  line-height: 1.55;
  color: #ececec;
  margin-bottom: 18px;
}
.contact-list { list-style: none; display: grid; gap: 10px; }
.contact-list a { font-size: 1.1rem; color: #ececec; }

.estimate-form {
  display: grid;
  gap: 12px;
  background: #2f3244;
  border-radius: 14px;
  padding: 24px;
}
.estimate-form input,
.estimate-form textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--input);
  color: #222;
  font-size: 1.05rem;
  padding: 16px 18px;
}
.phone-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}
.phone-flag {
  border-radius: 8px;
  background: var(--input);
  color: #222;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
}
.estimate-form button {
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.services-fieldset {
  border: 0;
  margin: 2px 0 4px;
  padding: 0;
}
.services-fieldset legend {
  font-weight: 700;
  margin-bottom: 8px;
  color: #f0f0f0;
}
.services-fieldset label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 1rem;
  color: #efefef;
}
.services-fieldset input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.calculator-section { padding: 34px 0 70px; }
.calculator-section h2 {
  font-family: "Montserrat", sans-serif;
  color: #b38a43;
  font-size: clamp(1.7rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.calculator-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  color: #f3f3f3;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.calc-left label,
.calc-right h3 {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f0f0f0;
}
.calc-left select,
.calc-left input {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--input);
  color: #222;
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.base-note {
  font-size: 0.98rem;
  line-height: 1.45;
  color: #e8e8e8;
}

.addon-list {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}
.addon-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: #f0f0f0;
}
.addon-list input[type="checkbox"],
.addon-list input[type="radio"] {
  width: 18px;
  height: 18px;
}
.addon-subtitle {
  margin-top: 4px;
  font-weight: 700;
  color: #f0f0f0;
}

.calc-results {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.result-item {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
}
.result-item span {
  display: block;
  font-size: 0.9rem;
  color: #d9d9d9;
  margin-bottom: 4px;
}
.result-item strong { font-size: 1.05rem; color: #fff; }
.result-item.total {
  background: rgba(79, 143, 226, 0.25);
  border: 1px solid rgba(79, 143, 226, 0.45);
}
.result-item.total strong { font-size: 1.2rem; }

.disclaimer {
  margin-top: 14px;
  font-size: 0.92rem;
  color: #cfcfcf;
}

/* Footer */
.site-footer {
  background: #e4e6e6;
  color: #343844;
  padding: 32px 20px 14px;
}
.footer-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr .9fr 1fr;
  gap: 28px;
}
.footer-logo { width: 140px; margin-bottom: 10px; }
.footer-col h4 { font-family: "Montserrat", sans-serif; font-size: 1.25rem; margin-bottom: 10px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col li, .footer-col a { color: #3a3e4a; font-size: 1rem; }
.brand-col p { max-width: 320px; font-size: 1rem; }
.footer-bottom {
  max-width: var(--container);
  margin: 14px auto 0;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.1);
  text-align: right;
  font-size: .9rem;
  color: #7a7d84;
}

@media (max-width: 1100px) {
  .estimate-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  main { padding-top: 110px; }

  .navbar {
    justify-content: center;
    min-height: 96px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img { height: 80px; }

  .nav-links { display: none; }

  .mobile-top-toggle {
    display: inline-flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
  }

  .footer-wrap { grid-template-columns: 1fr; }
  .footer-bottom { text-align: left; }
}