/* ============================================================
   Loan Credit Network — style.css
   Theme: Deep Emerald & Gold (distinctive financial palette)
   ============================================================ */

/* ---------- Local Fonts ---------- */
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display-600i.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Design Tokens ---------- */
:root {
  --em-950: #04231B;
  --em-900: #06382B;
  --em-800: #0A4736;
  --em-700: #0E5A45;
  --em-600: #12705A;
  --em-500: #1B8A70;
  --em-100: #DCEFE7;
  --em-50:  #EEF7F3;
  --gold-600: #C08F1D;
  --gold-500: #D9A62E;
  --gold-400: #E7B93F;
  --gold-300: #F0CD6E;
  --gold-100: #FBF1D7;
  --cream: #FAF8F2;
  --ink: #13291F;
  --muted: #5B6E66;
  --radius: 20px;
  --shadow-sm: 0 10px 28px rgba(10, 71, 54, .08);
  --shadow-md: 0 18px 44px rgba(10, 71, 54, .12);
  --shadow-lg: 0 28px 64px rgba(10, 71, 54, .18);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; color: var(--ink); font-weight: 700; }
a { transition: color .25s ease; }
img { max-width: 100%; }
::selection { background: var(--gold-500); color: var(--em-950); }
:focus-visible { outline: 3px solid rgba(231, 185, 63, .65); outline-offset: 2px; border-radius: 4px; }
section[id] { scroll-margin-top: 92px; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #EAF1EE; }
::-webkit-scrollbar-thumb { background: var(--em-700); border-radius: 8px; border: 2px solid #EAF1EE; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-600); }

/* ---------- Layout Helpers ---------- */
.section { padding: 98px 0; }
.section-sm { padding: 70px 0; }
.bg-cream { background: var(--cream); }
.bg-emerald-deep { background: var(--em-950); }
.pattern-dots { position: relative; }
.pattern-dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.6px);
  background-size: 26px 26px;
}
.container { position: relative; z-index: 1; }

.text-gold { color: var(--gold-500) !important; }
.text-emerald { color: var(--em-700) !important; }

/* ---------- Section Headers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  text-transform: uppercase; letter-spacing: .2em;
  font-size: .76rem; font-weight: 700; color: var(--em-600);
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 30px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.eyebrow.light { color: var(--gold-400); }

.section-title { font-weight: 700; color: var(--ink); font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.18; margin-top: .85rem; }
.section-sub { color: var(--muted); max-width: 640px; margin: 1rem auto 0; font-size: 1.03rem; }
.section-header.on-dark .section-title { color: #fff; }
.section-header.on-dark .section-sub { color: rgba(255, 255, 255, .68); }

/* ---------- Buttons ---------- */
.btn { transition: all .3s ease; }
.btn-gold {
  background: linear-gradient(135deg, #EAB93F, #D9A62E);
  color: var(--em-950); font-weight: 700; border: 0;
  border-radius: 50rem; padding: .78rem 1.8rem;
  box-shadow: 0 10px 26px rgba(217, 166, 46, .38);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: linear-gradient(135deg, #F0C75B, #E0AE33);
  color: var(--em-950); transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(217, 166, 46, .5);
}
.btn-emerald {
  background: var(--em-700); color: #fff; font-weight: 600; border: 0;
  border-radius: 50rem; padding: .72rem 1.65rem;
}
.btn-emerald:hover, .btn-emerald:focus-visible {
  background: var(--em-600); color: #fff; transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14, 90, 69, .35);
}
.btn-outline-cream {
  border: 1.6px solid rgba(255, 255, 255, .55); color: #fff; font-weight: 600;
  border-radius: 50rem; padding: .72rem 1.65rem; background: transparent;
}
.btn-outline-cream:hover, .btn-outline-cream:focus-visible {
  background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; transform: translateY(-3px);
}
.btn-gold.btn-lg, .btn-emerald.btn-lg { padding: 1rem 2.3rem; font-size: 1.04rem; }

/* ---------- Navbar ---------- */
.lcn-navbar {
  padding: 20px 0; transition: all .35s ease; z-index: 1030;
  background: linear-gradient(to bottom, rgba(4, 35, 27, .65), rgba(4, 35, 27, 0));
}
.lcn-navbar.scrolled {
  background: rgba(6, 45, 34, .97);
  box-shadow: 0 10px 30px rgba(4, 35, 27, .3);
  padding: 11px 0;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.navbar-brand { padding: 0; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--em-950); font-weight: 800; font-size: .82rem; letter-spacing: .03em;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(217, 166, 46, .35);
}
.brand-text { font-family: 'Playfair Display', Georgia, serif; color: #fff; font-size: 1.22rem; font-weight: 700; line-height: 1.05; display: flex; flex-direction: column; }
.brand-text em { font-style: normal; font-family: 'Inter', sans-serif; font-size: .58rem; letter-spacing: .48em; color: var(--gold-400); font-weight: 700; text-transform: uppercase; margin-top: .3rem; }

.lcn-navbar .nav-link {
  color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .97rem;
  padding: .55rem .95rem !important; position: relative; transition: color .25s ease;
}
.lcn-navbar .nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .26rem; height: 2px;
  background: var(--gold-400); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.lcn-navbar .nav-link:hover, .lcn-navbar .nav-link.active { color: var(--gold-400); }
.lcn-navbar .nav-link:hover::after, .lcn-navbar .nav-link.active::after { transform: scaleX(1); }
.btn-cta-nav { margin-left: .5rem; padding: .6rem 1.5rem !important; }

@media (max-width: 991.98px) {
  .lcn-navbar { background: rgba(6, 45, 34, .98); padding: 13px 0; }
  .lcn-navbar .navbar-collapse {
    margin-top: 14px; background: var(--em-900);
    border: 1px solid rgba(231, 185, 63, .22); border-radius: 16px;
    padding: 12px 18px 18px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  }
  .lcn-navbar .nav-link { padding: .8rem .4rem !important; }
  .lcn-navbar .nav-link::after { left: .4rem; right: auto; width: 26px; }
  .btn-cta-nav { margin: .6rem 0 0; display: inline-block; }
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 176px 0 112px;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(27, 138, 112, .4), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(217, 166, 46, .16), transparent 60%),
    linear-gradient(140deg, #04231B 0%, #06382B 52%, #0A4736 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.6px);
  background-size: 26px 26px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1.1rem; border-radius: 50rem;
  border: 1px solid rgba(231, 185, 63, .45); background: rgba(231, 185, 63, .1);
  color: var(--gold-300); font-weight: 600; font-size: .85rem; letter-spacing: .04em;
}
.hero-badge i { color: var(--gold-400); }
.hero-title {
  font-weight: 700; color: #fff; line-height: 1.12; margin: 1.4rem 0 1.3rem;
  font-size: clamp(2.5rem, 4.8vw, 3.9rem);
}
.hero-title em { font-style: italic; color: var(--gold-400); font-weight: 600; }
.hero-sub { color: rgba(255, 255, 255, .78); font-size: 1.08rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-trust { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.6rem; flex-wrap: wrap; }
.trust-avatars { display: flex; padding-left: 10px; }
.avatar-dot {
  width: 44px; height: 44px; border-radius: 50%; margin-left: -11px;
  border: 3px solid var(--em-800); display: grid; place-items: center;
  font-weight: 700; font-size: .78rem; color: #fff;
  background: linear-gradient(135deg, var(--em-500), var(--em-800));
}
.avatar-dot.gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--em-950); }
.trust-text { color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.55; }
.trust-text strong { color: #fff; }
.trust-text .t-stars-mini { color: var(--gold-400); letter-spacing: 2px; }

.hero-visual { position: relative; padding: 14px; }
.hero-frame { position: absolute; top: 36px; right: -8px; bottom: -8px; left: 36px; border: 2px solid rgba(231, 185, 63, .5); border-radius: 30px; }
.hero-img {
  position: relative; z-index: 1; width: 100%;
  border-radius: 26px; aspect-ratio: 4 / 4.55; object-fit: cover;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .4);
}
.float-card {
  position: absolute; z-index: 2; background: rgba(255, 255, 255, .97);
  border-radius: 16px; padding: 13px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-1 { top: 38px; left: -16px; }
.float-2 { bottom: 42px; right: -8px; animation-delay: 2.7s; }
.float-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.float-1 .float-ico { background: var(--em-50); color: var(--em-600); }
.float-2 .float-ico { background: var(--gold-100); color: var(--gold-600); }
.float-card strong { display: block; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.float-card span { font-size: .8rem; color: var(--muted); }

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

/* ---------- Ticker Strip ---------- */
.ticker { background: linear-gradient(90deg, var(--gold-500), var(--gold-400) 55%, var(--gold-500)); padding: 13px 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tickerScroll 30s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center; gap: .65rem; margin-right: 3rem;
  color: var(--em-950); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; font-size: .85rem; white-space: nowrap;
}
.ticker-item i { font-size: .5rem; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- About / Why (Home) ---------- */
.about-media { position: relative; padding: 14px; }
.about-frame { position: absolute; top: 30px; right: -8px; bottom: -8px; left: 30px; border: 2px solid rgba(217, 166, 46, .45); border-radius: 26px; }
.about-img-main { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; z-index: 2; right: -12px; bottom: 40px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--em-950); border-radius: 18px; padding: 20px 26px; text-align: center;
  box-shadow: 0 18px 40px rgba(217, 166, 46, .42);
}
.about-badge strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.15rem; font-weight: 800; line-height: 1.1; }
.about-badge span { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.check-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .9rem; color: #3E554C; font-weight: 500; font-size: .98rem; }
.check-list li i { color: var(--em-600); background: var(--em-50); border-radius: 50%; padding: .3rem; font-size: .88rem; margin-top: .1rem; flex: none; }

/* ---------- Service Cards ---------- */
.service-card {
  background: #fff; border: 1px solid rgba(14, 90, 69, .09); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease; position: relative;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-media { overflow: hidden; }
.service-img { width: 100%; height: 208px; object-fit: cover; display: block; transition: transform .7s ease; }
.service-card:hover .service-img { transform: scale(1.08); }
.service-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.26rem; font-weight: 700; color: var(--ink); margin-bottom: .65rem; }
.service-body p { color: var(--muted); font-size: .95rem; line-height: 1.75; flex-grow: 1; margin-bottom: 1.35rem; }
.service-body .btn { align-self: flex-start; }

/* ---------- Services Page: Chips + Details ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.service-chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.25rem;
  border-radius: 50rem; border: 1.5px solid rgba(14, 90, 69, .25);
  color: var(--em-700); font-weight: 600; font-size: .9rem; text-decoration: none;
  background: #fff; transition: all .3s ease;
}
.service-chip:hover { background: var(--em-700); color: var(--gold-400); border-color: var(--em-700); transform: translateY(-3px); }

.svc-detail { padding: 92px 0; }
.svc-media { position: relative; padding: 14px; }
.svc-frame { position: absolute; top: 30px; right: -8px; bottom: -8px; left: 30px; border: 2px solid rgba(217, 166, 46, .45); border-radius: 26px; }
.svc-media img { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 340px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-md); }
.svc-detail.reverse .svc-media .svc-frame { top: 30px; right: 30px; bottom: -8px; left: -8px; }
.svc-tag {
  display: inline-block; background: var(--gold-100); color: #8A6A10;
  font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .42rem 1.05rem; border-radius: 50rem; margin-bottom: 1rem;
}
.svc-detail h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin-bottom: 1rem; }
.svc-detail .lead-text { color: #3E554C; font-size: 1.02rem; line-height: 1.85; }
.svc-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.svc-list li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .85rem; color: #3E554C; font-size: .97rem; }
.svc-list li i { color: var(--gold-600); font-size: 1.05rem; margin-top: .12rem; flex: none; }

/* ---------- Process Steps ---------- */
.process-section {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(27, 138, 112, .3), transparent 60%),
    linear-gradient(160deg, #06382B, #04231B);
}
.steps-row { position: relative; }
.step-card { text-align: center; position: relative; z-index: 1; }
.step-icon {
  width: 88px; height: 88px; margin: 0 auto 1.5rem;
  background: rgba(217, 166, 46, .09); border: 1.5px solid rgba(231, 185, 63, .4);
  border-radius: 22px; display: grid; place-items: center;
  transform: rotate(45deg); transition: all .4s ease;
}
.step-icon i { transform: rotate(-45deg); font-size: 1.9rem; color: var(--gold-400); transition: all .4s ease; }
.step-card:hover .step-icon { background: rgba(217, 166, 46, .2); border-color: var(--gold-400); }
.step-label { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; margin-bottom: .5rem; }
.step-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .7rem; }
.step-card p { color: rgba(255, 255, 255, .66); font-size: .94rem; line-height: 1.7; }
@media (min-width: 992px) {
  .steps-row::before {
    content: ""; position: absolute; top: 44px; left: 12%; right: 12%;
    border-top: 1.5px dashed rgba(231, 185, 63, .35);
  }
}

/* ---------- Stats Band ---------- */
.stats-band {
  background: linear-gradient(120deg, #E7B93F, #D9A62E 55%, #C99A22);
  padding: 76px 0; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, transparent 38%);
}
.stat-item { text-align: center; position: relative; }
.stat-num { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(2.3rem, 4vw, 3.4rem); color: var(--em-950); line-height: 1.05; }
.stat-label { margin-top: .5rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: rgba(4, 35, 27, .72); }
@media (min-width: 992px) {
  .stat-item + .stat-item::before {
    content: ""; position: absolute; top: 50%; transform: translateY(-50%);
    left: -14px; height: 58%; width: 1.5px; background: rgba(4, 35, 27, .22);
  }
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff; border: 1px solid rgba(14, 90, 69, .08); border-radius: var(--radius);
  padding: 36px 30px 30px; height: 100%; position: relative; box-shadow: var(--shadow-sm);
}
.t-quote-ico {
  position: absolute; top: -21px; left: 26px; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--em-600), var(--em-800)); color: var(--gold-400);
  display: grid; place-items: center; font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(10, 71, 54, .3);
}
.t-stars { color: var(--gold-500); font-size: .88rem; letter-spacing: 2.5px; margin-bottom: 1rem; }
.t-text { color: #41564D; font-size: 1rem; line-height: 1.85; font-style: italic; margin-bottom: 1.7rem; }
.t-person { display: flex; align-items: center; gap: .95rem; }
.t-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; color: var(--gold-300);
  background: linear-gradient(135deg, var(--em-600), var(--em-800));
}
.t-avatar.v2 { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--em-950); }
.t-avatar.v3 { background: linear-gradient(135deg, var(--em-500), var(--em-700)); }
.t-avatar.v4 { background: linear-gradient(135deg, #B48A21, #8C6A14); color: var(--gold-100); }
.t-avatar.v5 { background: linear-gradient(135deg, #0A4736, #04231B); }
.t-avatar.v6 { background: linear-gradient(135deg, #F0CD6E, #D9A62E); color: var(--em-950); }
.t-person h4 { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin: 0; }
.t-controls { display: flex; justify-content: center; gap: 14px; margin-top: 46px; }
.t-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(14, 90, 69, .25);
  background: #fff; color: var(--em-700); font-size: 1.1rem;
  display: grid; place-items: center; transition: all .3s ease;
}
.t-btn:hover { background: var(--em-700); color: var(--gold-400); border-color: var(--em-700); transform: translateY(-3px); }
.t-carousel .carousel-indicators { position: static; margin: 28px 0 0; }
.t-carousel .carousel-indicators [data-bs-target] {
  width: 9px; height: 9px; border-radius: 50%; border: 0;
  background: rgba(14, 90, 69, .22); transition: all .3s ease;
}
.t-carousel .carousel-indicators .active { background: var(--gold-500); transform: scale(1.25); }

/* ---------- Blog Cards ---------- */
.blog-card {
  background: #fff; border: 1px solid rgba(14, 90, 69, .09); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-media { overflow: hidden; }
.blog-img { width: 100%; height: 215px; object-fit: cover; display: block; transition: transform .7s ease; }
.blog-card:hover .blog-img { transform: scale(1.07); }
.blog-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 1.16rem; line-height: 1.45; margin-bottom: .8rem; }
.blog-body h3 a { color: var(--ink); text-decoration: none; transition: color .25s; }
.blog-body h3 a:hover { color: var(--em-700); }
.blog-body p { color: var(--muted); font-size: .95rem; line-height: 1.75; flex-grow: 1; margin-bottom: 1.2rem; }
.blog-link { color: var(--em-700); font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.blog-link i { transition: transform .3s ease; }
.blog-link:hover { color: var(--gold-600); }
.blog-link:hover i { transform: translateX(5px); }

/* ---------- Blog Post Page ---------- */
.post-hero { border-radius: 22px; overflow: hidden; margin-bottom: 2.6rem; }
.post-hero img { width: 100%; max-height: 470px; object-fit: cover; display: block; }
.post-article .lead { font-size: 1.14rem; color: #2E463D; font-weight: 500; line-height: 1.9; }
.post-article p { color: #3E554C; line-height: 1.95; font-size: 1.02rem; margin-bottom: 1.5rem; }
.post-article h3 {
  font-size: 1.42rem; margin: 2.4rem 0 1.1rem; color: var(--ink);
  position: relative; padding-left: 18px;
}
.post-article h3::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px;
  border-radius: 4px; background: linear-gradient(var(--gold-400), var(--gold-600));
}
.post-quote {
  background: var(--em-50); border-left: 4px solid var(--gold-500);
  border-radius: 6px 18px 18px 6px; padding: 26px 30px; margin: 2.6rem 0;
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.16rem;
  color: var(--em-800); line-height: 1.75;
}
.post-quote i { color: var(--gold-500); font-size: 1.5rem; margin-right: .5rem; }
.post-cta {
  background: linear-gradient(135deg, var(--em-800), var(--em-950));
  border-radius: 22px; padding: 44px 42px; color: #fff; margin-top: 3rem;
  position: relative; overflow: hidden;
}
.post-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.6px);
  background-size: 24px 24px;
}
.post-cta h3 { color: #fff; font-size: 1.55rem; margin-bottom: .8rem; }
.post-cta p { color: rgba(255, 255, 255, .75); margin-bottom: 1.6rem; }
.post-cta .btn { position: relative; z-index: 1; }
.related-title { font-size: 1.5rem; margin: 3.6rem 0 1.6rem; }
.post-nav { margin-top: 2.4rem; }

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  position: relative; overflow: hidden; color: #fff; padding: 168px 0 90px;
  background:
    radial-gradient(800px 380px at 85% -20%, rgba(27, 138, 112, .35), transparent 60%),
    linear-gradient(140deg, #04231B, #06382B 55%, #0A4736);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.6px);
  background-size: 26px 26px;
}
.banner-title { font-weight: 700; color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.15; }
.banner-sub { color: rgba(255, 255, 255, .72); font-size: 1.05rem; max-width: 620px; margin-top: 1rem; }
.page-banner .breadcrumb { --bs-breadcrumb-divider: '>'; margin: 1.3rem 0 0; }
.page-banner .breadcrumb-item a { color: var(--gold-300); text-decoration: none; font-weight: 600; }
.page-banner .breadcrumb-item a:hover { color: var(--gold-400); }
.page-banner .breadcrumb-item.active { color: rgba(255, 255, 255, .82); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: var(--gold-500); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border-radius: 22px; padding: clamp(26px, 4vw, 46px);
  box-shadow: 0 18px 50px rgba(10, 71, 54, .1); border: 1px solid rgba(14, 90, 69, .08);
}
.form-label { font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .45rem; }
.form-control, .form-select {
  border-radius: 12px; border: 1.5px solid #D9E5E0; padding: .78rem 1rem;
  font-size: .97rem; color: var(--ink); background-color: #FBFDFC;
}
.form-control:focus, .form-select:focus {
  border-color: var(--em-500); background: #fff;
  box-shadow: 0 0 0 .22rem rgba(27, 138, 112, .16);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #DC5A50; }
textarea.form-control { min-height: 145px; resize: vertical; }
.form-hint { font-size: .85rem; color: var(--muted); }
.alert-success { border-radius: 14px; }
.alert-soft-gold { background: var(--gold-100); border: 1px solid rgba(217, 166, 46, .45); color: #6B5312; border-radius: 14px; }
.alert a { font-weight: 700; }

/* Newsletter (footer + pages) */
.newsletter-form {
  display: flex; align-items: center; gap: 6px; padding: 5px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50rem;
}
.newsletter-form .form-control {
  background: transparent; border: none; color: #fff;
  padding: .6rem 1.05rem; box-shadow: none; flex: 1; min-width: 0;
}
.newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter-form .form-control:focus { box-shadow: none; background: rgba(255, 255, 255, .05); }
.newsletter-form .form-control.is-invalid { box-shadow: 0 0 0 2px #E0837A; border-radius: 50rem; }
.newsletter-form button {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--em-950); font-size: 1.02rem; display: grid; place-items: center; transition: all .3s ease;
}
.newsletter-form button:hover { transform: scale(1.08) rotate(-8deg); }
.newsletter-form.shake { animation: shake .5s ease; }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}

.subscribe-success {
  background: #fff; border-radius: 22px; padding: 54px 40px; text-align: center;
  box-shadow: 0 18px 50px rgba(10, 71, 54, .1); border: 1px solid rgba(14, 90, 69, .08);
}
.success-badge {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.4rem;
  background: linear-gradient(135deg, var(--em-50), var(--em-100));
  color: var(--em-600); display: grid; place-items: center; font-size: 2.5rem;
}
.subscribe-success h3 { font-size: 1.7rem; margin-bottom: .7rem; }
.subscribe-success p { color: var(--muted); }
.unsub-result { margin-top: 1.5rem; }

/* ---------- Subscribe page benefits ---------- */
.benefit-item {
  display: flex; gap: 1.1rem; align-items: flex-start; background: #fff;
  border: 1px solid rgba(14, 90, 69, .08); border-radius: 18px; padding: 22px 24px;
  box-shadow: var(--shadow-sm); height: 100%; transition: all .3s ease;
}
.benefit-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-ico { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--em-50); color: var(--em-600); display: grid; place-items: center; font-size: 1.3rem; }
.benefit-item h4 { font-size: 1.02rem; margin-bottom: .3rem; }
.benefit-item p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Contact page ---------- */
.info-card {
  display: flex; gap: 18px; align-items: flex-start; background: #fff;
  border: 1px solid rgba(14, 90, 69, .08); border-radius: 18px; padding: 24px;
  box-shadow: var(--shadow-sm); height: 100%; transition: all .3s ease;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-ico {
  width: 54px; height: 54px; flex: none; border-radius: 16px;
  background: var(--em-50); color: var(--em-600);
  display: grid; place-items: center; font-size: 1.32rem; transition: all .3s ease;
}
.info-card:hover .info-ico { background: var(--gold-500); color: var(--em-950); }
.info-card h4 { font-size: 1.04rem; margin-bottom: .35rem; }
.info-card p, .info-card a { color: var(--muted); font-size: .93rem; margin: 0; line-height: 1.65; text-decoration: none; }
.info-card a:hover { color: var(--em-700); }

.map-panel {
  border-radius: 22px; position: relative; overflow: hidden; min-height: 320px;
  background: linear-gradient(140deg, #06382B, #0A4736);
  display: flex; align-items: center; justify-content: center;
  padding: 52px 26px; text-align: center; color: #fff;
}
.map-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1.5px, transparent 1.5px);
  background-size: 46px 46px;
}
.map-panel::after {
  content: ""; position: absolute; width: 135%; height: 46px; left: -14%;
  top: 60%; background: rgba(231, 185, 63, .13); transform: rotate(-7deg); pointer-events: none;
}
.map-panel .map-inner { position: relative; z-index: 1; }
.map-panel .bi-geo-alt { font-size: 2.6rem; color: var(--gold-400); display: block; margin-bottom: .6rem; }
.map-panel h3 { color: #fff; font-size: 1.35rem; margin-bottom: .4rem; }
.map-panel p { color: rgba(255, 255, 255, .72); margin-bottom: 1.4rem; }

/* ---------- Legal Pages ---------- */
.legal-wrap { padding: 90px 0; }
.legal-card {
  background: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 16px 46px rgba(10, 71, 54, .08); border: 1px solid rgba(14, 90, 69, .07);
}
.legal-updated {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold-100); color: #8A6A10;
  border: 1px solid rgba(217, 166, 46, .45); border-radius: 50rem;
  padding: .45rem 1.15rem; font-size: .85rem; font-weight: 600; margin-bottom: 1.9rem;
}
.legal-card h2 {
  font-size: 1.45rem; color: var(--ink); margin: 2.7rem 0 1rem;
  position: relative; padding-left: 18px;
}
.legal-card h2:first-of-type { margin-top: .4rem; }
.legal-card h2::before {
  content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 4px;
  border-radius: 4px; background: linear-gradient(var(--gold-400), var(--gold-600));
}
.legal-card p { color: #42574E; line-height: 1.9; margin-bottom: 1.1rem; font-size: .99rem; }
.legal-card ul { color: #42574E; line-height: 1.9; padding-left: 1.35rem; margin-bottom: 1.2rem; }
.legal-card ul li { margin-bottom: .45rem; }
.legal-card ul li::marker { color: var(--gold-600); }
.legal-card a { color: var(--em-700); font-weight: 600; text-decoration: none; }
.legal-card a:hover { color: var(--gold-600); }

/* ---------- Why Choose Us / Value cards ---------- */
.why-card {
  background: #fff; border: 1px solid rgba(14, 90, 69, .08); border-radius: var(--radius);
  padding: 34px 30px; height: 100%; transition: all .3s ease; box-shadow: var(--shadow-sm);
}
.why-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.why-ico {
  width: 58px; height: 58px; border-radius: 16px; background: var(--em-50); color: var(--em-600);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.25rem; transition: all .3s ease;
}
.why-card:hover .why-ico { background: var(--gold-500); color: var(--em-950); }
.why-card h3 { font-size: 1.14rem; margin-bottom: .6rem; }
.why-card p { color: var(--muted); font-size: .95rem; line-height: 1.75; margin: 0; }
.value-chip {
  display: inline-block; background: var(--em-50); color: var(--em-700);
  border: 1px solid rgba(14, 90, 69, .18); border-radius: 50rem;
  padding: .4rem 1rem; font-size: .85rem; font-weight: 600; margin: .3rem .25rem .3rem 0;
}

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; padding: 94px 0;
  background:
    radial-gradient(700px 340px at 12% 20%, rgba(217, 166, 46, .17), transparent 55%),
    linear-gradient(135deg, #04231B, #0A4736);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.6px);
  background-size: 26px 26px;
}
.cta-title { font-weight: 700; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.22; }
.cta-title em { font-style: italic; color: var(--gold-400); font-weight: 600; }
.cta-text { color: rgba(255, 255, 255, .75); margin-top: 1.1rem; max-width: 580px; }
.cta-phone { margin-top: 1.2rem; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.cta-phone i { color: var(--gold-400); }
.cta-phone a { color: var(--gold-400); font-weight: 700; text-decoration: none; }
.cta-phone a:hover { color: var(--gold-300); }

/* ---------- Footer ---------- */
.lcn-footer { background: var(--em-950); color: rgba(255, 255, 255, .72); position: relative; }
.lcn-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.footer-top { padding: 78px 0 46px; }
.footer-brand { text-decoration: none; margin-bottom: 1.25rem; display: inline-flex; }
.footer-about { font-size: .95rem; line-height: 1.85; color: rgba(255, 255, 255, .62); margin-bottom: 1.6rem; max-width: 350px; }
.footer-title { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 1.35rem; position: relative; padding-bottom: .65rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2.5px; border-radius: 3px; background: var(--gold-500); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .78rem; }
.footer-links a {
  color: rgba(255, 255, 255, .66); text-decoration: none; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .5rem; transition: all .25s ease;
}
.footer-links a i { font-size: .58rem; color: var(--gold-500); transition: transform .25s ease; }
.footer-links a:hover { color: var(--gold-400); }
.footer-links a:hover i { transform: translateX(3px); }
.social-links { display: flex; gap: .6rem; }
.social-links a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8); display: grid; place-items: center;
  font-size: .95rem; text-decoration: none; transition: all .3s ease;
}
.social-links a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--em-950); transform: translateY(-4px); }
.footer-news-text { font-size: .92rem; color: rgba(255, 255, 255, .6); line-height: 1.75; margin-bottom: 1.1rem; }
.footer-contact { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .85rem; font-size: .92rem; align-items: flex-start; color: rgba(255, 255, 255, .68); }
.footer-contact i { color: var(--gold-400); margin-top: .2rem; }
.footer-contact a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .88rem; color: rgba(255, 255, 255, .5); }
.footer-bottom a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-bottom .dot { margin: 0 .55rem; color: var(--gold-500); }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px;
  border-radius: 50%; background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--em-950); display: grid; place-items: center; font-size: 1.15rem;
  z-index: 99; text-decoration: none; border: none;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .35s ease; box-shadow: 0 12px 28px rgba(217, 166, 46, .42);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); color: var(--em-950); }

/* ---------- Toasts ---------- */
.toast-stack {
  position: fixed; top: 92px; right: 20px; z-index: 1080;
  display: flex; flex-direction: column; gap: 10px;
  max-width: min(370px, calc(100vw - 40px));
}
.toast-item {
  display: flex; align-items: flex-start; gap: 11px; background: #fff;
  border-radius: 14px; padding: 14px 18px; font-size: .94rem; font-weight: 500;
  color: var(--ink); border-left: 4px solid var(--em-600);
  box-shadow: 0 18px 44px rgba(4, 35, 27, .22);
  animation: slideInRight .4s cubic-bezier(.2, .9, .3, 1.15);
}
.toast-item i { font-size: 1.2rem; line-height: 1.4; color: var(--em-600); flex: none; }
.toast-item.error { border-left-color: #D64C42; }
.toast-item.error i { color: #D64C42; }
.toast-item.info { border-left-color: var(--gold-500); }
.toast-item.info i { color: var(--gold-600); }
.toast-item.hide { animation: fadeOutRight .35s ease forwards; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(44px); } to { opacity: 1; transform: none; } }
@keyframes fadeOutRight { to { opacity: 0; transform: translateX(50px); } }

/* ---------- Reveal Animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .ticker-track { animation: none; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .section { padding: 76px 0; }
  .hero { padding: 156px 0 96px; }
  .hero-visual { margin-top: 3.4rem; }
  .page-banner { padding: 152px 0 74px; }
  .about-badge { right: 6px; }
  .svc-detail { padding: 72px 0; }
  .steps-row::before { display: none; }
}
@media (max-width: 575.98px) {
  .hero { padding: 148px 0 84px; }
  .hero-title { font-size: 2.35rem; }
  .float-card { padding: 10px 13px; border-radius: 13px; }
  .float-ico { width: 38px; height: 38px; font-size: 1rem; border-radius: 11px; }
  .float-card strong { font-size: .85rem; }
  .float-card span { font-size: .72rem; }
  .float-1 { left: -6px; top: 18px; }
  .float-2 { right: -4px; bottom: 20px; }
  .about-badge { padding: 15px 18px; }
  .about-badge strong { font-size: 1.6rem; }
  .toast-stack { top: auto; bottom: 88px; }
  .post-cta { padding: 34px 26px; }
}
