/* =========================================================
   Home Comfort Idea — custom styles
   (Bootstrap 5 grid + components underneath)
   ========================================================= */
@import url("../fonts/poppins-400.css");
@import url("../fonts/poppins-500.css");
@import url("../fonts/poppins-600.css");
@import url("../fonts/poppins-700.css");
@import url("../fonts/poppins-800.css");

:root{
  --teal:#0d3b39;
  --teal-deep:#082725;
  --teal-soft:#16655e;
  --amber:#e8913a;
  --amber-deep:#c96f1e;
  --cream:#faf5ec;
  --sand:#f2e7d3;
  --ink:#22302d;
  --body:#48564f;
  --muted:#6d7b73;
  --line:#e7dcc6;
  --white:#ffffff;
  --radius:18px;
  --shadow-sm:0 10px 26px -14px rgba(8,39,37,.22);
  --shadow-lg:0 26px 50px -22px rgba(8,39,37,.32);
}

html{scroll-behavior:smooth;}
body{
  font-family:"Poppins","Segoe UI",system-ui,-apple-system,sans-serif;
  background:var(--cream);
  color:var(--body);
  padding-top:78px;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{color:var(--teal);line-height:1.28;font-weight:700;}
a{text-decoration:none;}
img{max-width:100%;}
::selection{background:var(--amber);color:#fff;}
section[id]{scroll-margin-top:96px;}

/* ---------------- Buttons ---------------- */
.btn-accent{
  background:linear-gradient(135deg,var(--amber),var(--amber-deep));
  color:#fff;font-weight:600;border:none;border-radius:999px;
  padding:.68rem 1.6rem;
  box-shadow:0 12px 24px -12px rgba(201,111,30,.75);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.btn-accent:hover{transform:translateY(-2px);color:#fff;box-shadow:0 16px 30px -12px rgba(201,111,30,.85);}
.btn-outline-teal{
  border:2px solid var(--teal);color:var(--teal);background:transparent;
  border-radius:999px;font-weight:600;padding:.6rem 1.5rem;transition:.2s ease;
}
.btn-outline-teal:hover{background:var(--teal);color:#fff;transform:translateY(-2px);}
.btn-ghost-light{
  border:2px solid rgba(255,255,255,.75);color:#fff;background:transparent;
  border-radius:999px;font-weight:600;padding:.6rem 1.5rem;transition:.2s ease;
}
.btn-ghost-light:hover{background:#fff;color:var(--teal);}
.btn-service{
  border:2px solid var(--teal);color:var(--teal);background:transparent;
  font-weight:600;font-size:.85rem;border-radius:999px;padding:.45rem 1.25rem;
  transition:.2s ease;
}
.btn-service:hover{background:var(--teal);color:#fff;}

/* ---------------- Navbar ---------------- */
.site-nav{
  background:rgba(250,245,236,.92);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;
  transition:box-shadow .3s ease,border-color .3s ease,background .3s ease;
}
.site-nav.scrolled{box-shadow:var(--shadow-sm);border-bottom-color:var(--line);background:rgba(250,245,236,.98);}
.logo{display:inline-flex;align-items:center;gap:.6rem;white-space:nowrap;}
.logo-mark{
  width:42px;height:42px;border-radius:13px;flex-shrink:0;
  background:linear-gradient(135deg,var(--amber),var(--amber-deep));
  color:#fff;display:inline-flex;align-items:center;justify-content:center;
  box-shadow:0 8px 16px -8px rgba(201,111,30,.7);
}
.logo-text{
  font-weight:800;font-size:1.22rem;letter-spacing:.02em;
  color:var(--teal);line-height:1;
}
.site-nav .nav-link{font-weight:500;color:var(--ink);padding:.5rem .95rem !important;position:relative;}
.site-nav .nav-link:hover{color:var(--amber-deep);}
.site-nav .nav-link.active{color:var(--amber-deep);font-weight:600;}
.site-nav .nav-link.active::after{
  content:"";position:absolute;left:.95rem;right:.95rem;bottom:.2rem;height:2px;
  border-radius:2px;background:var(--amber);
}
.navbar-toggler{border-color:var(--line);}

/* ---------------- Hero ---------------- */
.hero{
  position:relative;color:#fff;overflow:hidden;
  background:
    linear-gradient(115deg,rgba(8,39,37,.9) 0%,rgba(13,59,57,.74) 48%,rgba(201,111,30,.5) 115%),
    url("../img/hero.jpg") center/cover no-repeat;
  padding:104px 0 128px;
}
.hero::before{
  content:"";position:absolute;left:-90px;top:-90px;width:240px;height:240px;border-radius:50%;
  background:rgba(255,255,255,.06);
}
.hero::after{
  content:"";position:absolute;right:-110px;bottom:-130px;width:340px;height:340px;border-radius:50%;
  border:34px solid rgba(232,145,58,.28);
}
.hero .container{position:relative;z-index:1;}
.hero-badge{
  display:inline-flex;align-items:center;gap:.55rem;
  background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.4);
  color:#fff;border-radius:999px;padding:.5rem 1.2rem;
  font-size:.8rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  backdrop-filter:blur(4px);
}
.hero h1{color:#fff;font-weight:800;font-size:clamp(2.2rem,5vw,3.5rem);margin-top:1.4rem;}
.hero .lead{color:rgba(255,255,255,.9);max-width:660px;font-size:1.08rem;}

/* ---------------- Sections ---------------- */
.section{padding:96px 0;}
.section-tight{padding:36px 0 96px;}
.eyebrow{
  display:inline-block;color:var(--amber-deep);font-weight:700;
  letter-spacing:.24em;text-transform:uppercase;font-size:.76rem;margin-bottom:.65rem;
}
.section-head{max-width:700px;margin:0 auto 3.2rem;text-align:center;}
.section-head h2{font-size:clamp(1.7rem,3.4vw,2.4rem);}
.section-head p{color:var(--muted);margin-bottom:0;}

/* ---------------- Page header (inner pages) ---------------- */
.page-header{
  position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(120deg,var(--teal) 0%,var(--teal-soft) 62%,var(--amber-deep) 135%);
  padding:58px 0 54px;
}
.page-header::before{
  content:"";position:absolute;right:-70px;top:-70px;width:220px;height:220px;border-radius:50%;
  border:26px solid rgba(255,255,255,.09);
}
.page-header::after{
  content:"";position:absolute;left:-60px;bottom:-90px;width:180px;height:180px;border-radius:50%;
  background:rgba(232,145,58,.22);filter:blur(6px);
}
.page-header .container{position:relative;z-index:1;}
.page-header h1{color:#fff;font-weight:800;font-size:clamp(1.8rem,3.6vw,2.5rem);margin-bottom:.4rem;}
.page-header p{color:rgba(255,255,255,.85);margin-bottom:0;}
.page-header .breadcrumb{margin-bottom:.9rem;--bs-breadcrumb-divider-color:rgba(255,255,255,.55);}
.page-header .breadcrumb-item a{color:rgba(255,255,255,.82);font-size:.88rem;}
.page-header .breadcrumb-item a:hover{color:#fff;}
.page-header .breadcrumb-item.active{color:#fff;font-size:.88rem;}
.page-header .breadcrumb-item + .breadcrumb-item::before{color:rgba(255,255,255,.55);}

/* ---------------- Service cards ---------------- */
.service-card{
  background:var(--white);border:1px solid rgba(231,220,198,.65);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-sm);height:100%;
  display:flex;flex-direction:column;
  transition:transform .25s ease,box-shadow .25s ease;
}
.service-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-lg);}
.service-card .card-img{height:205px;overflow:hidden;}
.service-card .card-img img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease;}
.service-card:hover .card-img img{transform:scale(1.07);}
.service-card .card-body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;flex:1;}
.service-card h3{font-size:1.12rem;margin-bottom:.5rem;}
.service-card p{color:var(--muted);font-size:.92rem;flex:1;margin-bottom:0;}
.service-card .btn{margin-top:1.15rem;align-self:flex-start;}

/* ---------------- Feature cards ---------------- */
.feature-card{
  background:var(--white);border-radius:var(--radius);padding:1.9rem 1.6rem;
  box-shadow:var(--shadow-sm);height:100%;text-align:center;
  border:1px solid rgba(231,220,198,.65);
  transition:transform .25s ease,box-shadow .25s ease;
}
.feature-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);}
.icon-circle{
  width:64px;height:64px;margin:0 auto 1.1rem;border-radius:50%;
  background:var(--sand);color:var(--amber-deep);
  display:flex;align-items:center;justify-content:center;font-size:1.55rem;
}
.feature-card h3{font-size:1.05rem;margin-bottom:.5rem;}
.feature-card p{color:var(--muted);font-size:.9rem;margin-bottom:0;}

/* ---------------- Blog cards ---------------- */
.blog-card{
  background:var(--white);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-sm);height:100%;display:flex;flex-direction:column;
  border:1px solid rgba(231,220,198,.65);
  transition:transform .25s ease,box-shadow .25s ease;
}
.blog-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-lg);}
.blog-card .card-img{height:215px;overflow:hidden;}
.blog-card .card-img img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease;}
.blog-card:hover .card-img img{transform:scale(1.06);}
.blog-card .card-body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;flex:1;}
.blog-tag{
  align-self:flex-start;background:var(--sand);color:var(--amber-deep);
  font-weight:600;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;
  border-radius:999px;padding:.38rem .95rem;margin-bottom:.85rem;
}
.blog-card h3{font-size:1.14rem;line-height:1.45;margin-bottom:.55rem;}
.blog-card h3 a{color:var(--teal);transition:color .2s ease;}
.blog-card h3 a:hover{color:var(--amber-deep);}
.blog-card p{color:var(--muted);font-size:.92rem;flex:1;}
.read-more{color:var(--amber-deep);font-weight:600;font-size:.88rem;margin-top:1rem;}
.read-more i{transition:transform .2s ease;}
.read-more:hover{color:var(--teal);}
.read-more:hover i{transform:translateX(4px);}

/* ---------------- CTA band ---------------- */
.cta-band{
  position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(120deg,var(--teal),var(--teal-soft));
  border-radius:28px;padding:60px 52px;box-shadow:var(--shadow-lg);
}
.cta-band::before{
  content:"";position:absolute;right:-70px;top:-80px;width:230px;height:230px;border-radius:50%;
  background:rgba(232,145,58,.4);filter:blur(5px);
}
.cta-band::after{
  content:"";position:absolute;left:-60px;bottom:-90px;width:190px;height:190px;border-radius:50%;
  border:22px solid rgba(255,255,255,.08);
}
.cta-band .container-fluid,.cta-band .row{position:relative;z-index:1;}
.cta-band h2{color:#fff;}
.cta-band p{color:rgba(255,255,255,.88);margin-bottom:0;}

/* ---------------- About ---------------- */
.about-img-wrap{position:relative;}
.about-img-wrap img{border-radius:24px;box-shadow:var(--shadow-lg);width:100%;height:100%;object-fit:cover;}
.about-float{
  position:absolute;left:-18px;bottom:26px;background:#fff;border-radius:16px;
  box-shadow:var(--shadow-lg);padding:.9rem 1.2rem;display:flex;align-items:center;gap:.8rem;
  border:1px solid rgba(231,220,198,.7);
}
.about-float .icon-circle{width:48px;height:48px;margin:0;font-size:1.2rem;}
.about-float strong{color:var(--teal);display:block;font-size:.95rem;line-height:1.3;}
.about-float span{color:var(--muted);font-size:.8rem;}
.check-list{list-style:none;padding:0;margin:1.4rem 0 1.8rem;}
.check-list li{display:flex;gap:.7rem;align-items:flex-start;margin-bottom:.75rem;color:var(--body);}
.check-list i{color:var(--amber-deep);font-size:1.1rem;margin-top:.1rem;}

/* ---------------- Contact ---------------- */
.info-card{
  display:flex;gap:1rem;align-items:flex-start;background:#fff;
  border-radius:16px;padding:1.25rem 1.3rem;box-shadow:var(--shadow-sm);
  border:1px solid rgba(231,220,198,.7);
}
.info-card .icon-circle{width:52px;height:52px;margin:0;flex-shrink:0;font-size:1.25rem;}
.info-card h3{font-size:.98rem;margin-bottom:.25rem;}
.info-card p,.info-card a{color:var(--muted);font-size:.92rem;margin:0;word-break:break-word;}
.info-card a:hover{color:var(--amber-deep);}
.form-card{
  background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-lg);
  padding:2.3rem;border:1px solid rgba(231,220,198,.7);
}
.form-label{font-weight:600;font-size:.87rem;color:var(--teal);margin-bottom:.4rem;}
.form-control,.form-select{
  border:1.5px solid var(--line);border-radius:12px;padding:.72rem .95rem;
  background:var(--cream);font-family:inherit;font-size:.94rem;color:var(--ink);
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.form-control:focus,.form-select:focus{
  border-color:var(--amber);box-shadow:0 0 0 .22rem rgba(232,145,58,.18);background:#fff;
}
.form-control::placeholder{color:#a4b0a9;}
.form-check-input:checked{background-color:var(--amber);border-color:var(--amber);}
.form-check-label{font-size:.9rem;color:var(--body);}
.success-panel{
  text-align:center;padding:2.4rem 1.4rem;background:var(--cream);
  border-radius:16px;border:1.5px dashed var(--amber);
}
.success-panel .icon-circle{background:var(--amber);color:#fff;}
.success-panel h3{margin-bottom:.5rem;}
.success-panel p{color:var(--muted);margin-bottom:0;}

/* ---------------- Newsletter pages ---------------- */
.news-card{
  max-width:740px;margin:0 auto;background:#fff;border-radius:26px;
  box-shadow:var(--shadow-lg);padding:3rem 2.6rem;text-align:center;
  border:1px solid rgba(231,220,198,.7);
}
.news-icon{
  width:86px;height:86px;margin:0 auto 1.5rem;border-radius:50%;
  background:linear-gradient(135deg,var(--amber),var(--amber-deep));color:#fff;
  font-size:2.1rem;display:flex;align-items:center;justify-content:center;
  box-shadow:0 16px 32px -14px rgba(201,111,30,.8);
}
.news-card h1{font-size:clamp(1.6rem,3vw,2.2rem);}
.news-card>p{color:var(--muted);max-width:540px;margin:0 auto 1.8rem;}
.news-perks{list-style:none;padding:0;margin:0 auto 2rem;max-width:420px;text-align:left;}
.news-perks li{display:flex;gap:.7rem;align-items:center;margin-bottom:.7rem;color:var(--body);font-size:.95rem;}
.news-perks i{color:var(--amber-deep);font-size:1.15rem;}
.news-form{max-width:480px;margin:0 auto;text-align:left;}
.news-alt{margin-top:1.6rem;font-size:.88rem;color:var(--muted);}
.news-alt a{color:var(--amber-deep);font-weight:600;}
.news-alt a:hover{color:var(--teal);}

/* ---------------- Article (blog posts) ---------------- */
.article-wrap{max-width:830px;margin:0 auto;}
.article-meta{display:flex;gap:1.1rem;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.87rem;margin-bottom:1.5rem;}
.article-meta .blog-tag{margin-bottom:0;}
.article-hero{border-radius:24px;overflow:hidden;box-shadow:var(--shadow-lg);margin-bottom:2.4rem;}
.article-hero img{width:100%;height:400px;object-fit:cover;}
.article-body .lead{color:var(--ink);font-size:1.05rem;}
.article-body h2{font-size:1.45rem;margin:2.1rem 0 .9rem;}
.article-body p{line-height:1.85;margin-bottom:1.1rem;}
.article-body ul{padding-left:1.25rem;margin-bottom:1.2rem;}
.article-body li{margin-bottom:.5rem;line-height:1.75;}
.article-body blockquote{
  margin:1.9rem 0;padding:1.4rem 1.7rem;background:var(--sand);
  border-left:5px solid var(--amber);border-radius:0 16px 16px 0;
  font-style:italic;color:var(--teal);font-weight:500;font-size:1.02rem;
}

/* ---------------- Legal pages ---------------- */
.legal-card{
  background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);
  border:1px solid rgba(231,220,198,.7);padding:2.6rem;
}
.legal-card h2{font-size:1.25rem;margin:2rem 0 .7rem;}
.legal-card h2:first-of-type{margin-top:0;}
.legal-card p{line-height:1.8;margin-bottom:.9rem;}
.legal-card ul{padding-left:1.25rem;margin-bottom:1rem;}
.legal-card li{margin-bottom:.45rem;line-height:1.75;}

/* ---------------- Footer ---------------- */
.site-footer{background:var(--teal-deep);color:rgba(255,255,255,.82);padding:72px 0 0;margin-top:48px;}
.site-footer h4{color:#fff;font-size:.98rem;margin-bottom:1.15rem;letter-spacing:.05em;}
.site-footer ul{list-style:none;padding:0;margin:0;}
.site-footer li{margin-bottom:.6rem;}
.site-footer a{color:rgba(255,255,255,.72);font-size:.92rem;transition:color .2s ease;}
.site-footer a:hover{color:var(--amber);}
.logo-light .logo-text{color:#fff;}
.footer-about p{font-size:.92rem;margin-top:1.1rem;line-height:1.75;}
.socials{display:flex;gap:.6rem;margin-top:1.3rem;}
.socials a{
  width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.09);
  display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:1.05rem;
  transition:.2s ease;
}
.socials a:hover{background:var(--amber);color:#fff;transform:translateY(-3px);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);margin-top:54px;padding:22px 0;
  text-align:center;font-size:.85rem;color:rgba(255,255,255,.6);
}
.footer-bottom i{color:var(--amber);}

/* ---------------- Utilities ---------------- */
.toast{
  position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);
  background:var(--teal);color:#fff;padding:.85rem 1.5rem;border-radius:999px;
  box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;transition:.35s ease;z-index:1090;
  font-size:.92rem;display:flex;align-items:center;gap:.6rem;max-width:90vw;
}
.toast.show{opacity:1;transform:translate(-50%,0);}
#toTop{
  position:fixed;right:22px;bottom:22px;width:46px;height:46px;border-radius:50%;
  border:none;background:var(--amber);color:#fff;font-size:1.05rem;
  box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;transition:.3s ease;z-index:1080;
}
#toTop.show{opacity:1;pointer-events:auto;}
#toTop:hover{background:var(--amber-deep);}
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease;}
.reveal.visible{opacity:1;transform:none;}

@media (max-width:767.98px){
  .section{padding:70px 0;}
  .cta-band{padding:44px 28px;}
  .form-card{padding:1.6rem;}
  .news-card{padding:2.2rem 1.4rem;}
  .article-hero img{height:260px;}
  .about-float{left:10px;}
  .logo-text{font-size:1.05rem;}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .reveal{opacity:1;transform:none;transition:none;}
}
