/* ===========================================================
   BRISC homepage revamp: immersive/bento layout in the royal
   palette (inspired by the Apex reference). Loaded ONLY on the
   homepage; scoped under .x-home so nothing else is affected.
   =========================================================== */

.x-home{background:var(--white)}

/* Gold primary CTAs (the reference's accent role), royal kept as the brand */
.btn-gold{background:var(--gold);color:var(--royal-ink);box-shadow:0 12px 26px rgba(230,181,60,.34)}
.btn-gold:hover{transform:translateY(-2px);background:#dcab2f;box-shadow:0 16px 32px rgba(230,181,60,.44)}
.x-home .nav-links a.nav-cta{background:var(--gold);color:var(--royal-ink);box-shadow:0 8px 20px rgba(230,181,60,.34)}
.x-home .nav-links a.nav-cta:hover{color:var(--royal-ink);box-shadow:0 12px 26px rgba(230,181,60,.46)}

/* ---------- Urban-style nav: centered links, actions on the right ---------- */

@media(min-width:881px){
  .x-home .nav-in{position:relative}
  .x-home .nav-links{margin-left:auto;gap:0}
  .x-home .nav-items{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:30px}
  .x-home .nav-items a{position:relative;font-size:.94rem;font-weight:500;color:var(--ink2)}
  .x-home .nav-items a:hover,.x-home .nav-items a.active{color:var(--royal-ink)}
  .x-home .nav-items a.active::after{content:"";position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);width:16px;height:2.5px;border-radius:3px;background:var(--royal)}
  .x-home .nav-actions{display:flex;align-items:center;gap:18px}
  .x-home .nav-tel{font-size:.92rem}
}

@media(max-width:880px){
  .x-home .nav-items,.x-home .nav-actions{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .x-home .nav-tel{padding:13px 24px;border-bottom:1px solid var(--line);font-size:1rem}
}

/* ---------- Full-bleed photographic hero ---------- */
.x-hero{position:relative;overflow:hidden;display:flex;align-items:center;
  min-height:min(88vh,760px);padding:132px 0 118px;background:var(--paper2)}
.x-hero-bg{position:absolute;inset:0;background:url(/assets/hero.webp) center right/cover no-repeat;transform:scale(1.02)}
.x-hero-scrim{position:absolute;inset:0;
  background:linear-gradient(96deg,rgba(244,248,254,.985) 0%,rgba(244,248,254,.94) 34%,rgba(244,248,254,.6) 52%,rgba(244,248,254,.08) 72%,rgba(244,248,254,0) 100%)}
.x-hero .wrap{position:relative;z-index:2;width:100%}
.x-hero-in{max-width:620px}
.x-hero h1{font-size:clamp(2.5rem,5.4vw,4.15rem);line-height:1.02;letter-spacing:-.03em;color:var(--royal-ink);margin:20px 0 18px}
.x-hero h1 .hl{color:var(--royal);position:relative;white-space:nowrap}
.x-hero h1 .hl::after{content:"";position:absolute;left:0;right:0;bottom:.06em;height:.18em;background:rgba(58,166,230,.3);z-index:-1;border-radius:3px}
.x-hero .sub{font-size:clamp(1.08rem,1.7vw,1.32rem);color:var(--ink2);max-width:520px;line-height:1.5}
.x-hero .x-ticks{display:flex;flex-wrap:wrap;gap:10px 22px;margin:22px 0 28px}
.x-hero .x-ticks span{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:.96rem;color:var(--royal-ink)}
.x-hero .x-ticks svg{width:19px;height:19px;color:var(--ok)}
.x-hero-cta{display:flex;flex-wrap:wrap;gap:14px}
.x-hero .x-price{margin-top:20px;font-size:.98rem;color:var(--ink2)}
.x-hero .x-price b{color:var(--royal-ink)}

/* ---------- Floating service cards overlapping the hero ---------- */
.x-cards-wrap{position:relative;z-index:6;margin-top:-72px}
.x-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.x-card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:30px 28px;
  box-shadow:0 34px 66px -30px rgba(14,33,84,.42);display:flex;flex-direction:column;
  transition:transform .18s ease,box-shadow .18s ease}
.x-card:hover{transform:translateY(-5px);box-shadow:0 40px 74px -30px rgba(14,33,84,.5)}
.x-card.feat{background:linear-gradient(158deg,var(--royal),var(--royal-deep));border:none;color:#e7eefc}
.x-card .xc-ic{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;
  background:var(--sky-soft);color:var(--royal);margin-bottom:18px}
.x-card.feat .xc-ic{background:rgba(255,255,255,.15);color:#eaf5ff}
.x-card .xc-ic svg{width:27px;height:27px}
.x-card h3{font-size:1.32rem;color:var(--royal-ink);margin-bottom:9px}
.x-card.feat h3{color:#f4f7fe}
.x-card p{font-size:.95rem;color:var(--ink2);line-height:1.56;margin-bottom:18px;flex:1}
.x-card.feat p{color:#c8d6f5}
.x-card .xc-link{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:.95rem;color:var(--royal)}
.x-card.feat .xc-link{color:#eaf5ff}
.x-card .xc-link svg{width:18px;height:18px;transition:transform .16s ease}
.x-card:hover .xc-link svg{transform:translateX(4px)}

/* ---------- Line-icon services grid ---------- */
.x-serv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 34px}
.x-serv{position:relative;padding-left:2px}
.x-serv .xs-ic{width:44px;height:44px;color:var(--royal);margin-bottom:14px}
.x-serv .xs-ic svg{width:44px;height:44px;stroke-width:1.6}
.x-serv h3{font-size:1.16rem;color:var(--royal-ink);margin-bottom:7px}
.x-serv p{font-size:.93rem;color:var(--muted);line-height:1.55;margin-bottom:12px}
.x-serv .xs-link{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:.88rem;color:var(--royal)}
.x-serv .xs-link svg{width:15px;height:15px;transition:transform .16s ease}
.x-serv:hover .xs-link svg{transform:translateX(3px)}

/* ---------- Bento showcase row ---------- */
.x-bento{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:22px}
.x-tile{background:var(--white);border:1px solid var(--line);border-radius:22px;overflow:hidden;
  box-shadow:0 24px 50px -34px rgba(14,33,84,.4);display:flex;flex-direction:column}
.x-tile-pad{padding:28px}
.x-tile h3{font-size:1.24rem;color:var(--royal-ink);margin-bottom:10px}
.x-tile p{font-size:.94rem;color:var(--ink2);line-height:1.56}
.x-tile .x-photo{aspect-ratio:16/10;background-size:cover;background-position:center}
.x-tile ul{list-style:none;margin:16px 0 0;display:grid;gap:10px}
.x-tile ul li{display:flex;gap:9px;font-size:.92rem;color:var(--ink2);line-height:1.4}
.x-tile ul li svg{width:18px;height:18px;color:var(--ok);flex-shrink:0;margin-top:2px}
/* trust badges */
.x-badges{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.x-badge{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.x-badge svg{width:24px;height:24px;color:var(--royal)}
.x-badge b{font-size:.9rem;color:var(--royal-ink);line-height:1.2}
.x-badge span{font-size:.76rem;color:var(--muted);line-height:1.3}
/* review tile */
.x-tile.x-quote{background:linear-gradient(160deg,var(--royal),var(--royal-deep));border:none;color:#e7eefc;justify-content:center}
.x-tile.x-quote .x-tile-pad{padding:30px}
.x-tile.x-quote .stars{color:var(--gold);font-size:1.05rem;letter-spacing:2px;margin-bottom:12px}
.x-tile.x-quote blockquote{font-size:1.05rem;line-height:1.55;color:#eef3fd;margin:0 0 16px;font-weight:500}
.x-tile.x-quote .who{font-weight:700;color:#f4f7fe;font-size:.95rem}
.x-tile.x-quote .who span{display:block;font-weight:400;color:#b7c6ef;font-size:.82rem;margin-top:3px}

/* ---------- Guarantee band ---------- */
.x-guarantee .wrap{display:flex;gap:40px;align-items:center;
  background:linear-gradient(150deg,var(--royal-deep),var(--royal-ink));border-radius:26px;
  padding:44px 48px;box-shadow:0 40px 80px -40px rgba(14,33,84,.7)}
.x-seal{flex-shrink:0;width:118px;height:118px;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(circle at 50% 40%,rgba(230,181,60,.25),rgba(230,181,60,.05));
  border:2px dashed rgba(230,181,60,.55);color:var(--gold)}
.x-seal svg{width:56px;height:56px}
.x-guar-text{color:#dbe4fb}
.x-guar-text h2{font-size:clamp(1.7rem,3vw,2.3rem);color:#f4f7fe;margin-bottom:10px}
.x-guar-text p{font-size:1.03rem;line-height:1.6;max-width:640px;color:#c8d6f5}
.x-guar-text .btn{margin-top:20px}

/* ---------- Pricing snapshot ---------- */
.x-price-card{max-width:920px;margin:0 auto;background:var(--white);border:1px solid var(--line);
  border-radius:24px;padding:40px;text-align:center;box-shadow:0 30px 60px -38px rgba(14,33,84,.4)}
.x-price-card .big{font-size:clamp(2.6rem,6vw,3.6rem);font-weight:800;color:var(--royal);letter-spacing:-.03em;line-height:1}
.x-price-card .big span{color:var(--ink2);font-size:1.1rem;font-weight:500}
.x-price-card .lead{font-size:1.05rem;color:var(--ink2);margin:14px auto 26px;max-width:560px;line-height:1.55}
.x-price-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:28px}
.x-price-row .pill{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:100px;
  background:var(--sky-soft);color:var(--royal-deep);font-weight:600;font-size:.92rem}
.x-price-row .pill b{color:var(--royal)}

/* ---------- Responsive ---------- */
@media(max-width:960px){
  .x-cards{grid-template-columns:1fr;gap:16px}
  .x-cards-wrap{margin-top:-56px}
  .x-serv-grid{grid-template-columns:1fr 1fr;gap:30px 26px}
  .x-bento{grid-template-columns:1fr}
}
@media(max-width:820px){
  .x-hero{padding:120px 0 90px;min-height:0}
  .x-hero-scrim{background:linear-gradient(178deg,rgba(244,248,254,.97) 0%,rgba(244,248,254,.8) 44%,rgba(244,248,254,.5) 78%,rgba(244,248,254,.35) 100%)}
  .x-hero-bg{background-position:center 30%}
  .x-guarantee .wrap{flex-direction:column;text-align:center;padding:34px 26px}
  .x-guar-text p{margin:0 auto}
}
@media(max-width:560px){
  .x-serv-grid{grid-template-columns:1fr}
  .x-price-card{padding:30px 22px}
}
