/* ==========================================================================
   Emporium Builders — brand design system
   ========================================================================== */

:root{
  --eb-cream:       #F4EFE4;
  --eb-cream-soft:  #FAF7F0;
  --eb-ink:         #201C16;
  --eb-ink-soft:    #635C51;
  --eb-ink-faint:   #8B8377;
  --eb-gold:        #B3823C;
  --eb-gold-dark:   #8F6529;
  --eb-gold-light:  #D9B778;
  --eb-dark:        #16130E;
  --eb-dark-2:      #201A12;
  --eb-line:        rgba(32, 28, 22, .12);
  --eb-line-strong: rgba(32, 28, 22, .22);
  --eb-white:       #FFFFFF;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-script: "Allura", cursive;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  font-family:var(--font-body);
  color:var(--eb-ink);
  background:var(--eb-cream-soft);
  font-size:16px;
  line-height:1.7;
  /* Bootstrap's g-4/g-5 gutter utilities give .row a bigger negative margin than
     .container's default padding offsets (12px), which pokes 12px past the viewport
     edge on narrow screens. Clip it here rather than chase every gutter class.
     Clipped on body only (not html too) — overflow-x on both creates two separate
     scroll containers and breaks position:sticky on descendants like .eb-header. */
  overflow-x:hidden;
}

h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  font-weight:600;
  color:var(--eb-ink);
  line-height:1.18;
  margin:0;
}

a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-family:var(--font-body);
  font-size:.78rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--eb-gold);
  font-weight:500;
  margin-bottom:1rem;
}
.eyebrow::before{ content:""; width:28px; height:1px; background:var(--eb-gold); }

.section-pad{ padding:5.5rem 0; }
@media (max-width:767px){ .section-pad{ padding:3.25rem 0; } }

.text-gold{ color:var(--eb-gold) !important; }
.bg-cream{ background:var(--eb-cream); }
.bg-dark-eb{ background:var(--eb-dark); color:#EFE9DC; }

/* ---------- Buttons ---------- */
.btn-eb-gold, .btn-eb-outline, .btn-eb-dark{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-family:var(--font-body);
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:500;
  padding:.9rem 1.9rem;
  border-radius:2px;
  border:1px solid transparent;
  transition:all .25s ease;
  white-space:nowrap;
}
.btn-eb-gold{ background:var(--eb-gold); color:#fff; }
.btn-eb-gold:hover{ background:var(--eb-gold-dark); color:#fff; transform:translateY(-1px); }
.btn-eb-outline{ border-color:var(--eb-line-strong); color:var(--eb-ink); background:transparent; }
.btn-eb-outline:hover{ border-color:var(--eb-gold); color:var(--eb-gold); }
.btn-eb-dark{ background:var(--eb-ink); color:#fff; }
.btn-eb-dark:hover{ background:var(--eb-gold); color:#fff; }
.btn-eb-gold:focus-visible, .btn-eb-outline:focus-visible, .btn-eb-dark:focus-visible{
  outline:2px solid var(--eb-gold); outline-offset:2px;
}

.play-link{
  display:inline-flex; align-items:center; gap:.75rem;
  font-size:.85rem; color:var(--eb-ink);
}
.play-link .play-circle{
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--eb-line-strong);
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(4px);
  transition:background .25s ease, transform .25s ease;
}
.play-link:hover .play-circle{ background:var(--eb-gold); color:#fff; transform:scale(1.05); }
.play-link .play-text small{ display:block; color:var(--eb-ink-soft); font-size:.72rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.eb-header{
  position:sticky; top:0; z-index:1000;
  /* A soft dark scrim, not a solid fill — the hero/slider video stays clearly visible
     through it, but it keeps the white nav text readable no matter what scrolls
     underneath (video, a light page section, a dark one — all read fine through this). */
  background:linear-gradient(to bottom, rgba(10,8,6,.42) 0%, rgba(10,8,6,.22) 100%);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease;
}
.eb-header.is-scrolled{ border-bottom-color:rgba(255,255,255,.18); }
.eb-header .navbar-brand{
  display:flex; align-items:center; gap:.65rem;
  font-family:var(--font-display); font-weight:700;
  font-size:1.15rem; letter-spacing:.03em;
  color:#fff; text-shadow:0 1px 6px rgba(0,0,0,.45);
}
.eb-header .navbar-brand .brand-mark{
  width:38px; height:38px; border-radius:50%;
  border:1.5px solid var(--eb-gold-light);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); color:var(--eb-gold-light); font-size:1rem;
  text-shadow:none;
}
.eb-header .navbar-brand small{
  display:block; font-family:var(--font-body); font-size:.6rem;
  letter-spacing:.28em; color:rgba(255,255,255,.8); font-weight:500;
}
.eb-nav .nav-link{
  font-size:.82rem; letter-spacing:.05em; text-transform:uppercase;
  color:rgba(255,255,255,.88); font-weight:500; text-shadow:0 1px 6px rgba(0,0,0,.45);
  padding:.5rem 0 !important; margin:0 1rem; position:relative;
}
.eb-nav .nav-link::after{
  content:""; position:absolute; left:0; bottom:-2px; height:1px; width:0;
  background:var(--eb-gold-light); transition:width .25s ease;
}
.eb-nav .nav-link:hover, .eb-nav .nav-link.active{ color:#fff; }
.eb-nav .nav-link:hover::after, .eb-nav .nav-link.active::after{ width:100%; }
.eb-header .navbar-toggler-icon{
  filter:invert(1) brightness(2) drop-shadow(0 1px 4px rgba(0,0,0,.45));
}

/* ==========================================================================
   Section index (persistent right-side rail — Home / Process)
   ========================================================================== */
.section-index{
  position:fixed; right:2.25rem; top:50%; transform:translateY(-50%);
  z-index:900; display:flex; flex-direction:column; gap:.15rem;
}
.section-index a{
  display:flex; align-items:baseline; gap:.65rem;
  padding:.4rem .5rem; border-radius:3px;
  color:rgba(32,28,22,.45); transition:color .2s ease;
}
.section-index a .idx-num{ font-family:var(--font-display); font-size:.85rem; }
.section-index a .idx-label{ font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; }
.section-index a:hover, .section-index a.active{ color:var(--eb-ink); }
.section-index a.active .idx-num{ color:var(--eb-gold); }
@media (max-width:767px){ .section-index{ display:none; } }

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.eb-hero{
  position:relative; min-height:92vh; display:flex; align-items:center;
  overflow:hidden; color:#fff;
}
.eb-hero::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, rgba(20,17,12,.72) 0%, rgba(20,17,12,.42) 45%, rgba(20,17,12,.15) 75%);
}
.eb-hero .container{ position:relative; z-index:2; }

/* Hero background slider — image and video slides fill the section behind the
   gradient overlay + text; Bootstrap's carousel drives the cycling/crossfade. */
.eb-hero-media, .eb-hero-carousel, .eb-hero-carousel .carousel-inner, .eb-hero-carousel .carousel-item{
  position:absolute; inset:0; height:100%;
}
.hero-slide-media{
  width:100%; height:100%; object-fit:cover; object-position:center;
}
.eb-hero-carousel .carousel-item{ min-height:100%; }
.eb-hero-indicators{
  z-index:2; margin-bottom:1.5rem; gap:.4rem;
}
.eb-hero-indicators [data-bs-target]{
  width:8px; height:8px; border-radius:50%; border:none;
  background:rgba(255,255,255,.45); opacity:1; margin:0 3px;
  transition:background .25s ease, transform .25s ease;
}
.eb-hero-indicators [data-bs-target].active{ background:var(--eb-gold-light); transform:scale(1.25); }
.eb-hero .eyebrow{ color:var(--eb-gold-light); }
.eb-hero .eyebrow::before{ background:var(--eb-gold-light); }
.eb-hero h1{
  color:#fff; font-size:clamp(2.4rem, 5vw, 4rem); text-wrap:balance;
  max-width:14ch;
}
.eb-hero h1 .highlight{ color:var(--eb-gold-light); font-style:italic; }
.eb-hero .hero-sub{ color:rgba(255,255,255,.82); font-size:1.05rem; max-width:38ch; margin:1.25rem 0 2rem; }
.eb-hero .hero-ctas{ display:flex; align-items:center; gap:2rem; flex-wrap:wrap; }
.eb-hero .play-link{ color:#fff; }
.eb-hero .play-link .play-circle{ border-color:rgba(255,255,255,.5); }
.eb-hero .play-link .play-text small{ color:rgba(255,255,255,.65); }

.scroll-cue{
  position:absolute; left:2.5rem; bottom:2.25rem; z-index:2;
  display:flex; align-items:center; gap:.6rem;
  color:rgba(255,255,255,.75); font-size:.7rem; letter-spacing:.15em; text-transform:uppercase;
}
.scroll-cue .mouse{
  width:22px; height:34px; border:1.5px solid rgba(255,255,255,.6); border-radius:12px;
  position:relative;
}
.scroll-cue .mouse::after{
  content:""; position:absolute; top:6px; left:50%; width:3px; height:6px;
  background:#fff; border-radius:2px; transform:translateX(-50%);
  animation:scrollcue 1.8s infinite ease;
}
@keyframes scrollcue{ 0%{opacity:1; top:6px;} 100%{opacity:0; top:16px;} }
@media (prefers-reduced-motion: reduce){ .scroll-cue .mouse::after{ animation:none; } }
@media (max-width:1200px){ .scroll-cue{ display:none; } }

/* Tagline strip under hero */
.tagline-strip{
  background:var(--eb-cream); border-top:1px solid var(--eb-line);
  padding:1.75rem 0;
}
.tagline-strip .laurel{ color:var(--eb-gold); font-size:1.3rem; }
.tagline-strip p{ color:var(--eb-ink-soft); font-size:.92rem; margin:0; max-width:34ch; }
.tagline-strip .divider{ width:1px; height:34px; background:var(--eb-line-strong); }
.tagline-strip .script{ font-family:var(--font-script); font-size:1.8rem; color:var(--eb-gold-dark); }

/* Page hero (non-home) */
.page-hero{
  position:relative; min-height:52vh; display:flex; align-items:center;
  background-size:cover; background-position:center; color:#fff;
}
.page-hero::before{ content:""; position:absolute; inset:0; background:rgba(18,15,10,.6); }
.page-hero .container{ position:relative; z-index:2; }
.page-hero .eyebrow{ color:var(--eb-gold-light); }
.page-hero .eyebrow::before{ background:var(--eb-gold-light); }
.page-hero h1{ color:#fff; font-size:clamp(2rem, 4vw, 3rem); }
.page-hero p{ color:rgba(255,255,255,.82); max-width:52ch; margin-top:1rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about-copy p.lead-body{ color:var(--eb-ink-soft); font-size:1rem; max-width:52ch; }
.mission-vision{ display:flex; gap:2.25rem; margin-top:2rem; flex-wrap:wrap; }
.mission-vision .mv-item{ display:flex; gap:1rem; max-width:22ch; }
.mission-vision .mv-icon{
  width:42px; height:42px; border-radius:50%; flex:none;
  border:1px solid var(--eb-line-strong); color:var(--eb-gold);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
}
.mission-vision h5{ font-size:1rem; margin-bottom:.25rem; }
.mission-vision p{ color:var(--eb-ink-soft); font-size:.88rem; margin:0; }
.about-photo{ border-radius:4px; overflow:hidden; box-shadow:0 30px 60px -30px rgba(20,17,12,.35); }
.about-photo img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }

.stat-row{ display:flex; flex-wrap:wrap; gap:2.5rem; margin-top:3rem; padding-top:2rem; border-top:1px solid var(--eb-line); }
.stat-row .stat{ min-width:110px; }
.stat-row .stat .num{ font-family:var(--font-display); font-size:2rem; color:var(--eb-gold); line-height:1; }
.stat-row .stat .label{ font-size:.78rem; color:var(--eb-ink-soft); margin-top:.35rem; text-transform:uppercase; letter-spacing:.05em; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-heading-wrap{ position:relative; overflow:hidden; }
.services-heading-wrap .sketch-bg{
  position:absolute; right:-4%; top:50%; transform:translateY(-50%);
  width:44%; opacity:.14; pointer-events:none;
}
.service-card{
  background:var(--eb-white); border:1px solid var(--eb-line);
  border-radius:4px; padding:2.25rem 1.75rem; height:100%;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 30px 50px -30px rgba(20,17,12,.28);
  border-color:var(--eb-gold-light);
}
.service-card .icon-ring{
  width:58px; height:58px; border-radius:50%;
  border:1px solid var(--eb-line-strong); color:var(--eb-gold);
  display:flex; align-items:center; justify-content:center; font-size:1.5rem;
  margin-bottom:1.4rem; transition:background .3s ease, color .3s ease;
}
.service-card:hover .icon-ring{ background:var(--eb-gold); color:#fff; }
.service-card h3{ font-size:1.1rem; margin-bottom:.6rem; }
.service-card p{ color:var(--eb-ink-soft); font-size:.88rem; margin:0; }
.service-card .card-link{ display:inline-flex; gap:.4rem; font-size:.78rem; color:var(--eb-gold); margin-top:1rem; letter-spacing:.04em; text-transform:uppercase; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-steps{ display:grid; grid-template-columns:repeat(5, 1fr); gap:1.5rem; margin-top:3rem; }
@media (max-width:991px){ .process-steps{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:575px){ .process-steps{ grid-template-columns:1fr; } }
.process-step{ text-align:left; }
.process-step .step-photo{ border-radius:4px; overflow:hidden; aspect-ratio:4/3.4; margin-bottom:1.1rem; position:relative; }
.process-step .step-photo img{ width:100%; height:100%; object-fit:cover; }
.process-step .step-num{
  position:absolute; left:.9rem; bottom:-1.1rem;
  width:38px; height:38px; border-radius:50%;
  background:var(--eb-gold); color:#fff; font-family:var(--font-display);
  display:flex; align-items:center; justify-content:center; font-size:.95rem;
  box-shadow:0 8px 16px -6px rgba(179,130,60,.55);
}
.process-step h4{ font-size:1.02rem; margin:1.4rem 0 .5rem; }
.process-step p{ color:var(--eb-ink-soft); font-size:.86rem; }
.process-step .card-link{ display:inline-flex; gap:.4rem; font-size:.75rem; color:var(--eb-gold); margin-top:.5rem; letter-spacing:.04em; text-transform:uppercase; }

.usp-strip{ background:var(--eb-dark); color:#EFE9DC; padding:3rem 0; }
.usp-strip .usp-item{ text-align:center; padding:0 .5rem; }
.usp-strip .usp-icon{ font-size:1.6rem; color:var(--eb-gold-light); margin-bottom:.85rem; }
.usp-strip h5{ color:#fff; font-size:.92rem; margin-bottom:.3rem; }
.usp-strip p{ color:rgba(239,233,220,.62); font-size:.78rem; margin:0; }

.stats-strip{ background:var(--eb-dark-2); color:#EFE9DC; padding:2.5rem 0; }
.stats-strip .stat{ text-align:center; }
.stats-strip .icon{ font-size:1.4rem; color:var(--eb-gold-light); margin-bottom:.6rem; }
.stats-strip .num{ font-family:var(--font-display); font-size:1.9rem; color:#fff; }
.stats-strip .label{ font-size:.75rem; color:rgba(239,233,220,.6); text-transform:uppercase; letter-spacing:.06em; margin-top:.25rem; }

.testimonial-block{ background:var(--eb-cream); border-radius:4px; overflow:hidden; }
.testimonial-block .quote-mark{ font-family:var(--font-display); font-size:3.5rem; color:var(--eb-gold-light); line-height:.6; }
.testimonial-block blockquote{ font-family:var(--font-display); font-size:1.25rem; font-style:italic; color:var(--eb-ink); margin:1rem 0; }
.testimonial-block cite{ font-style:normal; color:var(--eb-ink-soft); font-size:.85rem; }

/* ==========================================================================
   Projects
   ========================================================================== */
.project-hero{ position:relative; border-radius:4px; overflow:hidden; min-height:66vh; display:flex; align-items:flex-end; background-size:cover; background-position:center; color:#fff; }
.project-hero::before{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(15,13,9,.82) 0%, rgba(15,13,9,.15) 55%); }
.project-hero .content{ position:relative; z-index:2; padding:3rem; width:100%; }
.project-hero h1{ color:#fff; font-size:clamp(2rem, 3.6vw, 2.8rem); }
.project-hero p{ color:rgba(255,255,255,.82); max-width:48ch; margin:.85rem 0 1.5rem; }
.project-specs{ display:flex; flex-wrap:wrap; gap:2rem; margin-bottom:1.75rem; }
.project-specs .spec{ display:flex; gap:.65rem; align-items:flex-start; }
.project-specs .spec i{ color:var(--eb-gold-light); font-size:1.05rem; margin-top:.15rem; }
.project-specs .spec .label{ font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.6); }
.project-specs .spec .value{ font-size:.92rem; color:#fff; }
.gallery-badge{
  position:absolute; top:1.5rem; right:1.5rem; z-index:3;
  background:rgba(20,17,12,.55); backdrop-filter:blur(6px);
  color:#fff; padding:.5rem 1rem; border-radius:30px; font-size:.75rem;
  display:flex; align-items:center; gap:.4rem;
}
.gallery-counter{ display:flex; align-items:center; gap:1rem; color:#fff; font-family:var(--font-display); }
.gallery-counter .gcount{ font-size:.95rem; letter-spacing:.05em; }
.gallery-counter button{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.4);
  background:transparent; color:#fff; display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
}
.gallery-counter button:hover{ background:var(--eb-gold); border-color:var(--eb-gold); }

.highlight-strip{ background:var(--eb-dark); color:#fff; border-radius:4px; margin-top:-2.75rem; position:relative; z-index:4; }
.highlight-strip .row > div{ border-right:1px solid rgba(255,255,255,.1); }
.highlight-strip .row > div:last-child{ border-right:none; }
.highlight-strip .h-item{ padding:1.5rem 1.25rem; text-align:center; }
.highlight-strip .h-item i{ color:var(--eb-gold-light); font-size:1.3rem; margin-bottom:.5rem; display:block; }
.highlight-strip .h-item .label{ font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.55); }
.highlight-strip .h-item .value{ font-size:.85rem; margin-top:.15rem; }
@media (max-width:767px){ .highlight-strip .row > div{ border-right:none; border-bottom:1px solid rgba(255,255,255,.1); } }

.gallery-strip{ display:flex; gap:1rem; overflow-x:auto; padding-bottom:.5rem; scroll-snap-type:x mandatory; }
.gallery-strip img{ width:220px; height:150px; object-fit:cover; border-radius:3px; flex:none; scroll-snap-align:start; }

.next-project-card{
  background:var(--eb-dark); color:#fff; border-radius:4px; overflow:hidden;
  position:relative; min-height:180px; display:flex; align-items:flex-end;
  background-size:cover; background-position:center;
}
.next-project-card::before{ content:""; position:absolute; inset:0; background:rgba(15,13,9,.55); }
.next-project-card .content{ position:relative; z-index:2; padding:1.75rem; }
.next-project-card .eyebrow{ color:var(--eb-gold-light); margin-bottom:.4rem; }
.next-project-card h4{ color:#fff; font-size:1.15rem; }

.project-card{ background:#fff; border:1px solid var(--eb-line); border-radius:4px; overflow:hidden; height:100%; transition:transform .3s ease, box-shadow .3s ease; }
.project-card:hover{ transform:translateY(-6px); box-shadow:0 30px 50px -30px rgba(20,17,12,.28); }
.project-card img{ aspect-ratio:4/3; object-fit:cover; width:100%; }
.project-card .body{ padding:1.4rem; }
.project-card h4{ font-size:1.05rem; margin-bottom:.4rem; }
.project-card .meta{ font-size:.78rem; color:var(--eb-ink-soft); }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-card{ background:#fff; border-radius:4px; overflow:hidden; border:1px solid var(--eb-line); height:100%; transition:transform .3s ease, box-shadow .3s ease; }
.blog-card:hover{ transform:translateY(-5px); box-shadow:0 26px 44px -28px rgba(20,17,12,.28); }
.blog-card .thumb{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.blog-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.blog-card:hover .thumb img{ transform:scale(1.06); }
.blog-card .cat-badge{
  position:absolute; top:.9rem; left:.9rem; z-index:2;
  background:var(--eb-gold); color:#fff; font-size:.65rem; letter-spacing:.08em; text-transform:uppercase;
  padding:.35rem .7rem; border-radius:2px;
}
.blog-card .body{ padding:1.4rem; }
.blog-card .date{ font-size:.72rem; color:var(--eb-ink-faint); letter-spacing:.05em; text-transform:uppercase; }
.blog-card h3{ font-size:1.05rem; margin:.5rem 0 .6rem; }
.blog-card p{ color:var(--eb-ink-soft); font-size:.86rem; }
.blog-card .card-link{ display:inline-flex; gap:.4rem; font-size:.78rem; color:var(--eb-gold); margin-top:.4rem; letter-spacing:.04em; text-transform:uppercase; }

.blog-sidebar .widget{ background:#fff; border:1px solid var(--eb-line); border-radius:4px; padding:1.5rem; margin-bottom:1.5rem; }
.blog-sidebar .widget h5{ font-size:.95rem; margin-bottom:1rem; text-transform:uppercase; letter-spacing:.05em; }
.blog-sidebar .cat-list{ list-style:none; padding:0; margin:0; }
.blog-sidebar .cat-list li{ display:flex; justify-content:space-between; padding:.55rem 0; border-bottom:1px solid var(--eb-line); font-size:.88rem; }
.blog-sidebar .cat-list li:last-child{ border-bottom:none; }
.blog-sidebar .cat-list a{ color:var(--eb-ink-soft); }
.blog-sidebar .cat-list a:hover, .blog-sidebar .cat-list a.active{ color:var(--eb-gold); }
.blog-sidebar .cat-list .count{ color:var(--eb-ink-faint); font-size:.78rem; }
.recent-post{ display:flex; gap:.85rem; margin-bottom:1rem; }
.recent-post img{ width:64px; height:64px; object-fit:cover; border-radius:3px; flex:none; }
.recent-post h6{ font-size:.85rem; font-family:var(--font-body); font-weight:500; margin:0 0 .25rem; line-height:1.3; }
.recent-post small{ color:var(--eb-ink-faint); font-size:.72rem; }

/* ==========================================================================
   Contact / Get a Quote
   ========================================================================== */
.contact-info-item{ display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.4rem; }
.contact-info-item i{ width:42px; height:42px; border-radius:50%; border:1px solid var(--eb-line-strong); color:var(--eb-gold); display:flex; align-items:center; justify-content:center; flex:none; }
.contact-info-item .label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--eb-ink-faint); }
.contact-info-item .value{ font-size:.95rem; color:var(--eb-ink); }

.eb-form label{ font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--eb-ink-soft); margin-bottom:.4rem; }
.eb-form .form-control, .eb-form .form-select{
  border:1px solid var(--eb-line-strong); border-radius:2px; padding:.72rem .9rem;
  background:#fff; font-size:.92rem;
}
.eb-form .form-control:focus, .eb-form .form-select:focus{
  border-color:var(--eb-gold); box-shadow:0 0 0 .2rem rgba(179,130,60,.15);
}
.eb-form .invalid-feedback{ font-size:.78rem; }
.eb-form .form-check-label{ font-size:.85rem; color:var(--eb-ink-soft); text-transform:none; letter-spacing:0; }

.contact-photo-card{ position:relative; border-radius:4px; overflow:hidden; height:420px; }
.contact-photo-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.contact-quote-overlay{
  position:absolute; right:1.5rem; bottom:1.5rem; max-width:230px;
  background:rgba(22,19,14,.72); backdrop-filter:blur(6px); color:#fff;
  padding:1.25rem; border-radius:4px; font-family:var(--font-display); font-style:italic; font-size:.95rem;
}

.map-embed{ border-radius:4px; overflow:hidden; border:1px solid var(--eb-line); min-height:260px; background:var(--eb-cream); position:relative; }
.map-pin{ position:absolute; top:50%; left:50%; transform:translate(-50%,-100%); color:var(--eb-gold); font-size:2rem; }

.trust-badges{ display:flex; gap:2rem; flex-wrap:wrap; margin-top:1.75rem; }
.trust-badges .badge-item{ display:flex; gap:.7rem; align-items:center; color:#fff; }
.trust-badges .badge-item i{ color:var(--eb-gold-light); font-size:1.3rem; }
.trust-badges .badge-item .t{ font-size:.85rem; }
.trust-badges .badge-item small{ display:block; color:rgba(255,255,255,.6); font-size:.72rem; }

.next-steps{ list-style:none; padding:0; margin:0; position:relative; }
.next-steps li{ display:flex; gap:1rem; padding-bottom:1.6rem; position:relative; }
.next-steps li:last-child{ padding-bottom:0; }
.next-steps li::before{ content:""; position:absolute; left:15px; top:34px; bottom:0; width:1px; background:var(--eb-line-strong); }
.next-steps li:last-child::before{ display:none; }
.next-steps .num{
  width:32px; height:32px; border-radius:50%; border:1px solid var(--eb-gold); color:var(--eb-gold);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:.85rem; flex:none;
}
.next-steps h6{ font-size:.92rem; margin-bottom:.2rem; }
.next-steps p{ font-size:.82rem; color:var(--eb-ink-soft); margin:0; }

.assist-box{ background:var(--eb-cream); border:1px solid var(--eb-line); border-radius:4px; padding:1.5rem; margin-top:1.5rem; }
.assist-box .phone{ font-family:var(--font-display); font-size:1.3rem; color:var(--eb-gold-dark); }

.dropzone{
  border:1.5px dashed var(--eb-line-strong); border-radius:4px; padding:1.75rem; text-align:center;
  color:var(--eb-ink-soft); font-size:.85rem; background:#fff;
}
.dropzone i{ font-size:1.6rem; color:var(--eb-gold); display:block; margin-bottom:.5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.eb-footer{ background:var(--eb-dark); color:rgba(239,233,220,.72); }
.eb-footer .footer-top{ padding:4rem 0 2.5rem; }
.eb-footer h6{ color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:1.25rem; }
.eb-footer .brand{ font-family:var(--font-display); color:#fff; font-size:1.2rem; margin-bottom:.75rem; }
.eb-footer p{ font-size:.85rem; }
.eb-footer ul{ list-style:none; padding:0; margin:0; }
.eb-footer ul li{ margin-bottom:.65rem; font-size:.87rem; }
.eb-footer ul a{ color:rgba(239,233,220,.72); transition:color .2s ease; }
.eb-footer ul a:hover{ color:var(--eb-gold-light); }
.eb-footer .socials{ display:flex; gap:.65rem; margin-top:1.25rem; }
.eb-footer .socials a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(239,233,220,.25);
  display:flex; align-items:center; justify-content:center; transition:all .2s ease;
}
.eb-footer .socials a:hover{ background:var(--eb-gold); border-color:var(--eb-gold); }
.eb-footer .newsletter-form{ display:flex; margin-top:.5rem; }
.eb-footer .newsletter-form input{
  flex:1; background:rgba(255,255,255,.06); border:1px solid rgba(239,233,220,.2); border-right:none;
  color:#fff; padding:.65rem .9rem; font-size:.85rem; border-radius:2px 0 0 2px;
}
.eb-footer .newsletter-form button{
  background:var(--eb-gold); border:none; color:#fff; padding:0 1.1rem; border-radius:0 2px 2px 0;
}
.eb-footer .footer-bottom{
  border-top:1px solid rgba(239,233,220,.12); padding:1.25rem 0; font-size:.78rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; color:rgba(239,233,220,.55);
}
.eb-footer .footer-bottom a{ color:rgba(239,233,220,.55); margin-left:1.25rem; }
.eb-footer .footer-bottom a:hover{ color:var(--eb-gold-light); }
.back-to-top{
  width:42px; height:42px; border-radius:2px; background:var(--eb-gold); color:#fff;
  display:flex; align-items:center; justify-content:center;
}

/* ==========================================================================
   Motion — scroll reveal, hero entrance, mouse parallax, cursor follower
   ========================================================================== */

/* [data-reveal]/[data-reveal-card]/[data-reveal-img] render fully visible by default —
   JS adds .reveal-armed on load (progressive enhancement only) which applies the
   hidden starting state below, then an IntersectionObserver adds .is-visible to play
   the reveal. Without JS (or under prefers-reduced-motion, which the JS checks before
   arming anything), elements simply stay in normal, fully-visible layout — content
   never depends on JS/observers to be seen by crawlers, no-JS clients or capture tools. */
.reveal-armed[data-reveal],
.reveal-armed[data-reveal-card],
.reveal-armed[data-reveal-img]{
  opacity:0;
  transition:opacity .7s cubic-bezier(.22,.7,.32,1), transform .7s cubic-bezier(.22,.7,.32,1);
}
.reveal-armed[data-reveal]{ transform:translateY(36px); }
.reveal-armed[data-reveal-card]{ transform:translateY(28px) scale(.97); }
.reveal-armed[data-reveal-img]{ transform:scale(1.07); transition-duration:1.1s; }

.reveal-armed[data-reveal].is-visible,
.reveal-armed[data-reveal-card].is-visible,
.reveal-armed[data-reveal-img].is-visible{
  opacity:1; transform:none;
}

/* Stagger card grids (Bootstrap .row > .col-* wrappers, and the plain CSS-grid
   .process-steps) so items in the same row fade up one after another. */
.row > *:nth-child(6n+1) [data-reveal-card], .process-steps > [data-reveal-card]:nth-child(6n+1){ transition-delay:.05s; }
.row > *:nth-child(6n+2) [data-reveal-card], .process-steps > [data-reveal-card]:nth-child(6n+2){ transition-delay:.15s; }
.row > *:nth-child(6n+3) [data-reveal-card], .process-steps > [data-reveal-card]:nth-child(6n+3){ transition-delay:.25s; }
.row > *:nth-child(6n+4) [data-reveal-card], .process-steps > [data-reveal-card]:nth-child(6n+4){ transition-delay:.35s; }
.row > *:nth-child(6n+5) [data-reveal-card], .process-steps > [data-reveal-card]:nth-child(6n+5){ transition-delay:.45s; }
.row > *:nth-child(6n+6) [data-reveal-card], .process-steps > [data-reveal-card]:nth-child(6n+6){ transition-delay:.55s; }

@media (prefers-reduced-motion: reduce){
  .reveal-armed[data-reveal],
  .reveal-armed[data-reveal-card],
  .reveal-armed[data-reveal-img]{ opacity:1; transform:none; transition:none; }
}

/* Hero text entrance — plays automatically on load (always in the DOM/flow;
   opacity is a paint-time detail only, so text is still present for no-JS/crawler
   extraction even though CSS animations don't run for them). */
@keyframes heroFadeUp{
  from{ opacity:0; transform:translateY(24px); }
  to{ opacity:1; transform:translateY(0); }
}
.eb-hero .eyebrow, .eb-hero h1, .eb-hero .hero-sub, .eb-hero .hero-ctas{
  animation:heroFadeUp .9s cubic-bezier(.22,.7,.32,1) both;
}
.eb-hero .eyebrow{ animation-delay:.1s; }
.eb-hero h1{ animation-delay:.25s; }
.eb-hero .hero-sub{ animation-delay:.42s; }
.eb-hero .hero-ctas{ animation-delay:.58s; }
@media (prefers-reduced-motion: reduce){
  .eb-hero .eyebrow, .eb-hero h1, .eb-hero .hero-sub, .eb-hero .hero-ctas{ animation:none; }
}

/* Hero mouse parallax — JS sets --mx/--my (-1..1) from pointer position over the
   hero; CSS transitions the resulting transform so it eases rather than snaps. */
.eb-hero{ --mx:0; --my:0; }
.eb-hero .container{
  transform:translate3d(calc(var(--mx) * 16px), calc(var(--my) * 12px), 0);
  transition:transform .4s cubic-bezier(.22,.7,.32,1);
}

/* Decorative cursor follower — a small gold dot (tracks exactly) plus a softly
   trailing ring, layered alongside the native cursor rather than replacing it, so
   there's no risk of an invisible pointer if init is skipped. Injected by JS only
   on precise-pointer devices with motion allowed. */
.cursor-dot, .cursor-ring{
  position:fixed; top:0; left:0; z-index:2000; pointer-events:none;
  border-radius:50%; opacity:0; transform:translate3d(-100px,-100px,0) translate(-50%,-50%);
}
.cursor-dot{
  width:6px; height:6px; background:var(--eb-gold);
  transition:opacity .3s ease;
}
.cursor-ring{
  width:34px; height:34px; border:1px solid rgba(179,130,60,.55);
  transition:opacity .3s ease, transform .18s ease-out, width .25s ease, height .25s ease, border-color .25s ease, background-color .25s ease;
}
.cursor-ring.cursor-hover{
  width:54px; height:54px; border-color:var(--eb-gold); background:rgba(179,130,60,.08);
}
@media (hover:none), (pointer:coarse){
  .cursor-dot, .cursor-ring{ display:none; }
}
