/* ============================================================
   Modern Nest Shape — custom stylesheet
   Palette: deep slate, terracotta, warm cream
   ============================================================ */

:root {
  --ink: #24323c;
  --ink-2: #31424e;
  --brand: #c25e2e;
  --brand-dark: #a34c22;
  --brand-soft: #f3e2d5;
  --gold: #e0a255;
  --cream: #f6efe6;
  --paper: #fcfaf6;
  --line: #ece2d5;
  --muted: #71808a;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(36, 50, 60, .07);
  --shadow-md: 0 14px 40px rgba(36, 50, 60, .10);
  --shadow-lg: 0 24px 60px rgba(36, 50, 60, .14);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}

a { text-decoration: none; transition: color .2s ease; }

img { max-width: 100%; }

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

/* ---------- Buttons ---------- */
.btn { font-weight: 600; }

.btn-brand {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  box-shadow: 0 8px 20px rgba(194, 94, 46, .28);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(194, 94, 46, .34);
}

.btn-outline-brand {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
}
.btn-outline-brand:hover, .btn-outline-brand:focus {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light-cream {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-light-cream:hover { background: var(--cream); color: var(--ink); }

/* ---------- Navbar ---------- */
#mainNav {
  background: rgba(252, 250, 246, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .9rem 0;
  transition: box-shadow .25s ease, padding .25s ease;
  border-bottom: 1px solid rgba(236, 226, 213, .6);
}
#mainNav.scrolled {
  box-shadow: var(--shadow-sm);
  padding: .55rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  color: #fff;
  font-size: 1.15rem;
  margin-right: .55rem;
  box-shadow: 0 6px 14px rgba(194, 94, 46, .32);
}

.navbar-brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink) !important;
  display: inline-flex;
  align-items: center;
}

#mainNav .nav-link {
  color: var(--ink-2);
  font-weight: 500;
  padding: .5rem .9rem !important;
  border-radius: 999px;
}
#mainNav .nav-link:hover { color: var(--brand); }
#mainNav .nav-link.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 9.5rem 0 6rem;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(224, 162, 85, .20), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(194, 94, 46, .12), transparent 60%),
    var(--cream);
}
.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 1.15rem;
}
.text-accent { color: var(--brand); font-style: italic; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: .9rem;
}
.eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-trust i { color: var(--brand); font-size: 1.05rem; }

.hero-media { position: relative; }
.hero-img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border: 6px solid #fff;
}
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border-radius: 16px;
  padding: .8rem 1rem;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.hero-badge i {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.2rem;
}
.hero-badge strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.2; }
.hero-badge small { color: var(--muted); font-size: .78rem; }
.hero-badge-1 { top: 6%; left: -6%; }
.hero-badge-2 { bottom: 8%; right: -4%; animation-delay: 2.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */
.section { padding: 5.25rem 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; }
.section-title em { color: var(--brand); font-style: italic; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: .75rem; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.service-img {
  display: block;
  overflow: hidden;
  height: 215px;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-img img { transform: scale(1.08); }

.service-body { padding: 1.6rem 1.6rem 1.7rem; position: relative; }
.service-icon {
  position: absolute;
  top: -26px;
  right: 22px;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
}
.service-title { font-size: 1.28rem; font-weight: 700; margin-bottom: .6rem; }
.service-title a { color: var(--ink); }
.service-title a:hover { color: var(--brand); }
.service-desc { color: var(--muted); font-size: .96rem; }
.service-btn { margin-top: .6rem; border-radius: 999px; }

/* ---------- Feature / steps ---------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 60px; height: 60px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: var(--brand-soft);
  color: var(--brand);
}
.feature-card h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

.step-card { position: relative; text-align: center; padding: 1.2rem .5rem; }
.step-num {
  width: 74px; height: 74px;
  margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px dashed var(--brand);
  color: var(--brand);
  font-size: 1.65rem;
}
.step-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step-card p { color: var(--muted); font-size: .94rem; margin: 0 auto; max-width: 17rem; }

/* ---------- Blog cards ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-img { display: block; height: 210px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-img img { transform: scale(1.07); }
.blog-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.blog-chip {
  display: inline-block;
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: .28rem .75rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}
.blog-title { font-size: 1.24rem; font-weight: 700; line-height: 1.3; margin-bottom: .6rem; }
.blog-title a { color: var(--ink); }
.blog-title a:hover { color: var(--brand); }
.blog-excerpt { color: var(--muted); font-size: .95rem; flex: 1; }
.blog-more { font-weight: 600; color: var(--brand); margin-top: .9rem; }
.blog-more i { transition: transform .2s ease; }
.blog-more:hover i { transform: translateX(4px); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  padding: 9rem 0 4.5rem;
  background:
    radial-gradient(800px 420px at 90% -10%, rgba(224, 162, 85, .22), transparent 60%),
    radial-gradient(600px 380px at 0% 30%, rgba(194, 94, 46, .14), transparent 60%),
    var(--cream);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 700; }
.page-hero .eyebrow { justify-content: center; }
.page-hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 40rem; margin: .9rem auto 0; }
.breadcrumb-hero { justify-content: center; font-size: .9rem; color: var(--muted); margin-top: 1.1rem; }
.breadcrumb-hero a { color: var(--brand); font-weight: 600; }

/* ---------- About ---------- */
.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4.2;
  object-fit: cover;
  border: 6px solid #fff;
}
.about-quote {
  position: absolute;
  bottom: -1.5rem;
  right: 6%;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  max-width: 21rem;
  box-shadow: var(--shadow-md);
}
.about-quote i { color: var(--gold); font-size: 1.3rem; }
.about-quote p { margin: .3rem 0 0; font-family: "Fraunces", serif; font-size: 1.02rem; font-style: italic; }

.value-row .feature-card { text-align: center; }
.value-row .feature-icon { background: var(--cream); }

/* ---------- Contact ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-info-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.contact-info-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.contact-info-card p, .contact-info-card a { color: var(--muted); font-size: .97rem; word-break: break-word; }
.contact-info-card a:hover { color: var(--brand); }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: .8rem 1rem;
  background: var(--paper);
  font-size: .97rem;
  color: var(--ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(194, 94, 46, .14);
  background: #fff;
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.form-success {
  background: #e9f6ec;
  border: 1px solid #b8e0c1;
  color: #25633a;
  border-radius: 12px;
  padding: .95rem 1.1rem;
  font-weight: 500;
}

/* ---------- Newsletter pages ---------- */
.newsletter-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}
.benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 600;
  font-size: .92rem;
  border-radius: 999px;
  padding: .55rem 1.05rem;
}
.benefit-pill i { color: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--ink), var(--ink-2));
  color: #fff;
  border-radius: 30px;
  padding: 3.5rem 2.5rem;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 94, 46, .55), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 34rem; }
.cta-band .btn-brand { background: var(--brand); }
.cta-band .btn-brand:hover { background: var(--brand-dark); }

/* ---------- Footer ---------- */
.hfp-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  margin-top: 0;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-brand:hover { color: #fff; }
.footer-blurb { font-size: .94rem; }
.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; columns: 1; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: .93rem; }
.footer-links a:hover { color: var(--gold); }
.footer-links.two-col { columns: 2; column-gap: 1.4rem; }

.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.05rem;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--brand); transform: translateY(-3px); }

.footer-news { display: flex; gap: .5rem; }
.footer-news .form-control {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  border-radius: 999px;
}
.footer-news .form-control::placeholder { color: rgba(255, 255, 255, .55); }
.footer-news .form-control:focus { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; border-color: var(--gold); }
.footer-news .btn { border-radius: 999px; padding-left: 1.1rem; padding-right: 1.1rem; }
.footer-mail { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold); font-weight: 600; margin-top: 1rem; font-size: .93rem; }
.footer-mail:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p { color: rgba(255, 255, 255, .55); font-size: .88rem; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.3rem; padding: 0; margin: 0; }
.footer-legal a { color: rgba(255, 255, 255, .65); font-size: .88rem; }
.footer-legal a:hover { color: var(--gold); }

/* ---------- Blog article ---------- */
.article-hero-img {
  width: 100%;
  border-radius: 26px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}
.article-body { max-width: 46rem; margin: 0 auto; }
.article-body h2 { font-size: 1.7rem; margin: 2.2rem 0 .8rem; }
.article-body p { color: #4c5a64; }
.article-body ul { padding-left: 1.2rem; color: #4c5a64; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 4px solid var(--brand);
  background: var(--cream);
  padding: 1.2rem 1.5rem;
  border-radius: 0 16px 16px 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--ink);
  margin: 1.8rem 0;
}
.article-meta { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.article-author { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink-2); }
.article-author i { color: var(--brand); font-size: 1.2rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.text-brand { color: var(--brand) !important; }
.bg-cream { background: var(--cream); }
.divider-star {
  display: inline-flex; align-items: center; gap: .8rem;
  color: var(--gold);
}
.divider-star::before, .divider-star::after {
  content: "";
  height: 1px; width: 60px; background: var(--line);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { padding-top: 7.5rem; }
  .page-hero { padding-top: 7.5rem; }
  .hero-badge-1 { left: 2%; }
  .hero-badge-2 { right: 2%; }
  .nav-cta { padding: .8rem 0 .4rem; }
}
@media (max-width: 575.98px) {
  .hero-badge { display: none; }
  .contact-form-card, .newsletter-card { padding: 1.6rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}
