/* ==========================================================================
   COMPONENTS — Reusable UI components: eyebrow, buttons, nav, mobile menu,
                hero, quote form, custom select, footer, back-to-top
   ========================================================================== */

/* ─── Eyebrow label ───────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green-mid);
  display: inline-block;
}

.eyebrow--light {
  color: var(--green-light);
}

.eyebrow--light::before {
  background: var(--green-light);
}

/* Spacing modifiers */
.eyebrow--spaced { margin-bottom: 14px; }
.eyebrow--mb     { margin-bottom: 18px; }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 2px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition:
    background-color 0.45s var(--ease),
    color 0.45s var(--ease),
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  white-space: nowrap;
}

.btn svg {
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-gold {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(146, 255, 96, 0.22);
}

.btn-gold:hover {
  background: #a6ff7c;
  color: #0b261a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(146, 255, 96, 0.4);
}

.btn-line {
  border: 1px solid var(--line-on-dark);
  color: var(--cream);
}

.btn-line:hover {
  border-color: var(--green-light);
  color: var(--green-light);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--green-mid);
  color: var(--green-mid);
}

/* ─── Navigation bar ──────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 0;
  transition:
    padding 0.45s var(--ease),
    background-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-solid {
  padding: 14px 0;
  background: hsla(42, 56%, 96%, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand / Logo */
.brand {
  display: block;
  width: 15%;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.45s var(--ease);
}

.brand-logo-sticky {
  display: none;
}

.nav.is-solid .brand-logo-static {
  display: none;
}

.nav.is-solid .brand-logo-sticky {
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  position: relative;
  padding: 4px 0;
  transition: color 0.4s var(--ease);
}

.nav.is-solid .nav-links a {
  color: var(--ink-soft);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--green-light);
  transition: width 0.4s var(--ease);
}

.nav.is-solid .nav-links a::after {
  background: var(--green-mid);
}

.nav-links a:hover {
  color: var(--green-light);
}

.nav.is-solid .nav-links a:hover {
  color: var(--green-mid);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta {
  padding: 12px 22px;
  font-size: 13px;
}

/* Burger button */
.nav-burger {
  display: none;
  width: 34px;
  height: 22px;
  position: relative;
}

.nav-burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--cream);
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.nav.is-solid .nav-burger span {
  background: var(--ink);
}

.nav-burger span:first-child  { top: 2px; }
.nav-burger span:nth-child(2) { top: 10px; }
.nav-burger span:nth-child(3) { top: 18px; }

.nav-burger.is-open span:first-child  { transform: translateY(8px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Mobile menu ─────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 120px 32px 32px 32px;
  gap: 22px;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 32px);
  color: var(--cream);
  font-weight: 400;
}

.mobile-menu a em {
  color: var(--gold-soft);
}

/* ─── Section head (shared two-column intro) ───────────────────────────────── */
.sect-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 84px);
}

.sect-head .lede {
  color: var(--ink-soft);
  max-width: 42ch;
}

.sect-head--dark h2 {
  color: var(--cream);
}

.sect-head--dark .lede {
  color: hsla(42, 44%, 92%, 0.68);
}

/* ─── Quote / Contact Form ────────────────────────────────────────────────── */
.quote {
  position: relative;
  color: var(--cream);
  overflow: hidden;
}

.quote-media,
.quote-media img {
  position: absolute;
  inset: 0;
}

.quote-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.quote-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 14, 10, 0.94),
    rgba(15, 14, 10, 0.86) 38%,
    rgba(15, 14, 10, 0.55)
  );
}

.quote-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.quote-copy h2 {
  color: var(--cream);
  margin: 20px 0 22px;
}

.quote-copy p {
  max-width: 42ch;
}

.quote-badge {
  margin-top: 42px;
  width: 120px;
  height: 120px;
  border: 1px solid hsla(41, 47%, 72%, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.badge-light span,
.quote-badge span {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--green-light);
}

.badge-dark span {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--green-mid);
}

.quote-badge b {
  display: block;
  font-size: 22px;
  font-weight: 500;
  color: var(--green-light);
}

/* Form */
.qform {
  background: hsla(42, 56%, 96%, 0.06);
  border: 1px solid hsla(42, 44%, 92%, 0.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: clamp(28px, 3vw, 42px);
  border-radius: 2px;
}

.qform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.qform-grid .full {
  grid-column: 1/-1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsla(42, 44%, 92%, 0.55);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid hsla(42, 44%, 92%, 0.28);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 8px 2px;
  transition: border-color 0.35s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: hsla(42, 44%, 92%, 0.32);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-light);
}

.field textarea {
  resize: none;
  min-height: 64px;
}

/* Custom Select */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid hsla(42, 44%, 92%, 0.28);
  color: hsla(42, 44%, 92%, 0.32);
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 8px 2px;
  cursor: pointer;
  transition: border-color 0.35s var(--ease);
}

.custom-select-wrapper.is-open .custom-select-trigger {
  border-color: var(--green-light);
}

.custom-select-trigger.has-value {
  color: var(--cream);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: rgba(14, 26, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid hsla(42, 44%, 92%, 0.1);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  padding: 8px 0;
}

.custom-select-wrapper.is-open .custom-select-options {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.custom-option:hover {
  background: var(--green-light);
  color: var(--charcoal);
}

.qform-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.qform-note {
  font-size: 12px;
  color: hsla(42, 44%, 92%, 0.45);
}

.qform-note--centered {
  margin-top: 14px;
  text-align: center;
}

.qsubmit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* Label optional hint */
.label__optional {
  font-weight: normal;
  opacity: 0.7;
}

/* ─── WhatsApp CTA Block ──────────────────────────────────────────────────── */
.whatsapp-cta__divider {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}

.whatsapp-cta__eyebrow {
  margin-bottom: 12px;
  color: var(--green-light);
}

.whatsapp-cta__title {
  color: var(--cream);
  margin-bottom: 12px;
}

.whatsapp-cta__desc {
  color: var(--cream-dim);
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: 15px;
}

.whatsapp-cta__btn {
  background: var(--green-light);
  color: var(--charcoal);
  padding: 14px 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  white-space: normal;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
}

.whatsapp-cta__phone {
  margin-top: 16px;
  font-weight: 500;
  color: var(--cream);
  font-size: 18px;
}

/* ─── Final CTA Section ───────────────────────────────────────────────────── */
.final-cta__section {
  position: relative;
  text-align: center;
  color: white;
  background: url('https://images.unsplash.com/photo-1742858492775-8f58f645aa12?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 20, 0.5);
}

.final-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.final-cta__heading {
  margin-bottom: 24px;
}

.final-cta__services {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--cream-dim);
}

.final-cta__tagline {
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.final-cta__btn {
  display: inline-flex;
  margin: 0 auto;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--cream-dim);
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: 0;
}

.footer__brand-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.footer__logo-link {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  width: 100%;
}

.footer-logo {
  width: 50%;
  max-width: 200px;
  min-width: 140px;
  height: auto;
  object-fit: contain;
}

.footer__brand-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 24px;
  flex-wrap: nowrap;
}

.footer-nav a {
  color: var(--cream);
  padding: 0 16px;
  position: relative;
  white-space: nowrap;
}

.footer-nav a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: rgba(255, 255, 255, 0.2);
}

.footer-nav .break {
  display: none;
}

.footer__phone {
  font-size: 24px;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copyright {
  font-size: 14px;
  margin: 0;
}

.footer__designed-by {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__designed-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__onhead-link {
  display: flex;
  align-items: center;
}

.footer__onhead-logo {
  height: 20px;
}

/* Foot grid (legacy multi-col footer) */
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid hsla(42, 44%, 92%, 0.1);
}

.foot-col h5 {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.foot-col ul li {
  margin-bottom: 12px;
}

.foot-col a,
.foot-col span {
  font-size: 13.5px;
  color: hsla(42, 44%, 92%, 0.62);
  transition: color 0.3s var(--ease);
}

.foot-col a:hover {
  color: var(--gold-soft);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-bottom a,
.foot-bottom p {
  font-size: 12px;
  color: hsla(42, 44%, 92%, 0.4);
}

.foot-legal {
  display: flex;
  gap: 22px;
}

.foot-legal a:hover {
  color: var(--gold-soft);
}

/* ─── Back to Top ─────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  transform: translateY(20px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
}

.back-to-top .text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: absolute;
}

.back-to-top .progress-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.back-to-top .progress-circle circle {
  fill: none;
  stroke-width: 4;
}

.back-to-top .progress-circle .bg {
  stroke: rgba(255, 255, 255, 0.1);
}

.back-to-top .progress-circle .progress {
  stroke: var(--green-light);
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  transition: stroke-dashoffset 0.1s;
}
