/* ==========================================================================
   Comfort Living Nest — Global Stylesheet
   Home Renovation & Improvement Services
   ========================================================================== */

:root {
  --primary: #1e3a5f;
  --primary-dark: #15293f;
  --primary-light: #2a5485;
  --accent: #d9a441;
  --accent-dark: #b8862e;
  --accent-light: #e8c170;
  --dark: #0f1d2e;
  --text: #2d3436;
  --muted: #6b7280;
  --light: #f7f5f0;
  --lighter: #fdfcfa;
  --white: #ffffff;
  --border: #e6e2da;
  --success: #2f9e44;
  --shadow-sm: 0 2px 8px rgba(15, 29, 46, .06);
  --shadow: 0 10px 30px rgba(15, 29, 46, .09);
  --shadow-lg: 0 20px 50px rgba(15, 29, 46, .14);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --transition: .35s cubic-bezier(.22, .61, .36, 1);
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ---- Base ---- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--lighter);
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1rem; }

a { color: var(--accent-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

ul { padding-left: 1.1rem; }

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.bg-light { background: var(--light); }
.bg-primary { background: var(--primary); color: var(--white); }
.bg-dark { background: var(--dark); color: var(--white); }

/* ---- Layout helpers ---- */
.container-tight { max-width: 1140px; }

.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.text-white-70 { color: rgba(255,255,255,.78); }

/* ---- Eyebrow / section intro ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.section-title { margin-bottom: 1rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.section-lead.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn-reno {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .98rem;
  padding: .85rem 1.8rem;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-reno svg { width: 18px; height: 18px; }
.btn-gold {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 8px 22px rgba(217,164,65,.35);
}
.btn-gold:hover { background: var(--accent-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(184,134,46,.45); }
.btn-navy {
  background: var(--primary);
  color: #fff;
}
.btn-navy:hover { background: var(--primary-dark); color: #fff; transform: translateY(-3px); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-navy:hover { background: var(--primary); color: #fff; }

/* ---- Top bar ---- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  padding: .5rem 0;
}
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: var(--accent); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 15px; height: 15px; color: var(--accent); }

/* ---- Navbar ---- */
.navbar-reno {
  background: #fff;
  padding: .9rem 0;
  box-shadow: 0 2px 18px rgba(15,29,46,.07);
  transition: all var(--transition);
}
.navbar-reno.scrolled { padding: .55rem 0; box-shadow: 0 6px 24px rgba(15,29,46,.12); }
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.brand .brand-icon {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(30,58,95,.3);
}
.brand .brand-icon svg { width: 26px; height: 26px; color: var(--accent); }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: 1.32rem; color: var(--dark); line-height: 1; }
.brand-name span { color: var(--accent); }
.brand-tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav-reno { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-reno a {
  color: var(--text);
  font-weight: 500;
  font-size: .96rem;
  padding: .5rem .9rem;
  border-radius: 8px;
  position: relative;
}
.nav-reno a:hover, .nav-reno a.active { color: var(--primary); background: rgba(30,58,95,.06); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem;
}
.menu-toggle span {
  display: block; width: 26px; height: 3px; background: var(--dark);
  margin: 5px 0; border-radius: 3px; transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 50px;
  background:
    linear-gradient(115deg, rgba(15,29,46,.93) 0%, rgba(15,29,46,.72) 45%, rgba(15,29,46,.35) 100%),
    url('../img/banner.jpg') center/cover no-repeat;
}
.hero h1 { color: #fff; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 580px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.2rem; }
.hero-badge { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.9); font-size: .95rem; }
.hero-badge svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 22px; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 6.5rem 0 4.5rem;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(15,29,46,.9), rgba(30,58,95,.78)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }
.breadcrumb-reno {
  display: inline-flex; gap: .5rem; align-items: center;
  font-size: .9rem; color: rgba(255,255,255,.8); margin-top: 1rem;
}
.breadcrumb-reno a { color: var(--accent-light); }
.breadcrumb-reno span { color: rgba(255,255,255,.5); }

/* ---- Service cards ---- */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  height: 100%;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30,58,95,.1), rgba(217,164,65,.15));
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}
.service-icon svg { width: 30px; height: 30px; color: var(--primary); }
.service-card:hover .service-icon { background: var(--primary); }
.service-card:hover .service-icon svg { color: var(--accent); }
.service-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.service-link { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.service-link svg { width: 16px; height: 16px; transition: var(--transition); }
.service-link:hover svg { transform: translateX(4px); }

/* ---- Feature / image-content row ---- */
.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame.tall { min-height: 420px; }

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .55rem 0;
  font-size: 1rem;
}
.feature-list svg { width: 22px; height: 22px; color: var(--success); flex: 0 0 22px; margin-top: 2px; }

/* ---- Stats ---- */
.stats {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  position: relative;
}
.stat-num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { color: rgba(255,255,255,.8); font-size: .98rem; margin-top: .4rem; }

/* ---- CTA banner ---- */
.cta-banner {
  background:
    linear-gradient(115deg, rgba(217,164,65,.95), rgba(184,134,46,.92)),
    url('https://images.unsplash.com/photo-1481253127861-534498168948?auto=format&fit=crop&w=1600&q=80') center/cover;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: #fff;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 1.8rem; }

/* ---- Process steps ---- */
.step {
  text-align: center;
  position: relative;
  padding: 1rem;
}
.step-num {
  width: 70px; height: 70px; margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: #fff;
  border: 2px dashed var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 800; color: var(--primary);
  position: relative; z-index: 2;
}
.step h4 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---- Testimonials ---- */
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial .quote-mark { font-family: var(--serif); font-size: 3.5rem; line-height: 1; color: var(--accent); opacity: .4; }
.testimonial p { color: var(--text); font-style: italic; }
.testimonial .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: .8rem; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.testimonial-author .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center; font-weight: 700;
}
.testimonial-author h5 { margin: 0; font-size: 1rem; }
.testimonial-author small { color: var(--muted); }

/* ---- Blog cards ---- */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb { height: 210px; overflow: hidden; position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.07); }
.blog-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--dark);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .35rem .8rem; border-radius: 50px;
}
.blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 1rem; font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.blog-meta svg { width: 14px; height: 14px; }
.blog-card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--muted); font-size: .94rem; }
.blog-card .read-more { margin-top: auto; font-weight: 600; font-size: .9rem; }

/* ---- Blog article ---- */
.article-cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2rem; }
.article-cover img { width: 100%; max-height: 440px; object-fit: cover; }
.article-body { font-size: 1.06rem; color: #3a4148; }
.article-body h2 { font-size: 1.6rem; margin-top: 2rem; }
.article-body h3 { font-size: 1.25rem; margin-top: 1.6rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin-bottom: 1.4rem; }
.article-body li { margin-bottom: .5rem; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--light);
  padding: 1.2rem 1.6rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  margin: 1.6rem 0;
  color: var(--text);
}
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; color: var(--muted); font-size: .92rem; }
.article-meta .author { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--dark); }
.article-meta .author .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; }

.sidebar-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.5rem; }
.sidebar-box h4 { font-size: 1.1rem; border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: .3rem; margin-bottom: 1rem; }
.sidebar-post { display: flex; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { border-bottom: 0; }
.sidebar-post img { width: 70px; height: 64px; border-radius: 8px; object-fit: cover; flex: 0 0 70px; }
.sidebar-post h6 { font-size: .92rem; margin: 0 0 .2rem; line-height: 1.35; }
.sidebar-post h6 a { color: var(--dark); }
.sidebar-post small { color: var(--muted); }
.tag-cloud a { display: inline-block; background: var(--light); color: var(--primary); border-radius: 50px; padding: .35rem .9rem; font-size: .82rem; margin: .2rem; transition: var(--transition); }
.tag-cloud a:hover { background: var(--primary); color: #fff; }

/* ---- Forms ---- */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-label-reno { font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--dark); }
.form-control-reno {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .98rem;
  background: var(--lighter);
  transition: var(--transition);
}
.form-control-reno:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217,164,65,.15);
}
textarea.form-control-reno { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }

.field-error { border-color: #e03131 !important; background: #fff5f5 !important; }
.error-msg { color: #e03131; font-size: .82rem; margin-top: .25rem; display: none; }
.error-msg.show { display: block; }

.form-feedback {
  display: none;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.form-feedback.show { display: block; }
.form-feedback.success { background: #ebfbee; color: #1b5e20; border: 1px solid #a5d6a7; }
.form-feedback.error { background: #fff5f5; color: #b71c1c; border: 1px solid #ef9a9a; }

/* Contact info cards */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-info-card .ci-icon { width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: grid; place-items: center; }
.contact-info-card .ci-icon svg { width: 26px; height: 26px; color: #fff; }
.contact-info-card h4 { font-size: 1.1rem; }
.contact-info-card a, .contact-info-card p { color: var(--muted); margin: 0; }
.contact-info-card a:hover { color: var(--primary); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 1rem; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.2rem 1.5rem; font-weight: 600; font-size: 1.02rem; color: var(--dark); display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 1rem; }
.faq-q .faq-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(217,164,65,.15); color: var(--accent-dark); display: grid; place-items: center; font-size: 1.2rem; transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 1.5rem 1.2rem; color: var(--muted); }

/* ---- Legal / content pages ---- */
.legal-content { background: #fff; border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-sm); }
.legal-content h2 { font-size: 1.45rem; margin-top: 2rem; color: var(--primary); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin-top: 1.4rem; }
.legal-content p, .legal-content li { color: #4a5158; }
.legal-content ul { margin-bottom: 1.2rem; }
.legal-toc { background: var(--light); border-radius: var(--radius); padding: 1.6rem 2rem; margin-bottom: 2rem; }
.legal-toc h4 { color: var(--primary); margin-bottom: .8rem; }
.legal-toc ol { margin: 0; }
.legal-toc a { color: var(--text); }
.legal-updated { font-size: .9rem; color: var(--muted); font-style: italic; margin-bottom: 2rem; }

/* ---- Newsletter mini form (footer / inline) ---- */
.newsletter-mini { display: flex; gap: .5rem; max-width: 420px; }
.newsletter-mini .form-control-reno { flex: 1; }
.newsletter-inline { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); border-radius: var(--radius-lg); padding: 3rem; color: #fff; }
.newsletter-inline h3 { color: #fff; }
.newsletter-inline p { color: rgba(255,255,255,.82); }

/* ---- Footer ---- */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 4.5rem 0 0; }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.3rem; position: relative; padding-bottom: .6rem; }
.footer h5::after { content: ""; position: absolute; bottom: 0; left: 0; width: 34px; height: 2px; background: var(--accent); }
.footer p, .footer li { font-size: .94rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255,255,255,.7); display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a svg { width: 14px; height: 14px; color: var(--accent); }
.footer-contact-item { display: flex; gap: .7rem; margin-bottom: .9rem; align-items: flex-start; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 18px; margin-top: 3px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.5rem 0; font-size: .88rem; }
.footer-bottom a { color: var(--accent-light); }
.footer-brand .brand-name { color: #fff; }

/* ---- Why-choose / highlight boxes ---- */
.highlight-box { display: flex; gap: 1rem; align-items: flex-start; }
.highlight-box .hb-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; background: rgba(217,164,65,.12); display: grid; place-items: center; }
.highlight-box .hb-icon svg { width: 26px; height: 26px; color: var(--accent-dark); }
.highlight-box h4 { font-size: 1.08rem; margin-bottom: .3rem; }
.highlight-box p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---- Misc ---- */
.divider-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin: 0 .5rem; vertical-align: middle; }

.back-to-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; border: 0;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: var(--transition); z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }

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

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .menu-toggle { display: block; }
  .nav-reno {
    position: fixed; top: 0; right: -100%;
    width: 280px; max-width: 80vw; height: 100vh;
    background: #fff; flex-direction: column;
    align-items: stretch; padding: 5rem 1.5rem 2rem;
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transition: right var(--transition); z-index: 1050;
  }
  .nav-reno.open { right: 0; }
  .nav-reno a { padding: .8rem 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-reno .btn-reno { margin-top: 1rem; justify-content: center; border-radius: 50px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(15,29,46,.5); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1040; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .page-hero { background-attachment: scroll; }
  .section { padding: 4rem 0; }
  .cta-banner, .newsletter-inline { padding: 2.5rem 1.8rem; }
  .form-card, .legal-content { padding: 1.8rem; }
  .hero { min-height: auto; padding: 5rem 0; }
}

@media (max-width: 575px) {
  .hero-badges { gap: 1rem; }
  .topbar .d-none-sm { display: none; }
}
