/* ============================================================
   Nest Upgrades — Custom Stylesheet
   Palette: deep forest green, warm terracotta, soft cream
   ============================================================ */

:root {
  --nu-green: #1e3a30;
  --nu-green-2: #2c5547;
  --nu-green-3: #3a6b59;
  --nu-terra: #c2683c;
  --nu-terra-dark: #a6542d;
  --nu-cream: #faf6ef;
  --nu-sand: #f2e9db;
  --nu-sand-2: #ead9c2;
  --nu-ink: #242b26;
  --nu-muted: #64706a;
  --nu-line: #e4dccd;
  --nu-white: #ffffff;
  --nu-shadow: 0 18px 45px rgba(30, 58, 48, 0.10);
  --nu-shadow-sm: 0 10px 28px rgba(30, 58, 48, 0.08);
  --nu-radius: 0.9rem;
  --nu-radius-lg: 1.4rem;
  --nu-font-head: Georgia, "Times New Roman", "Book Antiqua", serif;
  --nu-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--nu-font-body);
  color: var(--nu-ink);
  background-color: var(--nu-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--nu-terra); color: #fff; }

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--nu-font-head);
  color: var(--nu-green);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: var(--nu-terra-dark); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--nu-green-2); }

img { max-width: 100%; }

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.bg-sand { background-color: var(--nu-sand); }
.bg-green { background-color: var(--nu-green); }
.bg-cream { background-color: var(--nu-cream); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--nu-terra-dark);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--nu-terra);
  display: inline-block;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--nu-terra);
  display: inline-block;
}

.lead-nu { color: var(--nu-muted); font-size: 1.08rem; }

.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-padding-x: 1.6rem;
  --bs-btn-padding-y: .72rem;
  border-radius: 50rem;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--nu-terra);
  --bs-btn-border-color: var(--nu-terra);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--nu-terra-dark);
  --bs-btn-hover-border-color: var(--nu-terra-dark);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(194, 104, 60, .35); }
.btn-outline-green {
  --bs-btn-color: var(--nu-green);
  --bs-btn-border-color: var(--nu-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--nu-green);
  --bs-btn-hover-border-color: var(--nu-green);
}
.btn-outline-light-nu {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255,255,255,.65);
  --bs-btn-hover-color: var(--nu-green);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}
.btn .arrow { display: inline-block; transition: transform .25s ease; margin-left: .35rem; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--nu-green);
  color: rgba(255, 255, 255, .82);
  font-size: .85rem;
  padding: .55rem 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .tb-item svg { width: 15px; height: 15px; stroke: var(--nu-terra); }
.topbar .tb-sep { opacity: .35; margin: 0 .9rem; }
.topbar .tb-subscribe { font-weight: 700; color: #fff; }
.topbar .tb-subscribe:hover { color: var(--nu-terra); }

/* ---------- Navbar / one-line logo ---------- */
.navbar-nu {
  padding: 1rem 0;
  transition: all .35s ease;
  background: var(--nu-green);
}
.navbar-nu.scrolled {
  background: rgba(255, 255, 255, .97);
  padding: .6rem 0;
  box-shadow: 0 8px 30px rgba(30, 58, 48, .10);
}
.navbar-nu .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  white-space: nowrap;
  margin: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nu-green-2), var(--nu-green));
  padding: 9px;
  box-shadow: 0 6px 16px rgba(30, 58, 48, .28);
}
.logo-text {
  font-family: var(--nu-font-head);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  transition: color .35s ease;
}
.logo-text em { font-style: normal; color: var(--nu-terra); }
.navbar-nu.scrolled .logo-text { color: var(--nu-green); }
.navbar-nu.scrolled .logo-text em { color: var(--nu-terra-dark); }

.navbar-nu .nav-link {
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem .95rem !important;
  position: relative;
}
.navbar-nu .nav-link::after {
  content: "";
  position: absolute;
  left: .95rem;
  right: .95rem;
  bottom: .25rem;
  height: 2px;
  background: var(--nu-terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navbar-nu .nav-link:hover::after,
.navbar-nu .nav-link.active::after { transform: scaleX(1); }
.navbar-nu .nav-link:hover { color: #fff; }
.navbar-nu .nav-link.active { color: #fff; }
.navbar-nu.scrolled .nav-link { color: var(--nu-ink); }
.navbar-nu.scrolled .nav-link:hover { color: var(--nu-green); }
.navbar-nu.scrolled .nav-link.active { color: var(--nu-terra-dark); }

.navbar-nu .navbar-toggler { border: none; padding: .4rem .55rem; }
.navbar-nu .navbar-toggler:focus { box-shadow: none; }
.navbar-nu .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M4 7h16M4 12h16M4 17h16'/%3e%3c/svg%3e");
}
.navbar-nu.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%231e3a30' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M4 7h16M4 12h16M4 17h16'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
  .navbar-nu, .navbar-nu.scrolled { background: var(--nu-green); padding: .8rem 0; }
  .logo-text { color: #fff !important; }
  .logo-text em { color: var(--nu-terra) !important; }
  .navbar-nu .nav-link { color: rgba(255,255,255,.92) !important; }
  .navbar-nu .nav-link.active { color: var(--nu-terra) !important; }
  .navbar-collapse { padding: 1rem 0 .5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 40, 33, .92) 0%, rgba(20, 40, 33, .72) 45%, rgba(20, 40, 33, .35) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: 50rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nu-terra); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  line-height: 1.12;
  margin-bottom: 1.3rem;
  max-width: 760px;
}
.hero h1 .accent { color: var(--nu-terra); font-style: italic; }
.hero p.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 1.13rem;
  max-width: 600px;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 70px; }

/* Inner page hero */
.page-hero {
  position: relative;
  padding: 5rem 0 4.2rem;
  color: #fff;
  overflow: hidden;
}
.page-hero .hero-bg { animation: none; }
.page-hero .hero-overlay { background: linear-gradient(105deg, rgba(20,40,33,.9), rgba(20,40,33,.62)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; }
.breadcrumb-nu {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.breadcrumb-nu a { color: rgba(255,255,255,.75); }
.breadcrumb-nu a:hover { color: #fff; }
.breadcrumb-nu .sep { opacity: .5; }
.breadcrumb-nu .current { color: var(--nu-terra); }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--nu-line);
  border-radius: var(--nu-radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--nu-shadow);
  border-color: transparent;
}
.service-card .card-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}
.service-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .card-img-wrap img { transform: scale(1.07); }
.service-card .card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,58,48,.35), transparent 55%);
  opacity: .6;
  transition: opacity .35s ease;
}
.service-card:hover .card-img-wrap::after { opacity: 1; }
.service-card .card-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.service-card .card-icon svg { width: 22px; height: 22px; stroke: var(--nu-terra-dark); }
.service-card .card-body { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.28rem; margin-bottom: .65rem; }
.service-card p { color: var(--nu-muted); font-size: .95rem; margin-bottom: 1.35rem; flex: 1; }
.service-card .btn { align-self: flex-start; }

/* ---------- Feature / value cards ---------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--nu-line);
  border-radius: var(--nu-radius);
  padding: 2rem 1.7rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--nu-shadow-sm); }
.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--nu-sand), var(--nu-sand-2));
  margin-bottom: 1.2rem;
}
.feature-icon svg { width: 27px; height: 27px; stroke: var(--nu-green-2); }
.feature-card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.feature-card p { color: var(--nu-muted); font-size: .94rem; margin: 0; }

/* ---------- Process ---------- */
.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--nu-line);
  border-radius: var(--nu-radius);
  padding: 2.1rem 1.6rem;
  height: 100%;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--nu-shadow-sm); }
.process-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--nu-green);
  position: relative;
}
.process-icon svg { width: 30px; height: 30px; stroke: #fff; }
.process-step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.process-step p { color: var(--nu-muted); font-size: .93rem; margin: 0; }

/* ---------- Split content with image ---------- */
.img-frame {
  position: relative;
  border-radius: var(--nu-radius-lg);
  overflow: hidden;
  box-shadow: var(--nu-shadow);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-frame.tall { min-height: 480px; }
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: .9rem;
  color: var(--nu-ink);
  font-weight: 500;
}
.check-list li svg {
  position: absolute;
  left: 0;
  top: .15rem;
  width: 20px;
  height: 20px;
  stroke: var(--nu-terra-dark);
  flex: none;
}
.accent-card {
  background: var(--nu-green);
  color: #fff;
  border-radius: var(--nu-radius-lg);
  padding: 2.4rem;
  height: 100%;
}
.accent-card h3 { color: #fff; }
.accent-card p { color: rgba(255,255,255,.8); }
.accent-card .check-list li { color: rgba(255,255,255,.92); }
.accent-card .check-list li svg { stroke: var(--nu-terra); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--nu-radius-lg);
  overflow: hidden;
  padding: 4.2rem 2.5rem;
  text-align: center;
  color: #fff;
}
.cta-band .cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-band .cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20,40,33,.93), rgba(30,58,48,.78));
}
.cta-band .container-narrow { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.85); }

/* ---------- Blog ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--nu-line);
  border-radius: var(--nu-radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--nu-shadow); }
.blog-card .card-img-wrap { position: relative; height: 220px; overflow: hidden; }
.blog-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .card-img-wrap img { transform: scale(1.07); }
.blog-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--nu-terra);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .38rem .85rem;
  border-radius: 50rem;
  z-index: 2;
}
.blog-card .card-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .82rem;
  color: var(--nu-muted);
  margin-bottom: .7rem;
}
.blog-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.blog-meta svg { width: 14px; height: 14px; stroke: var(--nu-terra-dark); }
.blog-card h3 { font-size: 1.22rem; line-height: 1.35; margin-bottom: .65rem; }
.blog-card h3 a { color: var(--nu-green); }
.blog-card h3 a:hover { color: var(--nu-terra-dark); }
.blog-card p { color: var(--nu-muted); font-size: .94rem; flex: 1; }
.read-more {
  font-weight: 700;
  font-size: .92rem;
  color: var(--nu-terra-dark);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .6rem;
}
.read-more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.read-more:hover svg { transform: translateX(4px); }

/* Blog post */
.post-header .blog-cat { position: static; display: inline-block; margin-bottom: 1rem; }
.post-hero-img { border-radius: var(--nu-radius-lg); overflow: hidden; box-shadow: var(--nu-shadow); margin-bottom: 2.5rem; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 480px; }
.post-content { font-size: 1.05rem; color: #3a423d; }
.post-content h2 { font-size: 1.6rem; margin: 2.2rem 0 .9rem; }
.post-content h3 { font-size: 1.25rem; margin: 1.8rem 0 .7rem; }
.post-content p { margin-bottom: 1.2rem; }
.post-content ul { margin-bottom: 1.3rem; padding-left: 1.2rem; }
.post-content ul li { margin-bottom: .55rem; }
.post-content blockquote {
  border-left: 4px solid var(--nu-terra);
  background: var(--nu-sand);
  padding: 1.2rem 1.6rem;
  border-radius: 0 .8rem .8rem 0;
  font-family: var(--nu-font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--nu-green);
  margin: 1.8rem 0;
}
.post-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.post-tags a {
  background: var(--nu-sand);
  color: var(--nu-green);
  font-size: .84rem;
  font-weight: 600;
  padding: .42rem 1rem;
  border-radius: 50rem;
}
.post-tags a:hover { background: var(--nu-green); color: #fff; }
.post-nav { border-top: 1px solid var(--nu-line); border-bottom: 1px solid var(--nu-line); padding: 1.5rem 0; margin: 2.5rem 0; }
.post-nav a { display: flex; flex-direction: column; font-weight: 700; color: var(--nu-green); }
.post-nav a:hover { color: var(--nu-terra-dark); }
.post-nav .dir { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--nu-muted); font-weight: 600; }

/* ---------- Newsletter band ---------- */
.newsletter-band {
  background: linear-gradient(120deg, var(--nu-green-2), var(--nu-green));
  border-radius: var(--nu-radius-lg);
  padding: 3.2rem 2.6rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-band::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.newsletter-band h2 { color: #fff; }
.newsletter-band p { color: rgba(255,255,255,.82); margin-bottom: 0; }
.newsletter-band .btn { width: 100%; }
.newsletter-band a.link-light { font-weight: 600; text-decoration: underline; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--nu-line);
  border-radius: var(--nu-radius-lg);
  padding: 2.4rem;
  box-shadow: var(--nu-shadow-sm);
}
.form-label { font-weight: 600; font-size: .92rem; color: var(--nu-green); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1.5px solid var(--nu-line);
  border-radius: .7rem;
  padding: .75rem 1rem;
  font-size: .97rem;
  background-color: var(--nu-cream);
  color: var(--nu-ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--nu-terra);
  box-shadow: 0 0 0 .22rem rgba(194,104,60,.18);
  background-color: #fff;
}
.form-control::placeholder { color: #9aa59d; }
textarea.form-control { min-height: 140px; }
.form-note { font-size: .85rem; color: var(--nu-muted); }
.form-success {
  display: none;
  text-align: center;
  padding: 2.6rem 1.5rem;
}
.form-success.show { display: block; animation: fadeUp .5s ease; }
.form-success .success-circle {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: #e8f3ec;
  display: grid;
  place-items: center;
}
.form-success .success-circle svg { width: 38px; height: 38px; stroke: var(--nu-green-2); }
.form-success h3 { margin-bottom: .6rem; }
.form-success p { color: var(--nu-muted); margin-bottom: 1.2rem; }

/* ---------- Contact info ---------- */
.contact-info-card {
  display: flex;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--nu-line);
  border-radius: var(--nu-radius);
  padding: 1.5rem;
  height: 100%;
  align-items: flex-start;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--nu-shadow-sm); }
.contact-info-card .ci-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--nu-green);
  display: grid;
  place-items: center;
}
.contact-info-card .ci-icon svg { width: 23px; height: 23px; stroke: #fff; }
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.contact-info-card p { margin: 0; color: var(--nu-muted); font-size: .94rem; word-break: break-word; }
.contact-info-card a { color: var(--nu-terra-dark); font-weight: 600; }

.map-frame {
  position: relative;
  border-radius: var(--nu-radius-lg);
  overflow: hidden;
  border: 1px solid var(--nu-line);
  box-shadow: var(--nu-shadow-sm);
  min-height: 380px;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; position: relative; z-index: 2; background: var(--nu-sand); }
.map-frame.map-failed iframe { display: none; }
.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--nu-sand);
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}
.map-fallback .ci-icon { margin-bottom: .6rem; }
.map-fallback h3 { margin-bottom: .25rem; }
.map-fallback p { margin-bottom: .9rem; color: var(--nu-muted); }

/* ---------- Legal pages ---------- */
.legal-doc { background: #fff; border: 1px solid var(--nu-line); border-radius: var(--nu-radius-lg); padding: 2.8rem; }
.legal-doc h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: #46504a; font-size: .98rem; }
.legal-doc ul { padding-left: 1.2rem; }
.legal-doc .updated { color: var(--nu-muted); font-size: .88rem; font-style: italic; }

/* ---------- Footer ---------- */
.footer {
  background: var(--nu-green);
  color: rgba(255,255,255,.78);
  padding-top: 4.5rem;
  font-size: .94rem;
}
.footer .logo-text { color: #fff; }
.footer .logo-text em { color: var(--nu-terra); }
.footer h4 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 1.3rem;
  font-family: var(--nu-font-head);
}
.footer p { color: rgba(255,255,255,.72); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: .45rem; }
.footer-links a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--nu-terra);
  opacity: .75;
  transition: transform .25s ease;
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { transform: translateX(3px); }
.footer-contact { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--nu-terra); flex: 0 0 auto; margin-top: .25rem; }
.footer-contact a { color: rgba(255,255,255,.82); word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 3.5rem;
  padding: 1.4rem 0;
  font-size: .87rem;
}
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: #fff; }
.social-row { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  transition: background .25s ease, transform .25s ease;
}
.social-row a:hover { background: var(--nu-terra); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; stroke: #fff; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--nu-terra);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(194,104,60,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 1030;
  border: none;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--nu-terra-dark); }
.back-top svg { width: 22px; height: 22px; stroke: #fff; }

/* ---------- Misc ---------- */
.icon-inline { width: 18px; height: 18px; stroke: currentColor; vertical-align: -3px; }
.soft-note { background: var(--nu-sand); border-radius: var(--nu-radius); padding: 1.4rem 1.6rem; color: var(--nu-green); }
.pill-toggle { display: inline-flex; gap: .5rem; flex-wrap: wrap; }
.pill-toggle .form-check-input { accent-color: var(--nu-terra); }
.pill-toggle .form-check-label { font-weight: 600; font-size: .92rem; }

@media (max-width: 767.98px) {
  .section { padding: 3.8rem 0; }
  .hero { min-height: auto; }
  .cta-band, .newsletter-band { padding: 2.6rem 1.4rem; }
  .legal-doc, .form-card { padding: 1.7rem; }
  .topbar .tb-hide { display: none; }
  .img-frame.tall { min-height: 320px; }
  .map-frame, .map-frame iframe { min-height: 320px; height: 320px; }
}
