/* ==========================================================
   New Style Nest — Home Renovation
   Custom theme layered on Bootstrap 5
   ========================================================== */

:root {
  --nest-forest: #1f3d36;
  --nest-forest-2: #2b5247;
  --nest-forest-3: #143029;
  --nest-clay: #c8744b;
  --nest-clay-dark: #a95b35;
  --nest-gold: #e0b152;
  --nest-cream: #f8f3ea;
  --nest-sand: #efe5d4;
  --nest-ink: #1b211f;
  --nest-muted: #5d6763;
  --nest-radius: 22px;
  --nest-shadow: 0 18px 50px -20px rgba(20, 48, 41, .35);
  --nest-shadow-sm: 0 10px 30px -15px rgba(20, 48, 41, .30);
  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--nest-ink);
  background: #fff;
  font-size: 1.04rem;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--nest-forest-3);
}

a { color: var(--nest-clay-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--nest-forest); }

::selection { background: var(--nest-gold); color: var(--nest-forest-3); }

.text-clay { color: var(--nest-clay) !important; }
.text-forest { color: var(--nest-forest) !important; }
.text-muted-nest { color: var(--nest-muted) !important; }
.text-gold { color: var(--nest-gold) !important; }
.marquee-clip { overflow: hidden; padding: 30px 0; margin: -56px 0 -30px; position: relative; z-index: 3; }
.bg-cream { background: var(--nest-cream) !important; }
.bg-sand { background: var(--nest-sand) !important; }
.bg-forest { background: var(--nest-forest) !important; }

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }

/* ---------- Eyebrow & headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--nest-clay);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow.light { color: var(--nest-gold); }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.15; margin-bottom: 1.1rem; }
.section-title em { font-style: italic; color: var(--nest-clay); font-weight: 500; }
.lead-nest { font-size: 1.12rem; color: var(--nest-muted); }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; border-radius: 999px; padding: .8rem 1.7rem; transition: all .25s ease; }
.btn-nest {
  background: var(--nest-clay);
  color: #fff;
  border: 2px solid var(--nest-clay);
  box-shadow: 0 12px 26px -12px rgba(200, 116, 75, .8);
}
.btn-nest:hover, .btn-nest:focus { background: var(--nest-clay-dark); border-color: var(--nest-clay-dark); color: #fff; transform: translateY(-2px); }
.btn-forest { background: var(--nest-forest); color: #fff; border: 2px solid var(--nest-forest); }
.btn-forest:hover { background: var(--nest-forest-3); border-color: var(--nest-forest-3); color: #fff; transform: translateY(-2px); }
.btn-outline-light-nest { border: 2px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light-nest:hover { background: #fff; color: var(--nest-forest); }
.btn-outline-forest { border: 2px solid var(--nest-forest); color: var(--nest-forest); background: transparent; }
.btn-outline-forest:hover { background: var(--nest-forest); color: #fff; }
.btn i { transition: transform .25s ease; }
.btn:hover i.bi-arrow-right, .btn:hover i.bi-arrow-up-right { transform: translateX(4px); }

/* ---------- Top announcement bar ---------- */
.topbar {
  background: var(--nest-forest-3);
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  padding: .5rem 0;
}
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: var(--nest-gold); }
.topbar .socials a { margin-left: .9rem; }

/* ---------- Navbar ---------- */
.navbar-nest {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  padding: 1rem 0;
  transition: padding .3s ease, box-shadow .3s ease;
  z-index: 1030;
}
.navbar-nest.scrolled { padding: .55rem 0; box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--nest-forest-3); }
.brand:hover { color: var(--nest-forest-3); }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; line-height: 1; }
.brand-text small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--nest-clay); font-weight: 600; margin-top: .3rem; }
.navbar-nest .nav-link {
  color: var(--nest-ink);
  font-weight: 500;
  padding: .5rem 1rem !important;
  position: relative;
}
.navbar-nest .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: .25rem;
  height: 2px;
  background: var(--nest-clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navbar-nest .nav-link:hover::after, .navbar-nest .nav-link.active::after { transform: scaleX(1); }
.navbar-nest .nav-link.active { color: var(--nest-forest); }
.navbar-toggler { border: 0; box-shadow: none !important; font-size: 1.8rem; color: var(--nest-forest); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--nest-cream);
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; top: -200px;
  background: radial-gradient(circle at center, rgba(224,177,82,.35), transparent 65%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  left: -200px; bottom: -220px;
  background: radial-gradient(circle at center, rgba(43,82,71,.18), transparent 65%);
  border-radius: 50%;
}
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.05; margin-bottom: 1.5rem; }
.hero h1 .scribble { position: relative; font-style: italic; color: var(--nest-clay); white-space: nowrap; }
.hero h1 .scribble svg { position: absolute; left: 0; bottom: -.25em; width: 100%; height: .45em; }
.hero-arch {
  position: relative;
  border-radius: 320px 320px var(--nest-radius) var(--nest-radius);
  overflow: hidden;
  box-shadow: var(--nest-shadow);
  aspect-ratio: 4 / 4.6;
  border: 10px solid #fff;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 6s ease; }
.hero-arch:hover img { transform: scale(1.1); }
.hero-visual { position: relative; z-index: 1; }
.hero-chip {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: .85rem 1.1rem;
  display: flex; align-items: center; gap: .75rem;
  box-shadow: var(--nest-shadow-sm);
  font-weight: 500;
  font-size: .95rem;
  animation: floaty 5s ease-in-out infinite;
  z-index: 2;
}
.hero-chip .ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--nest-sand); color: var(--nest-clay); font-size: 1.25rem;
}
.hero-chip small { display: block; color: var(--nest-muted); font-weight: 400; font-size: .8rem; }
.hero-chip.c1 { left: -40px; top: 18%; }
.hero-chip.c2 { right: -30px; bottom: 16%; animation-delay: -2.5s; }
.hero-leaf { position: absolute; right: 8%; top: -24px; width: 90px; color: var(--nest-forest-2); opacity: .9; animation: sway 7s ease-in-out infinite; z-index: 2; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sway { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; color: var(--nest-forest); font-weight: 500; }
.hero-points i { color: var(--nest-clay); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--nest-forest);
  color: #fff;
  overflow: hidden;
  padding: 1.1rem 0;
  transform: rotate(-1.2deg);
  margin: 0 -10px;
  position: relative;
  box-shadow: 0 16px 40px -20px rgba(0,0,0,.5);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  padding: 0 1.4rem;
  display: inline-flex; align-items: center; gap: 2.8rem;
  white-space: nowrap;
}
.marquee-track span::after { content: "\2726"; color: var(--nest-gold); font-style: normal; font-size: 1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Feature tiles ---------- */
.feature-tile {
  background: #fff;
  border-radius: var(--nest-radius);
  padding: 2.2rem 1.9rem;
  height: 100%;
  border: 1px solid rgba(31,61,54,.08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.feature-tile::after {
  content: "";
  position: absolute; right: -40px; bottom: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--nest-sand);
  transition: transform .5s ease;
  z-index: 0;
}
.feature-tile:hover { transform: translateY(-8px); box-shadow: var(--nest-shadow); border-color: transparent; }
.feature-tile:hover::after { transform: scale(2.6); }
.feature-tile > * { position: relative; z-index: 1; }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 20px 20px 20px 6px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  color: #fff;
  background: linear-gradient(135deg, var(--nest-forest-2), var(--nest-forest));
  margin-bottom: 1.3rem;
  box-shadow: 0 12px 24px -12px rgba(31,61,54,.8);
}
.feature-tile h3, .feature-tile h4 { font-size: 1.3rem; margin-bottom: .6rem; }
.feature-tile p { color: var(--nest-muted); margin-bottom: 0; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border-radius: var(--nest-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px -14px rgba(20,48,41,.3);
  border: 1px solid rgba(31,61,54,.07);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--nest-shadow); }
.service-card .media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.service-card:hover .media img { transform: scale(1.08); }
.service-card .media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,48,41,.45));
}
.service-card .badge-ico {
  position: absolute;
  left: 1.5rem; bottom: -28px;
  width: 58px; height: 58px;
  border-radius: 18px;
  background: var(--nest-clay);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.5rem;
  z-index: 2;
  border: 4px solid #fff;
  transition: background .3s ease, transform .4s ease;
}
.service-card:hover .badge-ico { background: var(--nest-forest); transform: rotate(-8deg); }
.service-card .media-wrap { position: relative; }
.service-card .body { padding: 2.4rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.service-card p { color: var(--nest-muted); font-size: .98rem; flex: 1; }
.service-card .btn { align-self: flex-start; padding: .6rem 1.35rem; font-size: .95rem; }

/* Filter chips on services page */
.chip-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.chip-nav a {
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(31,61,54,.14);
  color: var(--nest-forest);
  font-size: .92rem;
  font-weight: 500;
  transition: all .25s ease;
}
.chip-nav a:hover { background: var(--nest-forest); color: #fff; border-color: var(--nest-forest); }

/* ---------- About split ---------- */
.img-stack { position: relative; padding: 0 0 60px 0; }
.img-stack .main {
  border-radius: var(--nest-radius);
  overflow: hidden;
  box-shadow: var(--nest-shadow);
}
.img-stack .main img { width: 100%; aspect-ratio: 4/3.3; object-fit: cover; }
.img-stack .inset {
  position: absolute;
  right: -20px; bottom: 0;
  width: 48%;
  border-radius: var(--nest-radius);
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: var(--nest-shadow);
}
.img-stack .inset img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.img-stack .stamp {
  position: absolute;
  left: -26px; top: -26px;
  width: 128px; height: 128px;
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.check-list li { display: flex; gap: .8rem; margin-bottom: .85rem; align-items: flex-start; }
.check-list i {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--nest-sand); color: var(--nest-clay);
  display: grid; place-items: center; font-size: .9rem; margin-top: .15rem;
}

/* ---------- Process (icons only, no numbers) ---------- */
.process-wrap { position: relative; }
.process-step { text-align: center; padding: 0 1rem; position: relative; }
.process-step .ring {
  width: 104px; height: 104px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  color: var(--nest-forest);
  font-size: 2.2rem;
  box-shadow: var(--nest-shadow-sm);
  position: relative;
  transition: all .35s ease;
}
.process-step .ring::before {
  content: "";
  position: absolute; inset: -9px;
  border-radius: 50%;
  border: 2px dashed rgba(200,116,75,.5);
  animation: spin 30s linear infinite;
}
.process-step:hover .ring { background: var(--nest-clay); color: #fff; }
.process-step h4 { font-size: 1.25rem; }
.process-step p { color: var(--nest-muted); font-size: .97rem; }
@media (min-width: 992px) {
  .process-line::before {
    content: "";
    position: absolute;
    top: 52px; left: 12%; right: 12%;
    border-top: 2px dashed rgba(31,61,54,.2);
  }
}

/* ---------- Dark band / CTA ---------- */
.band-dark {
  background: var(--nest-forest);
  color: rgba(255,255,255,.82);
  position: relative;
  overflow: hidden;
}
.band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.cta-card {
  border-radius: 32px;
  padding: 4rem 3rem;
  background:
    linear-gradient(120deg, rgba(20,48,41,.94), rgba(43,82,71,.86)),
    url("../img/hero.jpg") center/cover no-repeat;
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.cta-card h2 { color: #fff; }
.cta-card::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 40px solid rgba(224,177,82,.18);
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--nest-radius);
  padding: 2.2rem;
  height: 100%;
  transition: background .3s ease, transform .3s ease;
}
.quote-card:hover { background: rgba(255,255,255,.1); transform: translateY(-6px); }
.quote-card .stars { color: var(--nest-gold); letter-spacing: .15em; margin-bottom: 1rem; }
.quote-card blockquote { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: #fff; line-height: 1.6; }
.quote-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--nest-gold); color: var(--nest-forest-3);
  font-weight: 700; font-family: var(--font-display);
}
.quote-card .who strong { color: #fff; display: block; line-height: 1.2; }
.quote-card .who small { color: rgba(255,255,255,.6); }

/* ---------- Page header ---------- */
.page-hero {
  position: relative;
  padding: 120px 0 110px;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(20,48,41,.93) 25%, rgba(20,48,41,.55));
  z-index: -1;
}
.page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: #fff;
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero.to-cream::after { background: var(--nest-cream); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; font-size: 1.1rem; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .92rem; margin-bottom: 1rem; flex-wrap: wrap; }
.crumbs a { color: var(--nest-gold); }
.crumbs span { color: rgba(255,255,255,.7); }

/* ---------- Blog ---------- */
.post-card {
  border-radius: var(--nest-radius);
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 24px -14px rgba(20,48,41,.3);
  transition: transform .4s ease, box-shadow .4s ease;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--nest-shadow); }
.post-card .thumb { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.post-card:hover .thumb img { transform: scale(1.07); }
.post-card .tag {
  position: absolute; left: 1rem; top: 1rem;
  background: #fff; color: var(--nest-forest);
  padding: .3rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.post-card .body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.3rem; line-height: 1.35; }
.post-card h3 a { color: var(--nest-forest-3); }
.post-card h3 a:hover { color: var(--nest-clay); }
.post-card p { color: var(--nest-muted); flex: 1; font-size: .98rem; }
.read-more { font-weight: 600; color: var(--nest-clay); display: inline-flex; align-items: center; gap: .4rem; }
.read-more:hover { gap: .75rem; color: var(--nest-forest); }
.post-feature { border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--nest-shadow); }
.post-feature .thumb { height: 100%; min-height: 320px; }
.post-feature .thumb img { width: 100%; height: 100%; object-fit: cover; }

.article-hero-img { border-radius: 28px; overflow: hidden; box-shadow: var(--nest-shadow); margin-top: -70px; position: relative; z-index: 2; border: 8px solid #fff; }
.article-hero-img img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; color: rgba(255,255,255,.8); font-size: .95rem; }
.article-meta i { color: var(--nest-gold); margin-right: .35rem; }
.article-body { font-size: 1.1rem; }
.article-body h2 { font-size: 1.8rem; margin: 2.4rem 0 1rem; }
.article-body h3 { font-size: 1.35rem; margin: 1.8rem 0 .7rem; }
.article-body p { color: #3a4441; }
.article-body ul { padding-left: 0; list-style: none; }
.article-body ul li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; color: #3a4441; }
.article-body ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; color: var(--nest-clay); }
.pull-quote {
  border-left: 4px solid var(--nest-clay);
  background: var(--nest-cream);
  padding: 1.6rem 1.8rem;
  border-radius: 0 18px 18px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--nest-forest);
  margin: 2rem 0;
}
.tip-box {
  background: var(--nest-forest);
  color: rgba(255,255,255,.85);
  border-radius: 20px;
  padding: 1.6rem 1.8rem;
  margin: 2rem 0;
  display: flex; gap: 1rem;
}
.tip-box i { font-size: 1.8rem; color: var(--nest-gold); }
.tip-box strong { color: #fff; }
.sidebar-card { background: var(--nest-cream); border-radius: 22px; padding: 1.8rem; margin-bottom: 1.6rem; }
.sidebar-card h5 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.mini-post { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.mini-post img { width: 76px; height: 64px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.mini-post a { color: var(--nest-forest-3); font-weight: 500; line-height: 1.35; font-size: .95rem; }
.mini-post a:hover { color: var(--nest-clay); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li a { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px dashed rgba(31,61,54,.15); color: var(--nest-ink); font-size: .96rem; }
.side-links li:last-child a { border-bottom: 0; }
.side-links li a:hover { color: var(--nest-clay); padding-left: .3rem; }
.share-row a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--nest-sand); color: var(--nest-forest);
  margin-right: .4rem; transition: all .25s ease;
}
.share-row a:hover { background: var(--nest-clay); color: #fff; }
.post-nav a { display: block; padding: 1.3rem 1.5rem; border-radius: 18px; background: var(--nest-cream); color: var(--nest-forest-3); height: 100%; transition: all .25s ease; }
.post-nav a:hover { background: var(--nest-forest); color: #fff; }
.post-nav small { display: block; color: var(--nest-clay); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; margin-bottom: .3rem; }
.post-nav a:hover small { color: var(--nest-gold); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: 28px;
  padding: 2.8rem;
  box-shadow: var(--nest-shadow);
  position: relative;
}
.form-label { font-weight: 500; color: var(--nest-forest-3); font-size: .95rem; }
.form-control, .form-select {
  border-radius: 14px;
  border: 1.5px solid rgba(31,61,54,.15);
  padding: .8rem 1.05rem;
  background-color: #fcfaf6;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--nest-clay);
  box-shadow: 0 0 0 .25rem rgba(200,116,75,.15);
  background-color: #fff;
}
.form-check-input:checked { background-color: var(--nest-clay); border-color: var(--nest-clay); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(200,116,75,.15); border-color: var(--nest-clay); }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success .ok {
  width: 84px; height: 84px; border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  background: var(--nest-sand); color: var(--nest-clay);
  font-size: 2.4rem;
  animation: pop .5s cubic-bezier(.2,1.4,.4,1);
}
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.form-card.done form { display: none; }
.form-card.done .form-success { display: block; }

/* Contact info */
.contact-tile {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--nest-shadow-sm);
  transition: transform .3s ease;
}
.contact-tile:hover { transform: translateX(6px); }
.contact-tile .ico {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--nest-forest); color: #fff; font-size: 1.35rem;
}
.contact-tile h5 { font-size: 1.1rem; margin-bottom: .2rem; }
.contact-tile p, .contact-tile a { margin: 0; color: var(--nest-muted); }
.contact-tile a:hover { color: var(--nest-clay); }
.map-frame { border-radius: 28px; overflow: hidden; box-shadow: var(--nest-shadow); line-height: 0; border: 8px solid #fff; }
.map-frame iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.25) contrast(1.05); }

/* Newsletter pages */
.news-shell { background: var(--nest-cream); position: relative; overflow: hidden; }
.news-shell .blob {
  position: absolute; border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.news-shell .blob.b1 { width: 380px; height: 380px; background: rgba(224,177,82,.28); top: -120px; right: -100px; }
.news-shell .blob.b2 { width: 300px; height: 300px; background: rgba(43,82,71,.16); bottom: -120px; left: -80px; }
.perk { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.perk .ico { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--nest-clay); font-size: 1.3rem; box-shadow: var(--nest-shadow-sm); }
.perk h5 { font-size: 1.1rem; margin-bottom: .2rem; }
.perk p { color: var(--nest-muted); margin: 0; font-size: .97rem; }
.interest-grid .form-check {
  padding: 0; margin: 0;
}
.interest-grid input { display: none; }
.interest-grid label {
  display: flex; align-items: center; gap: .5rem;
  border: 1.5px solid rgba(31,61,54,.15);
  border-radius: 14px;
  padding: .6rem .8rem;
  cursor: pointer;
  font-size: .9rem;
  transition: all .2s ease;
  background: #fcfaf6;
  height: 100%;
}
.interest-grid label i { color: var(--nest-clay); }
.interest-grid input:checked + label { background: var(--nest-forest); color: #fff; border-color: var(--nest-forest); }
.interest-grid input:checked + label i { color: var(--nest-gold); }

/* Inline newsletter strip */
.news-strip {
  background: var(--nest-clay);
  border-radius: 28px;
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.news-strip h3 { color: #fff; }
.news-strip::before {
  content: "";
  position: absolute; left: -60px; bottom: -90px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.news-strip .input-group { background: #fff; border-radius: 999px; padding: .35rem; }
.news-strip .form-control { border: 0; background: transparent; box-shadow: none; }
.news-strip .btn { border-radius: 999px !important; }

/* ---------- Legal ---------- */
.legal-toc { position: sticky; top: 110px; }
.legal-toc a { display: block; padding: .5rem .9rem; border-left: 2px solid rgba(31,61,54,.12); color: var(--nest-muted); font-size: .95rem; }
.legal-toc a:hover { color: var(--nest-clay); border-left-color: var(--nest-clay); background: var(--nest-cream); }
.legal-body h2 { font-size: 1.55rem; margin: 2.4rem 0 .9rem; scroll-margin-top: 110px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #3a4441; }
.legal-body ul { list-style: none; padding-left: 0; }
.legal-body ul li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.legal-body ul li::before { content: ""; position: absolute; left: .2rem; top: .7rem; width: 8px; height: 8px; border-radius: 50%; background: var(--nest-clay); }

/* ---------- Values (about) ---------- */
.value-card {
  border-radius: var(--nest-radius);
  padding: 2rem;
  height: 100%;
  background: #fff;
  border-top: 4px solid var(--nest-clay);
  box-shadow: var(--nest-shadow-sm);
  transition: transform .3s ease;
}
.value-card:hover { transform: translateY(-6px); }
.value-card i { font-size: 2rem; color: var(--nest-forest); }
.value-card h4 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
.value-card p { color: var(--nest-muted); margin: 0; }
.mv-card { border-radius: 28px; padding: 2.6rem; height: 100%; position: relative; overflow: hidden; }
.mv-card.dark { background: var(--nest-forest); color: rgba(255,255,255,.85); }
.mv-card.dark h3 { color: #fff; }
.mv-card.light { background: var(--nest-sand); }
.mv-card .big-ico { position: absolute; right: -10px; bottom: -30px; font-size: 9rem; opacity: .08; }

/* ---------- Footer ---------- */
.footer {
  background: var(--nest-forest-3);
  color: rgba(255,255,255,.7);
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,.03);
}
.footer .brand-text { color: #fff; }
.footer h5 { color: #fff; font-size: 1.15rem; margin-bottom: 1.3rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: .45rem; }
.footer-links a:hover { color: var(--nest-gold); transform: translateX(3px); }
.footer-links a i { font-size: .75rem; color: var(--nest-clay); }
.footer .socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  margin-right: .45rem; transition: all .25s ease;
}
.footer .socials a:hover { background: var(--nest-clay); transform: translateY(-3px); }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--nest-gold); }
.footer-contact li { display: flex; gap: .7rem; align-items: center; margin-bottom: .9rem; }
.footer-contact i { color: var(--nest-gold); font-size: 1.1rem; }
.footer-news .form-control { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.footer-news .form-control::placeholder { color: rgba(255,255,255,.5); }
.footer-news .form-control:focus { background: rgba(255,255,255,.12); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 1.5rem 0; font-size: .92rem; }
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: var(--nest-gold); }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--nest-clay); color: #fff;
  display: grid; place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 12px 26px -10px rgba(200,116,75,.8);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .3s ease;
  z-index: 1040;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--nest-forest); color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; }
}

/* 404 */
.big-oops { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem); color: var(--nest-forest); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 75px 0; }
  .hero { padding: 60px 0 90px; }
  .hero-chip.c1 { left: 0; }
  .hero-chip.c2 { right: 0; }
  .navbar-nest .navbar-collapse { background: #fff; border-radius: 18px; padding: 1rem; margin-top: .8rem; box-shadow: var(--nest-shadow-sm); }
  .navbar-nest .nav-link::after { display: none; }
  .img-stack .inset { right: 0; }
  .img-stack .stamp { left: 0; top: -20px; width: 104px; height: 104px; }
  .legal-toc { position: static; }
}
@media (max-width: 575.98px) {
  .form-card { padding: 1.8rem; }
  .cta-card { padding: 2.8rem 1.6rem; }
  .news-strip { padding: 2rem 1.5rem; }
  .hero-chip { font-size: .85rem; padding: .6rem .8rem; }
  .hero-chip .ico { width: 36px; height: 36px; }
}

/* Prevent large-gutter rows overflowing the viewport on phones */
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}
