/* Homepage polish overrides – June 2026 */

:root {
  --zen-navy-deep: #13263f;
  --zen-navy: #18304e;
  --zen-navy-soft: #1f3d62;
  --zen-gold: #c8a46a;
  --zen-gold-soft: rgba(200, 164, 106, 0.2);
  --zen-cream: #f7f2ea;
  --zen-text-dark: #213043;
  --zen-white: #ffffff;
}

.services-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.services-cta-row .btn,
.services-cta-row .button,
.services-cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4b27b 0%, #b58b4f 100%);
  color: #13263f;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(19, 38, 63, 0.16);
}

.header-microcopy {
  max-width: 360px;
}

.header-microcopy-text {
  margin: 0;
  color: #17304d;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.nav-links a {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.button-gold-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.4rem;
  border-radius: 999px;
  border: 2px solid #d4af37;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.16);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.button-gold-outline:hover,
.button-gold-outline:focus-visible {
  background: #d4af37;
  color: #111111;
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.28);
  transform: translateY(-1px);
}

.projects-view-all .button-gold-outline {
    background: transparent;
    color: var(--zen-gold);
    border: 2px solid rgba(179, 143, 66, 0.95);
    box-shadow: 0 0 0 2px rgba(179, 143, 66, 0.18), 0 12px 24px rgba(15, 23, 42, 0.10);
    outline: 2px solid rgba(179, 143, 66, 0.28);
    outline-offset: 2px;
}


.services-pills-grid-home {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.services-pills-grid-home .service-pill-card {
  min-height: 108px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.services-header-centered,
.projects-header-centered {
  text-align: center;
}

.services-header-centered .section-kicker,
.projects-header-centered .section-kicker {
  color: #17304d;
}

.services-header-centered h2,
.projects-header-centered h2 {
  margin-left: auto;
  margin-right: auto;
  color: #17304d;
}

.services-header-centered p,
.projects-header-centered p {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
}

.trust-strip {
  background: linear-gradient(180deg, #17304d 0%, #13263f 100%);
  color: var(--zen-white);
  padding: 1.8rem 1.25rem;
  margin: 3rem 0 0;
}

.trust-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.trust-strip-item,
.trust-item {
  min-height: 132px;
  border: 1px solid rgba(200, 164, 106, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  text-align: left;
}

.trust-strip-item i,
.trust-item-icon,
.trust-strip-item .icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--zen-gold);
  background: rgba(200, 164, 106, 0.12);
}

.trust-strip-copy,
.trust-item-copy {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.trust-strip-copy strong,
.trust-item-title {
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--zen-white);
  letter-spacing: 0.02em;
}

.trust-strip-copy span,
.trust-item-note {
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.trust-strip-item--text-only {
  justify-content: center;
  text-align: center;
}

.trust-strip-item--text-only .trust-strip-copy {
  align-items: center;
  justify-content: center;
  width: 100%;
}

.trust-strip-item--text-only .trust-strip-copy span {
  max-width: 24ch;
}

.trust-strip-item--text-only .trust-strip-copy strong,
.trust-strip-item--text-only .trust-strip-copy span {
  text-align: center;
}

.trust-strip-badge,
.trust-item-gas-badge {
  width: 70px;
  max-width: 70px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  background: #fff;
}

.homepage-projects-shell {
  max-width: 1180px;
}

.homepage-projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 1.35rem;
  align-items: stretch;
  margin-top: 1.8rem;
}

.homepage-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.homepage-project-card {
  min-height: 260px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(200, 164, 106, 0.32);
  background: linear-gradient(180deg, rgba(24, 48, 78, 0.03) 0%, rgba(24, 48, 78, 0.08) 100%);
  box-shadow: 0 16px 34px rgba(19, 38, 63, 0.12);
}

.homepage-project-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.homepage-projects-cta-card {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(19, 38, 63, 0.98) 0%, rgba(24, 48, 78, 0.94) 100%);
  padding: 2rem 1.8rem;
  color: #f7f2ea;
  border: 1px solid rgba(200, 164, 106, 0.22);
  box-shadow: 0 18px 36px rgba(19, 38, 63, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.homepage-projects-cta-kicker {
  margin: 0 0 0.8rem;
  color: var(--zen-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.homepage-projects-cta-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  line-height: 0.98;
}

.homepage-projects-cta-card p {
  margin: 1rem 0 0;
  color: rgba(247, 242, 234, 0.84);
  line-height: 1.7;
}

.homepage-projects-cta-card .button {
  margin-top: 1.4rem;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .homepage-projects-layout,
  .homepage-projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .homepage-project-card {
    min-height: 220px;
  }
}

.footer-brand-tagline {
  margin-top: 1rem;
  color: var(--zen-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.process-header-centered {
  text-align: center;
}

.process-title {
  margin: 0;
  color: #17304d;
  font-size: clamp(2.3rem, 4.1vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.process-header-centered p {
  margin: 0.9rem auto 0;
  max-width: 42rem;
}

.process-grid-home {
  margin-top: 2rem;
}

.process-step-number,
.process-number {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zen-navy-soft), var(--zen-navy));
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(22, 37, 56, 0.16);
}

.footer-panel-home {
  gap: 1.75rem;
}

.footer-actions-home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.footer-contact-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
}

.footer-pill {
  white-space: nowrap;
}

.footer-phone-home {
  min-height: 58px;
  padding: 14px 22px;
  border-radius: 18px;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.footer-phone-home strong {
  display: inline-block;
  margin-left: 0.35rem;
  color: inherit;
  font-size: 1.05rem;
}

.footer-whatsapp-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 22px;
  border-radius: 18px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.24);
}

.footer-whatsapp-home:hover {
  transform: translateY(-2px);
}

.footer-phone-gold {
  color: #13263f;
  background: linear-gradient(180deg, #d4b27b 0%, #b58b4f 100%);
  border: 1px solid rgba(255, 248, 236, 0.18);
  box-shadow: 0 14px 30px rgba(181, 139, 79, 0.25);
}

.quote-modal[hidden] {
  display: none !important;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 30, 0.64);
  backdrop-filter: blur(6px);
}

.quote-modal-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.99) 0%, rgba(246, 240, 231, 0.99) 100%);
  border: 1px solid rgba(200, 164, 106, 0.48);
  box-shadow: 0 28px 60px rgba(11, 24, 40, 0.32);
}

.quote-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 48, 77, 0.08);
  color: #17304d;
  font-size: 1.6rem;
  cursor: pointer;
}

.quote-modal-kicker {
  margin: 0 0 0.5rem;
  color: #17304d;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-modal-copy h2 {
  margin: 0;
  color: #17304d;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.96;
}

.quote-modal-copy p:last-child {
  margin: 0.9rem 0 0;
  color: #445569;
  line-height: 1.6;
}

.quote-modal-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.quote-field {
  display: grid;
  gap: 0.45rem;
}

.quote-field span {
  color: #17304d;
  font-size: 0.96rem;
  font-weight: 700;
}

.quote-field input,
.quote-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 48, 77, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #213043;
  font: inherit;
  line-height: 1.5;
}

.quote-field textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4b27b 0%, #b58b4f 100%);
  color: #13263f;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(181, 139, 79, 0.24);
}

.quote-modal-note {
  margin: 0;
  color: #5a697b;
  font-size: 0.9rem;
  line-height: 1.5;
}

body.quote-modal-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .services-pills-grid-home,
  .process-grid-home,
  .trust-strip-inner,
  .projects-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .footer-panel-home,
  .footer-actions-home {
    justify-content: center;
  }

  .footer-contact-stack {
    width: 100%;
    max-width: 320px;
  }

  .trust-strip-item,
  .trust-item {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header-microcopy {
    max-width: none;
  }

  .services-pills-grid-home {
    grid-template-columns: 1fr;
  }

  .services-pills-grid-home .service-pill-card {
    min-height: 88px;
    font-size: 1.28rem;
  }

  .trust-strip {
    padding: 1.35rem 1rem;
  }

  .trust-strip-item,
  .trust-item {
    min-height: auto;
    padding: 1rem;
    gap: 0.85rem;
  }

  .trust-strip-copy strong,
  .trust-item-title {
    font-size: 1.15rem;
  }

  .project-placeholder-card {
    min-height: 180px;
    padding: 1.4rem;
  }

  .quote-modal {
    padding: 16px;
  }

  .quote-modal-dialog {
    padding: 26px 18px 20px;
    border-radius: 22px;
  }

  .footer-phone-home {
    width: 100%;
  }
}


.button-gold-outline {
    border: 2px solid #c9a227 !important;
    color: #c9a227 !important;
    background: rgba(201, 162, 39, 0.08) !important;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.15), 0 10px 24px rgba(201, 162, 39, 0.16);
}
.button-gold-outline:hover {
    background: #c9a227 !important;
    color: #111 !important;
}
.service-hero--compact {
    display: block !important;
    max-width: 900px;
}
.service-hero--compact .service-hero-copy {
    max-width: 780px;
}
.service-hero--compact .service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}
.renovation-benefits, .standalone-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.renovation-benefit, .standalone-service-card {
    background: linear-gradient(180deg, #fff9ea 0%, #ffffff 100%);
    border: 1px solid rgba(201, 162, 39, 0.28);
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(17, 17, 17, 0.08);
}
.renovation-benefit .pill, .standalone-service-card .pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ef476f;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
@media (max-width: 980px) {
    .renovation-benefits, .standalone-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 640px) {
    .renovation-benefits, .standalone-services-grid {
        grid-template-columns: 1fr;
    }
}
