/* ============================================================
   Brooklin Trails – Elementor Widgets  |  brooklin-trails.css
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
  --bt-sage:        #a5a87d;
  --bt-sage-dark:   #888b62;
  --bt-sage-light:  #d4d7b4;
  --bt-sage-xlight: #f0f1e4;
  --bt-cream:       #faf9f4;
  --bt-white:       #ffffff;
  --bt-charcoal:    #2a2a24;
  --bt-mid:         #5a5a50;
  --bt-muted:       #8a8a7a;
  --bt-border:      rgba(165,168,125,0.25);
  --bt-border-dark: rgba(165,168,125,0.5);
  --bt-font-serif:  'Playfair Display', Georgia, serif;
  --bt-font-sans:   'DM Sans', sans-serif;
}

/* ----- Reset inside widgets ----- */
.bt-widget *, .bt-widget *::before, .bt-widget *::after {
  box-sizing: border-box;
}
.bt-widget { font-family: var(--bt-font-sans); color: var(--bt-charcoal); line-height: 1.7; }
.bt-widget h1, .bt-widget h2, .bt-widget h3, .bt-widget h4 {
  font-family: var(--bt-font-serif); line-height: 1.2; margin: 0;
}
.bt-widget p { margin: 0; }
.bt-widget img { max-width: 100%; height: auto; display: block; }
.bt-widget ul { list-style: none; margin: 0; padding: 0; }

/* ----- Shared helpers ----- */
.bt-section-label {
  display: block;
  font-size: 11px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--bt-sage);
  margin-bottom: 14px;
}
.bt-section-title {
  font-size: clamp(30px, 4vw, 48px); font-weight: 600;
  color: var(--bt-charcoal); margin-bottom: 18px;
}
.bt-section-subtitle {
  font-size: 17px; color: var(--bt-mid); max-width: 560px; line-height: 1.8;
}
.bt-btn-primary {
  display: inline-block; text-decoration: none;
  background: var(--bt-sage); color: #fff;
  padding: 15px 34px; border-radius: 4px;
  font-weight: 600; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: var(--bt-font-sans);
}
.bt-btn-primary:hover { background: var(--bt-sage-dark); transform: translateY(-1px); color:#fff; }
.bt-btn-outline {
  display: inline-block; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.6); color: #fff;
  padding: 15px 34px; border-radius: 4px;
  font-weight: 500; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s;
  font-family: var(--bt-font-sans);
}
.bt-btn-outline:hover { background: rgba(255,255,255,.1); color:#fff; }


/* ==============================================================
   1. HERO WIDGET
   ============================================================== */
.bt-hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.bt-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: btHeroZoom 14s ease-out forwards;
}
@keyframes btHeroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}
.bt-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(42,42,36,.72) 0%, rgba(42,42,36,.35) 60%, transparent 100%);
}
.bt-hero__content {
  position: relative; z-index: 2;
  max-width: 680px; padding: 120px 5% 160px;
}
.bt-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(165,168,125,.2);
  border: 1px solid rgba(165,168,125,.5);
  color: var(--bt-sage-light);
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 14px;
  border-radius: 100px; margin-bottom: 26px;
  animation: btFadeUp .8s .2s both;
}
.bt-hero__badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--bt-sage); border-radius: 50%; flex-shrink: 0;
}
.bt-hero__title {
  font-size: clamp(42px, 6vw, 72px); font-weight: 700;
  color: #fff; margin-bottom: 22px;
  animation: btFadeUp .8s .4s both;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.bt-hero__title-accent { color: var(--bt-sage-light); }
.bt-hero__desc {
  font-size: 18px; color: rgba(255,255,255,.85);
  max-width: 520px; line-height: 1.8; margin-bottom: 38px;
  animation: btFadeUp .8s .6s both;
}
.bt-hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: btFadeUp .8s .8s both;
}
.bt-hero__stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex;
  background: rgba(42,42,36,.85); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(165,168,125,.25);
}
.bt-hero__stat {
  flex: 1; padding: 22px 0; text-align: center;
  border-right: 1px solid rgba(165,168,125,.2);
}
.bt-hero__stat:last-child { border-right: none; }
.bt-hero__stat-num {
  display: block; font-family: var(--bt-font-serif);
  font-size: 26px; font-weight: 700; color: var(--bt-sage-light);
}
.bt-hero__stat-label {
  display: block; font-size: 11px; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .1em; margin-top: 2px;
}

/* ==============================================================
   2. ABOUT WIDGET
   ============================================================== */
.bt-about { background: var(--bt-white); padding: 96px 5%; }
.bt-about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto;
}
.bt-about__img-wrap { position: relative; }
.bt-about__img-main {
  width: 100%; border-radius: 8px;
  aspect-ratio: 4/3; object-fit: cover;
}
.bt-about__img-accent {
  position: absolute; bottom: -28px; right: -28px;
  width: 52%; border-radius: 8px;
  border: 6px solid var(--bt-white);
  aspect-ratio: 1; object-fit: cover;
}
.bt-about__divider {
  width: 48px; height: 3px; background: var(--bt-sage); margin: 26px 0;
}
.bt-about__body { font-size: 16px; color: var(--bt-mid); line-height: 1.85; margin-bottom: 16px; }
.bt-about__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px;
}
.bt-about__feature { display: flex; align-items: flex-start; gap: 12px; }
.bt-about__feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--bt-sage-xlight); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.bt-about__feature-icon svg { width: 18px; height: 18px; stroke: var(--bt-sage-dark); fill: none; stroke-width: 1.8; }
.bt-about__feature-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; font-family: var(--bt-font-sans); }
.bt-about__feature-text { font-size: 13px; color: var(--bt-muted); line-height: 1.5; }

/* ==============================================================
   3. HOMES WIDGET
   ============================================================== */
.bt-homes { background: var(--bt-cream); padding: 96px 5%; }
.bt-homes__header {
  max-width: 1200px; margin: 0 auto 52px;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px;
}
.bt-homes__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px;
}
.bt-home-card {
  background: var(--bt-white); border-radius: 10px;
  overflow: hidden; border: 1px solid var(--bt-border);
  transition: transform .3s, box-shadow .3s;
}
.bt-home-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(42,42,36,.1); }
.bt-home-card__img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.bt-home-card__body { padding: 24px 26px 28px; }
.bt-home-card__badge {
  display: inline-block;
  background: var(--bt-sage-xlight); color: var(--bt-sage-dark);
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.bt-home-card__title { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.bt-home-card__desc { font-size: 14px; color: var(--bt-mid); line-height: 1.7; margin-bottom: 18px; }
.bt-home-card__specs {
  display: flex; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--bt-border); padding-top: 16px;
}
.bt-home-card__spec-val { display: block; font-size: 15px; font-weight: 600; color: var(--bt-charcoal); }
.bt-home-card__spec-key { display: block; font-size: 11px; color: var(--bt-muted); text-transform: uppercase; letter-spacing: .07em; }
.bt-home-card__price {
  font-family: var(--bt-font-serif); font-size: 20px;
  color: var(--bt-sage-dark); font-weight: 600; margin-top: 16px;
}

/* ==============================================================
   4. WHY INVEST (REASONS) WIDGET
   ============================================================== */
.bt-reasons { background: var(--bt-charcoal); padding: 96px 5%; }
.bt-reasons__wrap { max-width: 1200px; margin: 0 auto; }
.bt-reasons .bt-section-title { color: #fff; }
.bt-reasons .bt-section-subtitle { color: rgba(255,255,255,.6); }
.bt-reasons .bt-section-label { color: var(--bt-sage-light); }
.bt-reasons__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 56px;
  border: 1px solid rgba(165,168,125,.2);
  border-radius: 10px; overflow: hidden;
}
.bt-reason-block {
  padding: 48px 40px;
  background: rgba(255,255,255,.03);
  border-right: 1px solid rgba(165,168,125,.15);
  transition: background .3s;
}
.bt-reason-block:last-child { border-right: none; }
.bt-reason-block:hover { background: rgba(165,168,125,.08); }
.bt-reason-block__icon {
  width: 48px; height: 48px;
  background: rgba(165,168,125,.12); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.bt-reason-block__icon svg { width: 24px; height: 24px; stroke: var(--bt-sage); fill: none; stroke-width: 1.6; }
.bt-reason-block__title { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.bt-reason-block__list li {
  font-size: 14px; color: rgba(255,255,255,.65);
  padding: 8px 0 8px 18px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,.06); line-height: 1.6;
}
.bt-reason-block__list li:last-child { border-bottom: none; }
.bt-reason-block__list li::before {
  content: ''; position: absolute; left: 0; top: 17px;
  width: 6px; height: 6px; background: var(--bt-sage); border-radius: 50%;
}

/* ==============================================================
   5. GALLERY WIDGET
   ============================================================== */
.bt-gallery { background: var(--bt-white); padding: 96px 5% 0; }
.bt-gallery__header { max-width: 1200px; margin: 0 auto 44px; }
.bt-gallery__masonry {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 280px); gap: 8px;
}
.bt-gallery__item { overflow: hidden; }
.bt-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bt-gallery__item:hover img { transform: scale(1.05); }
.bt-gallery__item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.bt-gallery__item:nth-child(2) { grid-column: span 4; }
.bt-gallery__item:nth-child(3) { grid-column: span 3; }
.bt-gallery__item:nth-child(4) { grid-column: span 3; }
.bt-gallery__item:nth-child(5) { grid-column: span 4; }

/* ==============================================================
   6. NEIGHBOURHOOD WIDGET
   ============================================================== */
.bt-neighbourhood { background: var(--bt-cream); padding: 96px 5%; }
.bt-neighbourhood__wrap { max-width: 1200px; margin: 0 auto; }
.bt-highlights__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 52px;
}
.bt-highlight-card {
  background: var(--bt-white); border: 1px solid var(--bt-border);
  border-radius: 10px; padding: 32px 28px;
  transition: border-color .2s, transform .2s;
}
.bt-highlight-card:hover { border-color: var(--bt-sage); transform: translateY(-3px); }
.bt-highlight-card__icon {
  width: 44px; height: 44px; background: var(--bt-sage-xlight);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.bt-highlight-card__icon svg { width: 22px; height: 22px; stroke: var(--bt-sage-dark); fill: none; stroke-width: 1.7; }
.bt-highlight-card__title { font-size: 16px; font-weight: 600; margin-bottom: 6px; font-family: var(--bt-font-sans); }
.bt-highlight-card__dist { display: block; font-size: 12px; color: var(--bt-sage); font-weight: 600; letter-spacing: .05em; margin-bottom: 10px; }
.bt-highlight-card__desc { font-size: 14px; color: var(--bt-mid); line-height: 1.65; }
.bt-transit { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bt-transit__img { width: 100%; border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; }
.bt-transit__list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--bt-border);
}
.bt-transit__list li:last-child { border-bottom: none; }
.bt-transit__dot {
  width: 10px; height: 10px; flex-shrink: 0;
  background: var(--bt-sage); border-radius: 50%; margin-top: 6px;
}
.bt-transit__item-title { font-size: 15px; font-weight: 600; margin-bottom: 2px; font-family: var(--bt-font-sans); }
.bt-transit__item-desc { font-size: 14px; color: var(--bt-mid); line-height: 1.6; }

/* ==============================================================
   7. DEVELOPERS WIDGET
   ============================================================== */
.bt-developers { background: var(--bt-white); padding: 96px 5%; }
.bt-developers__wrap { max-width: 1200px; margin: 0 auto; }
.bt-dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 52px; }
.bt-dev-card {
  border: 1px solid var(--bt-border); border-radius: 10px;
  padding: 44px 40px; position: relative; overflow: hidden;
}
.bt-dev-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--bt-sage);
}
.bt-dev-card__name { font-size: 26px; margin-bottom: 16px; }
.bt-dev-card__text { font-size: 15px; color: var(--bt-mid); line-height: 1.8; }
.bt-dev-card__text + .bt-dev-card__text { margin-top: 16px; }
.bt-dev-card__badge {
  display: inline-block; margin-top: 24px;
  background: var(--bt-sage-xlight); color: var(--bt-sage-dark);
  font-size: 12px; font-weight: 600; padding: 6px 16px;
  border-radius: 100px; letter-spacing: .04em;
}

/* ==============================================================
   8. REGISTER / CTA WIDGET
   ============================================================== */
.bt-register { background: var(--bt-sage); padding: 80px 5%; }
.bt-register__wrap {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.bt-register__heading { font-size: clamp(28px, 3.5vw, 44px); color: #fff; margin-bottom: 14px; }
.bt-register__intro { font-size: 16px; color: rgba(255,255,255,.8); line-height: 1.75; margin-bottom: 24px; }
.bt-register__prices { margin-top: 24px; }
.bt-price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 14px;
}
.bt-price-row:last-child { border-bottom: none; }
.bt-price-row__label { color: rgba(255,255,255,.75); }
.bt-price-row__value { color: #fff; font-weight: 600; }
.bt-register__form { background: var(--bt-white); border-radius: 10px; padding: 36px 32px; }
.bt-register__form-title { font-size: 20px; margin-bottom: 22px; }
.bt-form-group { margin-bottom: 16px; }
.bt-form-group label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--bt-mid); margin-bottom: 6px;
}
.bt-form-group input, .bt-form-group select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--bt-border-dark); border-radius: 6px;
  font-family: var(--bt-font-sans); font-size: 14px;
  color: var(--bt-charcoal); background: var(--bt-cream);
  transition: border-color .2s; outline: none;
}
.bt-form-group input:focus, .bt-form-group select:focus {
  border-color: var(--bt-sage); background: #fff;
}
.bt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bt-form-submit {
  width: 100%; background: var(--bt-sage); color: #fff; border: none;
  cursor: pointer; padding: 15px; border-radius: 6px;
  font-family: var(--bt-font-sans); font-size: 14px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; margin-top: 8px;
  transition: background .2s;
}
.bt-form-submit:hover { background: var(--bt-sage-dark); }
.bt-form-note { font-size: 12px; color: var(--bt-muted); text-align: center; margin-top: 12px; }

/* ==============================================================
   ANIMATION
   ============================================================== */
@keyframes btFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 900px) {
  .bt-about__grid,
  .bt-transit,
  .bt-register__wrap,
  .bt-dev-grid { grid-template-columns: 1fr; gap: 40px; }
  .bt-about__img-accent { display: none; }
  .bt-reasons__grid { grid-template-columns: 1fr; }
  .bt-reason-block { border-right: none; border-bottom: 1px solid rgba(165,168,125,.15); }
  .bt-homes__header { flex-direction: column; }
  .bt-gallery__masonry { grid-template-rows: repeat(3, 200px); }
  .bt-gallery__item:nth-child(1) { grid-column: span 12; grid-row: span 1; }
  .bt-gallery__item:nth-child(2),
  .bt-gallery__item:nth-child(3),
  .bt-gallery__item:nth-child(4),
  .bt-gallery__item:nth-child(5) { grid-column: span 6; }
}
@media (max-width: 600px) {
  .bt-hero__title { font-size: 36px; }
  .bt-hero__stats { flex-wrap: wrap; }
  .bt-hero__stat { min-width: 50%; }
  .bt-register__form { padding: 24px 18px; }
  .bt-form-row { grid-template-columns: 1fr; }
  .bt-homes__grid { grid-template-columns: 1fr; }
}

/* ==============================================================
   STICKY BANNER
   ============================================================== */
.bt-sticky-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
  background: var(--bt-charcoal);
  border-top: 2px solid var(--bt-sage);
  padding: 14px 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.bt-sticky-banner--visible { transform: translateY(0); }
.bt-sticky-banner__text { font-size: 14px; color: #fff; }
.bt-sticky-banner__text strong { color: var(--bt-sage-light); }

@media (max-width: 600px) {
  .bt-sticky-banner { flex-direction: column; text-align: center; }
}
