:root{
  --red:#d61f26;
  --red2:#b3151b;
  --black:#0b0f16;
  --black2:#101827;
  --white:#ffffff;
  --muted:#c7cfdb;
  --muted2:#94a3b8;
  --border:rgba(255,255,255,.12);
  --glass:rgba(10,15,22,.55);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 14px 44px rgba(0,0,0,.25);
  --radius:18px;
  --max:1180px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--white);
  background:
    radial-gradient(1200px 700px at 70% 10%, rgba(214,31,38,.35), transparent 55%),
    radial-gradient(900px 600px at 20% 50%, rgba(214,31,38,.18), transparent 60%),
    linear-gradient(180deg, #060a10 0%, #070b12 40%, #05070c 100%);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* ======================================================
   GLOBAL NAV
====================================================== */

.nav{
  position:sticky; top:0; z-index:50;
  background: linear-gradient(180deg, rgba(5,7,12,.92), rgba(5,7,12,.70));
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  height:74px;
}
.brand{
  display:flex; align-items:center; gap:12px; font-weight:900; letter-spacing:.5px;
}
.brand__logo{
  font-size:26px;
  color:var(--red);
}
.nav__links{
  display:flex; align-items:center; gap:26px;
  color:rgba(255,255,255,.85);
  font-weight:600;
}
.nav__links a{opacity:.9}
.nav__links a:hover{opacity:1}

/* ======================================================
   GLOBAL BUTTONS
====================================================== */

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:44px; padding:0 18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--white);
  font-weight:800;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  text-decoration:none;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.25)}
.btn--red{
  background: linear-gradient(180deg, var(--red), var(--red2));
  border-color: rgba(255,255,255,.08);
  color:#fff !important;
}
.btn--dark{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
}
.btn--ghost{
  background:#ffffff !important;
  color:#d61f26 !important;
  border:1px solid #d61f26 !important;
  font-weight:700;
}
.btn--ghost:hover{
  background:#d61f26 !important;
  color:#ffffff !important;
  border-color:#d61f26 !important;
}
.btn--sm{height:40px; padding:0 16px; border-radius:12px}
.btn--xs{
  min-height:34px !important;
  height:34px !important;
  padding:0 10px !important;
  border-radius:10px !important;
  font-size:11px !important;
  font-weight:700 !important;
  box-shadow:none !important;
}

/* ======================================================
   HOME HERO
====================================================== */

.hero{
  position:relative;
  padding:38px 0 10px;
}
.hero__wrap{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  min-height: 430px;
  background:
    linear-gradient(100deg, rgba(5,7,12,.88) 10%, rgba(5,7,12,.55) 45%, rgba(214,31,38,.20) 100%),
    url("/assets/img/hero.jpg") center/cover no-repeat;
}
.hero__content{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:20px;
  align-items:center;
  padding:54px 42px;
}
.hero__title{
  margin:0 0 14px;
  font-size: clamp(34px, 4vw, 54px);
  line-height:1.05;
  letter-spacing:-.5px;
}
.hero__title span{color:var(--white)}
.hero__sub{
  margin:0 0 18px;
  color:rgba(255,255,255,.86);
  font-size:16px;
  max-width:520px;
}
.hero__actions{display:flex; gap:14px; flex-wrap:wrap; margin-top:14px}
.hero__hint{
  margin-top:16px;
  display:flex; gap:10px; align-items:center;
  color:rgba(255,255,255,.75);
  font-size:13px;
}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.pill__dot{
  width:10px; height:10px; border-radius:50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(214,31,38,.18);
}

/* ======================================================
   GENERAL SECTIONS
====================================================== */

.section{
  padding:34px 0 0;
}
.section__title{
  text-align:center;
  margin:26px 0 10px;
  font-size: 28px;
  letter-spacing:-.3px;
}
.section__line{
  width:100%;
  max-width: 780px;
  margin: 0 auto 18px;
  border-top:1px solid rgba(255,255,255,.10);
}

.about{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  box-shadow: var(--shadow2);
  padding:22px 20px;
}
.about p{
  margin:0;
  color:rgba(255,255,255,.82);
  line-height:1.7;
  text-align:center;
  max-width:880px;
  margin:0 auto;
}

.cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}
.card{
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
}
.card__img{
  height:190px;
  background:#111;
  position:relative;
}
.card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}
.card__img::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.card__body{
  padding:18px 18px 20px;
}
.card__title{
  margin:0 0 8px;
  font-size:22px;
}
.card__text{
  margin:0 0 14px;
  color:rgba(255,255,255,.80);
  line-height:1.6;
}
.card__actions{display:flex; gap:12px; flex-wrap:wrap}
.card--dark{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-size:12px;
  color:rgba(255,255,255,.86);
  font-weight:800;
}

.why{
  margin-top:22px;
  padding:18px 18px 10px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.why__grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap:14px;
  padding:10px 0 6px;
}
.why__item{
  text-align:center;
  padding:10px 10px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.icon{
  width:46px; height:46px;
  display:grid; place-items:center;
  margin:0 auto 8px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  font-size:22px;
}
.why__label{
  font-weight:800;
  font-size:13px;
  color:rgba(255,255,255,.88);
}

.cta{
  margin:26px 0 18px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(214,31,38,.35), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: var(--shadow2);
  padding:26px 20px;
  text-align:center;
}
.cta h3{
  margin:0 0 8px;
  font-size:32px;
  letter-spacing:-.4px;
}
.cta p{
  margin:0 0 16px;
  color:rgba(255,255,255,.82);
}

/* ======================================================
   FOOTER
====================================================== */

.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0 26px;
  color:rgba(255,255,255,.70);
  font-size:13px;
}
.footer__inner{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}
.footer__links{display:flex; gap:14px; flex-wrap:wrap}
.footer__links a{opacity:.9}
.footer__links a:hover{opacity:1}

.footer-credit{
  margin-left:6px;
  font-size:12px;
  color: rgba(255,255,255,.65);
}
.footer-credit a{
  color: rgba(255,255,255,.85);
  text-decoration:none;
  transition: color .2s ease, opacity .2s ease;
}
.footer-credit a:hover{
  color:#fff;
  opacity:1;
}
.footer-credit strong{
  font-weight:200;
}

/* ======================================================
   TOP BAR
====================================================== */

.topbar{
  background: rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar__inner{
  height:40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:rgba(255,255,255,.78);
  font-size:12px;
}
.topbar__left{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.topbar__right{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.kbadge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-weight:800;
}
.topbar__center{
  flex:1;
  display:flex;
  justify-content:center;
  overflow:hidden;
}
.marquee{
  position:relative;
  white-space:nowrap;
  overflow:hidden;
  max-width:420px;
}
.marquee span{
  display:inline-block;
  padding-left:100%;
  animation: scrollText 18s linear infinite;
  font-weight:700;
  color:rgba(255,255,255,.9);
}
@keyframes scrollText{
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ======================================================
   MODALS
====================================================== */

.modal{
  position:fixed; inset:0; z-index:80;
  display:none;
}
.modal.is-open{display:block}
.modal__overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
}
.modal__panel{
  position:relative;
  width:min(860px, calc(100% - 26px));
  margin: 70px auto;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(12,16,24,.92), rgba(10,12,18,.92));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.modal__title{
  display:flex; gap:10px; align-items:center;
  font-weight:900;
}
.modal__close{
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--white);
  cursor:pointer;
  font-size:18px;
}
.modal__body{padding:16px 18px 18px}

.tabs{
  display:flex; gap:10px; flex-wrap:wrap;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.tab{
  height:40px; padding:0 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:rgba(255,255,255,.90);
  font-weight:900;
  cursor:pointer;
}
.tab.is-active{
  background: linear-gradient(180deg, var(--red), var(--red2));
  border-color: rgba(255,255,255,.10);
}

/* ======================================================
   FORM ELEMENTS
====================================================== */

.formgrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
  padding-top:14px;
}
.field label{
  display:block;
  font-size:12px;
  color:rgba(255,255,255,.78);
  margin-bottom:6px;
  font-weight:800;
}
.input, .select, .textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--white);
  padding:12px 12px;
  outline:none;
}
.textarea{min-height: 94px; resize: vertical}
.form__actions{
  display:flex; gap:12px; align-items:center; justify-content:flex-end;
  margin-top:14px; flex-wrap:wrap;
}
.note{
  margin-top:10px;
  color:rgba(255,255,255,.70);
  font-size:12px;
  line-height:1.5;
}

/* ======================================================
   LOGO
====================================================== */

.logo-img{
  height:28px;
  width:auto;
  display:block;
}
.logo-badge{
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.85));
  padding:8px 14px;
  border-radius:14px;
  display:flex;
  align-items:center;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  border:1px solid rgba(255,255,255,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-badge:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}

/* ======================================================
   BRANCHES MODAL
====================================================== */

.branches__panel{
  transform: translateY(18px) scale(.98);
  opacity:0;
  transition: transform .35s ease, opacity .35s ease;
}
.modal.is-open .branches__panel{
  transform: translateY(0) scale(1);
  opacity:1;
}
.branches__panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:24px;
  background: radial-gradient(420px 180px at 50% 0%, rgba(214,31,38,.28), transparent 65%);
  pointer-events:none;
  z-index:0;
}
.branches__panel .modal__head,
.branches__panel .modal__body{
  position:relative;
  z-index:1;
}
.branches__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.branch-card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:14px 14px 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  transition: transform .18s ease, border-color .18s ease;
}
.branch-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
}
.branch-top{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
}
.branch-icon{
  width:42px; height:42px;
  display:grid; place-items:center;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  font-size:20px;
}
.branch-title{
  font-weight:900;
  letter-spacing:.2px;
}
.branch-sub{
  margin-top:2px;
  font-size:12px;
  color: rgba(255,255,255,.72);
  font-weight:700;
}
.branch-line{
  color: rgba(255,255,255,.84);
  line-height:1.55;
  font-size:13px;
  margin-bottom:10px;
}
.branch-meta{
  color: rgba(255,255,255,.70);
  font-size:12px;
  line-height:1.6;
}

/* ======================================================
   INQUIRY MODAL
====================================================== */

.inquiry__panel{
  transform: translateY(22px) scale(.97);
  opacity:0;
  transition: transform .35s ease, opacity .35s ease;
}
.modal.is-open .inquiry__panel{
  transform: translateY(0) scale(1);
  opacity:1;
}
.inquiry__panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:24px;
  background: radial-gradient(520px 220px at 50% 0%, rgba(214,31,38,.32), transparent 65%);
  pointer-events:none;
  z-index:0;
}
.inquiry__panel .modal__head,
.inquiry__panel .modal__body{
  position:relative;
  z-index:1;
}
.inquiry__intro{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.85);
  margin-bottom:14px;
  line-height:1.5;
}

/* ======================================================
   CHAT
====================================================== */

#chatPanel{
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: min(380px, calc(100% - 36px));
  height: 540px;
  z-index: 9999;
  display: none;
}
#chatPanel.is-open{display: block}
#chatFab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  cursor: pointer;
}

.chat-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, var(--red), var(--red2));
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:9999;
  transition: transform .18s ease, box-shadow .18s ease;
}
.chat-fab:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
}
.chat-fab span{font-size:22px}

.chat-panel{
  position:fixed;
  right:18px;
  bottom:88px;
  width:min(380px, calc(100% - 36px));
  height:540px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(12,16,24,.94), rgba(10,12,18,.94));
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  overflow:hidden;
  z-index:9999;
  opacity:0;
  transform: translateY(14px) scale(.98);
  pointer-events:none;
  transition: transform .25s ease, opacity .25s ease;
}
.chat-panel.is-open{
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:auto;
}
.chat-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(214,31,38,.22), transparent 60%),
    rgba(255,255,255,.02);
}
.chat-title{
  display:flex;
  gap:10px;
  align-items:center;
}
.chat-avatar{
  width:40px;height:40px;
  border-radius:14px;
  display:grid;place-items:center;
  background: rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.chat-name{font-weight:900; line-height:1.05}
.chat-sub{font-size:12px; color: rgba(255,255,255,.70); font-weight:700}

.chat-close{
  width:40px;height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
  font-size:18px;
  transition: background .2s ease, border-color .2s ease;
}
.chat-close:hover{
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.22);
}
.chat-body{
  height: calc(540px - 64px - 78px);
  padding:14px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}
.chat-body::-webkit-scrollbar{ width:8px; }
.chat-body::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.14);
  border-radius:999px;
}
.chat-body::-webkit-scrollbar-thumb:hover{
  background: rgba(214,31,38,.25);
}
.msg{
  display:flex;
  margin:10px 0;
}
.msg.bot{justify-content:flex-start}
.msg.user{justify-content:flex-end}
.bubble{
  max-width: 82%;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  line-height:1.45;
  font-size:13px;
}
.msg.user .bubble{
  background: linear-gradient(180deg, rgba(214,31,38,.96), rgba(179,21,27,.96));
  border-color: rgba(255,255,255,.08);
  color:#fff;
}
.chat-foot{
  border-top:1px solid rgba(255,255,255,.10);
  padding:10px;
  background: rgba(255,255,255,.03);
}
.chat-row{
  display:flex;
  gap:10px;
  align-items:center;
}
.chat-input{
  flex:1;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
  padding:0 12px;
  outline:none;
}
.chat-input::placeholder{ color: rgba(255,255,255,.55); }
.chat-send{
  height:46px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
  font-weight:900;
  cursor:pointer;
  transition: background .2s ease, border-color .2s ease;
}
.chat-send:hover{
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.22);
}
.chat-note{
  margin-top:8px;
  font-size:11px;
  color: rgba(255,255,255,.62);
  line-height:1.45;
}

/* ======================================================
   NAV PILL / DROPDOWN
====================================================== */

.nav-pill{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  display:flex;
  align-items:center;
  box-shadow:
    0 0 0 1px rgba(214,31,38,.25),
    0 10px 26px rgba(0,0,0,.35),
    0 0 18px rgba(214,31,38,.25),
    inset 0 1px 0 rgba(255,255,255,.06);
}
.nav-pill .nav__links{gap:20px}
.nav-pill a{
  padding:8px 14px;
  border-radius:999px;
  transition: background .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.nav-pill a:hover{
  background: rgba(214,31,38,.12);
  color:#fff;
  transform: translateY(-1px);
  border:1px solid rgba(214,31,38,.25);
  box-shadow: 0 0 10px rgba(214,31,38,.20);
}

.dd{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.dd__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 14px;
  border-radius:999px;
  font: inherit;
  font-weight:600;
  line-height:40px;
  color:rgba(255,255,255,.85);
  background:transparent;
  border:1px solid transparent;
  cursor:pointer;
  transition: background .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.dd__btn:hover{
  background: rgba(214,31,38,.12);
  color:#fff;
  transform: translateY(-1px);
  border-color: rgba(214,31,38,.25);
  box-shadow: 0 0 10px rgba(214,31,38,.20);
}
.dd__menu{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,12,18,.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  display:none;
  z-index:80;
}
.dd:hover .dd__menu,
.dd.is-open .dd__menu{
  display:block;
}
.dd__menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  font-weight:500;
  font-size:13px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: background .2s ease, border-color .2s ease;
  margin:6px 0;
}
.dd__menu a:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color:#fff;
}
.dd__menu--small{min-width:220px;}
.is-active-link{
  background: rgba(214,31,38,.12);
  color:#fff !important;
  border:1px solid rgba(214,31,38,.25);
  box-shadow: 0 0 10px rgba(214,31,38,.16);
}

/* ======================================================
   MOBILE BRAND
====================================================== */

.mbrand{display:none !important;}

/* ======================================================
   NRAND FUNERAL PAGE
====================================================== */

.nrand-funeral-page{
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(214,31,38,.06), transparent 60%),
    linear-gradient(180deg, #f4f6f9 0%, #eceff3 48%, #f7f8fa 100%);
  min-height: 100vh;
}

.nrand-funeral-hero{
  position: relative;
  width: 100%;
  height: 118px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
}
.nrand-funeral-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(12,14,18,.70) 0%, rgba(12,14,18,.34) 55%, rgba(214,31,38,.18) 100%);
}
.nrand-funeral-hero__bar{
  position:relative;
  z-index:2;
  max-width:1180px;
  height:100%;
  margin:0 auto;
  padding:0 20px;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:12px;
}
.nrand-funeral-hero__center{
  text-align:center;
}
.nrand-funeral-hero__center h1{
  margin:0;
  color:#fff;
  font-size:26px;
  font-weight:900;
  letter-spacing:-.2px;
}
.nrand-funeral-hero__right{
  display:flex;
  justify-content:flex-end;
}

.nrand-mini-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 14px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
  transition:all .18s ease;
}
.nrand-mini-btn--light{
  background: rgba(255,255,255,.92);
  color:#d61f26;
  border:1px solid #d61f26;
}
.nrand-mini-btn--light:hover{
  background:#d61f26;
  color:#fff;
}
.nrand-mini-btn--red{
  background: linear-gradient(180deg, #d61f26, #b3151b);
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
}
.nrand-mini-btn--red:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(214,31,38,.20);
}

.nrand-funeral-body{
  padding: 24px 0 42px;
}
.nrand-alert-success{
  margin-bottom:16px;
  padding:14px 16px;
  border-radius:16px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,.06);
  color:#1f2937;
  box-shadow:0 12px 35px rgba(0,0,0,.06);
  font-weight:800;
}
.nrand-section-head{
  margin-bottom:18px;
}
.nrand-section-head h2{
  margin:0 0 6px;
  font-size:30px;
  color:#101827;
  letter-spacing:-.3px;
}
.nrand-section-head p{
  margin:0;
  color:#667085;
  font-weight:600;
}

.nrand-plan-wrapper{
  background: linear-gradient(180deg, #f7f8fb 0%, #edf1f5 100%);
  padding:26px;
  border-radius:24px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.06);
  margin-bottom:24px;
}
.nrand-plan-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
  align-items:start;
}
.nrand-plan-card{
  border-radius:22px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,.10);
  box-shadow:0 10px 25px rgba(0,0,0,.05);
  overflow:hidden;
  transition:all .25s ease;
  align-self:start;
}
.nrand-plan-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(0,0,0,.08);
  border-color:#d61f26;
}
.nrand-plan-card__top{
  padding:16px 18px 8px;
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.nrand-plan-badge{
  width:46px;
  height:46px;
  border-radius:15px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:#fff;
  background: linear-gradient(180deg, #d61f26, #b3151b);
  box-shadow: 0 10px 28px rgba(214,31,38,.18);
  flex-shrink:0;
}
.nrand-plan-title-wrap h3{
  margin:0;
  color:#111827;
  font-size:18px;
  font-weight:700;
  line-height:1.2;
}
.nrand-plan-cover{
  margin-top:5px;
  color:#6b7280;
  font-weight:400;
}
.nrand-plan-price-row{
  padding: 0 18px 12px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}
.nrand-price-box{
  border-radius:16px;
  background:#f7f8fb;
  border:1px solid rgba(0,0,0,.05);
  padding: 10px 12px;
}
.nrand-price-box span{
  display:block;
  color:#6b7280;
  font-size:12px;
  font-weight:400;
  margin-bottom:4px;
}
.nrand-price-box strong{
  color:#101827;
  font-size:16px;
  font-weight:500;
}
.nrand-plan-actions{
  padding: 0 18px 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}
.nrand-plan-details{
  margin: 0 18px 16px;
  padding: 12px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid rgba(0,0,0,.05);
}
.nrand-detail-block + .nrand-detail-block{
  margin-top:14px;
}
.nrand-detail-title{
  font-weight:700;
  color:#101827;
  margin-bottom:10px;
}
.nrand-detail-table{
  display:grid;
  gap:8px;
}
.nrand-detail-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(0,0,0,.05);
}
.nrand-detail-row span{
  color:#4b5563;
  font-weight:400;
}
.nrand-detail-row strong{
  color:#101827;
  font-weight:600;
}
.nrand-benefit-list{
  margin:0;
  padding-left:18px;
  color:#374151;
  line-height:1.45;
  font-weight:400;
}
.nrand-benefit-list li{
  margin:4px 0;
  line-height:1.5;
}
.nrand-important-note{
  margin-top:18px;
  padding:14px 16px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,.06);
  color:#4b5563;
  box-shadow:0 12px 35px rgba(0,0,0,.05);
  font-weight:400;
  line-height:1.6;
}

.nrand-apply-card{
  margin-top:28px;
  border-radius:22px;
  overflow:hidden;
  background:#ffffff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 18px 50px rgba(0,0,0,.08);
}
.nrand-apply-card__head{
  padding:20px 20px 14px;
  background: linear-gradient(180deg, rgba(214,31,38,.06), rgba(255,255,255,0));
}
.nrand-apply-card__head h2{
  margin:0 0 6px;
  color:#111827;
  font-size:28px;
  font-weight:700;
}
.nrand-apply-card__head p{
  margin:0;
  color:#6b7280;
  font-weight:400;
}
.nrand-apply-card__body{
  padding:20px;
}

.nrand-funeral-page .field label{
  color:#475467;
  font-weight:500;
}
.nrand-funeral-page .input,
.nrand-funeral-page .select,
.nrand-funeral-page .textarea{
  background:#ffffff;
  border:1px solid rgba(0,0,0,.08);
  color:#111827;
  font-weight:400;
}
.nrand-funeral-page .input::placeholder,
.nrand-funeral-page .textarea::placeholder{
  color:#98a2b3;
}

.nrand-sub-footer{
  margin-top:22px;
  padding-top:10px;
}
.nrand-sub-footer__inner{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  border-top:1px solid rgba(0,0,0,.08);
  padding-top:16px;
  color:#667085;
  font-size:13px;
  font-weight:400;
}
.nrand-sub-footer__links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.nrand-sub-footer__links a{
  color:#667085;
  text-decoration:none;
  font-weight:400;
}
.nrand-sub-footer__links a:hover{
  color:#111827;
}

/* ======================================================
   FUNERAL DETAILS MODAL
====================================================== */

.nrand-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
}
.nrand-modal.is-open{
  display:block;
}
.nrand-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.nrand-modal__panel{
  position:relative;
  width:min(760px, calc(100% - 28px));
  max-height:calc(100vh - 40px);
  margin:20px auto;
  overflow:auto;
  border-radius:24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 24px 80px rgba(0,0,0,.22);
  font-weight:400;
}
.nrand-modal__panel::-webkit-scrollbar{width:8px;}
.nrand-modal__panel::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.16);
  border-radius:999px;
}
.nrand-modal__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:20px 20px 14px;
  border-bottom:1px solid rgba(0,0,0,.06);
  background: linear-gradient(180deg, rgba(214,31,38,.07), rgba(255,255,255,0));
}
.nrand-modal__badge{
  width:48px;
  height:48px;
  border-radius:15px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:#fff;
  background: linear-gradient(180deg, #d61f26, #b3151b);
  box-shadow:0 10px 24px rgba(214,31,38,.18);
  margin-bottom:10px;
}
.nrand-modal__head h3{
  margin:0 0 6px;
  color:#101827;
  font-size:24px;
  font-weight:600;
}
.nrand-modal__head p{
  margin:0;
  color:#6b7280;
  font-weight:700;
}
.nrand-modal__close{
  width:42px;
  height:42px;
  border:none;
  border-radius:12px;
  background:#fff;
  color:#d61f26;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
  border:1px solid rgba(214,31,38,.18);
}
.nrand-modal__body{
  padding:16px 18px 18px;
}
.nrand-modal__price-row{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}
.nrand-modal__price-box{
  border-radius:16px;
  background:#f7f8fb;
  border:1px solid rgba(0,0,0,.05);
  padding:12px 14px;
}
.nrand-modal__price-box span{
  display:block;
  color:#6b7280;
  font-size:12px;
  font-weight:400;
  margin-bottom:4px;
}
.nrand-modal__price-box strong{
  color:#101827;
  font-size:16px;
  font-weight:500;
}
.nrand-modal__block{
  margin-top:14px;
  padding:12px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,.06);
}
.nrand-modal__block h4{
  margin:0 0 10px;
  color:#101827;
  font-size:16px;
  font-weight:600;
}
.nrand-modal__table{
  display:grid;
  gap:8px;
}
.nrand-modal__row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid rgba(0,0,0,.05);
}
.nrand-modal__row span{
  color:#4b5563;
  font-weight:400;
}
.nrand-modal__row strong{
  color:#101827;
  font-weight:500;
}
.nrand-modal__list{
  margin:0;
  padding-left:18px;
  color:#374151;
  line-height:1.45;
  font-weight:400;
}
.nrand-modal__list li{
  margin:4px 0;
}
.nrand-modal__actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

/* ======================================================
   NRAND LANDING PLANS SECTION
====================================================== */

.nrand-plans-home{
  position:relative;
  overflow:hidden;
  padding-top:8px;
}
.nrand-plans-home__head{
  text-align:center;
  margin-bottom:22px;
}
.nrand-plans-home__title{
  margin-top:0;
}
.nrand-plans-home__eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 14px;
  border-radius:999px;
  background:rgba(214,31,38,.08);
  color:#ffd4d6;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:12px;
  border:1px solid rgba(255,255,255,.10);
}
.nrand-plans-home__sub{
  max-width:640px;
  margin:12px auto 0;
  color:rgba(255,255,255,.74);
  line-height:1.7;
  font-size:14px;
}
.nrand-plans-grid-wrap{
  max-width:1040px;
  margin:0 auto;
}
.nrand-plans-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.nrand-plan-slide-card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  padding:14px 14px 13px;
  background:linear-gradient(180deg, rgba(255,248,248,.98) 0%, rgba(255,241,241,.99) 100%);
  border:1px solid rgba(214,31,38,.10);
  box-shadow:
    0 10px 26px rgba(0,0,0,.14),
    0 4px 12px rgba(214,31,38,.06);
  transition:transform .20s ease, box-shadow .20s ease, border-color .20s ease;
}
.nrand-plan-slide-card:hover{
  transform:translateY(-3px);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    0 6px 14px rgba(214,31,38,.08);
  border-color:rgba(214,31,38,.16);
}
.nrand-plan-slide-card__glow{
  position:absolute;
  inset:auto -34px -62px auto;
  width:130px;
  height:130px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(214,31,38,.10) 0%, rgba(214,31,38,0) 72%);
  pointer-events:none;
}
.nrand-plan-slide-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px;
}
.nrand-plan-slide-card__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(214,31,38,.10);
  color:#8a6a6a;
  font-weight:700;
  font-size:11px;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
}
.nrand-plan-slide-card__mini{
  color:#a9484d;
  font-size:9px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.nrand-plan-slide-card__title{
  margin:0 0 8px;
  font-size:16px;
  line-height:1.22;
  color:#171717;
  font-weight:800;
}
.nrand-plan-slide-card__cover{
  font-size:18px;
  font-weight:900;
  color:#d61f26;
  line-height:1;
  margin-bottom:6px;
}
.nrand-plan-slide-card__price{
  color:#232323;
  font-weight:700;
  font-size:12px;
  margin-bottom:10px;
}
.nrand-plan-slide-card__text{
  color:#5f5f5f;
  font-size:12px;
  line-height:1.5;
  margin-bottom:10px;
  min-height:54px;
}
.nrand-plan-slide-card__list{
  list-style:none;
  padding:0;
  margin:0 0 12px;
}
.nrand-plan-slide-card__list li{
  position:relative;
  padding-left:14px;
  margin-bottom:6px;
  color:#2f2f2f;
  font-size:12px;
  line-height:1.45;
}
.nrand-plan-slide-card__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#ff5d63;
  box-shadow:0 0 0 3px rgba(255,93,99,.10);
}
.nrand-plan-slide-card__actions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.nrand-plan-slide-card__actions .btn{
  flex:1 1 96px;
  justify-content:center;
}

.nrand-home-plan-modal{
  max-width:700px;
}
.nrand-home-plan-modal__title{
  display:flex;
  align-items:center;
  gap:10px;
}
.nrand-home-plan-modal__hero{
  padding:4px 0 10px;
}
.nrand-home-plan-modal__cover{
  font-size:32px;
  line-height:1;
  font-weight:900;
  color:#d61f26;
  margin-bottom:10px;
}
.nrand-home-plan-modal__price{
  font-size:15px;
  font-weight:800;
  color:#fff;
  margin-bottom:12px;
}
.nrand-home-plan-modal__text{
  color:rgba(255,255,255,.74);
  line-height:1.8;
  margin:0;
}
.nrand-home-plan-modal__prices{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}
.nrand-home-plan-modal__pricebox{
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  padding:16px;
}
.nrand-home-plan-modal__pricebox span{
  display:block;
  color:rgba(255,255,255,.60);
  font-size:13px;
  margin-bottom:6px;
}
.nrand-home-plan-modal__pricebox strong{
  color:#fff;
  font-size:20px;
  font-weight:800;
}
.nrand-home-plan-modal__block{
  margin:10px 0 20px;
}
.nrand-home-plan-modal__block h4{
  margin:0 0 12px;
  color:#fff;
  font-size:18px;
  font-weight:800;
}
.nrand-home-plan-modal__list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px 14px;
}
.nrand-home-plan-modal__list li{
  position:relative;
  padding-left:18px;
  color:rgba(255,255,255,.78);
  line-height:1.6;
}
.nrand-home-plan-modal__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ff5d63;
}

/* ======================================================
   NRAND GALLERY SECTION
   IMPORTANT:
   If you update this gallery layout in the future,
   DELETE this full block and paste the new updated
   gallery block here instead of adding another one
   at the bottom of style.css.
====================================================== */

.nrand-gallery-page{
  min-height:100vh;
  background:
    radial-gradient(950px 420px at 88% 0%, rgba(214,31,38,.18), transparent 60%),
    radial-gradient(760px 340px at 12% 8%, rgba(179,21,27,.10), transparent 58%),
    linear-gradient(180deg, #140809 0%, #1b0d0f 38%, #120708 100%);
}

.nrand-gallery-container{
  max-width:1380px;
  margin:0 auto;
  padding:0 22px;
}

/* PREMIUM TOP CARD */
.nrand-gallery-hero{
  padding:12px 0 8px;
}
.nrand-gallery-hero__content{
  position:relative;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(520px 170px at 50% 0%, rgba(214,31,38,.16), transparent 72%),
    linear-gradient(135deg, #120708 0%, #1a0d0f 45%, #0f0a0b 100%);
  box-shadow:0 16px 34px rgba(0,0,0,.20);
  padding:14px 22px 16px;
  text-align:center;
}
.nrand-gallery-hero__top{
  display:flex;
  justify-content:flex-start;
  margin-bottom:8px;
}
.nrand-gallery-back-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:38px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#ffffff;
  font-size:13px;
  font-weight:700;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.nrand-gallery-back-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
}
.nrand-gallery-back-btn__icon{
  width:22px;
  height:22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.10);
  color:#ffffff;
}
.nrand-gallery-hero__content h1{
  margin:0 0 6px;
  font-size:clamp(21px, 3vw, 32px);
  line-height:1.08;
  letter-spacing:-.4px;
  color:#ffffff;
}
.nrand-gallery-hero__content p{
  margin:0 auto;
  max-width:700px;
  color:rgba(255,255,255,.76);
  line-height:1.5;
  font-size:13px;
}

.nrand-gallery-main{
  padding:8px 0 30px;
}
.nrand-gallery-shell{
  display:grid;
  grid-template-columns:240px minmax(0,1fr) 390px;
  gap:18px;
  align-items:start;
}
.nrand-gallery-center{
  min-width:0;
}

/* LEFT IMAGES PANEL */
.nrand-gallery-images-panel{
  border-radius:22px;
  border:1px solid rgba(15,23,42,.08);
  background:#ffffff;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
  overflow:hidden;
}
.nrand-gallery-panel-head{
  padding:16px 18px;
  border-bottom:1px solid rgba(15,23,42,.07);
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:linear-gradient(180deg, rgba(214,31,38,.04), rgba(255,255,255,0));
}
.nrand-gallery-panel-head h3{
  margin:0;
  font-size:16px;
  font-weight:800;
  color:#111827;
}
.nrand-gallery-panel-head span{
  font-size:12px;
  font-weight:700;
  color:#98a2b3;
}
.nrand-gallery-images-list{
  padding:12px;
  display:grid;
  gap:12px;
}
.nrand-gallery-images-list--scroll{
  max-height:650px;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.nrand-gallery-images-list--scroll::-webkit-scrollbar{
  width:8px;
}
.nrand-gallery-images-list--scroll::-webkit-scrollbar-thumb{
  background:rgba(15,23,42,.14);
  border-radius:999px;
}
.nrand-gallery-images-list--scroll::-webkit-scrollbar-thumb:hover{
  background:rgba(214,31,38,.28);
}
.nrand-gallery-image-card{
  border:none;
  width:100%;
  text-align:left;
  border-radius:16px;
  overflow:hidden;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nrand-gallery-image-card:hover,
.nrand-gallery-image-card.is-active{
  transform:translateY(-2px);
  border-color:rgba(214,31,38,.26);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}
.nrand-gallery-image-card__thumb{
  height:132px;
  background:#eef2f6;
  overflow:hidden;
}
.nrand-gallery-image-card__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.nrand-gallery-image-card__body{
  padding:10px 12px 12px;
}
.nrand-gallery-image-card__body h4{
  margin:0 0 5px;
  font-size:13px;
  line-height:1.35;
  color:#111827;
  font-weight:800;
}
.nrand-gallery-image-card__body p{
  margin:0;
  font-size:11px;
  line-height:1.55;
  color:#667085;
}

/* CENTER PLAYER */
.nrand-gallery-feature{
  border-radius:24px;
  border:1px solid rgba(15,23,42,.08);
  background:#ffffff;
  overflow:hidden;
  box-shadow:0 18px 50px rgba(15,23,42,.08);
}
.nrand-gallery-feature__player-wrap{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#0b0f16;
  overflow:hidden;
}
.nrand-gallery-feature__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:none;
  object-fit:cover;
  background:#000;
}
.nrand-gallery-feature__image-view{
  position:absolute;
  inset:0;
  display:none;
  background:#f3f4f6;
}
.nrand-gallery-feature__image-view.is-visible{
  display:block;
}
.nrand-gallery-feature__image-view img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#f3f4f6;
}
.nrand-gallery-feature__playbtn{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:84px;
  height:84px;
  border:none;
  border-radius:50%;
  background:linear-gradient(180deg, #d61f26, #b3151b);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 18px 34px rgba(0,0,0,.26);
  z-index:3;
}
.nrand-gallery-feature__playbtn span{
  font-size:28px;
  margin-left:4px;
}
.nrand-gallery-feature__meta{
  padding:18px 18px 22px;
}
.nrand-gallery-feature__topline{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.nrand-gallery-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(214,31,38,.08);
  border:1px solid rgba(214,31,38,.14);
  color:#b3151b;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.nrand-gallery-date{
  color:#98a2b3;
  font-size:12px;
  font-weight:700;
}
.nrand-gallery-feature__meta h2{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.3px;
  color:#111827;
}
.nrand-gallery-feature__meta p{
  margin:0;
  color:#667085;
  line-height:1.75;
  font-size:14px;
}

/* RIGHT VIDEOS PANEL */
.nrand-gallery-list{
  border-radius:24px;
  border:1px solid rgba(15,23,42,.08);
  background:#ffffff;
  box-shadow:0 18px 50px rgba(15,23,42,.08);
  overflow:hidden;
}
.nrand-gallery-list__head--light{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:16px 18px;
  border-bottom:1px solid rgba(15,23,42,.07);
  background:linear-gradient(180deg, rgba(214,31,38,.04), rgba(255,255,255,0));
}
.nrand-gallery-list__head--light h3{
  margin:0;
  color:#111827;
  font-size:16px;
  font-weight:800;
}
.nrand-gallery-list__head--light span{
  color:#98a2b3;
  font-size:12px;
  font-weight:700;
}
.nrand-gallery-list__items{
  padding:10px;
}
.nrand-gallery-list__items--scroll{
  max-height:650px;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.nrand-gallery-list__items--scroll::-webkit-scrollbar{
  width:8px;
}
.nrand-gallery-list__items--scroll::-webkit-scrollbar-thumb{
  background:rgba(15,23,42,.14);
  border-radius:999px;
}
.nrand-gallery-list__items--scroll::-webkit-scrollbar-thumb:hover{
  background:rgba(214,31,38,.28);
}
.nrand-gallery-item--light{
  width:100%;
  border:none;
  text-align:left;
  display:grid;
  grid-template-columns:138px 1fr;
  gap:12px;
  padding:10px;
  margin-bottom:10px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nrand-gallery-item--light:last-child{
  margin-bottom:0;
}
.nrand-gallery-item--light:hover,
.nrand-gallery-item--light.is-active{
  transform:translateY(-2px);
  border-color:rgba(214,31,38,.24);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}
.nrand-gallery-item__thumb-wrap--light{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:#eef2f6;
  min-height:94px;
}
.nrand-gallery-item__video-preview{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:#e5e7eb;
}
.nrand-gallery-item__play{
  position:absolute;
  left:10px;
  top:10px;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(214,31,38,.92);
  color:#fff;
  font-size:12px;
  box-shadow:0 10px 20px rgba(0,0,0,.18);
  z-index:2;
  pointer-events:none;
}
.nrand-gallery-item__body--light{
  min-width:0;
}
.nrand-gallery-item__category--light{
  color:#d61f26;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:6px;
}
.nrand-gallery-item__body--light h4{
  margin:0 0 6px;
  color:#111827;
  font-size:15px;
  line-height:1.35;
  font-weight:800;
}
.nrand-gallery-item__body--light p{
  margin:0 0 8px;
  color:#667085;
  font-size:12px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.nrand-gallery-item__meta--light{
  color:#98a2b3;
  font-size:11px;
  font-weight:700;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1100px){
  .hero__content{grid-template-columns:1fr; padding:42px 22px}
  .cards{grid-template-columns:1fr}
  .why__grid{grid-template-columns: repeat(2, minmax(0,1fr))}
  .nrand-plans-grid{grid-template-columns:repeat(2, minmax(0,1fr));}
}

@media (max-width: 980px){
  .branches__grid{grid-template-columns:1fr}
  .dd__menu{ left:auto; right:0; }
  .mbrand{display:flex !important;}
  .nrand-plan-grid{grid-template-columns:1fr;}
  .nrand-plan-price-row,
  .nrand-plan-actions{grid-template-columns:1fr;}
  .nrand-plan-wrapper{padding:16px;}
  .nrand-funeral-hero{height:108px;}
  .nrand-funeral-hero__bar{
    grid-template-columns: 1fr auto 1fr;
    padding:0 14px;
  }
  .nrand-funeral-hero__center h1{font-size:22px;}
  .nrand-mini-btn{
    height:36px;
    padding:0 12px;
    font-size:13px;
  }
}

@media (max-width: 780px){
  .formgrid{grid-template-columns:1fr}
}

@media (max-width: 767px){
  .nrand-plans-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .nrand-plan-slide-card{
    padding:14px 13px 12px;
  }
  .nrand-plan-slide-card__text{
    min-height:auto;
  }
  .nrand-home-plan-modal__prices,
  .nrand-home-plan-modal__list{
    grid-template-columns:1fr;
  }
}

@media (max-width: 680px){
  .nrand-modal__panel{
    width:min(100%, calc(100% - 16px));
    margin:8px auto;
    max-height:calc(100vh - 16px);
    border-radius:18px;
  }
  .nrand-modal__price-row{
    grid-template-columns:1fr;
  }
  .nrand-modal__actions{
    flex-direction:column;
  }
  .nrand-modal__actions .btn{
    width:100%;
  }
  .nrand-modal__row{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 640px){
  .nrand-funeral-hero__bar{
    grid-template-columns: 1fr;
    gap:8px;
    justify-items:center;
    text-align:center;
  }
  .nrand-funeral-hero{
    height:auto;
    min-height:118px;
    padding:12px 0;
  }
  .nrand-funeral-hero__right,
  .nrand-funeral-hero__left{
    display:flex;
    justify-content:center;
  }

  .nrand-gallery-container{
    padding:0 14px;
  }
  .nrand-gallery-hero{
    padding:12px 0 8px;
  }
  .nrand-gallery-hero__content{
    padding:14px 14px 16px;
  }
  .nrand-gallery-hero__content h1{
    font-size:22px;
  }
  .nrand-gallery-hero__content p{
    font-size:12px;
    line-height:1.5;
  }
  .nrand-gallery-feature__meta h2{
    font-size:22px;
  }
  .nrand-gallery-item--light{
    grid-template-columns:1fr;
  }
  .nrand-gallery-item__thumb-wrap--light{
    min-height:180px;
  }
  .nrand-gallery-feature__playbtn{
    width:72px;
    height:72px;
  }
  .nrand-gallery-feature__playbtn span{
    font-size:24px;
  }
}

@media (max-width: 420px){
  .nav__links{display:none}
  .cta h3{font-size:26px}
}

@media (max-width: 1200px){
  .nrand-gallery-shell{
    grid-template-columns:1fr;
  }
  .nrand-gallery-images-list--scroll,
  .nrand-gallery-list__items--scroll{
    max-height:none;
    overflow:visible;
  }
}