@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Manrope:wght@300;400;500;600;700;800&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');/* :root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1
    ) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;


  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

body {
  margin: 0;
}

#root {
  width: 1126px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  border-inline: 1px solid var(--border);
 
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 56px;
  letter-spacing: -1.68px;
  margin: 32px 0;
  @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  }
}
h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}



code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
} */

:root {
  /* Typography */
  --nisoz-font: 'Manrope', sans-serif;
  --heading-font: 'Barlow Condensed', sans-serif;

  /* Brand Colors */
  --nisoz-base: #bc1421;
  --nisoz-base-rgb: 188, 20, 33;
  --nisoz-base-dark: #9b1019;

 
:root{
  --nisoz-black: #800020;      
  --nisoz-black-rgb: 128, 0, 32;

  --nisoz-black2: #5c0017;     

  --nisoz-black5: #2b000b; 
}

  
  --nisoz-white: #ffffff;
  --nisoz-white-rgb: 255, 255, 255;

  /* Text / UI tones */
  --nisoz-color:  #717175;
  --nisoz-color2: #646466;
  --nisoz-color3: #f2f2f6;

  /* Global transition */
  --transition: all 0.4s ease;

  /* Layout */
  --topbar-height: 44px;
  --header-height: 86px;
  --page-offset: calc(var(--topbar-height) + var(--header-height));

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  60px;
  --space-2xl: 80px;


  --inner-max: 1280px;
  --inner-pad: 24px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--nisoz-font);
  color: var(--nisoz-color);
  background-color: var(--nisoz-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
a {
  text-decoration: none;
  transition: var(--transition);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
}
/* ============================================================
   SHARED INNER WRAPPER
   Used by topbar, navbar, and footer to keep content
   centred with consistent max-width on every viewport.
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--inner-max);
  margin-inline: auto;
  padding-inline: var(--inner-pad);
}
/* container-fluid: full-width strip, but inner content still centred */
.container-fluid {
  width: 100%;
  max-width: var(--inner-max);
  margin-inline: auto;
  padding-inline: var(--inner-pad);
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -15px;
}
[class^='col-'] {
  padding-inline: 15px;
  position: relative;
}
/* Desktop columns */
.col-lg-2  { width: 16.6667%; }
.col-lg-3  { width: 25%; }
.col-lg-4  { width: 33.3333%; }
.col-lg-5  { width: 41.6667%; }
.col-lg-6  { width: 50%; }
.col-lg-8  { width: 66.6667%; }
.col-lg-9  { width: 75%; }
.col-lg-10 { width: 83.3333%; }
.col-lg-12 { width: 100%; }
/* Tablet columns */
.col-md-4  { width: 33.3333%; }
.col-md-6  { width: 50%; }
.col-md-12 { width: 100%; }
/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-wrapper {
  position: relative;
  overflow-x: hidden;
}
.page-content {
  padding-top: var(--page-offset);
}
/* ============================================================
   TOPBAR
   The <section class="topbar"> spans full width (dark bg),
   but the inner .container-fluid centres its content.
   ============================================================ */
.topbar {
  position: relative;
  background-color:#800020;

  padding-block: 7px 9px;
  z-index: 100;
  height: var(--topbar-height);
}
.topbar__wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
}
/* Topbar info list */
.topbar__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.topbar__list li {
  color: var(--nisoz-white);
  font-size: 12px;
  line-height: 1;
}
.topbar__list li span {
  position: relative;
  top: 1px;
  display: inline-block;
  color: var(--nisoz-base);
  font-size: 14px;
  margin-right: 7px;
}
.topbar__list li a {
  color: inherit;
}
.topbar__list li a:hover {
  color: var(--nisoz-base);
}
.topbar__list li + li {
  margin-left: 45px;
}
/* Topbar social */
.topbar__social {
  position: relative;
  margin-left: 60px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.topbar__social::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background-color: rgba(var(--nisoz-white-rgb), 0.1);
}
.topbar__social a {
  display: inline-flex;
  align-items: center;
  color: var(--nisoz-white);
  font-size: 14px;
}
.topbar__social a:hover {
  color: var(--nisoz-base);
}
.main-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    transition: 0.4s ease;
}
.main-header.sticky{
    box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}
/* ── Main Menu bar ── */
.main-menu {
  background-color: var(--nisoz-white);
  /* NO padding-inline — container-fluid handles it */
  width: 100%;
}
.main-menu .container-fluid {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;

  gap: 0;
}
/* Logo */
.main-menu__logo {
  display: flex;
  align-items: center;
  padding: 18px 0;
  flex-shrink: 0;
}
.main-menu__logo a {
  display: flex;
  align-items: center;
}
/* Desktop Nav */
.main-menu__nav {
  flex: 1;
  padding-left: 32px;
}
.main-menu__list {
  display: flex;
  align-items: center;
}
.main-menu__list > li {
  position: relative;
}
.main-menu__list > li > a {
  display: block;
  padding: 28px 16px;
  font-family: var(--nisoz-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--nisoz-black);
  transition: var(--transition);
  white-space: nowrap;
}
.main-menu__list > li > a:hover,
.main-menu__list > li > a.active {
  color: var(--nisoz-base);
}
/* Dropdown caret */
.main-menu__list > li.dropdown > a::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 6px;
  font-size: 11px;
  display: inline-block;
  transition: transform 0.25s ease;
}
.main-menu__list > li.dropdown:hover > a::after {
  transform: rotate(180deg);
}
/* Dropdown panel */
.main-menu__list > li.dropdown > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--nisoz-white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--nisoz-base);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 99;
}
.main-menu__list > li.dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-menu__list > li.dropdown > ul > li > a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--nisoz-black);
  font-weight: 500;
  transition: var(--transition);
}
.main-menu__list > li.dropdown > ul > li > a:hover {
  color: var(--nisoz-base);
  padding-left: 26px;
  background-color: var(--nisoz-color3);
}
/* Right-side controls */
.main-menu__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: auto;
  padding-left: 20px;
}
.main-menu__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: var(--nisoz-base);
  color: var(--nisoz-white) !important;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  transition: var(--transition);
}
.main-menu__phone:hover {
  background-color: var(--nisoz-base-dark);
  color: var(--nisoz-white) !important;
}
/* Hamburger */
.main-menu__toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--nisoz-black);
  padding: 4px 8px;
  transition: var(--transition);
  line-height: 1;
}
.main-menu__toggler:hover {
  color: var(--nisoz-base);
}
/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 200;
  cursor: pointer;
}
.mobile-nav__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background-color: var(--nisoz-black);
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav__wrapper.expanded {
  transform: translateX(0);
}
.mobile-nav__content {
  padding: 30px 24px 40px;
}
.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: var(--nisoz-white);
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: var(--space-md);
  transition: var(--transition);
}
.mobile-nav__close:hover {
  background: var(--nisoz-base);
}
.logo-box {
  margin-bottom: 28px;
}
/* Nav list */
.mobile-nav__list {
  margin-bottom: 28px;
}
.mobile-nav__list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav__list > li > a,
.mobile-nav__item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--nisoz-white);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.mobile-nav__list > li > a:hover,
.mobile-nav__item-btn:hover {
  color: var(--nisoz-base);
}
.mobile-nav__item-btn i {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.25s ease;
}
/* Sub-menu */
.mobile-nav__sub {
  padding: 4px 0 12px 14px;
}
.mobile-nav__sub li a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}
.mobile-nav__sub li a:hover {
  color: var(--nisoz-base);
}
/* Contact */
.mobile-nav__contact {
  margin: 20px 0;
}
.mobile-nav__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.mobile-nav__contact li i {
  color: var(--nisoz-base);
  font-size: 15px;
  flex-shrink: 0;
}
.mobile-nav__contact li a {
  color: inherit;
}
.mobile-nav__contact li a:hover {
  color: var(--nisoz-base);
}
/* Social icons */
.mobile-nav__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.mobile-nav__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--nisoz-white);
  border-radius: 50%;
  font-size: 16px;
  transition: var(--transition);
}
.mobile-nav__social a:hover {
  background-color: var(--nisoz-base);
  color: var(--nisoz-white);
}
.main-footer__bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  mix-blend-mode: luminosity;
  opacity: 0.06;
  pointer-events: none;
}
/* Footer nav */
.main-footer__navmenu ul li {
  display: block;
  line-height: 36px;
}
.main-footer__navmenu ul li a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
}
.main-footer__navmenu ul li a:hover {
  color: var(--nisoz-base);
  padding-left: 5px;
}
/* Footer about block */
.main-footer__about__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 26px;
  margin: 10px 0 16px;
}
.main-footer__about__info {
  list-style: none;
}
.main-footer__about__info li {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 36px;
  color: var(--nisoz-white);
}
.main-footer__about__info li span {
  font-size: 16px;
  color: var(--nisoz-base);
  margin-right: 12px;
  flex-shrink: 0;
}
.main-footer__about__info li a {
  color: inherit;
  transition: var(--transition);
}
.main-footer__about__info li a:hover {
  color: var(--nisoz-base);
}
/* Footer social row */
.main-footer__top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 7px;
  margin-top: var(--space-sm);
}
.main-footer__social {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
.main-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background-color: var(--nisoz-black5);
  color: var(--nisoz-white);
  border-radius: 50%;
  font-size: 18px;
  transition: var(--transition);
}
.main-footer__social a:hover {
  background-color: var(--nisoz-base);
  color: var(--nisoz-white);
}
/* ============================================================
   COPYRIGHT BAR
   ============================================================ */
.copyright {
  background-color: var(--nisoz-black5);
  padding: 18px 0;
}
.copyright__text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin: 0;
}
.copyright__text a {
  color: var(--nisoz-base);
  font-weight: 600;
}
.copyright__text a:hover {
  text-decoration: underline;
}
/* ============================================================
   MISC UTILITIES
   ============================================================ */
.hott--text {
  width: 36px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-100        { width: 100%; }
.mt-auto      { margin-top: auto; }
.mb-0         { margin-bottom: 0; }
@media (min-width: 1400px) {
  :root {
    --inner-max: 1360px;
    --inner-pad: 32px;
  }

  .main-menu__list > li > a {
    padding: 28px 18px;
  }
}
@media (max-width: 1399px) {
  :root {
    --inner-max: 1200px;
    --inner-pad: 24px;
  }
}
/* ── LG: Tablets landscape / small laptops 992–1199px ───── */
@media (max-width: 1199px) {
  .main-menu__nav {
    display: none;
  }

  .main-menu__toggler {
    display: block;
  }

  .topbar__list li + li {
    margin-left: 28px;
  }

  .topbar__social {
    margin-left: 30px;
  }

  .col-lg-2,
  .col-lg-3 {
    width: 25%;
  }

  .col-lg-5 {
    width: 50%;
  }
}
/* ── MD: Tablets portrait 768–991px ─────────────────────── */
@media (max-width: 991px) {
  :root {
    --page-offset: var(--header-height);
    --inner-pad: 20px;
  }

  .topbar {
    display: none;
  }

  .main-header {
    top: 0;
  }

  .page-content {
    padding-top: 80px;
  }

  /* Grid */
  .col-lg-2,
  .col-lg-3,
  .col-lg-5 {
    width: 50%;
  }

  .col-md-4 {
    width: 33.3333%;
  }

  .col-md-12 {
    width: 100%;
  }

  /* Footer */
  .main-footer {
    padding: var(--space-lg) 0 var(--space-xl);
  }

  .main-footer__top {
    justify-content: flex-start;
  }
}
/* ── SM: Large phones / phablets 576–767px ───────────────── */
@media (max-width: 767px) {
  :root {
    --inner-pad: 16px;
  }

  .main-menu__phone {
    display: none;
  }

  /* Grid — single column */
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10,
  .col-lg-12,
  .col-md-4,
  .col-md-6,
  .col-md-12 {
    width: 100%;
    margin-bottom: var(--space-md);
  }

  /* Footer */
  .main-footer {
    padding: var(--space-lg) 0 var(--space-lg);
  }

  .main-footer__top {
    justify-content: flex-start;
  }

  .main-footer__social a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Topbar list stacks on narrow */
  .topbar__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .topbar__list li + li {
    margin-left: 0;
  }

  /* Mobile nav fills more width */
  .mobile-nav__wrapper {
    width: 280px;
  }
}
/* ── XS: Standard small phones 360–575px ─────────────────── */
@media (max-width: 575px) {
  html {
    font-size: 15px;
  }

  :root {
    --inner-pad: 14px;
  }

  .main-menu__logo img {
    max-height: 40px;
    width: auto;
  }

  .main-footer__about__info li {
    font-size: 13px;
  }

  .copyright__text {
    font-size: 12px;
    text-align: center;
  }

  .mobile-nav__wrapper {
    width: calc(100vw - 44px);
    max-width: 300px;
  }

  .mobile-nav__content {
    padding: 24px 18px 36px;
  }

  .main-footer__social {
    gap: 6px;
  }
}
/* ── XXS: Very small phones < 360px ──────────────────────── */
@media (max-width: 359px) {
  html {
    font-size: 14px;
  }

  :root {
    --inner-pad: 10px;
  }

  .mobile-nav__wrapper {
    width: 100vw;
    max-width: 100vw;
  }

  .mobile-nav__content {
    padding: 20px 14px 32px;
  }

  .main-menu__logo img {
    max-height: 34px;
  }

  .main-footer__social a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .topbar__list li {
    font-size: 11px;
  }
}
@media print {
  .topbar,
  .main-header,
  .mobile-nav__wrapper,
  .mobile-nav__overlay,
  .main-menu__toggler {
    display: none !important;
  }

  .page-content {
    padding-top: 0 !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: inherit;
  }
}
 
:root {
  --orange:        #bc1421;
  --orange-dark:   #9b1019;
  --orange-deeper: #800020;
  --orange-light:  #f8e8ea;
 
  --ink:       #3a000e;
  --ink-mid:   #5c1a28;
  --muted:     #8c4054;
  --border:    #f0dade;
  --surface:   #fdf5f6;
  --surface-2: #fbeaec;
  --white:     #ffffff;
 
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
 
  --ease:      cubic-bezier(.4, 0, .2, 1);
  --radius:    10px;
  --shadow-sm: 0 2px 12px rgba(128,0,32,.07);
  --shadow-md: 0 8px 32px rgba(128,0,32,.12);
  --shadow-lg: 0 20px 60px rgba(128,0,32,.16);
}
 
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
/* ── PAGE ── */
 
.nf-page {
  font-family: var(--font-body);
  background: var(--surface);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
 
.nf-wrap {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: pageIn .7s var(--ease) both;
}
 
@keyframes pageIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
 
/* ── STAGE (bg circle + 404 + cat) ── */
 
.nf-stage {
  position: relative;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
 
/* big pale circle behind everything */
 
.nf-bg-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  padding-bottom: 72%;
  border-radius: 50%;
  background: var(--orange-light);
  z-index: 0;
}
 
/* ── 404 ROW ── */
 
.nf-four-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
 
.nf-big-num {
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
 
/* the middle "0" — cat sits here, we keep text but cat overlaps */
 
.nf-big-num--mid {
  opacity: 1;
}
 
/* ── CAT ── */
 
.nf-cat-wrap {
  position: absolute;
  /* vertically centred on the 404 row */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  z-index: 3;
  width: clamp(160px, 28vw, 260px);
}
 
.nf-cat-svg {
  width: 100%;
  height: auto;
  display: block;
  /* overall body bob */
  animation: catBob 2.8s ease-in-out infinite;
}
 
@keyframes catBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
 
/* ── HEAD wobble ── */
 
.nf-cat-head {
  transform-origin: 128px 148px;
  animation: headTilt 3.2s ease-in-out infinite;
}
 
@keyframes headTilt {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-6deg); }
  75%       { transform: rotate(6deg); }
}
 
/* ── EYES blink ── */
 
.nf-cat-eyes {
  animation: eyeBlink 4s ease-in-out infinite;
}
 
@keyframes eyeBlink {
  0%, 88%, 100% { transform: scaleY(1); }
  92%            { transform: scaleY(0.1); }
}
 
/* ── LEFT ARM wave ── */
 
.nf-cat-arm-l {
  transform-origin: 90px 210px;
  animation: armWaveL 2.4s ease-in-out infinite;
}
 
@keyframes armWaveL {
  0%, 100% { transform: rotate(0deg); }
  40%       { transform: rotate(-18deg); }
  70%       { transform: rotate(8deg); }
}
 
/* ── RIGHT ARM wave (opposite phase) ── */
 
.nf-cat-arm-r {
  transform-origin: 166px 210px;
  animation: armWaveR 2.4s ease-in-out infinite;
}
 
@keyframes armWaveR {
  0%, 100% { transform: rotate(0deg); }
  40%       { transform: rotate(18deg); }
  70%       { transform: rotate(-8deg); }
}
 
/* ── TAIL wag ── */
 
.nf-cat-tail {
  transform-origin: 128px 285px;
  animation: tailWag 1.6s ease-in-out infinite;
}
 
@keyframes tailWag {
  0%, 100% { transform: rotate(0deg); }
  30%       { transform: rotate(-22deg); }
  60%       { transform: rotate(14deg); }
}
 
/* ── BACK LEFT LEG ── */
 
.nf-cat-leg-bl {
  transform-origin: 100px 282px;
  animation: legKick 2.8s ease-in-out infinite;
}
 
/* ── FRONT RIGHT LEG ── */
 
.nf-cat-leg-fr {
  transform-origin: 152px 282px;
  animation: legKick 2.8s ease-in-out infinite reverse;
}
 
@keyframes legKick {
  0%, 100% { transform: rotate(0deg); }
  50%       { transform: rotate(10deg); }
}
 
/* ── FLOOR ROW (line + yarn + plant) ── */
 
.nf-floor-row {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: -2%;
}
 
.nf-floor-line {
  position: absolute;
  bottom: 18%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 15%, var(--border) 85%, transparent 100%);
}
 
.nf-yarn {
  width: clamp(70px, 11vw, 110px);
  height: auto;
  position: relative;
  z-index: 2;
  margin-bottom: 2%;
  margin-right: 2%;
  animation: yarnRoll 4s ease-in-out infinite;
}
 
@keyframes yarnRoll {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  40%       { transform: rotate(15deg) translateX(6px); }
  70%       { transform: rotate(-8deg) translateX(-4px); }
}
 
.nf-plant {
  width: clamp(70px, 11vw, 120px);
  height: auto;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  margin-left: 2%;
  animation: plantSway 3.6s ease-in-out infinite;
  transform-origin: bottom center;
}
 
@keyframes plantSway {
  0%, 100% { transform: rotate(0deg); }
  40%       { transform: rotate(2.5deg); }
  70%       { transform: rotate(-2deg); }
}
 
/* ── TEXT ── */
 
.nf-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: pageIn .7s .15s var(--ease) both;
}
 
.nf-oops {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
 
.nf-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 14px;
}
 
.nf-desc {
  font-size: clamp(.82rem, 2vw, .92rem);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 360px;
}
 
.nf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
 
.nf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  transition: background .22s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
 
.nf-btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(188,20,33,.28);
}
 
.nf-btn--primary:hover {
  background: var(--orange-dark);
  transform: translateX(4px);
  box-shadow: 0 10px 32px rgba(188,20,33,.38);
}
 
.nf-btn--primary svg { transition: transform .2s var(--ease); }
 
.nf-btn--primary:hover svg { transform: translateX(4px); }
 
.nf-btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
}
 
.nf-btn--ghost:hover {
  background: var(--surface-2);
  color: var(--ink-mid);
  border-color: rgba(188,20,33,.3);
}
 
.nf-btn--countdown {
  background: var(--orange-light);
  color: var(--orange);
  border: 1.5px solid rgba(188,20,33,.25);
}
 
.nf-btn--countdown:hover { background: #fad5d8; }
 
.nf-cd-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: spin 1s linear infinite;
}
 
.nf-cd-num { font-size: .8rem; animation: spin 1s linear infinite reverse; }
 
@keyframes spin { to { transform: rotate(360deg); } }
 
/* ── RESPONSIVE ── */
 
@media (max-width: 480px) {
  .nf-bg-circle { width: 88%; padding-bottom: 88%; }
  .nf-yarn, .nf-plant { width: clamp(50px, 14vw, 80px); }
}
 
/* =========================
   404 DIGITS PREMIUM ANIMATION
========================= */
 
.nf-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
  position: relative;
  z-index: 5;
}
 
/* COMMON DIGIT STYLE */
 
.nf-d {
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  position: relative;
}
 
/* LEFT 4 */
 
.nf-d--left {
  color: #bc1421;
  text-shadow:
    0 10px 30px rgba(188,20,33,0.35),
    0 0 15px rgba(188,20,33,0.2);
 
  animation: nfFloatLeft 3s ease-in-out infinite;
}
 
/* RIGHT 4 */
 
.nf-d--right {
  color: #bc1421;
  text-shadow:
    0 10px 30px rgba(188,20,33,0.35),
    0 0 15px rgba(188,20,33,0.2);
 
  animation: nfFloatRight 3s ease-in-out infinite;
}
 
/* ZERO STYLE */
 
.nf-d--zero {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
 
  display: flex;
  align-items: center;
  justify-content: center;
 
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.18),
      rgba(255,255,255,0.05)
    );
 
  border: 6px solid #bc1421;
 
  backdrop-filter: blur(12px);
 
  box-shadow:
    0 0 40px rgba(188,20,33,0.35),
    inset 0 0 20px rgba(255,255,255,0.1);
 
  animation:
    nfRotate 8s linear infinite,
    nfPulse 2.5s ease-in-out infinite;
}
 
/* INNER ZERO */
 
.nf-zero-inner {
  color: #ffffff;
  font-size: 110px;
  font-weight: 900;
  text-shadow:
    0 0 15px rgba(255,255,255,0.5);
 
  animation: nfGlow 2s ease-in-out infinite;
}
 
/* =========================
   FLOAT LEFT
========================= */
 
@keyframes nfFloatLeft {
  0%,100% {
    transform: translateY(0px);
  }
 
  50% {
    transform: translateY(-18px);
  }
}
 
/* =========================
   FLOAT RIGHT
========================= */
 
@keyframes nfFloatRight {
  0%,100% {
    transform: translateY(0px);
  }
 
  50% {
    transform: translateY(-18px);
  }
}
 
/* =========================
   ROTATION
========================= */
 
@keyframes nfRotate {
  from {
    transform: rotate(0deg);
  }
 
  to {
    transform: rotate(360deg);
  }
}
 
/* =========================
   PULSE
========================= */
 
@keyframes nfPulse {
  0%,100% {
    box-shadow:
      0 0 40px rgba(188,20,33,0.35),
      inset 0 0 20px rgba(255,255,255,0.08);
  }
 
  50% {
    box-shadow:
      0 0 65px rgba(188,20,33,0.55),
      inset 0 0 30px rgba(255,255,255,0.2);
  }
}
 
/* =========================
   GLOW EFFECT
========================= */
 
@keyframes nfGlow {
  0%,100% {
    opacity: 1;
    transform: scale(1);
  }
 
  50% {
    opacity: 0.85;
    transform: scale(1.06);
  }
}
 
/* =========================
   RESPONSIVE
========================= */
 
@media (max-width: 768px) {
  .nf-d {
    font-size: 95px;
  }
 
  .nf-d--zero {
    width: 110px;
    height: 110px;
  }
 
  .nf-zero-inner {
    font-size: 80px;
  }
}
 
@media (max-width: 480px) {
  .nf-digits {
    gap: 12px;
  }
 
  .nf-d {
    font-size: 72px;
  }
 
  .nf-d--zero {
    width: 85px;
    height: 85px;
    border-width: 4px;
  }
 
  .nf-zero-inner {
    font-size: 58px;
  }
}
 
/* =========================
   ADDITIONAL RESPONSIVE FIXES
   (layout, text, buttons — all devices)
========================= */
 
/* Tablet (481px – 768px) */
 
@media (max-width: 768px) {
  .nf-page {
    padding: 20px 14px;
  }
 
  .nf-wrap {
    gap: 24px;
  }
 
  .nf-cat-wrap {
    width: clamp(120px, 22vw, 200px);
  }
 
  .nf-btn {
    padding: 11px 22px;
    font-size: .85rem;
  }
 
  .nf-actions {
    gap: 10px;
  }
}
 
/* Large mobile (421px – 480px) */
 
@media (max-width: 480px) {
  .nf-page {
    padding: 16px 12px;
    align-items: flex-start;
    padding-top: 32px;
  }
 
  .nf-wrap {
    gap: 20px;
  }
 
  .nf-cat-wrap {
    width: clamp(100px, 30vw, 160px);
  }
 
  .nf-oops {
    font-size: clamp(1.5rem, 6vw, 1.8rem);
  }
 
  .nf-heading {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  }
 
  .nf-desc {
    font-size: clamp(.78rem, 3.2vw, .88rem);
    margin-bottom: 20px;
    max-width: 300px;
  }
 
  .nf-btn {
    padding: 10px 18px;
    font-size: .82rem;
    gap: 7px;
  }
 
  .nf-actions {
    gap: 8px;
  }
 
  .nf-cd-ring {
    width: 22px;
    height: 22px;
  }
 
  .nf-cd-num {
    font-size: .72rem;
  }
}
 
/* Small mobile (≤ 360px) */
 
@media (max-width: 360px) {
  .nf-page {
    padding: 12px 10px;
    padding-top: 24px;
  }
 
  .nf-wrap {
    gap: 16px;
  }
 
  .nf-digits {
    gap: 8px;
  }
 
  .nf-d {
    font-size: 60px;
  }
 
  .nf-d--zero {
    width: 72px;
    height: 72px;
    border-width: 3px;
  }
 
  .nf-zero-inner {
    font-size: 48px;
  }
 
  .nf-cat-wrap {
    width: clamp(80px, 28vw, 120px);
  }
 
  .nf-oops {
    font-size: 1.4rem;
  }
 
  .nf-heading {
    font-size: 1rem;
  }
 
  .nf-desc {
    font-size: .76rem;
    max-width: 260px;
  }
 
  .nf-btn {
    padding: 9px 15px;
    font-size: .78rem;
  }
 
  .nf-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
 
  .nf-btn {
    width: 100%;
    justify-content: center;
  }
}
 
/* Landscape phones */
 
@media (max-height: 500px) and (orientation: landscape) {
  .nf-page {
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }
 
  .nf-wrap {
    gap: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
 
  .nf-stage {
    max-width: 340px;
    flex-shrink: 0;
  }
 
  .nf-text {
    max-width: 340px;
    flex-shrink: 0;
  }
 
  .nf-digits {
    margin-bottom: 14px;
  }
 
  .nf-cat-wrap {
    width: clamp(80px, 16vw, 130px);
  }
}/* 
.topbar {
  background: var(--charcoal, #2d2d2d);
  border-bottom: 2px solid var(--red, #bc1421);
  font-family: var(--font-body, 'Manrope', sans-serif);
}

.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: -9px;
}

.topbar__info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar__info li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.topbar__info a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s ease;
}
.topbar__info a:hover { color: var(--red, #bc1421); }


.topbar__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #f8e8ea; 
  background-color:white none;

}
.topbar__icon svg {
  width: 18px;
  height: 18px;
}


.topbar__info li + li {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}


.topbar__social {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.topbar__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  text-decoration: none;
}
.topbar__social-link svg {
  width: 14px;
  height: 14px;
}
.topbar__social-link:hover {
  transform: translateY(-1px);
}

.topbar__social-link--fb:hover {
  background:#1877f2;
  color: whitesmoke;
}
.topbar__social-link--ig:hover {
  background: radial-gradient(circle at 30% 107%,
    #fdf497 0%, #fdf497 5%,
    #fd5949 45%, #d6249f 60%,
    #285aeb 90%);
  color: #fff;
}
.topbar__social-link--yt:hover {
  background: #ff0000;
  color:whitesmoke;
}
.topbar__social-link--li:hover {
  background: #0a66c2;
  color: whitesmoke
}

@media (max-width: 900px) {
  .topbar__info li:last-child {
    display: none;
  }
}


@media (max-width: 600px) {
  .topbar__inner {
    height: auto;
    padding: 8px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .topbar__info {
    gap: 0;
  }
  .topbar__info li {
    font-size: 0.7rem;
  }
} */

/* ─────────────────────────────────────────────────────────────
   Topbar.css  —  Traders Training Academy
   Base styles live in tta.css; this file adds only the
   SVG-icon sizing and social-brand hover colours.
───────────────────────────────────────────────────────────── */

/* SVG icons inside .topbar__list li span */
.topbar__list li span svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
}

/* Wrap each icon in a flex container */
.topbar__list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ── Social link pills ── */
.topbar__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.topbar__social-link svg {
  width: 16px;
  height: 16px;
}
.topbar__social-link:hover {
  transform: translateY(-1px);
  color: #fff;
}

/* Brand hover colours */
.topbar__social-link--fb:hover { background: #1877f2; }
.topbar__social-link--ig:hover {
  background: radial-gradient(circle at 30% 107%,
    #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.topbar__social-link--yt:hover { background: #ff0000; }
.topbar__social-link--li:hover { background: #0a66c2; }

/* Hide address text on narrow screens, keep email */
@media (max-width: 900px) {
  .topbar__hide-sm { display: none; }
}
:root {
  --red:      #bc1421;
  --red-dark: #9b1019;
  --red-mid:  rgba(188, 20, 33, 0.12);
  --black:    #800020;
  --black2:   #5c0017;
  --black5:   #2b000b;
  --white:    #ffffff;
  --text:     #717175;
  --text2:    #646466;
  --surface:  #f2f2f6;
  --font:      'Manrope', sans-serif;
  --font-head: 'Barlow Condensed', sans-serif;
  --topbar-h:  44px;
  --header-h:  86px;
  --page-off:  calc(var(--topbar-h) + var(--header-h));
  --inner-max: 1280px;
  --inner-pad: 24px;
  --ease:      all 0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html  { scroll-behavior: smooth; }
body  { font-family:var(--font); color:var(--text); background:var(--white); overflow-x:hidden; }
a     { text-decoration:none; color:inherit; transition:var(--ease); }
ul    { list-style:none; }
img   { display:block; max-width:100%; }

/* ── Container ── */

.container-fluid {
  width:100%;
  max-width:var(--inner-max);
  margin-inline:auto;
  padding-inline:var(--inner-pad);
}

/* ── Page ── */
.page-wrapper { position:relative; overflow-x:hidden; }
.page-content { padding-top:var(--page-off); }

/* =========================================================
   TOPBAR — fixed at top:0, always visible
========================================================= */
.topbar {
  position: fixed;
  top:  0;
  left: 0;
  width:  100%;
  height: var(--topbar-h);
  background: var(--black);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.topbar__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar__list { display:flex; align-items:center; gap:30px; }
.topbar__list li { color:var(--white); font-size:12px; }
.topbar__list li span { color:var(--red); margin-right:6px; }
.topbar__list li a { color:inherit; }
.topbar__list li a:hover { color:var(--red); }

.topbar__social { display:flex; align-items:center; gap:15px; }
.topbar__social a { color:var(--white); font-size:14px; }
.topbar__social a:hover { color:var(--red); }

/* =========================================================
   HEADER
========================================================= */
.main-header {
  position:   fixed;
  top:        var(--topbar-h);
  left:       0;
  width:      100%;
  z-index:    999;
  background: var(--white);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.main-header.sticky {
  background:  rgba(255,255,255,0.97);
  box-shadow:  0 2px 24px rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.main-header.sticky::after {
  content: '';
  position: absolute;
  bottom:0; left:0;
  width:100%; height:2px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  opacity:0.6;
}

/* ── Main Menu ── */
.main-menu { width:100%; }

.main-menu .container-fluid {
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ── Logo ── */
.main-menu__logo {
  display:flex;
  align-items:center;
  padding:18px 0;
}

.main-menu__logo img {
  height:55px;
  width:auto;
  transition:height 0.3s ease;
}

.main-header.sticky .main-menu__logo img { height:42px; }

/* ── Desktop Nav ── */
.main-menu__nav { flex:1; padding-left:24px; }

.main-menu__list { display:flex; align-items:center; }

.main-menu__list > li { position:relative; }

.main-menu__list > li > a,
.main-menu__list > li > span {
  display:flex;
  align-items:center;
  gap:4px;
  padding:24px 14px;
  color:var(--black);
  font-size:16px;
  font-weight:600;
  white-space:nowrap;
  position:relative;
  cursor:pointer;
}

.main-menu__list > li > a::before,
.main-menu__list > li > span::before {
  content:'';
  position:absolute;
  bottom:4px; left:12px; right:12px;
  height:3px;
  background:var(--red);
  border-radius:3px 3px 0 0;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 0.25s ease;
}

.main-menu__list > li > a:hover,
.main-menu__list > li > span:hover { color:var(--red); }

.main-menu__list > li > a:hover::before,
.main-menu__list > li > span:hover::before { transform:scaleX(1); }

.main-menu__list > li > a.active,
.main-menu__list > li > span.active { color:var(--red); }

.main-menu__list > li > a.active::before,
.main-menu__list > li > span.active::before { transform:scaleX(1); }

.main-menu__caret { display:inline-flex; align-items:center; transition:transform 0.22s ease; }
.main-menu__caret svg { width:12px; height:12px; }
.main-menu__list > li:hover .main-menu__caret { transform:rotate(180deg); }

/* ── Dropdown ── */
.main-menu__dropdown {
  position:absolute;
  top:100%; left:0;
  min-width:220px;
  background:var(--white);
  border-top:3px solid var(--red);
  border-radius:0 0 8px 8px;
  box-shadow:0 10px 40px rgba(0,0,0,0.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:0.25s ease;
  z-index:99;
}

.main-menu__list > li:hover .main-menu__dropdown {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.main-menu__dropdown li a {
  display:block;
  padding:10px 20px;
  font-size:13px;
  font-weight:500;
  color:var(--black);
}

.main-menu__dropdown li a:hover {
  background:var(--surface);
  color:var(--red);
  padding-left:26px;
}

.main-menu__dropdown li a.active {
  color:var(--red);
  background:var(--red-mid);
}

/* ── Right ── */
.main-menu__right { display:flex; align-items:center; gap:14px; }

/* ── Phone CTA ── */
.main-menu__phone {
  display: flex;
  align-items: center;
  gap: 6px;

  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  color: var(--white) !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.main-menu__phone svg {
  width: 14px;
  height: 14px;
  color: #fdfdfd;
}
/* ── Toggler ── */
.main-menu__toggler {
  display:none;
  width:42px; height:42px;
  border:1.5px solid rgba(188,20,33,0.35);
  background:var(--red-mid);
  border-radius:8px;
  cursor:pointer;
  color:var(--red);
  transition:background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.main-menu__toggler:hover,
.main-menu__toggler[aria-expanded="true"] {
  background:var(--red); border-color:var(--red); color:var(--white);
}
.main-menu__toggler svg { width:20px; height:20px; display:block; }

/* =========================================================
   USER MENU (desktop) — styled exactly like screenshot:
   green circle avatar + username + chevron → dropdown
========================================================= */
.user-menu {
  position: relative;
  flex-shrink: 0;
}

/* Trigger button */
.user-menu__trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1.5px solid #bc1421;
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.user-menu__trigger:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: #bc1421;;
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.15);
}
.user-menu__trigger[aria-expanded="true"] {
  background: rgba(34, 197, 94, 0.1);
  border-color: #bc1421;
}

/* Green avatar circle — matches screenshot */
.user-menu__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #bc1421;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

/* Larger avatar inside dropdown header */
.user-menu__avatar--lg {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

/* Username text */
.user-menu__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font);
}

/* Chevron icon */
.user-menu__caret {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}
.user-menu__trigger[aria-expanded="true"] .user-menu__caret {
  transform: rotate(180deg);
}
.user-menu__caret svg {
  width: 13px;
  height: 13px;
}

/* Dropdown panel */
.user-menu__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 1001;
  overflow: hidden;
  animation: userMenuIn 0.18s ease both;
}

@keyframes userMenuIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* User info header inside dropdown */
.user-menu__info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
}

.user-menu__fullname {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--font);
  line-height: 1.2;
}

.user-menu__email {
  font-size: 11.5px;
  color: var(--text);
  margin-top: 2px;
  font-family: var(--font);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.user-menu__divider {
  border: none;
  border-top: 1px solid #efefef;
  margin: 0;
}

/* Menu item links (My Courses, Dashboard) */
.user-menu__item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  font-family: var(--font);
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.user-menu__item:hover {
  background: var(--surface);
  color: var(--red);
  padding-left: 20px;
}
.user-menu__item svg {
  color: var(--text);
  flex-shrink: 0;
  transition: color 0.18s ease;
}
.user-menu__item:hover svg {
  color: var(--red);
}

/* Logout button */
.user-menu__logout {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  font-family: var(--font);
  transition: background 0.18s ease, padding-left 0.18s ease;
  text-align: left;
}
.user-menu__logout:hover {
  background: var(--red-mid);
  padding-left: 20px;
}
.user-menu__logout svg {
  flex-shrink: 0;
}

/* =========================================================
   MOBILE OVERLAY
========================================================= */
.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  cursor: pointer;
}

.mobile-nav__overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   MOBILE DRAWER
========================================================= */
.mobile-nav__wrapper {
  position: fixed;
  top: var(--page-off);
  left: 0;
  width: 300px;
  height: calc(100% - var(--page-off));

  background: #ffffff;

  z-index: 300;

  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);

  overflow-y: auto;
  overscroll-behavior: contain;

  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.08);
}

.mobile-nav__wrapper.expanded {
  transform: translateX(0);
}

.mobile-nav__content {
  position: relative;
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* CLOSE BUTTON */
.mobile-nav__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f3f3f3;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #111;
  transition: all 0.25s ease;
}
.mobile-nav__close svg { width: 16px; height: 16px; }
.mobile-nav__close:hover { background: var(--red); color: #fff; }

/* LOGO */
.logo-box {
  padding: 0 0 20px;
  border-bottom: 1px solid #e5e5e5;
  margin: 8px 0;
}
.logo-box img { height: 44px; width: auto; }

/* Mobile user info block */
.mobile-nav__user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 12px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 4px;
}

.mobile-nav__user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-nav__user-name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.mobile-nav__user-email {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.mobile-nav__list {
  margin-bottom: 20px;
  flex: 1;
}

/* MENU ITEMS */
.mobile-nav__list > li { border-bottom: 1px solid #ececec; }

.mobile-nav__list > li > a,
.mobile-nav__item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #111;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s ease;
  gap: 8px;
  position: relative;
}

.mobile-nav__list > li > a:hover,
.mobile-nav__item-btn:hover { color: var(--red); }

.mobile-nav__list > li > a.active,
.mobile-nav__item-btn.active { color: var(--red); }

.mobile-nav__list > li > a.active::before,
.mobile-nav__item-btn.active::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--red);
  border-radius: 0 4px 4px 0;
}

/* CHEVRON */
.mobile-nav__chevron {
  display: inline-flex;
  align-items: center;
  color: #777;
  flex-shrink: 0;
}
.mobile-nav__chevron svg { width: 14px; height: 14px; }

/* SUB MENU */
.mobile-nav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0 0 14px;
  background: #fafafa;
}
.mobile-nav__sub.open {
  max-height: 300px;
  padding: 4px 0 10px 14px;
}
.mobile-nav__sub li a {
  display: block;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  transition: all 0.2s ease;
  position: relative;
}
.mobile-nav__sub li a:hover { color: var(--red); padding-left: 14px; }
.mobile-nav__sub li a.active { color: var(--red); padding-left: 18px; }
.mobile-nav__sub li a.active::before {
  content: '▸';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--red);
}

/* LOGOUT btn in mobile */
.mobile-nav__logout-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 13px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--red);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s ease;
}
.mobile-nav__logout-btn:hover { color: var(--red-dark); }
.mobile-nav__logout-btn svg { flex-shrink: 0; }

/* CONTACT */
.mobile-nav__contact {
  margin: 16px 0;
  border-top: 1px solid #e5e5e5;
  padding-top: 16px;
}
.mobile-nav__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: #555;
}
.mobile-nav__contact li a { color: inherit; }
.mobile-nav__contact li a:hover { color: var(--red); }
.mobile-nav__contact-icon {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  flex-shrink: 0;
}
.mobile-nav__contact-icon svg { width: 15px; height: 15px; }

/* SOCIAL */
.mobile-nav__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.mobile-nav__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.22s ease;
}
.mobile-nav__social-link svg { width: 18px; height: 18px; }
.mobile-nav__social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}
.announcement-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: none;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #222;
  margin-right: 12px;
  transition: all 0.25s ease;
}

.announcement-btn:hover {
  background: #f4f4f4;
  color: #ff6b00;
}

.announcement-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width: 1400px) {
  :root {
    --inner-max: 1360px;
    --inner-pad: 32px;
  }
  .main-menu__list > li > a,
  .main-menu__list > li > span {
    padding: 30px 14px;
    font-size: 15px;
  }
}

@media (max-width: 1199px) {
  .main-menu__nav { display: none; }
  .main-menu__toggler {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  :root {
    --inner-pad: 20px;
    --page-off: var(--header-h);
  }
  .topbar { display: none; }
  .main-header,
  .main-header.sticky { top: 0; }
  .page-content { padding-top: 80px; }
  .mobile-nav__wrapper { width: 280px; }
}

@media (max-width: 767px) {
  :root { --inner-pad: 16px; }
  .main-menu__phone { display: none; }
  .main-menu__logo img { height: 42px; }
  .mobile-nav__wrapper { width: 270px; }
  /* Hide username in trigger on small screens, show only avatar */
  .user-menu__name { display: none; }
  .user-menu__trigger { padding: 2px 6px 2px 2px; }
}

@media (max-width: 575px) {
  html { font-size: 15px; }
  :root { --inner-pad: 14px; }
  .main-menu__logo img { height: 38px; max-width: 140px; }
  .main-menu__toggler { width: 38px; height: 38px; }
  .mobile-nav__wrapper { width: calc(100vw - 44px); max-width: 290px; }
  .mobile-nav__content { padding: 20px 16px 36px; }
}

@media (max-width: 359px) {
  html { font-size: 14px; }
  :root { --inner-pad: 10px; }
  .main-menu__logo img { height: 34px; max-width: 120px; }
  .mobile-nav__wrapper { width: 100vw; max-width: 100vw; }
  .mobile-nav__content { padding: 18px 12px 32px; }
}

@media print {
  .topbar,
  .main-header,
  .mobile-nav__wrapper,
  .mobile-nav__overlay,
  .main-menu__toggler { display: none !important; }
  .page-content { padding-top: 0 !important; }
  body { color: #000; background: #fff; }
  a { color: inherit; }
}


/* ═══════════════════════════════════════════════════════════
   Navbar.css — ADD THESE RULES to your existing Navbar.css
   (paste at the bottom or merge into relevant sections)
═══════════════════════════════════════════════════════════ */

/* ── Desktop: keep UserMenu visible only on desktop ── */
.desktop-user-menu-only {
  display: flex;
  align-items: center;
}

/* Hide on mobile/tablet (<= 1199px) */
@media (max-width: 1199px) {
  .desktop-user-menu-only {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════
   MOBILE SIDEBAR — User Profile Trigger
══════════════════════════════════════════════════════════ */

/* Wrapper holds the trigger button + collapsible sub-menu */
.mobile-nav__user-trigger-wrap {
  margin: 12px 16px 4px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(188, 20, 33, 0.18);
  background: linear-gradient(135deg, rgba(188,20,33,.06) 0%, rgba(188,20,33,.02) 100%);
}

/* The trigger button itself — mirrors desktop user-menu__trigger */
.mobile-nav__user-trigger {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 13px 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}
.mobile-nav__user-trigger:hover {
  background: rgba(188, 20, 33, 0.07);
}

/* Avatar circle — same green as desktop */
.mobile-nav__user-trigger-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bc1421, #e05252);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 10px rgba(188, 20, 33, 0.28);
  flex-shrink: 0;
}

/* Name + email column */
.mobile-nav__user-trigger-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.mobile-nav__user-trigger-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e0608;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-nav__user-trigger-email {
  font-size: 0.72rem;
  color: #7a3040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Caret icon */
.mobile-nav__user-trigger-caret {
  display: flex;
  align-items: center;
  color: #bc1421;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.mobile-nav__user-trigger-caret svg {
  width: 16px;
  height: 16px;
}

/* ── Collapsible sub-menu ── */
.mobile-nav__user-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid transparent;
}
.mobile-nav__user-submenu.open {
  max-height: 200px;
  border-top-color: rgba(188, 20, 33, 0.12);
}

/* Each item inside the sub-menu */
.mobile-nav__user-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  font-size: 0.855rem;
  font-weight: 600;
  color: #2e2035;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  border-bottom: 1px solid rgba(188, 20, 33, 0.06);
}
.mobile-nav__user-sub-item:last-child {
  border-bottom: none;
}
.mobile-nav__user-sub-item svg {
  flex-shrink: 0;
  color: #bc1421;
}
.mobile-nav__user-sub-item:hover {
  background: rgba(188, 20, 33, 0.07);
  color: #bc1421;
}

/* Logout gets a red tint */
.mobile-nav__user-sub-logout {
  color: #bc1421;
  font-weight: 700;
}
.mobile-nav__user-sub-logout svg {
  color: #bc1421;
}
.mobile-nav__user-sub-logout:hover {
  background: rgba(188, 20, 33, 0.12);
}
.main-menu .container-fluid {
  display: flex;
  align-items: center;
}

.main-menu__logo {
  flex-shrink: 0;
}

.main-menu__nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-left:80px;
}

.main-menu__list {
  display: flex;
  justify-content: flex-start;
}

.main-menu__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guest-user-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-user-menu .user-menu__dropdown {
  right: 0;
  left: auto;
}

.guest-user-menu .user-menu__trigger {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;

  border-radius: 50%;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #bc1421;
  background: #fff;

  overflow: hidden;
}

.guest-user-menu .user-menu__avatar {
  width: 36px;
  height: 36px;

  border-radius: 50%;

  background: #ffecec;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;
}

.guest-user-menu .user-menu__avatar svg {
  width: 18px;
  height: 18px;
  
}

.guest-login-wrap{
  display:flex;
  align-items:center;
  gap:8px;
}

.guest-login-link{
  color:#BC1421;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
}

.guest-login-link:hover{
  color:#9c0f19;
}
@media (max-width: 1199px) {

  .main-menu__nav {
    display: none !important;
  }

  .main-menu__toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .desktop-user-menu-only {
    display: none !important;
  }

  .main-menu__right {
    margin-left: auto;
  }
}

:root {
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

.main-footer {
  background-color: #ffffff;
  border-top: 3px solid #bc1421;
  padding: 64px 0 0;
  position: relative;
  font-family: var(--font-body);
}

.main-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ── 4-col grid ─────────────────────────────────────── */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr 1.6fr;
  gap: 48px;
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

/* ── Column heading ─────────────────────────────────── */

.footer-col__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #111111;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #bc1421;
  border-radius: 2px;
}

/* ── Brand col ──────────────────────────────────────── */

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand__desc {
  font-size: 13px;
  color: black;
  line-height: 1.85;
  margin: 0 0 20px;
}

/* Stat pills */

.footer-brand__stats {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-brand__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 8px 16px;
  gap: 2px;
  transition: background .2s, border-color .2s;
}

.footer-brand__stat:hover {
  background: #fff5f5;
  border-color: #bc1421;
}

.footer-brand__stat-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #bc1421;
  line-height: 1;
}

.footer-brand__stat-label {
  font-size: 9px;
  color: #888888;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

/* Social icons */

.footer-brand__social {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.footer-brand__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  color: #555555;
  text-decoration: none;
  transition: all .22s;
}

.footer-brand__social-link svg { width: 14px; height: 14px; }

.footer-brand__social-link:hover {
  background: #bc1421;
  border-color: #bc1421;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(188,20,33,.25);
}

/* ── App download buttons ───────────────────────────── */

.footer-app__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: black;
  margin: 0 0 9px;
}

.footer-app__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-app__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 9px 14px;
  text-decoration: none;
  color: #111111;
  min-width: 130px;
  transition: all .22s;
}

.footer-app__btn:hover {
  background: #bc1421;
  border-color: #bc1421;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(188,20,33,.25);
}

.footer-app__btn:hover .footer-app__btn-sub,
.footer-app__btn:hover .footer-app__btn-main,
.footer-app__btn:hover svg { color: #fff; fill: #fff; }

.footer-app__btn svg { flex-shrink: 0; fill: #333; transition: fill .22s; }

.footer-app__btn-text { display: flex; flex-direction: column; }

.footer-app__btn-sub {
  font-size: 12px;
  color: black;
  line-height: 1;
  font-weight: 500;
  transition: color .22s;
}

.footer-app__btn-main {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  line-height: 1.35;
  transition: color .22s;
}

/* ── Links col ──────────────────────────────────────── */

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: #555555;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s, gap .18s;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bc1421;
  flex-shrink: 0;
  opacity: .35;
  transition: opacity .18s, transform .18s;
}

.footer-links a:hover { color: #bc1421; gap: 12px; }

.footer-links a:hover::before { opacity: 1; transform: scale(1.4); }

/* ── Contact col ────────────────────────────────────── */

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }

.footer-contact-icon {
  width: 30px;
  height: 30px;
  background: #fff0f0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bc1421;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-icon svg { width: 14px; height: 14px; }

.footer-contact-body { flex: 1; }

.footer-contact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: black;
  margin-bottom: 3px;
}

.footer-contact-value {
  font-size: 12.5px;
  color: #444444;
  line-height: 1.55;
  text-decoration: none;
  transition: color .18s;
}

a.footer-contact-value:hover { color: #bc1421; }

/* Branches */

.footer-branches__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: black;
  margin: 0 0 9px;
}

.footer-branches {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.footer-branch-pill {
  display: inline-block;
  padding: 4px 13px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  font-size: 12px;
  color: #555555;
  text-decoration: none;
  font-weight: 600;
  transition: all .2s;
}

.footer-branch-pill:hover {
  background: #bc1421;
  border-color: #bc1421;
  color: #fff;
  box-shadow: 0 4px 12px rgba(188,20,33,.25);
}

/* Divider */

.footer-divider {
  border: none;
  border-top: 1px solid #ebebeb;
  margin: 52px 0 0;
}

/* ── Copyright bar ──────────────────────────────────── */

.copyright {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  border-top: 1px solid #ebebeb;
  padding: 16px 40px;
}

.copyright__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.copyright__text {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

.copyright__text a {
  color: #bc1421;
  font-weight: 600;
  text-decoration: none;
}

.copyright__text a:hover { text-decoration: underline; }

.copyright__legal {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.copyright__legal a {
  font-size: 13px;
  color: #999999;
  text-decoration: none;
  transition: color .18s;
}

.copyright__legal a:hover { color: #bc1421; }

.padding {
  padding-left: 25px;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */

/* ── Large desktop (≥ 1280px) ───────────────────────── */

@media (min-width: 1280px) {
  .footer-grid {
    grid-template-columns: 2.2fr 1fr 1.25fr 1.6fr;
    gap: 56px;
    padding: 0 60px;
  }
}

/* ── Tablet landscape (≤ 1100px) ────────────────────── */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 0 32px;
  }

  .main-footer {
    padding: 48px 0 0;
  }

  .footer-divider {
    margin: 40px 0 0;
  }

  .copyright {
    padding: 16px 32px;
  }
}

/* ── Tablet portrait (≤ 768px) ──────────────────────── */

@media (max-width: 768px) {
  .main-footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    padding: 0 24px;
  }

  /* Brand col spans full width on tablet portrait */
  .footer-grid > *:first-child {
    grid-column: 1 / -1;
  }

  .footer-brand__stats {
    gap: 8px;
  }

  .footer-brand__stat {
    padding: 7px 12px;
  }

  .footer-brand__stat-val {
    font-size: 18px;
  }

  .footer-app__buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-app__btn {
    min-width: 140px;
    flex: 1;
  }

  .footer-divider {
    margin: 36px 0 0;
  }

  .copyright {
    padding: 14px 24px;
  }

  .copyright__inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .copyright__legal {
    justify-content: center;
    gap: 16px;
  }
}

/* ── Mobile (≤ 640px) ───────────────────────────────── */

@media (max-width: 640px) {
  .main-footer {
    padding: 36px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 20px;
  }

  /* All cols full width */
  .footer-grid > * {
    grid-column: 1 / -1;
  }

  .footer-col__title {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .footer-brand__desc {
    font-size: 14px;
  }

  .footer-brand__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .footer-brand__stat {
    padding: 8px 10px;
  }

  .footer-brand__stat-val {
    font-size: 19px;
  }

  .footer-brand__social {
    gap: 7px;
  }

  .footer-brand__social-link {
    width: 34px;
    height: 34px;
  }

  .footer-app__buttons {
    flex-direction: column;
    gap: 8px;
  }

  .footer-app__btn {
    min-width: 0;
    width: 100%;
    padding: 10px 14px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
  }

  .footer-links a {
    font-size: 13px;
    padding: 4px 0;
  }

  .footer-contact-list {
    gap: 12px;
    margin-bottom: 16px;
  }

  .footer-branches {
    gap: 6px;
  }

  .footer-branch-pill {
    font-size: 11.5px;
    padding: 4px 11px;
  }

  .footer-divider {
    margin: 32px 0 0;
  }

  .copyright {
    padding: 14px 20px;
    flex-direction: column;
    gap: 8px;
  }

  .copyright__inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .copyright__legal {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .copyright__legal a {
    font-size: 11.5px;
  }

  .copyright__text {
    font-size: 11.5px;
  }
}

/* ── Small mobile (≤ 400px) ─────────────────────────── */

@media (max-width: 400px) {
  .main-footer {
    padding: 28px 0 0;
  }

  .footer-grid {
    padding: 0 16px;
    gap: 24px;
  }

  .footer-brand__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .footer-brand__stat-val {
    font-size: 17px;
  }

  .footer-brand__stat-label {
    font-size: 8px;
  }

  .footer-brand__social-link {
    width: 32px;
    height: 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-links a {
    font-size: 12.5px;
  }

  .footer-contact-value {
    font-size: 12px;
  }

  .footer-branch-pill {
    font-size: 11px;
    padding: 3px 10px;
  }

  .copyright {
    padding: 12px 16px;
  }

  .copyright__legal {
    gap: 10px;
  }

  .copyright__legal a,
  .copyright__text {
    font-size: 11px;
  }
}/* ──────────────────────────────────────────
   Layout.css
   Floating Action Buttons — WhatsApp + Scroll Top
────────────────────────────────────────── */

.fab-stack {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1000;
}

/* Base FAB */
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab:hover {
  transform: scale(1.1);
}

.fab:active {
  transform: scale(0.96);
}

/* WhatsApp Button */
.fab--whatsapp {
  background-color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.fab--whatsapp:hover {
  background-color: #20c05a;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

/* Scroll to Top Button */
.fab--scroll-top {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

  /* Hidden by default — slides in when .fab--visible is added */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.fab--scroll-top.fab--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fab--scroll-top:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .fab-stack {
    bottom: 20px;
    right: 16px;
  }

  .fab {
    width: 46px;
    height: 46px;
  }

  .fab--whatsapp svg {
    width: 24px;
    height: 24px;
  }
}


:root {
  --orange:        #bc1421;
  --orange-dark:   #9b1019;
  --orange-deeper: #800020;
  --orange-light:  #f8e8ea;

  --ink:       #3a000e;
  --ink-mid:   #5c1a28;
  --muted:     #8c4054;
  --border:    #f0dade;
  --surface:   #fdf5f6;
  --surface-2: #fbeaec;
  --white:     #ffffff;

  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;

  --ease:      cubic-bezier(.4, 0, .2, 1);
  --radius:    10px;
  --shadow-sm: 0 2px 12px rgba(128,0,32,.07);
  --shadow-md: 0 8px 32px rgba(128,0,32,.12);
  --shadow-lg: 0 20px 60px rgba(128,0,32,.16);

  /* ── Card sizing tokens — change once, applies everywhere ── */
  --award-card-w:      260px;
  --award-img-h:       190px;
  --award-body-h:      130px;
  --award-card-h:      calc(var(--award-img-h) + var(--award-body-h));
}

/* ===== ONLY MOBILE ABOUT SECTION ===== */

@media (max-width: 768px) {
  .tta-about {
    padding: 45px 0 !important;
  }

  .tta-about .tta-container {
    padding: 0 16px !important;
  }

  .tta-about__grid {
    gap: 20px !important;
  }

  .tta-about__media {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .tta-about__img-wrap {
    min-height: auto !important;
    margin-bottom: 0 !important;
  }

  .tta-about__img-main {
    width: 100%;
    height: auto;
  }

  .tta-about__body {
    margin-top: 0 !important;
  }

  .tta-about .tta-heading {
    margin-bottom: 10px !important;
    line-height: 1.1;
  }

  .tta-about .tta-para {
    margin-bottom: 12px !important;
    line-height: 1.6;
  }

  .tta-about .tta-feature-list {
    margin: 14px 0 !important;
    gap: 10px !important;
  }

  .tta-about .tta-feature-item {
    padding: 12px !important;
  }

  .tta-about .tta-checklist {
    margin: 14px 0 18px !important;
  }

  .tta-about .tta-checklist__item {
    padding: 8px 0 !important;
  }
}

/* ── Reset ──────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ── Utility ────────────────────────────────────────────── */

.tta-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.tta-section-head { margin-bottom: 48px; }

.tta-section-head--center { text-align: center; }

.tta-section-head--center .tta-label { justify-content: center; }

/* ── Typography ─────────────────────────────────────────── */

.tta-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 16px;
}

.tta-heading--white { color: var(--white); }

.tta-para { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 640px; }

.tta-para--centered { margin: 0 auto; }

.tta-para strong { color: var(--ink); font-weight: 700; }

/* ── Section Label ──────────────────────────────────────── */

.tta-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.tta-label__line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.tta-label--center { justify-content: center; }

.tta-label--center .tta-label__line { display: none; }

/* ── Buttons ────────────────────────────────────────────── */

.tta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background .25s var(--ease), transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 18px rgba(188,20,33,.35);
}

.tta-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(188,20,33,.45);
}

.tta-btn svg { flex-shrink: 0; transition: transform .2s; }

.tta-btn:hover svg { transform: translateX(3px); }

.tta-btn--dark { background: var(--ink); box-shadow: 0 4px 18px rgba(0,0,0,.25); }

.tta-btn--dark:hover { background: var(--ink-mid); }

.tta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 50px;
  transition: border-color .25s, background .25s;
}

.tta-btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.tta-btn-ghost--light { color: var(--white); border-color: rgba(255,255,255,.35); }

/* ══════════════════════════════════════════════════════════
   SECTION 1 — HERO
══════════════════════════════════════════════════════════ */

.tta-hero {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
}

.tta-hero__slashes {
  position: absolute;
  top: 0;
  right: 20%;
  width: 300px;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

.tta-hero__slash {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(188,20,33,.08);
  transform-origin: top left;
}

.tta-hero__slash--1 { left: 0;    width: 36px; transform: skewX(-14deg); }

.tta-hero__slash--2 { left: 60px; width: 22px; transform: skewX(-14deg); background: rgba(188,20,33,.05); }

.tta-hero__slash--3 { left: 100px; width: 12px; transform: skewX(-14deg); background: rgba(188,20,33,.03); }

.tta-hero__inner {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: stretch;
  flex: 1;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.tta-hero__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px max(24px, calc((100vw - 1200px) / 2 + 24px));
  background: var(--surface);
}

.tta-hero__panel {
  position: relative;
  overflow: hidden;
  clip-path: polygon(90px 0%, 100% 0%, 100% 100%, 0% 100%);
  background: var(--surface-2);
}

.tta-hero__panel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 1;
}

.tta-hero__panel-image--out {
  z-index: 1;
  opacity: 1;
}

.tta-hero__panel-image--in {
  z-index: 2;
  opacity: 0;
  animation: heroPanelFadeIn 0.55s var(--ease) forwards;
}

.tta-hero__panel-image:not(.tta-hero__panel-image--in):not(.tta-hero__panel-image--out) {
  z-index: 2;
  opacity: 1;
}

@keyframes heroPanelFadeIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

.tta-hero-slider { margin-bottom: 32px; }

.tta-hero-slide { animation: heroTextIn .45s var(--ease) both; }

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tta-hero__eyebrow-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.tta-hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tta-hero__title-line { display: block; }

.tta-hero__title--accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.tta-hero__title--accent::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  border-radius: 4px;
}

.tta-hero-dots { display: flex; gap: 8px; margin-top: 20px; }

.tta-hero-dot {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background .25s, width .3s;
  padding: 0;
  flex-shrink: 0;
}

.tta-hero-dot--active { background: var(--orange); width: 48px; }

.tta-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tta-hero__link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: gap .2s;
}

.tta-hero__link-btn:hover { gap: 10px; }

.tta-hero__social-proof { display: flex; align-items: center; gap: 14px; }

.tta-hero__avatars { display: flex; align-items: center; }

.tta-hero__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--white);
  overflow: hidden;
  background: var(--surface-2);
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  flex-shrink: 0;
}

.tta-hero__avatar:first-child { margin-left: 0; }

.tta-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }

.tta-hero__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
}

.tta-hero__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--orange);
  font-size: 16px;
  margin-bottom: 2px;
}

.tta-hero__rating-num { font-weight: 700; margin-left: 4px; font-size: 14px; color: var(--ink); }

.tta-hero__rating-text { font-size: 13px; font-weight: 600; color: var(--ink-mid); }

/* ══════════════════════════════════════════════════════════
   SECTION 2 — TICKER
══════════════════════════════════════════════════════════ */

.tta-ticker {
  background: var(--white);
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.tta-ticker__track {
  display: inline-flex;
  align-items: center;
  animation: tickerScroll 28s linear infinite;
}

.tta-ticker:hover .tta-ticker__track { animation-play-state: paused; }

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tta-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 36px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  border-right: 1px solid var(--border);
}

.tta-ticker__item:last-child { border-right: none; }

.tta-ticker__item strong { color: var(--orange); font-family: var(--font-display); font-size: 16px; font-weight: 800; }

.tta-ticker__dot { color: var(--orange); font-size: 18px; line-height: 1; }

.tta-stats-bar { background: var(--orange); padding: 22px 0; }

.tta-stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.tta-stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,.2);
}

.tta-stats-bar__item:last-child { border-right: none; }

.tta-stats-bar__value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  
}

.tta-stats-bar__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   HORIZONTAL SCROLLER
══════════════════════════════════════════════════════════ */

.tta-tscroll {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
}

.tta-tscroll__track {
  display: flex;
  gap: 20px;
  /* ── KEY FIX: align all cards to the same top edge, uniform row height ── */
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  flex: 1;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--border);
}

.tta-tscroll__track::-webkit-scrollbar { height: 5px; }

.tta-tscroll__track::-webkit-scrollbar-track { background: var(--border); border-radius: 10px; }

.tta-tscroll__track::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 10px; }

.tta-tscroll__arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .2s;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.tta-tscroll__arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: scale(1.08);
}

.tta-tscroll__arrow--left  { margin-right: 12px; }

.tta-tscroll__arrow--right { margin-left: 12px; }

/* ══════════════════════════════════════════════════════════
   AWARD & CERTIFICATION CARDS — uniform, no empty space
══════════════════════════════════════════════════════════ */

.tta-award-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  /* Use flex column so body stretches to fill remaining height */
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  width: 100%;
    min-height: 390px;
}

.tta-award-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

/* ── Scrollable variant — FIXED width + height so every card is identical ── */

.tta-award-card--scroll {
  width:     var(--award-card-w);
  min-width: var(--award-card-w);
  max-width: var(--award-card-w);
  height:    var(--award-card-h);   /* ← fixed total height: no empty gap */
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* ── Image area — fixed height, no padding to maximise image space ── */

.tta-award-card__img-wrap {
  position: relative;
  height: var(--award-img-h);
  flex-shrink: 0;                  /* never shrink the image region */
  overflow: hidden;
  background: var(--surface);
}

.tta-award-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .4s var(--ease);
}

.tta-award-card:hover .tta-award-card__img { transform: scale(1.05); }

.tta-award-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(188,20,33,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.tta-award-card:hover .tta-award-card__overlay { opacity: 1; }

.tta-award-card__view-btn {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 30px;
}

/* ── Body area — fills the remaining fixed height exactly ── */

.tta-award-card__body {
  padding: 14px 16px;
  flex: 1;                         /* stretch to fill var(--award-body-h) */
  display: flex;
  flex-direction: column;
  overflow: hidden;    
    padding: 20px;            /* guard against content overflow */
}

.tta-award-card__year {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--orange-light);
  color: var(--orange);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 7px;
  align-self: flex-start;
  flex-shrink: 0;
}

.tta-award-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.25;
  flex-shrink: 0;
  /* Clamp title to 2 lines max */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tta-award-card__text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  /* Clamp body text so cards never grow taller than their fixed height */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ══════════════════════════════════════════════════════════
   AWARD DETAIL PAGE
══════════════════════════════════════════════════════════ */

.tta-award-detail { min-height: 100vh; background: var(--white); }

.tta-award-detail__header {
  background: linear-gradient(135deg, var(--ink) 0%, var(--orange-deeper) 50%, var(--orange-dark) 100%);
  padding: 48px 0 56px;
}

.tta-back-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white); padding: 10px 20px; border-radius: 30px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, border-color .25s; margin-bottom: 36px;
}

.tta-back-btn:hover { background: rgba(255,255,255,.22); border-color: var(--white); }

.tta-back-btn--lg {
  background: var(--orange); border: 2px solid var(--orange);
  padding: 13px 28px; border-radius: 6px; font-size: 14px;
}

.tta-back-btn--lg:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.tta-award-detail__meta { max-width: 680px; }

.tta-award-detail__year {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.7); background: rgba(255,255,255,.12);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 14px;
}

.tta-award-detail__title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 16px; }

.tta-award-detail__desc { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.75); max-width: 560px; }

.tta-award-detail__body { padding: 56px 0 80px; }

.tta-award-detail__gallery-label {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 8px;
}

.tta-award-detail__gallery-label span:first-child { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); }

.tta-award-detail__gallery-hint {
  font-size: 12px; color: var(--muted); font-weight: 500;
  background: var(--surface); padding: 5px 14px; border-radius: 20px; border: 1px solid var(--border);
}

.tta-award-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.tta-award-gallery__item {
  position: relative; overflow: hidden;
  border-radius: 12px; border: 2px solid var(--border);
  background: var(--surface); cursor: pointer; aspect-ratio: 4/3;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}

.tta-award-gallery__item:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--shadow-md); }

.tta-award-gallery__item img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .4s var(--ease); }

.tta-award-gallery__item:hover img { transform: scale(1.05); }

.tta-award-gallery__overlay {
  position: absolute; inset: 0;
  background: rgba(188,20,33,.8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; opacity: 0; transition: opacity .3s; color: var(--white);
}

.tta-award-gallery__item:hover .tta-award-gallery__overlay { opacity: 1; }

.tta-award-gallery__overlay span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.tta-award-detail__footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: center; }

/* Lightbox */

.tta-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: fadeIn .25s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.tta-lightbox__close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white); border-radius: 50%; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}

.tta-lightbox__close:hover { background: var(--orange); border-color: var(--orange); }

.tta-lightbox__img { max-width: min(860px, 90vw); max-height: 85vh; border-radius: 12px; box-shadow: 0 32px 80px rgba(0,0,0,.5); object-fit: contain; }

/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */

.tta-about { padding: 100px 0; background: var(--white); }

.tta-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.tta-about__img-wrap { position: relative; border-radius: var(--radius); overflow: hidden;margin-bottom:180px;  min-height: 530px; }

.tta-about__img-main { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }

.tta-about__img-secondary {
  position: absolute; bottom: -24px; right: -20px; width: 44%;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--white);
}

.tta-about__img-secondary img { width: 100%; display: block;}

.tta-about__media { position: relative; padding-bottom: 28px; }

.tta-about__badge {
  position: absolute; top: 28px; left: -16px;
  background: var(--orange); color: var(--white);
  padding: 14px 20px; border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(188,20,33,.4);
  display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 4;
}

.tta-about__badge-num { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; }

.tta-about__badge-text { font-size: 11px; font-weight: 600; opacity: .88; line-height: 1.4; margin-top: 4px; }

.tta-feature-list { margin: 28px 0; display: flex; flex-direction: column; gap: 16px; }

.tta-feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 18px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.tta-feature-item:hover {
  border-color: rgba(188,20,33,.35);
  box-shadow: 4px 0 0 0 var(--orange), var(--shadow-sm);
  transform: translateX(4px);
}

.tta-feature-item__icon {
  width: 44px; height: 44px; background: var(--orange-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--orange); flex-shrink: 0;
}

.tta-feature-item__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); }

.tta-feature-item__sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

.tta-checklist { margin: 20px 0 32px; }

.tta-checklist__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--ink);
}

.tta-checklist__icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange-light); display: flex; align-items: center;
  justify-content: center; color: var(--orange); flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   WHO CAN ENROLL
══════════════════════════════════════════════════════════ */

.tta-enroll { padding: 80px 0; background:white; }

.tta-enroll-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}

.tta-enroll-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.tta-enroll-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
  flex-shrink: 0;
}

.tta-enroll-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }

.tta-enroll-card:hover .tta-enroll-card__img { transform: scale(1.05); }

.tta-enroll-card__img-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--orange);
}

.tta-enroll-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tta-enroll-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.tta-enroll-card__text { font-size: 12px; color: var(--muted); line-height: 1.7; flex: 1; }

.tta-enroll-card--scroll {
  width: 210px; min-width: 210px; max-width: 210px;
  flex-shrink: 0; scroll-snap-align: start;
}

/* ══════════════════════════════════════════════════════════
   COURSES
══════════════════════════════════════════════════════════ */

.tta-courses { padding: 80px 0; background: var(--surface); }

.tta-courses__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; align-items: stretch;
}

.tta-course-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}

.tta-course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.tta-course-card__img-wrap { position: relative; height: 280px; overflow: hidden; flex-shrink: 0; }

.tta-course-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }

.tta-course-card:hover .tta-course-card__img { transform: scale(1.05); }

.tta-course-card__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--orange); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
}

.tta-course-card__body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }

.tta-course-card__title { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--ink); margin-bottom: 12px; line-height: 1.25; }

.tta-course-card__desc { font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 24px; flex: 1; }

.tta-course-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--orange);
  letter-spacing: .04em; text-transform: uppercase;
  transition: gap .2s, color .2s; align-self: flex-start;
}

.tta-course-card__link:hover { gap: 12px; color: var(--orange-dark); }

/* ══════════════════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════════════════ */

.tta-choose { padding: 80px 0; background: var(--white); }

.tta-choose__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }

.tta-choose-card {
  border-radius: 12px; overflow: hidden;
  border: 1.5px solid var(--border); background: var(--white);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}

.tta-choose-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(188,20,33,.3); }

.tta-choose-card__img-wrap { position: relative; overflow: hidden; height: 200px; flex-shrink: 0; }

.tta-choose-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }

.tta-choose-card__img-wrap:hover .tta-choose-card__img { transform: scale(1.06); }

.tta-choose-card__body { padding: 24px; border-top: 3px solid var(--orange); flex: 1; display: flex; flex-direction: column; }

.tta-choose-card__icon {
  width: 48px; height: 48px; background: var(--orange-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); margin-bottom: 14px; flex-shrink: 0;
}

.tta-choose-card__title { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }

.tta-choose-card__text { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }

/* ══════════════════════════════════════════════════════════
   VISION
══════════════════════════════════════════════════════════ */

.tta-vision { padding: 100px 0; background: var(--surface); }

.tta-vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.tta-vision__boxes { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }

.tta-vision-box {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px; background: var(--white);
  border-radius: var(--radius); border: 1.5px solid var(--border);
  border-left: 4px solid transparent;
  transition: border-left-color .25s, box-shadow .25s, transform .25s;
}

.tta-vision-box:hover { border-left-color: var(--orange); box-shadow: var(--shadow-sm); transform: translateX(4px); }

.tta-vision-box__icon {
  width: 44px; height: 44px; background: var(--orange-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--orange); flex-shrink: 0;
}

.tta-vision-box__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }

.tta-vision-box__text { font-size: 13px; color: var(--muted); line-height: 1.65; }

.tta-vision__media { position: relative; }

.tta-vision__img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); object-fit: cover; height: 460px; }

.tta-vision__stat-card {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--orange); color: var(--white);
  border-radius: var(--radius); padding: 20px 24px;
  box-shadow: 0 12px 36px rgba(188,20,33,.35); text-align: center;
}

.tta-vision__stat-num { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; }

.tta-vision__stat-label { display: block; font-size: 11px; font-weight: 600; opacity: .85; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════
   LIVE FEATURES
══════════════════════════════════════════════════════════ */

.tta-live-features {
  padding: 80px 0;
  background: linear-gradient(
  135deg,
  #981522 0%,
  #9e1825 100%
);
  position: relative; overflow: hidden;
}

.tta-live-features::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(245, 188, 194, 0.22) 0%, ),
    radial-gradient(ellipse at 90% 50%, rgba(243, 174, 191, 0.15) 0%, );
  pointer-events: none;
}

.tta-live-features .tta-container { position: relative; z-index: 1; }

.tta-lf__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }

.tta-lf-card {
  background: #FDFCE8;
  border: 1.5px solid #efe8bf;
  border-radius: 16px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
}

.tta-lf-card:hover { background: rgb(255, 233, 233); border-color: rgba(255,255,255,.35); transform: translateY(-5px); }

.tta-lf-card__icon {
  width: 52px; height: 52px; background: rgba(122, 2, 2, 0.12);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--black); margin-bottom: 20px; flex-shrink: 0;
}

.tta-lf-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.25; }

.tta-lf-card__desc { font-size: 13px; line-height: 1.75; color: rgba(0, 0, 0, 0.65); flex: 1; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════ */

.tta-testimonials { padding: 80px 0; background: var(--white); }

.tta-video-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  text-align: left; padding: 0;
  width: 240px; min-width: 240px; max-width: 240px;
  flex-shrink: 0; scroll-snap-align: start;
}

.tta-video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--orange); }

.tta-video-card__thumb-wrap { position: relative; overflow: hidden; height: 140px; background: var(--surface-2); }

.tta-video-card__thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease), opacity .3s; }

.tta-video-card:hover .tta-video-card__thumb { transform: scale(1.06); opacity: .75; }

.tta-video-card__play-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; background: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--white);
  box-shadow: 0 0 0 8px rgba(252, 171, 178, 0.2);
  transition: background .25s, transform .25s, box-shadow .25s;
}

.tta-video-card:hover .tta-video-card__play-ring {
  background: var(--orange-dark); transform: translate(-50%,-50%) scale(1.12);
  box-shadow: 0 0 0 12px rgba(209, 125, 132, 0.15);
}

.tta-video-card__duration-badge {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.65); color: rgba(255,255,255,.9);
  font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px; backdrop-filter: blur(4px);
}

.tta-video-card__info { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; border-top: 2px solid var(--orange); }

.tta-video-card__name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); }

.tta-video-card__label { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.tta-video-modal {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.85);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: fadeIn .25s ease;
}

.tta-video-modal__box {
  position: relative; width: 100%; max-width: 860px;
  background: var(--ink); border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
}

.tta-video-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white); border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}

.tta-video-modal__close:hover { background: var(--orange); border-color: var(--orange); }

.tta-video-modal__frame { position: relative; padding-bottom: 56.25%; height: 0; }

.tta-video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ══════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════ */

.tta-cta {
  padding: 80px 0;
  background: #c90539;
  position: relative;
  overflow: hidden;
}

.tta-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(131, 5, 36, 0.22) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(105, 25, 45, 0.18) 0%,
      transparent 50%
    );
}

.tta-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.tta-cta__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}

.tta-cta__eyebrow {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 10px;
}

.tta-cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; color: var(--white); line-height: 1.18;
}

.tta-cta__title em { color: #FBBF7A; font-style: normal; }

.tta-cta__action { display: flex; align-items: center; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   AWARDS SECTION WRAPPER
══════════════════════════════════════════════════════════ */

.tta-awards { padding: 80px 0; background: var(--white); }

/* ── Certifications: 2-up centred grid — no scroller, no empty space ── */

.tta-cert-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Cert card uses the same fixed dimensions as the award scroll card */

.tta-award-card--cert {
  width:     var(--award-card-w);
  min-width: var(--award-card-w);
  max-width: var(--award-card-w);
  height:    var(--award-card-h);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .tta-lf__grid { grid-template-columns: repeat(2, 1fr); }
  .tta-award-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .tta-hero {
    min-height: unset;
    max-height: unset;
  }
  .tta-hero__inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .tta-hero__panel {
    order: -1;
    clip-path: none;
    height: 380px;
    position: relative;
  }
  .tta-hero__panel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: unset;
    object-fit: cover;
    object-position: top center;
  }
  .tta-hero__content {
    padding: 48px 24px 44px 24px;
  }
  .tta-hero__slashes { display: none; }

  .tta-stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .tta-stats-bar__item:nth-child(2) { border-right: none; }
  .tta-about__grid { grid-template-columns: 1fr; gap: 48px; }
  .tta-about__badge { left: 12px; }
  .tta-about__img-secondary { display: none; }
  .tta-courses__grid { grid-template-columns: 1fr; }
  .tta-lf__grid { grid-template-columns: repeat(2, 1fr); }
  .tta-cta__inner { flex-direction: column; text-align: center; }
  .tta-cta__action { justify-content: center; }
  .tta-choose__grid { grid-template-columns: 1fr 1fr; }
  .tta-vision__grid { grid-template-columns: 1fr; gap: 48px; }
  .tta-vision__img { height: 320px; }
  .tta-award-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .tta-award-gallery { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 600px) {
  :root {
    --award-card-w: 220px;
    --award-img-h:  170px;
    --award-body-h: 120px;
  }
  .tta-hero__panel { height: 280px; }
  .tta-hero__title { font-size: clamp(36px, 10vw, 54px); }
  .tta-stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .tta-lf__grid { grid-template-columns: 1fr; }
  .tta-cta__action { flex-direction: column; width: 100%; }
  .tta-cta__action .tta-btn,
  .tta-cta__action .tta-btn-ghost { width: 100%; justify-content: center; }
  .tta-choose__grid { grid-template-columns: 1fr; }
  .tta-vision__stat-card { left: 12px; bottom: -16px; }
  .tta-video-card { width: 200px; min-width: 200px; max-width: 200px; }
  .tta-video-card__thumb-wrap { height: 120px; }
  .tta-tscroll__arrow { display: none; }
  .tta-enroll-card--scroll { width: 180px; min-width: 180px; max-width: 180px; }
}

@media (max-width: 400px) {
  .tta-hero__panel { height: 220px; }
  .tta-hero__cta-row { flex-direction: column; align-items: flex-start; }
  .tta-video-card { width: 180px; min-width: 180px; max-width: 180px; }
}
/* ============================================================
   WelcomeGiftPopup.css
   Premium luxury fintech "Welcome Offer" gift reveal.
   Palette: deep maroon (#6E0F1F / #4A0A15) + gold (#D9A24B / #F3D08B)
            + luxury cream (#FBF6EC / #F4E9D5)

   Layout concept:
   - No card/box wrapper behind the floating gift. It sits directly on
     the blurred backdrop, glowing magically, with orbiting sparkles.
   - The offer card (after opening) is the ONLY container element.
   - Confetti/paper/sparkle bursts loop continuously while open.
   ============================================================ */

:root {
  --wgp-maroon-deep: #4a0a15;
  --wgp-maroon: #6e0f1f;
  --wgp-maroon-bright: #8c1326;
  --wgp-gold: #d9a24b;
  --wgp-gold-light: #f3d08b;
  --wgp-gold-pale: #fff1cf;
  --wgp-cream: #fbf6ec;
  --wgp-cream-deep: #f4e9d5;
  --wgp-ink: #3a0e14;
}

/* ---------------- Overlay ---------------- */

.wgp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 24px;
  box-sizing: border-box;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.wgp-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.wgp-overlay--closing {
  opacity: 0;
  pointer-events: none;
}

/* ---------------- Close button (floats top-right of viewport) ---------------- */

.wgp-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(243, 208, 139, 0.45);
  background: rgba(74, 10, 21, 0.55);
  color: var(--wgp-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  z-index: 50;
  backdrop-filter: blur(4px);
}

.wgp-close:hover {
  background: var(--wgp-gold);
  color: var(--wgp-maroon-deep);
  transform: rotate(90deg);
}

/* ---------------- Stage (shared coordinate space for gift + card) ---------------- */

.wgp-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ================================================================
   GIFT BOX — floats free on the backdrop, no container behind it
   ================================================================ */

.wgp-gift {
  position: absolute;
  width: 240px;
  height: 240px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 20;
   transform: translate(-50%, -50%);
    left: 50%;
  top: 50%;
}

.wgp-gift--idle {
  animation: wgp-float 3.6s ease-in-out infinite;
}

.wgp-gift:hover .wgp-box {
  transform: scale(1.05);
}

/* Soft radial glow pooling beneath/around the gift */
.wgp-gift-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(217, 162, 75, 0.45), rgba(217, 162, 75, 0.12) 45%, rgba(217, 162, 75, 0) 72%);
  filter: blur(6px);
  animation: wgp-glow-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Rotating soft rays behind the box for a "magical" feel */
.wgp-gift-rays {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(243, 208, 139, 0.16) 0deg 6deg,
    rgba(243, 208, 139, 0) 6deg 24deg
  );
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: wgp-rays-spin 14s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Small twinkling sparkles orbiting the closed gift box */
.wgp-orbit-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wgp-gold-pale);
  box-shadow: 0 0 8px 3px rgba(243, 208, 139, 0.85);
  z-index: 1;
}

.wgp-orbit-sparkle--1 {
  left: 8%;
  top: 18%;
  animation: wgp-orbit-twinkle 2.6s ease-in-out infinite;
}
.wgp-orbit-sparkle--2 {
  right: 6%;
  top: 30%;
  animation: wgp-orbit-twinkle 3.1s ease-in-out infinite 0.4s;
}
.wgp-orbit-sparkle--3 {
  left: 14%;
  bottom: 14%;
  animation: wgp-orbit-twinkle 2.8s ease-in-out infinite 0.8s;
}
.wgp-orbit-sparkle--4 {
  right: 12%;
  bottom: 20%;
  animation: wgp-orbit-twinkle 3.4s ease-in-out infinite 1.2s;
}

.wgp-box {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  z-index: 2;
}

.wgp-box-shadow-blob {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 150px;
  height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 75%);
  border-radius: 50%;
  z-index: 0;
}

/* --- Box body --- */

.wgp-box-body {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 168px;
  height: 120px;
  transform: translateX(-50%);
  background: linear-gradient(155deg, var(--wgp-maroon-bright) 0%, var(--wgp-maroon) 55%, var(--wgp-maroon-deep) 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 36px -10px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.wgp-box-shine {
  position: absolute;
  top: 0;
  left: -20%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 60%);
  transform: skewX(-12deg);
}

/* --- Box lid --- */

.wgp-box-lid {
  position: absolute;
  left: 50%;
  bottom: 136px;
  width: 188px;
  height: 46px;
  transform: translateX(-50%);
  background: linear-gradient(155deg, var(--wgp-maroon-bright) 0%, var(--wgp-maroon) 60%, var(--wgp-maroon-deep) 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 18px -6px rgba(0, 0, 0, 0.55);
  z-index: 3;
  transform-origin: 50% 100%;
}

/* --- Ribbon --- */

.wgp-ribbon-vert {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 26px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--wgp-gold-light), var(--wgp-gold) 50%, var(--wgp-gold-light));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* --- Bow --- */

.wgp-bow {
  position: absolute;
  left: 50%;
  top: -30px;
  width: 110px;
  height: 56px;
  transform: translateX(-50%);
  z-index: 4;
}

.wgp-bow-loop {
  position: absolute;
  top: 4px;
  width: 50px;
  height: 44px;
  border-radius: 50% 50% 50% 50%;
  background: linear-gradient(135deg, var(--wgp-gold-light), var(--wgp-gold) 60%, #b9812f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 6px 10px rgba(0, 0, 0, 0.35);
}

.wgp-bow-loop--left {
  left: 2px;
  transform: rotate(-18deg);
}

.wgp-bow-loop--right {
  right: 2px;
  transform: rotate(18deg);
}

.wgp-bow-knot {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 26px;
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 30%, var(--wgp-gold-pale), var(--wgp-gold) 65%, #b9812f);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.wgp-bow-tail {
  position: absolute;
  top: 30px;
  width: 16px;
  height: 34px;
  background: linear-gradient(180deg, var(--wgp-gold-light), var(--wgp-gold));
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 80%);
}

.wgp-bow-tail--left {
  left: 38px;
  transform: rotate(8deg);
}

.wgp-bow-tail--right {
  right: 38px;
  transform: rotate(-8deg) scaleX(-1);
}

/* --- Click-to-open tag --- */

.wgp-cta-tag {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.5);
  color: var(--wgp-cream);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(243, 208, 139, 0.5);
  animation: wgp-tag-pulse 2.2s ease-in-out infinite;
}

.wgp-cta-icon {
  font-size: 13px;
}

/* ================================================================
   PARTICLE BURST (confetti, paper strips, fireworks, sparkles, tickets)
   Continuous: new "waves" are spawned by JS on an interval, so this
   layer keeps emitting until the popup is closed/claimed.
   ================================================================ */

.wgp-burst {
  position: absolute;
  inset: -60px;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

.wgp-confetti {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--wgp-gold);
  border-radius: 2px;
  opacity: 0;
  animation: wgp-confetti-burst ease-out forwards;
}

.wgp-confetti:nth-child(3n) { background: var(--wgp-gold-light); border-radius: 50%; }
.wgp-confetti:nth-child(3n + 1) { background: var(--wgp-maroon-bright); }
.wgp-confetti:nth-child(5n) { width: 6px; height: 10px; }

.wgp-paper-strip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 22px;
  background: linear-gradient(180deg, var(--wgp-cream), var(--wgp-gold-light));
  border-radius: 2px;
  opacity: 0;
  animation: wgp-paper-fly ease-out forwards;
}

.wgp-sparkle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--wgp-gold-pale);
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(243, 208, 139, 0.8);
  opacity: 0;
  animation: wgp-sparkle-pop 1.1s ease-out forwards;
}

.wgp-firework {
  position: absolute;
  width: 4px;
  height: 4px;
  opacity: 0;
  animation: wgp-firework-flash 0.9s ease-out forwards;
}

.wgp-firework-core {
  position: absolute;
  width: 6px;
  height: 6px;
  left: -1px;
  top: -1px;
  background: var(--wgp-gold-pale);
  border-radius: 50%;
}

.wgp-firework-ray {
  position: absolute;
  left: 1px;
  top: 1px;
  width: 2px;
  height: 18px;
  background: linear-gradient(180deg, var(--wgp-gold-light), rgba(243, 208, 139, 0));
  transform-origin: top center;
  border-radius: 2px;
}

.wgp-ticket {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  background: var(--wgp-cream);
  color: var(--wgp-maroon);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 9px;
  border-radius: 4px;
  border: 1px dashed var(--wgp-gold);
  opacity: 0;
  white-space: nowrap;
  animation: wgp-ticket-shoot 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wgp-ticket--1 { animation-delay: 0.05s; --ticket-x: -90px; --ticket-rot: -16deg; }
.wgp-ticket--2 { animation-delay: 0.16s; --ticket-x: 0px; --ticket-rot: 6deg; }
.wgp-ticket--3 { animation-delay: 0.1s; --ticket-x: 96px; --ticket-rot: 14deg; }

/* ================================================================
   OFFER CARD — the ONLY container in the whole UI. Glows on arrival.
   ================================================================ */

.wgp-card {
  position: fixed;
      left:50%;
    top:50%;

  width: 460px;
  max-width:calc(100vw - 40px);
  padding: 34px 26px 28px;
  border-radius: 24px;
  background: linear-gradient(165deg, #fffdf9, var(--wgp-cream) 60%, var(--wgp-cream-deep));
  border: 1.5px solid var(--wgp-gold);
  box-shadow:
    0 25px 60px -14px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
 
    transform:translate(-50%,-50%);
  pointer-events: none;
  box-sizing: border-box;
  text-align: center;
  z-index: 10000;
}

.wgp-card--shown {
animation: cardReveal .7s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes cardReveal{

    0%{
        opacity:0;
        transform:translate(-50%,80px) scale(.8);
    }

    70%{
        opacity:1;
        transform:translate(-50%,-55%) scale(1.03);
    }

    100%{
        opacity:1;
        transform:translate(-50%,-50%) scale(1);
    }

}

/* Halo glow that breathes around the card once it's revealed */
.wgp-card-glow {
  position: absolute;
  inset: -40px;
  border-radius: 36px;
  background: radial-gradient(ellipse at center, rgba(217, 162, 75, 0.5), rgba(217, 162, 75, 0) 70%);
  filter: blur(10px);
  z-index: -1;
  opacity: 0;
}

.wgp-card--shown .wgp-card-glow {
  animation: wgp-card-glow-pulse 2.4s ease-in-out infinite;
  animation-delay: 0.4s;
}

.wgp-card-icon {
  font-size: 30px;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 8px rgba(110, 15, 31, 0.25));
}

.wgp-card-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  color: var(--wgp-maroon);
  letter-spacing: 0.2px;
}

.wgp-card-subtitle {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: #6b4a52;
  line-height: 1.5;
}

/* --- Coupons row --- */

.wgp-coupons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.wgp-coupon {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 8px 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.85);
}

.wgp-card--shown .wgp-coupon {
  animation: wgp-coupon-bounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
 
}



.wgp-coupon--side {
  background: var(--wgp-cream-deep);
  border: 1px solid rgba(217, 162, 75, 0.45);
  color: var(--wgp-maroon);
  animation-delay: 0.55s;
}

.wgp-coupon--center {
  background: linear-gradient(165deg, var(--wgp-maroon-bright), var(--wgp-maroon) 60%, var(--wgp-maroon-deep));
  color: var(--wgp-cream);
  padding: 18px 10px 16px;
  border-radius: 16px;
  box-shadow: 0 14px 26px -8px rgba(0, 0, 0, 0.55);
  transform-origin: bottom center;
  z-index: 1;
  animation-delay: 0.4s;
}

.wgp-coupon--side:nth-of-type(3) {
  animation-delay: 0.68s;
}

.wgp-coupon-star {
  font-size: 13px;
  margin-bottom: 4px;
}

.wgp-coupon-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  opacity: 0.85;
}

.wgp-coupon-value {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
}

.wgp-coupon-value--big {
  font-size: 30px;
}

.wgp-coupon-value--small {
  font-size: 17px;
}

.wgp-coupon-label {
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.wgp-coupon-sub {
  font-size: 10.5px;
  opacity: 0.75;
  margin-top: 4px;
}

/* --- Claim button --- */

.wgp-claim-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  border-radius: 50px;
  padding: 14px 30px;
  background: var(--wgp-cream);
  color: var(--wgp-maroon);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4), inset 0 0 0 1.5px var(--wgp-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.wgp-claim-btn:hover {
  transform: scale(1.045);
  background: var(--wgp-gold-pale);
  box-shadow: 0 14px 30px -6px rgba(217, 162, 75, 0.65), inset 0 0 0 1.5px var(--wgp-gold);
}

.wgp-claim-btn:active {
  transform: scale(0.98);
}

.wgp-claim-btn svg {
  transition: transform 0.25s ease;
}

.wgp-claim-btn:hover svg {
  transform: translateX(3px);
}

.wgp-card-footnote {
  margin: 16px 0 0;
  font-size: 12px;
  color: #9a7c83;
}

/* ================================================================
   KEYFRAMES
   ================================================================ */

@keyframes wgp-float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0) rotate(-1deg);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-12px) rotate(1deg);
  }
}

@keyframes wgp-glow-pulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes wgp-rays-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes wgp-orbit-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes wgp-tag-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}

@keyframes wgp-confetti-burst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--rot)) scale(var(--scale));
  }
}

@keyframes wgp-paper-fly {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--rot));
  }
}

@keyframes wgp-sparkle-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  35% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.3);
  }
}

@keyframes wgp-firework-flash {
  0% { opacity: 0; transform: scale(0.2); }
  25% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}

@keyframes wgp-ticket-shoot {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.7);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--ticket-x)), calc(-50% - 170px)) rotate(var(--ticket-rot)) scale(1);
  }
}




@keyframes wgp-card-glow-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

@keyframes wgp-coupon-bounce {
  0% { opacity: 0; transform: translateY(20px) scale(0.85); }
  60% { opacity: 1; transform: translateY(-4px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 560px) {
  .wgp-gift {
    width: 190px;
    height: 190px;
  }

  .wgp-gift-glow,
  .wgp-gift-rays {
    width: 260px;
    height: 260px;
    position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  }

  .wgp-box-body { width: 142px; height: 102px; bottom: 18px; }
  .wgp-box-lid { width: 160px; height: 40px; bottom: 122px; }

.wgp-card {
    position: fixed;

    top: 50%;
    left: 50%;

    width: 460px;
    max-width: calc(100vw - 40px);

    transform: translate(-50%, -50%);

    z-index: 99999;

    opacity: 0;
}

  .wgp-coupons {
    gap: 6px;
  }

  .wgp-coupon-value--big { font-size: 24px; }
  .wgp-card-title { font-size: 22px; }

  .wgp-close {
    top: 16px;
    right: 16px;
  }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .wgp-gift--idle,
  .wgp-gift-glow,
  .wgp-gift-rays,
  .wgp-orbit-sparkle,
  .wgp-cta-tag,
  .wgp-card-glow {
    animation: none !important;
  }

  .wgp-overlay,
  .wgp-card,
  .wgp-coupon {
    transition: opacity 0.3s ease !important;
    animation-duration: 0.3s !important;
     position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(80px) scale(0.9);
  z-index: 30;
  }
}

@keyframes cardReveal{

    0%{
        opacity:0;
        transform:translate(-50%,80px) scale(.8);
    }

    70%{
        opacity:1;
        transform:translate(-50%,-55%) scale(1.03);
    }

    100%{
        opacity:1;
        transform:translate(-50%,-50%) scale(1);
    }

}

/* ── Google Fonts ───────────────────────────────────────── */
:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188, 20, 33, 0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #fafafa;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(188,20,33,0.07);
  --shadow-md:  0 6px 28px rgba(188,20,33,0.12);
  --shadow-lg:  0 16px 56px rgba(188,20,33,0.16);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body:    'Manrope', sans-serif;
  --font-head:    'Barlow Condensed', sans-serif;
}
/* ── Reset & Base ───────────────────────────────────────── */
.about-page {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}
.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.about-page img { max-width: 100%; height: auto; display: block; }
.about-page a { text-decoration: none; }
/* ── Container & Grid ───────────────────────────────────── */
.about-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-page .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -16px;
}
.about-page .row.align-items-center { align-items: center; }
.about-page [class*="col-"] { padding: 0 16px; width: 100%; }
@media (min-width: 992px) {
  .about-page .col-lg-5  { width: 41.666%; }
  .about-page .col-lg-6  { width: 50%; }
  .about-page .col-lg-7  { width: 58.333%; }
}
@media (min-width: 1200px) {
  .about-page .col-xl-6  { width: 50%; }
}
.about-page .text-center { text-align: center; }
.about-page .mt-5 { margin-top: 3rem; }
.about-page .d-none { display: none; }
@media (min-width: 768px) { .about-page .d-md-block { display: block !important; } }
/* ── Section Title ──────────────────────────────────────── */
.about-page .section-title { 

   display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;


 }
.about-page .section-title__tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid rgba(188,20,33,0.18);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 5rem;
 
}
.about-page .section-title__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
 
    margin: 12px 0 0;
  padding: 0;

}
/* ── Button ─────────────────────────────────────────────── */
.about-page .nisoz-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--red);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.about-page .nisoz-btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}
.about-page .nisoz-btn--light {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.about-page .nisoz-btn--light:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  color: var(--red);
}
/* ══════════════════════════════════════════════════════════
   PAGE HEADER  ← matches screenshot: light peach background
   ══════════════════════════════════════════════════════════ */
.ph2 {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Light peach / warm cream gradient — exactly like screenshot */
  background: linear-gradient(135deg, #fde8e0 0%, #fce8dc 30%, #fbeae0 60%, #f9e5db 100%);
}
/* Floating dots — coloured like screenshot (red + blue) */
.ph2-dot {
  position: absolute;
  border-radius: 50%;
  animation: ph2-pulse 3s ease-in-out infinite;
}
.ph2-dot--1 { width: 14px; height: 14px; background: #bc1421; top: 22%; left: 28%;  animation-delay: 0s; }
.ph2-dot--2 { width: 10px; height: 10px; background: #3b5bdb; top: 65%; left: 20%;  animation-delay: 0.6s; }
.ph2-dot--3 { width: 16px; height: 16px; background: #bc1421; top: 28%; right: 15%; animation-delay: 1.2s; }
.ph2-dot--4 { width: 12px; height: 12px; background: #3b5bdb; bottom: 20%; right: 30%; animation-delay: 1.8s; }
.ph2-dot--5 { width: 8px;  height: 8px;  background: #bc1421; bottom: 30%; left: 45%; animation-delay: 2.4s; }
@keyframes ph2-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}
/* Side decorations */
.ph2-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  width: 140px;
  height: 140px;
}
.ph2-deco--left  { left: 4%; }
.ph2-deco--right { right: 4%; }
.ph2-svg-icon { width: 100%; height: 100%; animation: ph2-sway 6s ease-in-out infinite; }
.ph2-svg-icon--right { animation-direction: reverse; }
@keyframes ph2-sway {
  0%, 100% { transform: rotate(-3deg); }
  50%       { transform: rotate(3deg); }
}
/* Content */
.ph2-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
}
/* Breadcrumb ABOVE title (as in screenshot) */
.ph2-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.ph2-breadcrumb__link {
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}
.ph2-breadcrumb__link:hover { color: var(--red); }
.ph2-breadcrumb__current { color: var(--slate); font-size: 0.875rem; font-weight: 500; }
.ph2-breadcrumb__sep { color: var(--muted); font-size: 1rem; }
/* Bold dark title — as in screenshot */
.ph2-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: #1e2235;
  line-height: 1.05;
  margin-bottom: 0.25rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.01em;
}
/* Red wavy underline SVG — animates in */
.ph2-underline {
  display: block;
  width: 100%;
  height: 18px;
  margin-top: 4px;
}
.ph2-underline svg { width: 100%; height: 100%; }
.ph2-underline-path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: ph2-draw 1.2s ease forwards 0.5s;
}
@keyframes ph2-draw { to { stroke-dashoffset: 0; } }
/* ══════════════════════════════════════════════════════════
   ABOUT FOUR SECTION
   ══════════════════════════════════════════════════════════ */
.about-four {
  padding: 80px 0;
  background: var(--white);
}
.about-four__content { padding: 20px 0; }
.about-four__content__heading {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 1rem 0;
  line-height: 1.35;
}
.about-four__content__text {
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  font-size: 0.97rem;
}
.about-four__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 2rem;
}
/* ── Red Card ───────────────────────────────────────────── */
.red-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.red-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-mid), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.red-card:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.red-card:hover::before { opacity: 1; }
.red-card__icon { color: var(--red); margin-bottom: 10px; position: relative; }
.red-card__title { font-size: 0.85rem; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; position: relative; }
.red-card__text { font-size: 0.78rem; color: var(--muted); line-height: 1.5; position: relative; }
.red-card--horizontal {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
}
.red-card--horizontal .red-card__icon { margin-bottom: 0; flex-shrink: 0; }
.red-card--horizontal .red-card__title { font-size: 0.9rem; }
.red-card--horizontal .red-card__text { font-size: 0.82rem; }
/* ── Stats Panel ────────────────────────────────────────── */
.about-stats-panel {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 15px;

}
.about-stats-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-stats-panel__item {
  background: var(--white);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}
.about-stats-panel__item:hover { background: var(--red-light); }
.about-stats-panel__num {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}
.about-stats-panel__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 480px) {
  .about-stats-panel__grid { grid-template-columns: repeat(2, 1fr); }
}
/* ══════════════════════════════════════════════════════════
   CEO / TEAM SECTION
   ══════════════════════════════════════════════════════════ */
.team-details {
  /* padding: 80px 0; */
  /* background: var(--surface); */
}
.team-details__card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--border);
  /* border-radius: var(--radius-lg); */
  padding: 40px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.team-details__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 220px;
}
.team-details__avatar-wrap img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.team-details__image-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.team-details__image-badge__count {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}
.team-details__image-badge__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 3px;
}
.team-details__content { flex: 1; min-width: 240px; }
.team-details__role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}
.team-details__social {
  display: flex;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.team-details__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(188,20,33,0.2);
  transition: var(--transition);
}
.team-details__social a:hover { background: var(--red); color: var(--white); }
.team-details__quote {
  background: var(--red-light);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
}
.team-details__text { font-size: 0.9rem; color: var(--slate); line-height: 1.8; font-style: italic; }
.team-details__cite { display: block; font-size: 0.8rem; font-weight: 700; color: var(--red); margin-top: 12px; font-style: normal; }
@media (max-width: 768px) {
  .team-details__card { flex-direction: column; align-items: center; text-align: center; gap: 32px; }
  .team-details__avatar-wrap { width: 180px; }
  .team-details__avatar-wrap img { width: 180px; height: 230px; }
  .team-details__social { justify-content: center; }
}
/* ══════════════════════════════════════════════════════════
   VISION SECTION
   ══════════════════════════════════════════════════════════ */
.feature-three {
  padding: 80px 0;
  background: var(--white);
}
.feature-three__text {
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
}
.feature-three__cards { margin-top: 1.5rem; }
.vision-stats-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0 10px 20px;
}
.vision-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: var(--transition);
}
.vision-stat-card:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.vision-stat-card__icon { display: flex; align-items: center; flex-shrink: 0; color: var(--red); }
.vision-stat-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 3px;
}
.vision-stat-card__val { display: block; font-size: 0.9rem; font-weight: 600; color: var(--charcoal); }
@media (max-width: 991px) {
  .vision-stats-wrap { padding-left: 0; margin-top: 2rem; }
}
/* ══════════════════════════════════════════════════════════
   MISSION SECTION
   ══════════════════════════════════════════════════════════ */
.about-two {
  padding: 80px 0;
  /* background: var(--surface); */
}
.about-two__content { padding: 10px 0; }
.about-two__text2 {
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.mission-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.mission-visual__graphic { width: 100%; }
.mission-visual__graphic svg { width: 100%; }
.mission-visual__badge {
  background: var(--white);
  border-top: 1.5px solid var(--border);
  padding: 20px 24px;
}
.mission-visual__badge-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.mission-visual__progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mission-visual__prog-label { font-size: 0.75rem; color: var(--muted); width: 56px; flex-shrink: 0; }
.mission-visual__prog-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.mission-visual__prog-bar { height: 100%; background: var(--muted); border-radius: 100px; transition: width 1s ease; }
.mission-visual__prog-bar--accent { background: var(--red); }
.mission-visual__prog-pct { font-size: 0.78rem; font-weight: 700; color: var(--muted); width: 34px; text-align: right; }
.mission-visual__prog-pct--accent { color: var(--red); }
/* ══════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════ */
.cta-three {
  padding: 70px 24px;
 background: linear-gradient(
  135deg,
     #98111d 0%,
    #bc1421 55%,
    #d22936 100%
);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-three::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(188,20,33,0.25) 0%, transparent 70%);
}
.cta-three__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-three__badge {
  display: inline-block;
  background: rgba(19, 18, 18, 0.966);
  color: rgb(255, 255, 255);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 94, 108, 0.4);
  margin-bottom: 1.25rem;
}
.cta-three__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: rgb(255, 255, 255);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.cta-three__sub {
  color: rgb(255, 255, 255);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
/* ══════════════════════════════════════════════════════════
   WHY CHOOSE TTA
   ══════════════════════════════════════════════════════════ */
.about-one {
  padding: 80px 0;
  background: var(--white);
}
.about-one__stats-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
 
}
.stat-card:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.stat-card__icon { color: var(--red); margin-bottom: 10px; display: flex; justify-content: center; }
.stat-card__count {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card__label { font-size: 0.78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.why-list { display: flex; flex-direction: column; gap: 1rem; }
.why-item { display: flex; align-items: flex-start; gap: 14px; }
.why-item__bullet { flex-shrink: 0; margin-top: 2px; }
.why-item__title { display: block; font-size: 0.92rem; font-weight: 700; color: var(--charcoal); margin-bottom: 2px; }
.why-item__text { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 768px) {
  .about-one__stats-visual { margin-bottom: 2rem;margin-top: 12px;}
}
/* ══════════════════════════════════════════════════════════
   REVIEWS SECTION
   ══════════════════════════════════════════════════════════ */
.reviews-section {
  padding: 80px 0 60px;
  /* background: var(--surface); */
  overflow: hidden;
}
.reviews-section__sub {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
.reviews-heading {
  text-align: center;
  margin-top: 10px;
}
.reviews-heading__title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}
.reviews-heading__sub {
  margin-top: 12px;
  font-size: 15px;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
/* Auto-scroll track */
.reviews-track-wrap {
  position: relative;
  margin-top: 2.5rem;
  cursor: grab;
  user-select: none;
}
.reviews-track-wrap:active { cursor: grabbing; }
.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px 40px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track__item { flex: 0 0 320px; }
/* Fade edges */
.reviews-track__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.reviews-track__fade--left  { left: 0;  background: linear-gradient(to right,  transparent); }
.reviews-track__fade--right { right: 0; background: linear-gradient(to left,   transparent); }
/* Review card — now an <a> link */
.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.review-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.review-card__top { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-head);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__meta { flex: 1; }
.review-card__name { display: block; font-size: 0.88rem; font-weight: 700; color: var(--charcoal); }
.review-card__date { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 1px; }
.review-stars { display: flex; gap: 2px; }
.review-card__text { font-size: 0.83rem; color: var(--slate); line-height: 1.65; flex: 1; }
.review-card__cta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 4px;
  opacity: 0;
  transition: opacity var(--transition);
}
.review-card:hover .review-card__cta { opacity: 1; }
/* All reviews expandable grid */
.reviews-all { margin-top: 2rem; }
.reviews-all__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1.5px solid rgba(188,20,33,0.25);
  background: var(--white);
  width: fit-content;
  margin: 0 auto;
  list-style: none;
  transition: var(--transition);
}
.reviews-all__toggle:hover { background: var(--red-light); border-color: var(--red); }
.reviews-all[open] .reviews-all__toggle svg { transform: rotate(180deg); }
.reviews-all summary { list-style: none; }
.reviews-all summary::-webkit-details-marker { display: none; }
.reviews-all__google-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 2rem;
  animation: reviewsFadeIn 0.4s ease;
}
@keyframes reviewsFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ══════════════════════════════════════════════════════════
   REGISTRATION FORM SECTION
   ══════════════════════════════════════════════════════════ */
.reg-section {
  padding: 80px 0;
  background: var(--white);
}
.reg-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  align-items: start;
  /* background: var(--surface); */
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
/* Info panel */
.reg-info {
  padding: 48px 36px;
  background: linear-gradient(160deg, #1a0305 0%, #3d0a0e 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.reg-info .section-title__tagline {
  background: rgba(188,20,33,0.35);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.reg-info__title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.reg-info__sub { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.reg-info__list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem; flex: 1; }
.reg-info__item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 500; }
.reg-info__icon { font-size: 1rem; flex-shrink: 0; color: rgba(255,255,255,0.7); }
.reg-info__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  margin-top: auto;
}
.reg-info__badge svg { flex-shrink: 0; opacity: 0.7; }
/* Form panel */
.reg-form-wrap { padding: 48px 40px; }
.reg-form { display: flex; flex-direction: column; gap: 18px; }
.reg-form__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.reg-form__sub { font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }
.reg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reg-form__field { display: flex; flex-direction: column; gap: 6px; }
.reg-form__label { font-size: 0.82rem; font-weight: 600; color: var(--charcoal); }
.reg-form__label span { color: var(--red); margin-left: 2px; }
.reg-form__input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.reg-form__input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(188,20,33,0.1); }
.reg-form__input--err { border-color: var(--red); background: #fff8f8; }
.reg-form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b7b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.reg-form__textarea { resize: vertical; min-height: 80px; }
.reg-form__err { font-size: 0.75rem; color: var(--red); font-weight: 500; }
.reg-form__submit { width: 100%; justify-content: center; margin-top: 4px; padding: 14px; font-size: 1rem; }
/* Success state */
.reg-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 20px 0;
  animation: reviewsFadeIn 0.4s ease;
}
.reg-success__icon { color: var(--red); }
.reg-success__title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--charcoal); }
.reg-success__text { color: var(--slate); font-size: 0.9rem; line-height: 1.6; max-width: 340px; }
/* ── Responsive: Registration ──────────────────────────── */
@media (max-width: 768px) {
  .reg-wrapper { grid-template-columns: 1fr; }
  .reg-info { padding: 32px 24px; }
  .reg-form-wrap { padding: 32px 24px; }
  .reg-form__row { grid-template-columns: 1fr; }
}
/* ══════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .about-four,
  .team-details,
  .feature-three,
  .about-two,
  .about-one,
  .reviews-section,
  .reg-section { padding: 60px 0; }
  .about-four .row > [class*="col-"] + [class*="col-"] { margin-top: 2.5rem; }
  .feature-three .row > [class*="col-"] + [class*="col-"] { margin-top: 2.5rem; }
  .about-two .row > [class*="col-"] + [class*="col-"] { margin-top: 2.5rem; }
  .about-one .row > [class*="col-"] + [class*="col-"] { margin-top: 2.5rem; }
}
@media (max-width: 600px) {
  .about-page .container { padding: 0 16px; }
  .about-four__cards { grid-template-columns: 1fr; }
  .ph2-deco { display: none; }
  .reviews-track__item { flex: 0 0 280px; }
}/* ============================================================
   AnimatedPageHeader.css
   ============================================================ */

.aph-root {
  position: relative;
  width: 100%;
  min-height: 150px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
}

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */

.aph-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #7c1322 0%, #6e0f1f 45%, #560a17 100%);
}

.aph-bg-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 35%, rgba(255, 178, 150, 0.3) 0%, rgba(255, 178, 150, 0) 45%),
    radial-gradient(circle at 12% 88%, rgba(139, 30, 45, 0.5) 0%, rgba(139, 30, 45, 0) 50%);
  mix-blend-mode: screen;
}

.aph-bg-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(15, 2, 5, 0.5) 100%);
}

.aph-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(246, 232, 213, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 232, 213, 0.6) 1px, transparent 1px);
  background-size: 44px 44px;
}

.aph-bg-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.aph-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(246, 232, 213, 0.4);
  animation: aphParticleDrift linear infinite;
}

@keyframes aphParticleDrift {
  0%   { transform: translate(0, 0);         opacity: 0;    }
  10%  {                                      opacity: 0.75; }
  90%  {                                      opacity: 0.45; }
  100% { transform: translate(-22px, -56px); opacity: 0;    }
}

/* ============================================================
   LAYOUT — DESKTOP
   ============================================================ */

.aph-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2rem 0 3rem 0;
}

.aph-left {
  flex: 0 0 42%;
  max-width: 42%;
  margin-left: 7%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 6;
}

.aph-visual {
  position: relative;
  z-index: 6;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 4% 1.5rem 0;
  min-height: 230px;
  overflow: visible;
}

/* ============================================================
   LEFT CONTENT
   ============================================================ */

.aph-crumb {
  font-size: 12px;
  color: rgba(246, 232, 213, 0.55);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.aph-crumb a {
  color: rgba(246, 232, 213, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
}

.aph-crumb a:hover { color: #f6e8d5; }
.aph-crumb-cur     { color: #f6e8d5; }

.aph-eyebrow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.aph-eyebrow span:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #f6e8d5;
}

.aph-eyebrow-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #f6e8d5, rgba(246, 232, 213, 0));
  border-radius: 2px;
}

.aph-title {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  color: #f6e8d5;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.aph-sub {
  margin: 0 0 26px;
  max-width: 430px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.aph-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  align-self: flex-start;
  padding: 14px 26px;
  border: none;
  border-radius: 100px;
  background: #f6e8d5;
  color: #6e0f1f;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.35);
}

.aph-cta-icon {
  font-size: 13px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.aph-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.45),
              0 0 0 6px rgba(246, 232, 213, 0.12);
}

.aph-cta:hover .aph-cta-icon { transform: translateX(4px); }
.aph-cta:focus-visible        { outline: 3px solid #fff; outline-offset: 3px; }
.aph-cta:active               { transform: translateY(-1px) scale(0.99); }

/* ============================================================
   SIGNATURE VISUAL A — CANDLESTICKS
   ============================================================ */

.aph-candles {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 200px;
  display: flex;
  align-items: stretch;
  gap: 11px;
}

.aph-candle-col {
  position: relative;
  flex: 1;
  height: 100%;
  animation: aphCandleFade 0.4s ease-out backwards;
}

.aph-candle-wick {
  position: absolute;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: rgba(246, 232, 213, 0.35);
}

.aph-candle-body {
  position: absolute;
  left: 50%;
  width: 60%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: center;
  border-radius: 1.5px;
  animation: aphCandleGrow 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.aph-candle-body.up   { background: #f6e8d5; }
.aph-candle-body.down { background: #e08a78; }

@keyframes aphCandleFade {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes aphCandleGrow {
  from { transform: translateX(-50%) scaleY(0); }
  to   { transform: translateX(-50%) scaleY(1); }
}

/* ============================================================
   SIGNATURE VISUAL B — BULL VS BEAR
   ============================================================ */

.aph-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 290px;
}

.aph-arrow {
  position: absolute;
  top: 2%;
  right: 0;
  width: 50%;
  max-width: 220px;
  color: rgba(246, 232, 213, 0.2);
  z-index: 1;
  animation: aphArrowPulse 5s ease-in-out infinite;
  transform: rotate(2deg);
}

.aph-arrow svg { width: 100%; height: auto; display: block; }

@keyframes aphArrowPulse {
  0%, 100% { opacity: 0.7; transform: rotate(2deg) scale(1);    }
  50%       { opacity: 1;   transform: rotate(2deg) scale(1.05); }
}

.aph-scene-candles {
  position: absolute;
  bottom: 6%;
  left: 0;
  width: 55%;
  height: 60%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  z-index: 1;
  opacity: 0.2;
}

.aph-scene-candle {
  width: 10px;
  border-radius: 2px;
  background: #f6e8d5;
  animation: aphSceneCandleBreathe 3.2s ease-in-out infinite;
}

.aph-scene-candle.down { background: #c44a4a; }

@keyframes aphSceneCandleBreathe {
  0%, 100% { opacity: 0.4;  }
  50%       { opacity: 0.85; }
}

.aph-dust {
  position: absolute;
  bottom: 2%;
  width: 170px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(110,15,31,0.5) 0%, rgba(110,15,31,0) 70%);
  filter: blur(6px);
  z-index: 2;
  animation: aphDustDrift 6s ease-in-out infinite;
}

.aph-dust-left  { left: 4%;  animation-delay: 0.4s; }
.aph-dust-right { right: 12%; animation-delay: 1.2s; }

@keyframes aphDustDrift {
  0%, 100% { transform: translateY(0)    scaleX(1);    opacity: 0.55; }
  50%       { transform: translateY(-5px) scaleX(1.08); opacity: 0.8;  }
}

.aph-bull {
  position: absolute;
  z-index: 4;
  left: -32%;
  bottom: -24%;
  width: 100%;
  max-width: 620px;
  height: auto;
  transform: rotate(3deg);
  filter: drop-shadow(0 22px 26px rgba(0,0,0,0.5));
  animation: aphBullFloat 4.5s ease-in-out infinite;
}

.aph-bear {
  position: absolute;
  z-index: 3;
  right: -11%;
  bottom: -28%;
  width: 90%;
  max-width: 550px;
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.45));
  animation: aphBearFloat 4.5s ease-in-out infinite;
}

@keyframes aphBullFloat {
  0%, 100% { transform: rotate(3deg)  translateY(0);     }
  50%       { transform: rotate(3deg)  translateY(-10px); }
}
@keyframes aphBearFloat {
  0%, 100% { transform: rotate(-4deg) translateY(0);    }
  50%       { transform: rotate(-4deg) translateY(-6px); }
}

/* ============================================================
   WAVE
   ============================================================ */

.aph-wave {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .aph-left {
    flex: 0 0 46%;
    max-width: 46%;
    margin-left: 5%;
  }

  .aph-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .aph-scene {
    max-width: 420px;
    height: 240px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL TABLET (≤ 900px)
   Stack text on top, visual below
   ============================================================ */

@media (max-width: 900px) {
  .aph-root {
    min-height: auto;
  }

  .aph-inner {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 0 0;
  }

  .aph-left {
    flex: none;
    width: 90%;
    max-width: 90%;
    margin-left: 0;
    padding: 0 5%;
    text-align: left;
  }

  /* Visual sits BELOW text, full width, visible height */
  .aph-visual {
    width: 100%;
    flex: none;
    min-height: 200px;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    margin-bottom: 2.5rem;
  }

  .aph-scene {
    width: 90%;
    max-width: 420px;
    height: 200px;
  }

  .aph-candles {
    max-width: 360px;
    height: 160px;
  }

  /* Keep bull/bear inside visible area on tablet */
  .aph-bull {
    left: -10%;
    bottom: -10%;
    width: 55%;
    max-width: 380px;
  }

  .aph-bear {
    right: -4%;
    bottom: -12%;
    width: 48%;
    max-width: 320px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE LANDSCAPE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {
  .aph-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .aph-sub {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .aph-cta {
    padding: 11px 20px;
    font-size: 13px;
  }

  .aph-scene {
    max-width: 380px;
    height: 180px;
  }

  .aph-bull {
    width: 68%;
    max-width: 300px;
    left: -8%;
    bottom: -8%;
  }

  .aph-bear {
    width: 60%;
    max-width: 260px;
    right: -2%;
    bottom: -10%;
  }

  .aph-candles {
    max-width: 320px;
    height: 140px;
    gap: 8px;
  }

  .aph-dust { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE PORTRAIT (≤ 560px)
   ============================================================ */

@media (max-width: 560px) {
  .aph-inner {
    padding: 1.5rem 0 0 0;
  }

  .aph-left {
    width: 92%;
    max-width: 92%;
    padding: 0 4%;
  }

  .aph-title {
    font-size: clamp(1.6rem, 8.5vw, 2.2rem);
    margin-bottom: 8px;
  }

  .aph-crumb {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .aph-eyebrow {
    margin-bottom: 12px;
    gap: 6px;
  }

  .aph-eyebrow span:first-child {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .aph-sub {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .aph-cta {
    padding: 10px 18px;
    font-size: 12.5px;
    gap: 8px;
  }

  .aph-visual {
    min-height: 170px;
    margin-bottom: 2rem;
  }

  .aph-scene {
    width: 94%;
    max-width: 320px;
    height: 160px;
  }

  /* Bull and bear fully visible on small screens */
  .aph-bull {
    width: 72%;
    max-width: 260px;
    left: -4%;
    bottom: -6%;
  }

  .aph-bear {
    width: 62%;
    max-width: 210px;
    right: 0%;
    bottom: -8%;
  }

  .aph-candles {
    max-width: 280px;
    height: 120px;
    gap: 6px;
  }

  .aph-scene-candles { display: none; }
  .aph-arrow         { display: none; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 400px)
   ============================================================ */

@media (max-width: 400px) {
  .aph-left {
    width: 94%;
    max-width: 94%;
    padding: 0 3%;
  }

  .aph-title {
    font-size: clamp(1.4rem, 9vw, 1.9rem);
  }

  .aph-sub {
    font-size: 12.5px;
    margin-bottom: 14px;
  }

  .aph-cta {
    padding: 9px 16px;
    font-size: 12px;
  }

  .aph-visual {
    min-height: 150px;
  }

  .aph-scene {
    max-width: 280px;
    height: 140px;
  }

  .aph-bull {
    width: 75%;
    max-width: 220px;
    left: -2%;
    bottom: -4%;
  }

  .aph-bear {
    width: 65%;
    max-width: 180px;
    right: 1%;
    bottom: -6%;
  }

  .aph-candles {
    max-width: 240px;
    height: 100px;
    gap: 5px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .aph-bull,
  .aph-bear,
  .aph-arrow,
  .aph-dust,
  .aph-scene-candle,
  .aph-candle-body,
  .aph-particle,
  .aph-cta {
    animation: none !important;
    transition: none !important;
  }
}/* ─────────────────────────────────────────
   Brand tokens  (mirrors root variables)
───────────────────────────────────────── */
:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188, 20, 33, 0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #fafafa;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(188, 20, 33, 0.07);
  --shadow-md:  0 6px 28px rgba(188, 20, 33, 0.12);
  --shadow-lg:  0 16px 56px rgba(188, 20, 33, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

/* ─────────────────────────────────────────
   PAGE HEADER  (matches brand screenshot)
───────────────────────────────────────── */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 40%, #f5f0fa 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-body);
}

/* Pendant lamps */
.ph-lamp {
  position: absolute;
  top: 0;
  width: 52px;
  height: 90px;
  background: linear-gradient(180deg, #d0ccd0 0%, #a8a4a8 100%);
  border-radius: 0 0 50% 50%;
}
.ph-lamp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 28px;
  background: #b0acb0;
  border-radius: 2px;
}
.ph-lamp-1 { left: 14%; }
.ph-lamp-2 { left: 22%; width: 42px; height: 72px; }

/* Floating dots */
.ph-dot {
  position: absolute;
  border-radius: 50%;
}
.ph-dot-1 { width: 18px; height: 18px; background: #e85c5c; top: 28%;  left: 34%; }
.ph-dot-2 { width: 14px; height: 14px; background: #5a7bc4; top: 68%;  left: 21%; }
.ph-dot-3 { width: 12px; height: 12px; background: #5a7bc4; top: 15%;  right: 14%; }
.ph-dot-4 { width: 16px; height: 16px; background: #e85c5c; bottom: 18%; right: 28%; }

/* Stacked books (right side) */
.ph-books {
  position: absolute;
  right: 7%;
  bottom: 0;
  width: 80px;
  height: 110px;
  background:
    linear-gradient(180deg,
      #5ba08a 0%, #5ba08a 16%,
      #e8c840 16%, #e8c840 32%,
      #d4504a 32%, #d4504a 48%,
      #6890c4 48%, #6890c4 64%,
      #c87840 64%, #c87840 80%,
      #9060b8 80%, #9060b8 100%
    );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}

/* Centre content */
.ph-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ph-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.ph-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.ph-breadcrumb a:hover { color: var(--red); }
.ph-sep { margin: 0 8px; }

.ph-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  margin: 0;
  position: relative;
  display: inline-block;
}

/* Brush-stroke underline */
.ph-underline {
  display: block;
  position: relative;
  height: 8px;
  background: none;
  width: 70%;
  margin: 4px auto 0;
}
.ph-underline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-6deg) scaleX(1.05);
}

/* ─────────────────────────────────────────
   RESOURCES SECTION
───────────────────────────────────────── */
.res-section {
  background: var(--surface);
  padding: 56px 0 72px;
  font-family: var(--font-body);
}

.res-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section title block */
.res-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.res-tagline {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--red);
  margin-bottom: 8px;
}

.res-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.res-subheading {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   CAROUSEL
───────────────────────────────────────── */
.res-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Track ── */
.res-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;           /* Firefox */
  cursor: grab;
  flex: 1;
  padding: 8px 4px 16px;
}
.res-track::-webkit-scrollbar { display: none; }
.res-track:active { cursor: grabbing; }

/* ── Card ── */
.res-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  max-width: 420px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  transform: scale(0.97);
  opacity: 0.85;
}
.res-card--active {
  transform: scale(1);
  opacity: 1;
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.res-card:hover {
  transform: scale(1) translateY(-4px);
  opacity: 1;
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}

/* ── Video wrapper (16:9) ── */
.res-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #111;
  overflow: hidden;
}
.res-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Card footer ── */
.res-card-footer {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--border);
}
.res-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 5px;
  line-height: 1.3;
  letter-spacing: 0.2px;
}
.res-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Arrow buttons ── */
.res-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 2;
}
.res-arrow svg {
  width: 18px;
  height: 18px;
}
.res-arrow:hover:not(:disabled) {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: scale(1.08);
}
.res-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.res-arrow--prev { margin-right: 12px; }
.res-arrow--next { margin-left: 12px; }

/* ── Dot indicators ── */
.res-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.res-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.res-dot--active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}
.res-dot:hover:not(.res-dot--active) {
  background: var(--muted);
}

/* ── Counter ── */
.res-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-display);
}
.res-counter__current {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.res-counter__sep {
  font-size: 0.9rem;
  color: var(--muted);
}
.res-counter__total {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ─────────────────────────────────────────
   LOADING / EMPTY STATES
───────────────────────────────────────── */
.res-loading,
.res-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.res-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--red-light);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: res-spin 0.75s linear infinite;
}
@keyframes res-spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */

/* Tablet */
@media (max-width: 960px) {
  .res-card {
    flex: 0 0 calc(50% - 12px);
  }
  .res-arrow {
    width: 38px;
    height: 38px;
  }
  .res-arrow--prev { margin-right: 8px; }
  .res-arrow--next { margin-left: 8px; }
}

/* Large mobile */
@media (max-width: 640px) {
  .page-header { min-height: 180px; }
  .ph-lamp, .ph-books { display: none; }

  .res-section { padding: 36px 0 52px; }

  .res-card {
    flex: 0 0 calc(90vw - 32px);
    min-width: 0;
    max-width: 100%;
  }

  .res-arrow {
    display: none;
  }

  .res-track {
    padding: 8px 0 16px;
    gap: 16px;
  }

  .res-counter__current { font-size: 1.3rem; }
}

/* Small mobile */
@media (max-width: 400px) {
  .res-container { padding: 0 14px; }

  .res-card {
    flex: 0 0 calc(95vw - 28px);
  }
}
.social-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  /* background: rgba(255,255,255,0.9); */
  margin: 40px 0 60px;
}

/* Main Button */
.social-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 16px 30px;

  border-radius: 60px;
  border: 2px solid transparent;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  transition: all .4s ease;

  box-shadow:
    0 10px 30px rgba(0,0,0,.08);

  overflow: hidden;
}

/* Glow Circle */
.social-btn::before {
  content: "";

  position: absolute;
  inset: -2px;

  border-radius: 60px;

  opacity: 0;

  transition: .4s ease;
}

/* Hover */
.social-btn:hover {
  transform: translateY(-8px) scale(1.04);
}

.social-btn:hover::before {
  opacity: 1;
}

/* Instagram */
.instagram {
  color: #c13584;
  border-color: rgba(193,53,132,.25);
}

.instagram::before {
  box-shadow:
    0 0 18px rgba(193,53,132,.4),
    0 0 35px rgba(193,53,132,.2);
}

/* Facebook */
.facebook {
  color: #1877f2;
  border-color: rgba(24,119,242,.25);
}

.facebook::before {
  box-shadow:
    0 0 18px rgba(24,119,242,.4),
    0 0 35px rgba(24,119,242,.2);
}

/* LinkedIn */
.linkedin {
  color: #0a66c2;
  border-color: rgba(10,102,194,.25);
}

.linkedin::before {
  box-shadow:
    0 0 18px rgba(10,102,194,.4),
    0 0 35px rgba(10,102,194,.2);
}

/* YouTube */
.youtube {
  color: #ff0000;
  border-color: rgba(255,0,0,.25);
}

.youtube::before {
  box-shadow:
    0 0 18px rgba(255,0,0,.4),
    0 0 35px rgba(255,0,0,.2);
}

.social-btn:hover {
  transform: translateY(-6px);
}


.social-section {
  margin: 80px 0;
}

.social-section h2 {
  font-size: 34px;
  margin-bottom: 30px;
  text-align: center;
}

.feed-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.social-icon{
  font-size: 24px;
  transition: .35s ease;
}

.social-btn:hover .social-icon{
  transform: scale(1.2) rotate(8deg);
}.res-section {
  padding: 40px 0;   /* reduce from current value */
  margin: 0;
}

.res-container {
  margin-bottom: 10px;
}

.res-section + .res-section {
  margin-top:2px; /* space between YouTube, Instagram, Facebook, LinkedIn */
}:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188, 20, 33, 0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #fafafa;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(188,20,33,0.07);
  --shadow-md:  0 6px 28px rgba(188,20,33,0.12);
  --shadow-lg:  0 16px 56px rgba(188,20,33,0.16);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

/* ─────────────────────────────────────────
   PAGE HEADER  (matches screenshot style)
───────────────────────────────────────── */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 40%, #f5f0fa 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-body);
}

/* ── Pendant lamps (top-left decorative) ── */
.ph-lamp {
  position: absolute;
  top: 0;
  width: 52px;
  height: 90px;
  background: linear-gradient(180deg, #d0ccd0 0%, #a8a4a8 100%);
  border-radius: 0 0 50% 50%;
}
.ph-lamp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 28px;
  background: #b0acb0;
  border-radius: 2px;
}
.ph-lamp-1 { left: 14%; }
.ph-lamp-2 { left: 22%; width: 42px; height: 72px; }

/* ── Floating dots ── */
.ph-dot {
  position: absolute;
  border-radius: 50%;
}
.ph-dot-1 { width: 18px; height: 18px; background: #e85c5c; top: 28%;  left: 34%; }
.ph-dot-2 { width: 14px; height: 14px; background: #5a7bc4; top: 68%;  left: 21%; }
.ph-dot-3 { width: 12px; height: 12px; background: #5a7bc4; top: 15%;  right: 14%; }
.ph-dot-4 { width: 16px; height: 16px; background: #e85c5c; bottom: 18%; right: 28%; }

/* ── Stacked books (right side) ── */
.ph-books {
  position: absolute;
  right: 7%;
  bottom: 0;
  width: 80px;
  height: 110px;
  background:
    linear-gradient(180deg, #5ba08a 0%, #5ba08a 16%,
      #e8c840 16%, #e8c840 32%,
      #d4504a 32%, #d4504a 48%,
      #6890c4 48%, #6890c4 64%,
      #c87840 64%, #c87840 80%,
      #9060b8 80%, #9060b8 100%
    );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}

/* ── Centre text ── */
.ph-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ph-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.ph-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.ph-breadcrumb a:hover { color: var(--red); }
.ph-sep { margin: 0 8px; }

.ph-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  margin: 0;
  position: relative;
  display: inline-block;
}

.ph-underline {
  display: block;
  height: 6px;
  background: var(--red);
  border-radius: 3px;
  margin: 6px auto 0;
  width: 60%;
  clip-path: path('M0,3 Q30,0 60,3 Q90,6 120,3');
  /* Fallback straight line for unsupported clip-path */
}

/* SVG-style brush stroke via mask */
.ph-underline {
  position: relative;
  height: 8px;
  background: none;
  width: 70%;
  margin: 4px auto 0;
}
.ph-underline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-6deg) scaleX(1.05);
}

/* ─────────────────────────────────────────
   CONTACT PAGE WRAPPER
───────────────────────────────────────── */
.contact-page {
  background: var(--surface);
  padding: 48px 0 64px;
  font-family: var(--font-body);
}

.cp-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ── Info cards ── */
.cp-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cp-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.cp-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

.cp-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: var(--transition);
}
.cp-info-card:hover .cp-info-icon {
  background: var(--red);
}
.cp-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  transition: var(--transition);
}
.cp-info-card:hover .cp-info-icon svg {
  color: var(--white);
}
.cp-info-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 6px;
  letter-spacing: 0.3px;
}
.cp-info-card a,
.cp-info-card p {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
}
.cp-info-card a:hover { color: var(--red); }

/* ── Body row: form + map ── */
.cp-body-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ─────────────────────────────────────────
   FORM CARD
───────────────────────────────────────── */
.cp-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.cp-form-header {
  margin-bottom: 22px;
}
.cp-tagline {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--red);
  margin-bottom: 6px;
}
.cp-form-header h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.2;
}

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cp-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.cp-optional {
  font-weight: 400;
  text-transform: none;
  color: var(--muted);
  letter-spacing: 0;
}

.cp-form input,
.cp-form select,
.cp-form textarea {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: var(--transition);
  resize: none;
  width: 100%;
  box-sizing: border-box;
}
.cp-form select { cursor: pointer; }
.cp-form input:focus,
.cp-form select:focus,
.cp-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red-mid);
}
.cp-form input::placeholder,
.cp-form textarea::placeholder { color: #bbb; }

/* ── Buttons ── */
.cp-btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.cp-btn:hover:not(:disabled) { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cp-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.cp-btn-full { width: 100%; }

/* Spinner */
.cp-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cp-success {
  text-align: center;
  padding: 32px 20px;
}
.cp-success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.cp-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--charcoal);
  margin: 0 0 6px;
}
.cp-success p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 18px;
}


.cp-map-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.cp-map-card iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: none;
}
.cp-map-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.cp-review-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: var(--radius);
  padding: 9px 20px;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.cp-review-btn:hover {
  background: var(--red);
  color: var(--white);
}


@media (max-width: 900px) {
  .cp-body-row { grid-template-columns: 1fr; }
  .cp-map-card iframe { height: 260px; }
}
@media (max-width: 640px) {
  .cp-info-row { grid-template-columns: 1fr; }
  .cp-row-2    { grid-template-columns: 1fr; }
  .cp-form-card { padding: 24px 18px; }
  .page-header { min-height: 180px; }
  .ph-lamp, .ph-books { display: none; }
}/* ─────────────────────────────────────────
   Brand tokens (mirrors root variables)
───────────────────────────────────────── */
:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188, 20, 33, 0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #fafafa;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(188,20,33,0.07);
  --shadow-md:  0 6px 28px rgba(188,20,33,0.12);
  --shadow-lg:  0 16px 56px rgba(188,20,33,0.16);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

/* ─────────────────────────────────────────
   PAGE HEADER  (matches screenshot style)
───────────────────────────────────────── */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 40%, #f5f0fa 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-body);
}

/* ── Pendant lamps (top-left decorative) ── */
.ph-lamp {
  position: absolute;
  top: 0;
  width: 52px;
  height: 90px;
  background: linear-gradient(180deg, #d0ccd0 0%, #a8a4a8 100%);
  border-radius: 0 0 50% 50%;
}
.ph-lamp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 28px;
  background: #b0acb0;
  border-radius: 2px;
}
.ph-lamp-1 { left: 14%; }
.ph-lamp-2 { left: 22%; width: 42px; height: 72px; }

/* ── Floating dots ── */
.ph-dot {
  position: absolute;
  border-radius: 50%;
}
.ph-dot-1 { width: 18px; height: 18px; background: #e85c5c; top: 28%;  left: 34%; }
.ph-dot-2 { width: 14px; height: 14px; background: #5a7bc4; top: 68%;  left: 21%; }
.ph-dot-3 { width: 12px; height: 12px; background: #5a7bc4; top: 15%;  right: 14%; }
.ph-dot-4 { width: 16px; height: 16px; background: #e85c5c; bottom: 18%; right: 28%; }

/* ── Stacked books (right side) ── */
.ph-books {
  position: absolute;
  right: 7%;
  bottom: 0;
  width: 80px;
  height: 110px;
  background:
    linear-gradient(180deg, #5ba08a 0%, #5ba08a 16%,
      #e8c840 16%, #e8c840 32%,
      #d4504a 32%, #d4504a 48%,
      #6890c4 48%, #6890c4 64%,
      #c87840 64%, #c87840 80%,
      #9060b8 80%, #9060b8 100%
    );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}

/* ── Centre text ── */
.ph-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ph-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.ph-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.ph-breadcrumb a:hover { color: var(--red); }
.ph-sep { margin: 0 8px; }

.ph-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  margin: 0;
  position: relative;
  display: inline-block;
}

.ph-underline {
  display: block;
  height: 6px;
  background: var(--red);
  border-radius: 3px;
  margin: 6px auto 0;
  width: 60%;
  clip-path: path('M0,3 Q30,0 60,3 Q90,6 120,3');
  /* Fallback straight line for unsupported clip-path */
}

/* SVG-style brush stroke via mask */
.ph-underline {
  position: relative;
  height: 8px;
  background: none;
  width: 70%;
  margin: 4px auto 0;
}
.ph-underline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-6deg) scaleX(1.05);
}

/* ─────────────────────────────────────────
   CONTACT PAGE WRAPPER
───────────────────────────────────────── */
.contact-page {
  background: var(--surface);
  padding: 48px 0 64px;
  font-family: var(--font-body);
}

.cp-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ── Info cards ── */
.cp-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cp-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.cp-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

.cp-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: var(--transition);
}
.cp-info-card:hover .cp-info-icon {
  background: var(--red);
}
.cp-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  transition: var(--transition);
}
.cp-info-card:hover .cp-info-icon svg {
  color: var(--white);
}
.cp-info-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 6px;
  letter-spacing: 0.3px;
}
.cp-info-card a,
.cp-info-card p {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
}
.cp-info-card a:hover { color: var(--red); }

/* ── Body row: form + map ── */
.cp-body-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ─────────────────────────────────────────
   FORM CARD
───────────────────────────────────────── */
.cp-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.cp-form-header {
  margin-bottom: 22px;
}
.cp-tagline {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--red);
  margin-bottom: 6px;
}
.cp-form-header h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.2;
}

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cp-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.cp-optional {
  font-weight: 400;
  text-transform: none;
  color: var(--muted);
  letter-spacing: 0;
}

.cp-form input,
.cp-form select,
.cp-form textarea {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: var(--transition);
  resize: none;
  width: 100%;
  box-sizing: border-box;
}
.cp-form select { cursor: pointer; }
.cp-form input:focus,
.cp-form select:focus,
.cp-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red-mid);
}
.cp-form input::placeholder,
.cp-form textarea::placeholder { color: #bbb; }

/* ── Buttons ── */
.cp-btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.cp-btn:hover:not(:disabled) { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cp-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.cp-btn-full { width: 100%; }

/* Spinner */
.cp-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Success state ── */
.cp-success {
  text-align: center;
  padding: 32px 20px;
}
.cp-success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.cp-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--charcoal);
  margin: 0 0 6px;
}
.cp-success p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 18px;
}

/* ─────────────────────────────────────────
   MAP CARD
───────────────────────────────────────── */
.cp-map-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.cp-map-card iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: none;
}
.cp-map-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.cp-review-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: var(--radius);
  padding: 9px 20px;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.cp-review-btn:hover {
  background: var(--red);
  color: var(--white);
}


@media (max-width: 900px) {
  .cp-body-row { grid-template-columns: 1fr; }
  .cp-map-card iframe { height: 260px; }
}
@media (max-width: 640px) {
  .cp-info-row { grid-template-columns: 1fr; }
  .cp-row-2    { grid-template-columns: 1fr; }
  .cp-form-card { padding: 24px 18px; }
  .page-header { min-height: 180px; }
  .ph-lamp, .ph-books { display: none; }
}
/* ─────────────────────────────────────────
   BRANCH TABS  (top navigation)
───────────────────────────────────────── */
.branches-wrapper {
  min-height: 100vh;
  background: var(--surface);
}

.branch-tabs {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(188,20,33,0.07);
}

.branch-tabs__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.branch-tabs__inner::-webkit-scrollbar { display: none; }

.branch-tab-btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 22px 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  bottom: -2px;
}

.branch-tab-btn:hover {
  color: var(--charcoal);
  background: var(--red-mid);
  border-radius: var(--radius) var(--radius) 0 0;
}

.branch-tab-btn--active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.branch-tab-btn__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  flex-shrink: 0;
}

.branch-tab-btn--active .branch-tab-btn__dot {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-light);
}

@media (max-width: 640px) {
  .branch-tab-btn {
    font-size: 0.82rem;
    padding: 14px 14px 11px;
    gap: 6px;
  }
}
.branches-globe-container {
  width: 100%;
  height: 700px;
  margin-bottom: 50px;
  border-radius: 24px;
  overflow: hidden;
  background: #fCFDE8;
}

@media (max-width: 768px) {
  .branches-globe-container {
    height: 450px;
  }
}

.branches-globe-container canvas {
  border-radius: 24px;
}

@media (max-width: 768px) {
  .branches-globe-container {
    margin: 20px 0 40px;
  }
}/* ════════════════════════════════════════
   BRAND TOKENS
════════════════════════════════════════ */
:root {
  --red:        #bc1421;
  --red-dark:   #9b1019;
  --red-deep:   #800020;
  --red-light:  #f8e8ea;
  --red-mid:    rgba(188,20,33,0.10);

  --ink:        #3a000e;
  --ink-mid:    #5c1a28;
  --muted:      #8c4054;
  --border:     #f0dade;
  --surface:    #fdf5f6;
  --surface-2:  #fbeaec;
  --white:      #ffffff;

  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;

  --ease:       cubic-bezier(.4,0,.2,1);
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --shadow-sm:  0 2px 12px rgba(128,0,32,.06);
  --shadow-md:  0 6px 28px rgba(128,0,32,.11);
  --shadow-lg:  0 16px 56px rgba(128,0,32,.16);
  --trans:      0.28s cubic-bezier(.4,0,.2,1);
}

/* ════════════════════════════════════════
   RESET / PAGE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

.pp-page {
  font-family: var(--font-body);
  background: var(--surface);
  min-height: 100vh;
  color: var(--ink);
}

.pp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ════════════════════════════════════════
   HERO — matches screenshot design
════════════════════════════════════════ */
.pp-hero {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 42%, #f3effa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Pendant lamps ── */
.pp-hero__lamp {
  position: absolute;
  top: 0;
  background: linear-gradient(180deg, #cec9ce 0%, #a5a1a5 100%);
  border-radius: 0 0 50% 50%;
}
.pp-hero__lamp::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 32px;
  background: #b0adb0;
  border-radius: 2px;
}
.pp-hero__lamp--1 { left: 13%; width: 56px; height: 96px; }
.pp-hero__lamp--2 { left: 22%; width: 44px; height: 76px; }

/* ── Floating dots ── */
.pp-hero__dot {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.pp-hero__dot--1 { width: 20px; height: 20px; background: #e85c5c; top: 27%;  left: 35%; }
.pp-hero__dot--2 { width: 14px; height: 14px; background: #5a7bc4; top: 72%;  left: 21%; }
.pp-hero__dot--3 { width: 13px; height: 13px; background: #5a7bc4; top: 15%;  right: 14%; }
.pp-hero__dot--4 { width: 18px; height: 18px; background: #e85c5c; bottom: 18%; right: 28%; }

/* ── Stacked books ── */
.pp-hero__books {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 90px;
  height: 126px;
  background: linear-gradient(180deg,
    #5ba08a 0%,  #5ba08a 16%,
    #e8c840 16%, #e8c840 30%,
    #d4504a 30%, #d4504a 46%,
    #6890c4 46%, #6890c4 62%,
    #c87840 62%, #c87840 78%,
    #9060b8 78%, #9060b8 100%
  );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
}

/* ── Hero centre text ── */
.pp-hero__body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.pp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.pp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--trans);
}
.pp-breadcrumb a:hover { color: var(--red); }
.pp-breadcrumb span:nth-child(2) {
  font-size: 0.5rem;
  color: var(--red);
}

.pp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.1;
  display: inline-block;
  position: relative;
}

/* Red skewed underline stroke */
.pp-hero__stroke {
  display: block;
  height: 8px;
  width: 75%;
  margin: 7px auto 0;
  position: relative;
  font-style: normal;
}
.pp-hero__stroke::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-8deg) scaleX(1.06);
}

.pp-hero__meta {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ════════════════════════════════════════
   INTRO STRIP
════════════════════════════════════════ */
.pp-intro {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.pp-intro__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}

.pp-intro__badge {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--red-light);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-intro__badge svg { width: 26px; height: 26px; color: var(--red); }

.pp-intro__text { flex: 1; min-width: 220px; }

.pp-intro__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-intro__desc {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0;
}

.pp-intro__stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.pp-stat {
  text-align: center;
}
.pp-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.pp-stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}

/* ════════════════════════════════════════
   MAIN LAYOUT  (sidebar + accordion)
════════════════════════════════════════ */
.pp-main {
  padding: 52px 0 80px;
}

.pp-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Sticky Sidebar TOC ── */
.pp-toc {
  position: sticky;
  top: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 0 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pp-toc::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--red);
  margin-bottom: 16px;
}

.pp-toc__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding: 0 20px;
  margin: 0 0 10px;
}

.pp-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-toc__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-mid);
  text-align: left;
  line-height: 1.4;
  transition: background var(--trans), color var(--trans), padding-left var(--trans);
  border-left: 3px solid transparent;
}
.pp-toc__item:hover {
  background: var(--red-light);
  color: var(--ink);
}
.pp-toc__item--active {
  background: var(--red-light);
  color: var(--red);
  font-weight: 600;
  border-left-color: var(--red);
}

.pp-toc__num {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-light);
  border-radius: 4px;
  padding: 2px 5px;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

/* ── Accordion Sections ── */
.pp-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pp-sec {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
  animation: ppRise 0.38s var(--ease) both;
}
.pp-sec:hover {
  box-shadow: var(--shadow-md);
}
.pp-sec--open {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}

@keyframes ppRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Section header button */
.pp-sec__hd {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--trans);
  font-family: var(--font-body);
}
.pp-sec__hd:hover { background: var(--surface); }
.pp-sec--open .pp-sec__hd {
  background: var(--red-light);
  border-bottom: 1px solid var(--border);
}

.pp-sec__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.pp-sec__icon svg {
  width: 19px; height: 19px;
  color: var(--red);
  transition: color var(--trans);
}
.pp-sec--open .pp-sec__icon { background: var(--red); }
.pp-sec--open .pp-sec__icon svg { color: var(--white); }

.pp-sec__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-mid);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.pp-sec__title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.pp-sec--open .pp-sec__title { color: var(--red-deep); }

.pp-sec__arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--trans), color var(--trans);
}
.pp-sec__arrow svg { width: 18px; height: 18px; }
.pp-sec--open .pp-sec__arrow {
  transform: rotate(180deg);
  color: var(--red);
}

/* Accordion body — max-height technique (most reliable) */
.pp-sec__bd {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.pp-sec--open .pp-sec__bd {
  max-height: 400px;
}

.pp-sec__bd-inner {
  padding: 0;
}

.pp-sec__text {
  font-size: 0.91rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin: 0;
  padding: 20px 22px 22px 78px;
}

/* ── App Policy Card ── */
.pp-app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  margin-top: 4px;
}
.pp-app-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}

.pp-app-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}

.pp-app-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-app-card__icon svg { width: 22px; height: 22px; color: var(--red); }

.pp-app-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.pp-app-card__desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.pp-app-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
  padding: 11px 22px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.pp-app-card__btn svg { width: 15px; height: 15px; }
.pp-app-card__btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 860px) {
  .pp-layout {
    grid-template-columns: 1fr;
  }
  .pp-toc {
    position: static;
    display: none;
  }
}

@media (max-width: 640px) {
  .pp-hero { min-height: 210px; }
  .pp-hero__lamp, .pp-hero__books { display: none; }
  .pp-wrap { padding: 0 16px; }
  .pp-intro__inner { padding: 20px 0; gap: 16px; }
  .pp-intro__stats { gap: 16px; }
  .pp-main { padding: 32px 0 56px; }
  .pp-sec__hd { padding: 14px 16px; gap: 10px; }
  .pp-sec__text { padding: 16px 16px 18px 16px; }
  .pp-sec__num { display: none; }
  .pp-app-card { padding: 18px 20px 18px 28px; }
  .pp-app-card__btn { width: 100%; justify-content: center; margin-top: 4px; }
}

/* ════════════════════════════════════════
   BRAND TOKENS
════════════════════════════════════════ */
:root {
  --red:        #bc1421;
  --red-dark:   #9b1019;
  --red-deep:   #800020;
  --red-light:  #f8e8ea;
  --red-mid:    rgba(188,20,33,0.10);

  --ink:        #3a000e;
  --ink-mid:    #5c1a28;
  --muted:      #8c4054;
  --border:     #f0dade;
  --surface:    #fdf5f6;
  --surface-2:  #fbeaec;
  --white:      #ffffff;

  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;

  --ease:       cubic-bezier(.4,0,.2,1);
  --radius:     10px;
  --radius-lg:  18px;
  --shadow-sm:  0 2px 12px rgba(128,0,32,.06);
  --shadow-md:  0 6px 28px rgba(128,0,32,.11);
  --shadow-lg:  0 16px 56px rgba(128,0,32,.16);
  --trans:      0.28s cubic-bezier(.4,0,.2,1);
}
/* ════════════════════════════════════════
   RESET / PAGE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
.pp-page {
  font-family: var(--font-body);
  background: var(--surface);
  min-height: 100vh;
  color: var(--ink);
}
.pp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.pp-hero {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 42%, #f3effa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pp-hero__lamp {
  position: absolute;
  top: 0;
  background: linear-gradient(180deg, #cec9ce 0%, #a5a1a5 100%);
  border-radius: 0 0 50% 50%;
}
.pp-hero__lamp::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 32px;
  background: #b0adb0;
  border-radius: 2px;
}
.pp-hero__lamp--1 { left: 13%; width: 56px; height: 96px; }
.pp-hero__lamp--2 { left: 22%; width: 44px; height: 76px; }
.pp-hero__dot {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.pp-hero__dot--1 { width: 20px; height: 20px; background: #e85c5c; top: 27%;  left: 35%; }
.pp-hero__dot--2 { width: 14px; height: 14px; background: #5a7bc4; top: 72%;  left: 21%; }
.pp-hero__dot--3 { width: 13px; height: 13px; background: #5a7bc4; top: 15%;  right: 14%; }
.pp-hero__dot--4 { width: 18px; height: 18px; background: #e85c5c; bottom: 18%; right: 28%; }
.pp-hero__books {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 90px;
  height: 126px;
  background: linear-gradient(180deg,
    #5ba08a 0%,  #5ba08a 16%,
    #e8c840 16%, #e8c840 30%,
    #d4504a 30%, #d4504a 46%,
    #6890c4 46%, #6890c4 62%,
    #c87840 62%, #c87840 78%,
    #9060b8 78%, #9060b8 100%
  );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
}
.pp-hero__alert-badge {
  position: absolute;
  left: 6%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 6px 14px 6px 8px;
  box-shadow: var(--shadow-sm);
}
.pp-hero__alert-badge svg {
  width: 16px; height: 16px;
  color: var(--red);
}
.pp-hero__alert-badge span {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-mid);
}
.pp-hero__body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.pp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.pp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--trans);
}
.pp-breadcrumb a:hover { color: var(--red); }
.pp-breadcrumb__sep {
  font-size: 0.5rem;
  color: var(--red);
}
.pp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.1;
  display: inline-block;
  position: relative;
}
.pp-hero__stroke {
  display: block;
  height: 8px;
  width: 75%;
  margin: 7px auto 0;
  position: relative;
  font-style: normal;
}
.pp-hero__stroke::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-8deg) scaleX(1.06);
}
.pp-hero__meta {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}
/* ════════════════════════════════════════
   INTRO STRIP
════════════════════════════════════════ */
.pp-intro {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.pp-intro__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.pp-intro__badge {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--red-light);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-intro__badge svg { width: 26px; height: 26px; color: var(--red); }
.pp-intro__text { flex: 1; min-width: 220px; }
.pp-intro__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-intro__desc {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0;
}
.pp-intro__stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.pp-stat {
  text-align: center;
}
.pp-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.pp-stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}
/* ════════════════════════════════════════
   MAIN LAYOUT
════════════════════════════════════════ */
.pp-main {
  padding: 52px 0 80px;
}
.pp-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
/* ── Sticky Sidebar TOC ── */
.pp-toc {
  position: sticky;
  top: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 0 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pp-toc::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--red);
  margin-bottom: 16px;
}
.pp-toc__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding: 0 20px;
  margin: 0 0 10px;
}
.pp-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pp-toc__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-mid);
  text-align: left;
  line-height: 1.4;
  transition: background var(--trans), color var(--trans);
  border-left: 3px solid transparent;
}
.pp-toc__item:hover {
  background: var(--red-light);
  color: var(--ink);
}
.pp-toc__item--active {
  background: var(--red-light);
  color: var(--red);
  font-weight: 600;
  border-left-color: var(--red);
}
.pp-toc__num {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-light);
  border-radius: 4px;
  padding: 2px 5px;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}
/* ── Accordion Sections ── */
.pp-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-sec {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
  animation: ppRise 0.38s var(--ease) both;
}
.pp-sec:nth-child(2) { animation-delay: 0.04s; }
.pp-sec:nth-child(3) { animation-delay: 0.08s; }
.pp-sec:nth-child(4) { animation-delay: 0.12s; }
.pp-sec:nth-child(5) { animation-delay: 0.16s; }
.pp-sec:nth-child(6) { animation-delay: 0.20s; }
.pp-sec:nth-child(7) { animation-delay: 0.24s; }
.pp-sec:hover { box-shadow: var(--shadow-md); }
.pp-sec--open {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
@keyframes ppRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pp-sec__hd {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--trans);
  font-family: var(--font-body);
}
.pp-sec__hd:hover { background: var(--surface); }
.pp-sec--open .pp-sec__hd {
  background: var(--red-light);
  border-bottom: 1px solid var(--border);
}
.pp-sec__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.pp-sec__icon svg {
  width: 19px; height: 19px;
  color: var(--red);
  transition: color var(--trans);
}
.pp-sec--open .pp-sec__icon { background: var(--red); }
.pp-sec--open .pp-sec__icon svg { color: var(--white); }
.pp-sec__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-mid);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.pp-sec__title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.pp-sec--open .pp-sec__title { color: var(--red-deep); }
.pp-sec__arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--trans), color var(--trans);
}
.pp-sec__arrow svg { width: 18px; height: 18px; }
.pp-sec--open .pp-sec__arrow {
  transform: rotate(180deg);
  color: var(--red);
}
.pp-sec__bd {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.pp-sec--open .pp-sec__bd {
  max-height: 500px;
}
.pp-sec__text {
  font-size: 0.91rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin: 0;
  padding: 20px 22px 22px 78px;
}
/* ── Note / Alert Cards ── */
.pp-note-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.pp-note-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.pp-note-card--warn {
  background: #fff8f8;
}
.pp-note-card--warn::before {
  background: #c87840;
}
.pp-note-card--warn .pp-note-card__icon {
  background: #fff0e0;
  border-color: #f0d0b0;
}
.pp-note-card--warn .pp-note-card__icon svg { color: #c87840; }
.pp-note-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-left: 4px;
}
.pp-note-card__icon svg { width: 20px; height: 20px; color: var(--red); }
.pp-note-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-note-card__text {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
/* ── CTA Card ── */
.pp-app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  margin-top: 4px;
}
.pp-app-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.pp-app-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.pp-app-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-app-card__icon svg { width: 22px; height: 22px; color: var(--red); }
.pp-app-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.pp-app-card__desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.pp-app-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
  padding: 11px 22px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.pp-app-card__btn svg { width: 15px; height: 15px; }
.pp-app-card__btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 860px) {
  .pp-layout { grid-template-columns: 1fr; }
  .pp-toc { position: static; display: none; }
}
@media (max-width: 640px) {
  .pp-hero { min-height: 210px; }
  .pp-hero__lamp, .pp-hero__books, .pp-hero__alert-badge { display: none; }
  .pp-wrap { padding: 0 16px; }
  .pp-intro__inner { padding: 20px 0; gap: 16px; }
  .pp-intro__stats { gap: 16px; }
  .pp-main { padding: 32px 0 56px; }
  .pp-sec__hd { padding: 14px 16px; gap: 10px; }
  .pp-sec__text { padding: 16px 16px 18px 16px; }
  .pp-sec__num { display: none; }
  .pp-app-card { padding: 18px 20px 18px 28px; }
  .pp-app-card__btn { width: 100%; justify-content: center; margin-top: 4px; }
  .pp-note-card { padding: 16px 18px 16px 26px; }
}

/* ════════════════════════════════════════
   BRAND TOKENS
════════════════════════════════════════ */
:root {
  --red:        #bc1421;
  --red-dark:   #9b1019;
  --red-deep:   #800020;
  --red-light:  #f8e8ea;
  --red-mid:    rgba(188,20,33,0.10);

  --ink:        #3a000e;
  --ink-mid:    #5c1a28;
  --muted:      #8c4054;
  --border:     #f0dade;
  --surface:    #fdf5f6;
  --surface-2:  #fbeaec;
  --white:      #ffffff;

  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;

  --ease:       cubic-bezier(.4,0,.2,1);
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --shadow-sm:  0 2px 12px rgba(128,0,32,.06);
  --shadow-md:  0 6px 28px rgba(128,0,32,.11);
  --shadow-lg:  0 16px 56px rgba(128,0,32,.16);
  --trans:      0.28s cubic-bezier(.4,0,.2,1);
}
/* ════════════════════════════════════════
   RESET / PAGE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
.pp-page {
  font-family: var(--font-body);
  background: var(--surface);
  min-height: 100vh;
  color: var(--ink);
}
.pp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.pp-hero {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 42%, #f3effa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* ── Pendant lamps ── */
.pp-hero__lamp {
  position: absolute;
  top: 0;
  background: linear-gradient(180deg, #cec9ce 0%, #a5a1a5 100%);
  border-radius: 0 0 50% 50%;
}
.pp-hero__lamp::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 32px;
  background: #b0adb0;
  border-radius: 2px;
}
.pp-hero__lamp--1 { left: 13%; width: 56px; height: 96px; }
.pp-hero__lamp--2 { left: 22%; width: 44px; height: 76px; }
/* ── Floating dots ── */
.pp-hero__dot {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.pp-hero__dot--1 { width: 20px; height: 20px; background: #e85c5c; top: 27%;  left: 35%; }
.pp-hero__dot--2 { width: 14px; height: 14px; background: #5a7bc4; top: 72%;  left: 21%; }
.pp-hero__dot--3 { width: 13px; height: 13px; background: #5a7bc4; top: 15%;  right: 14%; }
.pp-hero__dot--4 { width: 18px; height: 18px; background: #e85c5c; bottom: 18%; right: 28%; }
/* ── Stacked books ── */
.pp-hero__books {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 90px;
  height: 126px;
  background: linear-gradient(180deg,
    #5ba08a 0%,  #5ba08a 16%,
    #e8c840 16%, #e8c840 30%,
    #d4504a 30%, #d4504a 46%,
    #6890c4 46%, #6890c4 62%,
    #c87840 62%, #c87840 78%,
    #9060b8 78%, #9060b8 100%
  );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
}
/* ── Scroll mini badge ── */
.pp-hero__scroll-badge {
  position: absolute;
  left: 6%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 6px 14px 6px 8px;
  box-shadow: var(--shadow-sm);
}
.pp-hero__scroll-badge svg {
  width: 16px; height: 16px;
  color: var(--red);
}
.pp-hero__scroll-badge span {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-mid);
}
/* ── Hero centre text ── */
.pp-hero__body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.pp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.pp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--trans);
}
.pp-breadcrumb a:hover { color: var(--red); }
.pp-breadcrumb__sep {
  font-size: 0.5rem;
  color: var(--red);
}
.pp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.1;
  display: inline-block;
  position: relative;
}
.pp-hero__stroke {
  display: block;
  height: 8px;
  width: 75%;
  margin: 7px auto 0;
  position: relative;
  font-style: normal;
}
.pp-hero__stroke::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-8deg) scaleX(1.06);
}
.pp-hero__meta {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}
/* ════════════════════════════════════════
   INTRO STRIP
════════════════════════════════════════ */
.pp-intro {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.pp-intro__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.pp-intro__badge {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--red-light);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-intro__badge svg { width: 26px; height: 26px; color: var(--red); }
.pp-intro__text { flex: 1; min-width: 220px; }
.pp-intro__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-intro__desc {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0;
}
.pp-intro__stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.pp-stat {
  text-align: center;
}
.pp-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.pp-stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}
/* ════════════════════════════════════════
   MAIN LAYOUT  (sidebar + accordion)
════════════════════════════════════════ */
.pp-main {
  padding: 52px 0 80px;
}
.pp-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
/* ── Sticky Sidebar TOC ── */
.pp-toc {
  position: sticky;
  top: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 0 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pp-toc::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--red);
  margin-bottom: 16px;
}
.pp-toc__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding: 0 20px;
  margin: 0 0 10px;
}
.pp-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pp-toc__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-mid);
  text-align: left;
  line-height: 1.4;
  transition: background var(--trans), color var(--trans);
  border-left: 3px solid transparent;
}
.pp-toc__item:hover {
  background: var(--red-light);
  color: var(--ink);
}
.pp-toc__item--active {
  background: var(--red-light);
  color: var(--red);
  font-weight: 600;
  border-left-color: var(--red);
}
.pp-toc__num {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-light);
  border-radius: 4px;
  padding: 2px 5px;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}
/* ── Accordion Sections ── */
.pp-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-sec {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
  animation: ppRise 0.38s var(--ease) both;
}
.pp-sec:nth-child(2)  { animation-delay: 0.04s; }
.pp-sec:nth-child(3)  { animation-delay: 0.08s; }
.pp-sec:nth-child(4)  { animation-delay: 0.12s; }
.pp-sec:nth-child(5)  { animation-delay: 0.16s; }
.pp-sec:nth-child(6)  { animation-delay: 0.20s; }
.pp-sec:nth-child(7)  { animation-delay: 0.24s; }
.pp-sec:nth-child(8)  { animation-delay: 0.28s; }
.pp-sec:nth-child(9)  { animation-delay: 0.32s; }
.pp-sec:nth-child(10) { animation-delay: 0.36s; }
.pp-sec:nth-child(11) { animation-delay: 0.40s; }
.pp-sec:nth-child(12) { animation-delay: 0.44s; }
.pp-sec:nth-child(13) { animation-delay: 0.48s; }
.pp-sec:hover {
  box-shadow: var(--shadow-md);
}
.pp-sec--open {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
@keyframes ppRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Section header button */
.pp-sec__hd {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--trans);
  font-family: var(--font-body);
}
.pp-sec__hd:hover { background: var(--surface); }
.pp-sec--open .pp-sec__hd {
  background: var(--red-light);
  border-bottom: 1px solid var(--border);
}
.pp-sec__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.pp-sec__icon svg {
  width: 19px; height: 19px;
  color: var(--red);
  transition: color var(--trans);
}
.pp-sec--open .pp-sec__icon { background: var(--red); }
.pp-sec--open .pp-sec__icon svg { color: var(--white); }
.pp-sec__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-mid);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.pp-sec__title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.pp-sec--open .pp-sec__title { color: var(--red-deep); }
.pp-sec__arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--trans), color var(--trans);
}
.pp-sec__arrow svg { width: 18px; height: 18px; }
.pp-sec--open .pp-sec__arrow {
  transform: rotate(180deg);
  color: var(--red);
}
/* Accordion body */
.pp-sec__bd {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.pp-sec--open .pp-sec__bd {
  max-height: 600px;
}
.pp-sec__text {
  font-size: 0.91rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin: 0;
  padding: 20px 22px 22px 78px;
}
.pp-sec__text a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--trans);
}
.pp-sec__text a:hover { color: var(--red-dark); text-decoration: underline; }
/* ── Bottom Note Card ── */
.pp-note-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}
.pp-note-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.pp-note-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-left: 4px;
}
.pp-note-card__icon svg { width: 20px; height: 20px; color: var(--red); }
.pp-note-card__content {}
.pp-note-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-note-card__text {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
/* ── Contact/Refund CTA Card ── */
.pp-app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pp-app-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.pp-app-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.pp-app-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-app-card__icon svg { width: 22px; height: 22px; color: var(--red); }
.pp-app-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.pp-app-card__desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.pp-app-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
  padding: 11px 22px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.pp-app-card__btn svg { width: 15px; height: 15px; }
.pp-app-card__btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 860px) {
  .pp-layout {
    grid-template-columns: 1fr;
  }
  .pp-toc {
    position: static;
    display: none;
  }
}
@media (max-width: 640px) {
  .pp-hero { min-height: 210px; }
  .pp-hero__lamp, .pp-hero__books, .pp-hero__scroll-badge { display: none; }
  .pp-wrap { padding: 0 16px; }
  .pp-intro__inner { padding: 20px 0; gap: 16px; }
  .pp-intro__stats { gap: 16px; }
  .pp-main { padding: 32px 0 56px; }
  .pp-sec__hd { padding: 14px 16px; gap: 10px; }
  .pp-sec__text { padding: 16px 16px 18px 16px; }
  .pp-sec__num { display: none; }
  .pp-app-card { padding: 18px 20px 18px 28px; }
  .pp-app-card__btn { width: 100%; justify-content: center; margin-top: 4px; }
  .pp-note-card { padding: 16px 18px 16px 26px; }
}

/* ─── DESIGN TOKENS (identical to Login) ────────────────────── */

:root {
  --red:         #bc1421;
  --red-dark:    #991119;
  --red-deeper:  #7a0d13;
  --red-light:   #fdf1f2;
  --red-mid:     rgba(188, 20, 33, 0.10);
  --red-glow:    rgba(188, 20, 33, 0.18);
  --charcoal:    #1e1e2e;
  --slate:       #3d3d52;
  --muted:       #6b6b80;
  --muted-light: #9999aa;
  --border:      #e4e1e8;
  --border-soft: #f0edf3;
  --surface:     #f7f5f9;
  --white:       #ffffff;
  --success-bg:  #edfaf3;
  --success-fg:  #146b3f;
  --success-bd:  #a3dfbf;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm:  0 2px 8px rgba(30, 30, 46, 0.06);
  --shadow-md:  0 8px 32px rgba(30, 30, 46, 0.10);
  --shadow-lg:  0 20px 60px rgba(30, 30, 46, 0.14);
  --shadow-red: 0 8px 28px rgba(188, 20, 33, 0.28);

  --transition:      0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  --font-body:    'DM Sans', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

/* ─── RESET ──────────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── ROOT ───────────────────────────────────────────────────── */

.rp-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(188,20,33,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(188,20,33,0.04) 0%, transparent 60%);
  font-family: var(--font-body);
  padding: 28px 24px;
}

/* ─── CARD ───────────────────────────────────────────────────── */

.rp-card {
  display: flex;
  width: 100%;
  max-width: 980px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

/* ─── LEFT PANEL ─────────────────────────────────────────────── */

.rp-left {
  flex: 0 0 38%;
  background: var(--red);
  position: relative;
  overflow: hidden;
}

.rp-left-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
}

.rp-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-deeper) 0%, var(--red) 50%, #d41e2e 100%);
  z-index: 0;
}

.rp-left::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  z-index: 0;
}

/* Dot grid */

.rp-left-pattern {
  position: absolute;
  bottom: 24px; left: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  z-index: 0;
  opacity: 0.2;
}

.rp-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--white);
  display: block;
}

.rp-left-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rp-shield-icon {
  font-size: 38px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rp-brand {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.rp-divider {
  width: 40px; height: 2px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  margin-bottom: 16px;
}

.rp-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  font-weight: 500;
}

.rp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.rp-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  font-weight: 500;
  text-align: left;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.10);
}

.rp-check {
  color: rgba(255,255,255,0.90);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── RIGHT PANEL ────────────────────────────────────────────── */

.rp-right {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.rp-right-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px;
  min-height: 100%;
}

/* ─── FORM ───────────────────────────────────────────────────── */

.rp-form {
  width: 100%;
  animation: rp-fadeIn 0.3s ease both;
}

@keyframes rp-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HEADING ────────────────────────────────────────────────── */

.rp-heading {
  margin-bottom: 24px;
}

.rp-heading h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.2px;
  line-height: 1.05;
  margin-bottom: 6px;
}

.rp-heading h1 span { color: var(--red); }

.rp-heading p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

.rp-email-highlight {
  color: var(--charcoal);
  font-weight: 600;
  word-break: break-all;
}

/* ─── TWO-COLUMN ROW ─────────────────────────────────────────── */

.rp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* ─── FIELD ──────────────────────────────────────────────────── */

.rp-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.rp-label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── INPUT BOX ──────────────────────────────────────────────── */

.rp-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  height: 50px;
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.rp-input-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-mid);
  background: var(--white);
}

.rp-input-box--error {
  border-color: var(--red) !important;
  background: var(--red-light) !important;
}

.rp-icon {
  color: var(--muted-light);
  flex-shrink: 0;
  font-size: 13px;
  transition: color var(--transition);
}

.rp-input-box:focus-within .rp-icon { color: var(--red); }

.rp-input-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  min-width: 0;
  font-weight: 500;
}

.rp-input-box input::placeholder {
  color: var(--muted-light);
  font-weight: 400;
}

.rp-eye {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-light);
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.rp-eye:hover {
  color: var(--red);
  background: var(--red-mid);
}

.rp-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
  padding-left: 2px;
  font-weight: 500;
  display: block;
}

/* ─── TERMS ──────────────────────────────────────────────────── */

.rp-terms-wrap {
  margin-bottom: 20px;
}

.rp-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.rp-checkbox {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border-radius: 4px;
  accent-color: var(--red);
  cursor: pointer;
  margin-top: 2px;
}

.rp-terms-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

/* ─── LINK BUTTON ────────────────────────────────────────────── */

.rp-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  transition: opacity var(--transition);
  display: inline;
}

.rp-link-btn:hover {
  opacity: 0.72;
  text-decoration: underline;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */

.rp-btn {
  width: 100%;
  height: 52px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition-fast), box-shadow var(--transition);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.rp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

.rp-btn:hover:not(:disabled) {
  background: var(--red-dark);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.rp-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.rp-btn:disabled {
  opacity: 0.60;
  cursor: not-allowed;
}

.rp-btn--ghost {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--border);
  box-shadow: none;
}

.rp-btn--ghost::after { display: none; }

.rp-btn--ghost:hover:not(:disabled) {
  background: var(--surface);
  border-color: var(--red);
  color: var(--red);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ─── SPINNER ────────────────────────────────────────────────── */

.rp-spinner {
  width: 16px; height: 16px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: rp-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes rp-spin { to { transform: rotate(360deg); } }

/* ─── LOGIN LINK ─────────────────────────────────────────────── */

.rp-login-link {
  text-align: center;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ─── OTP BOXES ──────────────────────────────────────────────── */

.rp-otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.rp-otp-box {
  flex: 1;
  max-width: 52px;
  height: 60px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--charcoal);
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  caret-color: var(--red);
}

.rp-otp-box:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-mid);
  background: var(--white);
}

.rp-otp-box:not(:placeholder-shown) {
  border-color: var(--red);
  background: var(--red-light);
}

/* ─── MESSAGE ────────────────────────────────────────────────── */

.rp-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  animation: rp-fadeIn 0.25s ease both;
}

.rp-msg-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}

.rp-msg--success {
  background: var(--success-bg);
  color: var(--success-fg);
  border: 1px solid var(--success-bd);
}

.rp-msg--success .rp-msg-icon {
  background: var(--success-fg);
  color: var(--white);
}

.rp-msg--error {
  background: var(--red-light);
  color: var(--red-dark);
  border: 1px solid rgba(188,20,33,0.22);
}

.rp-msg--error .rp-msg-icon {
  background: var(--red);
  color: var(--white);
}

/* ─── BACK BUTTON ────────────────────────────────────────────── */

.rp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 24px;
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 500;
}

.rp-back:hover { color: var(--red); }

/* ─── STEP BADGE ─────────────────────────────────────────────── */

.rp-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-mid);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  margin-left: 12px;
  letter-spacing: 0.4px;
  font-family: var(--font-display);
  text-transform: uppercase;
}

/* ─── MODAL ──────────────────────────────────────────────────── */

.rp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: rp-fadeIn 0.2s ease both;
}

.rp-modal {
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(10,10,20,0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.rp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}

.rp-modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.2px;
}

.rp-modal-close {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.rp-modal-close:hover {
  background: var(--red-light);
  color: var(--red);
  border-color: rgba(188,20,33,0.25);
}

.rp-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.75;
}

.rp-modal-body section {
  margin-bottom: 20px;
}

.rp-modal-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  margin-top: 4px;
  letter-spacing: 0.1px;
}

.rp-modal-body h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
  margin-top: 14px;
}

.rp-modal-body p {
  margin-bottom: 8px;
  color: var(--muted);
}

.rp-modal-body ul {
  padding-left: 20px;
  margin-bottom: 8px;
}

.rp-modal-body ul li {
  margin-bottom: 4px;
  color: var(--muted);
}

.rp-modal-body a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}

.rp-modal-body a:hover { text-decoration: underline; }

.rp-modal-footer {
  padding: 20px 28px 24px;
  border-top: 1px solid var(--border-soft);
  flex-shrink: 0;
}

.rp-agree-btn {
  width: 100%;
  height: 52px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.rp-agree-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

.rp-agree-btn:hover {
  background: var(--red-dark);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

/* ─── FOCUS VISIBLE ──────────────────────────────────────────── */

.rp-btn:focus-visible,
.rp-back:focus-visible,
.rp-link-btn:focus-visible,
.rp-eye:focus-visible,
.rp-modal-close:focus-visible,
.rp-agree-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ─── RESPONSIVE — TABLET (≤860px) ──────────────────────────── */

@media (max-width: 860px) {
  .rp-root {
    padding: 16px;
    align-items: flex-start;
    padding-top: 24px;
  }

  .rp-card {
    flex-direction: column;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .rp-left {
    flex: none;
  }

  .rp-left-inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 28px;
    gap: 16px;
  }

  .rp-left::after { display: none; }
  .rp-left-pattern { display: none; }

  .rp-shield-icon {
    width: 46px; height: 46px;
    font-size: 20px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .rp-left-content {
    align-items: flex-start;
    text-align: left;
    gap: 2px;
  }

  .rp-brand { font-size: 17px; margin-bottom: 0; }
  .rp-divider { display: none; }
  .rp-tagline { font-size: 11px; margin-bottom: 0; }
  .rp-features { display: none; }

  .rp-right-inner { padding: 32px 32px 40px; }
  .rp-heading h1 { font-size: 30px; }
}

/* ─── RESPONSIVE — MOBILE (≤560px) ──────────────────────────── */

@media (max-width: 560px) {
  .rp-root {
    padding: 0;
    background: var(--white);
    align-items: stretch;
  }

  .rp-card {
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    min-height: 100dvh;
  }

  .rp-left-inner { padding: 14px 18px; gap: 10px; }
  .rp-shield-icon { width: 38px; height: 38px; font-size: 17px; }
  .rp-brand { font-size: 15px; }
  .rp-tagline { display: none; }

  .rp-right { flex: 1; }

  .rp-right-inner {
    padding: 28px 20px 48px;
    justify-content: flex-start;
  }

  /* Stack two-col rows on mobile */
  .rp-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rp-heading h1 { font-size: 28px; }

  .rp-input-box { height: 48px; }

  .rp-btn { height: 50px; font-size: 16px; }

  .rp-otp-box {
    height: 52px;
    font-size: 22px;
    max-width: 44px;
  }

  .rp-otp-boxes { gap: 8px; }

  /* Modal full-screen on mobile */
  .rp-modal-overlay { padding: 0; align-items: flex-end; }
  .rp-modal {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
}

/* Overlay */

.rp-verify-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    backdrop-filter:blur(5px);
    animation:fadeIn .25s ease;
}

/* Modal */

.rp-verify-modal{
    width:min(480px,92%);
    background:#fff;
    border-radius:24px;
    padding:34px;
    position:relative;
    text-align:center;
    animation:popup .35s ease;
    box-shadow:0 30px 80px rgba(0,0,0,.18);
}

.rp-verify-close{
    position:absolute;
    right:18px;
    top:18px;
    border:none;
    background:none;
    font-size:20px;
    cursor:pointer;
    color:#666;
}

.rp-verify-icon{
    width:72px;
    height:72px;
    margin:auto;
    border-radius:50%;
    background:#ffe8eb;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#bc1421;
    font-size:30px;
    margin-bottom:18px;
}

.rp-verify-modal h2{
    margin:0;
    font-size:28px;
    color:#222;
}

.rp-verify-modal p{
    margin:10px 0 30px;
    color:#777;
    font-size:15px;
}

.rp-verify-options{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.rp-verify-card{
    width:100%;
    border:none;
    background:#fff;
    border:2px solid #ececec;
    border-radius:18px;
    padding:18px;
    display:flex;
    align-items:center;
    gap:18px;
    cursor:pointer;
    transition:.3s;
}

.rp-verify-card:hover{
    border-color:#bc1421;
    transform:translateY(-3px);
    box-shadow:0 12px 28px rgba(188,20,33,.18);
}

.rp-card-icon{
    width:60px;
    height:60px;
    border-radius:16px;
    background:#bc1421;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    flex-shrink:0;
}

.rp-card-content{
    text-align:left;
}

.rp-card-content h4{
    margin:0;
    color:#222;
    font-size:18px;
}

.rp-card-content span{
    color:#777;
    font-size:14px;
}

.rp-cancel-btn{
    margin-top:25px;
    border:none;
    background:none;
    color:#666;
    font-size:15px;
    cursor:pointer;
}

.rp-cancel-btn:hover{
    color:#bc1421;
}

@keyframes popup{
    from{
        opacity:0;
        transform:scale(.85);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

@keyframes fadeIn{
    from{opacity:0;}
    to{opacity:1;}
}

@media(max-width:600px){

.rp-verify-modal{
    padding:24px;
}

.rp-card-icon{
    width:52px;
    height:52px;
    font-size:20px;
}

.rp-card-content h4{
    font-size:16px;
}

}

/* ─── RESPONSIVE — SMALL MOBILE (≤380px) ────────────────────── */

@media (max-width: 380px) {
  .rp-right-inner { padding: 24px 14px 44px; }
  .rp-heading h1 { font-size: 24px; }
  .rp-otp-boxes { gap: 6px; }
  .rp-otp-box {
    height: 48px;
    font-size: 20px;
    max-width: 40px;
    border-radius: var(--radius-sm);
  }
}

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */

:root {
  --red:         #bc1421;
  --red-dark:    #991119;
  --red-deeper:  #7a0d13;
  --red-light:   #fdf1f2;
  --red-mid:     rgba(188, 20, 33, 0.1);
  --red-glow:    rgba(188, 20, 33, 0.18);
  --charcoal:    #1e1e2e;
  --slate:       #3d3d52;
  --muted:       #6b6b80;
  --muted-light: #9999aa;
  --border:      #e4e1e8;
  --border-soft: #f0edf3;
  --surface:     #f7f5f9;
  --white:       #ffffff;
  --success-bg:  #edfaf3;
  --success-fg:  #146b3f;
  --success-bd:  #a3dfbf;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(30, 30, 46, 0.06);
  --shadow-md: 0 8px 32px rgba(30, 30, 46, 0.1);
  --shadow-lg: 0 20px 60px rgba(30, 30, 46, 0.14);
  --shadow-red: 0 8px 28px rgba(188, 20, 33, 0.28);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  --font-body:    'DM Sans', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

/* ─── RESET ──────────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── ROOT ───────────────────────────────────────────────────── */

.lp-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(188, 20, 33, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(188, 20, 33, 0.04) 0%, transparent 60%);
  font-family: var(--font-body);
  padding: 24px;
}

/* ─── CARD ───────────────────────────────────────────────────── */

.lp-card {
  display: flex;
  width: 100%;
  max-width: 920px;
  min-height: 560px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

/* ─── LEFT PANEL ─────────────────────────────────────────────── */

.lp-left {
  flex: 0 0 40%;
  background: var(--red);
  position: relative;
  overflow: hidden;
}

.lp-left-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
}

/* Layered background shapes */

.lp-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--red-deeper) 0%, var(--red) 50%, #d41e2e 100%);
  z-index: 0;
}

.lp-left::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  z-index: 0;
}

/* Dot grid */

.lp-left-pattern {
  position: absolute;
  bottom: 24px; left: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  z-index: 0;
  opacity: 0.2;
}

.lp-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--white);
  display: block;
}

.lp-left-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.lp-shield-icon {
  font-size: 40px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
}

.lp-brand {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.lp-divider {
  width: 40px; height: 2px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  margin-bottom: 16px;
}

.lp-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  font-weight: 500;
}

.lp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.lp-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  text-align: left;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
}

.lp-check {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── RIGHT PANEL ────────────────────────────────────────────── */

.lp-right {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.lp-right-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
  min-height: 100%;
}

/* ─── FORM WRAPPER ───────────────────────────────────────────── */

.lp-form {
  width: 100%;
 
  animation: lp-fadeIn 0.3s ease both;
}

@keyframes lp-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── LOGO ───────────────────────────────────────────────────── */

.lp-logo-wrap {
  margin-bottom: 24px;
}

.lp-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* ─── HEADING ────────────────────────────────────────────────── */

.lp-heading {
  margin-bottom: 28px;
}

.lp-heading h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.2px;
  line-height: 1.05;
  margin-bottom: 6px;
}

.lp-heading h1 span {
  color: var(--red);
}

.lp-heading p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

.lp-email-highlight {
  color: var(--charcoal);
  font-weight: 600;
  word-break: break-all;
}

/* ─── FIELD ──────────────────────────────────────────────────── */

.lp-field {
  margin-bottom: 16px;
}

.lp-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.lp-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  height: 52px;
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.lp-input-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-mid);
  background: var(--white);
}

.lp-input-box--error {
  border-color: var(--red) !important;
  background: var(--red-light) !important;
}

.lp-input-box .lp-icon {
  color: var(--muted-light);
  flex-shrink: 0;
  font-size: 14px;
  transition: color var(--transition);
}

.lp-input-box:focus-within .lp-icon {
  color: var(--red);
}

.lp-input-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--charcoal);
  outline: none;
  min-width: 0;
  font-weight: 500;
}

.lp-input-box input::placeholder {
  color: var(--muted-light);
  font-weight: 400;
}

.lp-eye {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-light);
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.lp-eye:hover {
  color: var(--red);
  background: var(--red-mid);
}

.lp-error {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
  padding-left: 2px;
  font-weight: 500;
}

/* ─── FORGOT LINK ────────────────────────────────────────────── */

.lp-forgot {
  text-align: right;
  margin-bottom: 22px;
  margin-top: -4px;
}

/* ─── LINK BUTTON ────────────────────────────────────────────── */

.lp-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  transition: opacity var(--transition);
  text-decoration: none;
  display: inline;
}

.lp-link-btn:hover {
  opacity: 0.72;
  text-decoration: underline;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */

.lp-btn {
  width: 100%;
  height: 52px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition-fast), box-shadow var(--transition);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.lp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

.lp-btn:hover:not(:disabled) {
  background: var(--red-dark);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.lp-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.lp-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lp-btn--ghost {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--border);
  box-shadow: none;
}

.lp-btn--ghost::after { display: none; }

.lp-btn--ghost:hover:not(:disabled) {
  background: var(--surface);
  border-color: var(--red);
  color: var(--red);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ─── SPINNER ────────────────────────────────────────────────── */

.lp-spinner {
  width: 16px; height: 16px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: lp-spin 0.7s linear infinite;
  flex-shrink: 0;
}

.lp-btn--ghost .lp-spinner {
  border-color: rgba(0,0,0,0.15);
  border-top-color: var(--slate);
}

@keyframes lp-spin {
  to { transform: rotate(360deg); }
}

/* ─── REGISTER LINK ──────────────────────────────────────────── */

.lp-register {
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 400;
}

/* ─── OTP BOXES ──────────────────────────────────────────────── */

.lp-otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.lp-otp-box {
  flex: 1;
  max-width: 52px;
  height: 60px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--charcoal);
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  caret-color: var(--red);
  -moz-appearance: textfield;
}

.lp-otp-box::-webkit-outer-spin-button,
.lp-otp-box::-webkit-inner-spin-button { -webkit-appearance: none; }

.lp-otp-box:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-mid);
  background: var(--white);
}

.lp-otp-box:not(:placeholder-shown) {
  border-color: var(--red);
  background: var(--red-light);
}

/* ─── MESSAGE ────────────────────────────────────────────────── */

.lp-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  animation: lp-fadeIn 0.25s ease both;
}

.lp-msg-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}

.lp-msg--success {
  background: var(--success-bg);
  color: var(--success-fg);
  border: 1px solid var(--success-bd);
}

.lp-msg--success .lp-msg-icon {
  background: var(--success-fg);
  color: var(--white);
}

.lp-msg--error {
  background: var(--red-light);
  color: var(--red-dark);
  border: 1px solid rgba(188, 20, 33, 0.22);
}

.lp-msg--error .lp-msg-icon {
  background: var(--red);
  color: var(--white);
}

/* ─── BACK BUTTON ────────────────────────────────────────────── */

.lp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 24px;
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 500;
}

.lp-back:hover { color: var(--red); }

/* ─── STEP BADGE ─────────────────────────────────────────────── */

.lp-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-mid);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
  font-family: var(--font-display);
  text-transform: uppercase;
  margin-left:20px;
}

/* ─── RESPONSIVE — TABLET (≤820px) ──────────────────────────── */

@media (max-width: 820px) {
  .lp-root {
    padding: 16px;
    align-items: flex-start;
    padding-top: 28px;
  }

  .lp-card {
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    min-height: unset;
  }

  /* Compact header strip */
  .lp-left {
    flex: none;
  }

  .lp-left-inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 28px;
    gap: 16px;
  }

  .lp-left::after { display: none; }

  .lp-left-pattern { display: none; }

  .lp-shield-icon {
    width: 48px; height: 48px;
    font-size: 22px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .lp-left-content {
    align-items: flex-start;
    text-align: left;
    gap: 2px;
  }

  .lp-brand {
    font-size: 18px;
    margin-bottom: 0;
  }

  .lp-divider { display: none; }
  .lp-tagline { font-size: 11px; margin-bottom: 0; }
  .lp-features { display: none; }

  .lp-right-inner {
    padding: 36px 36px 40px;
  }
}

/* ─── RESPONSIVE — MOBILE (≤540px) ──────────────────────────── */

@media (max-width: 540px) {
  .lp-root {
    padding: 0;
    background: var(--white);
    align-items: stretch;
  }

  .lp-card {
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    min-height: 100dvh;
  }

  .lp-left-inner {
    padding: 16px 20px;
    gap: 12px;
  }

  .lp-shield-icon {
    width: 40px; height: 40px;
    font-size: 18px;
  }

  .lp-brand { font-size: 16px; }
  .lp-tagline { display: none; }

  .lp-right {
    flex: 1;
  }

  .lp-right-inner {
    padding: 32px 22px 44px;
    justify-content: flex-start;
  }

  .lp-heading h1 { font-size: 30px; }

  .lp-logo { height: 38px; }

  .lp-input-box { height: 50px; }

  .lp-btn { height: 50px; font-size: 16px; }

  .lp-otp-box {
    height: 54px;
    font-size: 22px;
    max-width: 46px;
  }

  .lp-otp-boxes { gap: 8px; }
}

/* ─── RESPONSIVE — SMALL MOBILE (≤380px) ────────────────────── */

@media (max-width: 380px) {
  .lp-right-inner {
    padding: 28px 16px 40px;
  }

  .lp-heading h1 { font-size: 26px; }

  .lp-otp-boxes { gap: 6px; }

  .lp-otp-box {
    height: 50px;
    font-size: 20px;
    max-width: 42px;
    border-radius: var(--radius-sm);
  }
}

/* ─── FOCUS VISIBLE ──────────────────────────────────────────── */

.lp-btn:focus-visible,
.lp-back:focus-visible,
.lp-link-btn:focus-visible,
.lp-eye:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.register-link-wrap{
  margin-top:16px;
  text-align:center;
  font-size:14px;
  color:#666;
}

.register-link{
  color:#BC1421;
  font-weight:600;
  text-decoration:none;
}

.register-link:hover{
  text-decoration:underline;
}

/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */

:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188, 20, 33, 0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #fafafa;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(188,20,33,0.07);
  --shadow-md:  0 6px 28px rgba(188,20,33,0.12);
  --shadow-lg:  0 16px 56px rgba(188,20,33,0.16);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   PAGE
══════════════════════════════════════════ */

.branches-page {
  width: 100%;
  min-height: 100vh;
  background: var(--surface);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */

.branches-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 4px solid var(--red);
}

/* Glow orbs */

.branches-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}

.branches-glow1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #bc1421 0%, transparent 70%);
  top: -120px; left: -80px;
}

.branches-glow2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #1a73e8 0%, transparent 70%);
  bottom: -100px; right: -60px;
}

.branches-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.branches-hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.branches-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 14px;
}

.branches-subtitle {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   BODY
══════════════════════════════════════════ */

.branches-body {
  padding: 40px 0 72px;
}

.branches-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

/* ══════════════════════════════════════════
   SIDEBAR — BRANCH CARDS
══════════════════════════════════════════ */

.branches-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 24px;
}

.branch-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.branch-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--transition);
  border-radius: 0 3px 3px 0;
}

.branch-card:hover,
.branch-card--active {
  border-color: rgba(188,20,33,0.3);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.branch-card:hover::before,
.branch-card--active::before { transform: scaleY(1); }

.branch-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.branch-card-icon svg { width: 18px; height: 18px; }

.branch-card--active .branch-card-icon,
.branch-card:hover .branch-card-icon {
  background: var(--red);
  color: var(--white);
}

.branch-card-info { flex: 1; min-width: 0; }

.branch-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.branch-card-addr {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 3px;
}

.branch-card-phone {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 600;
}

.branch-card-btn {
  flex-shrink: 0;
  background: none;
  border: 1.5px solid var(--red);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  align-self: center;
}

.branch-card-btn:hover {
  background: var(--red);
  color: var(--white);
}

/* ══════════════════════════════════════════
   MAP CARD
══════════════════════════════════════════ */

.map-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* ── Leaflet map ── */

.leaflet-map {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 1;
}

/* Leaflet popup */

.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
  padding: 0 !important;
  overflow: hidden;
  border-top: 3px solid var(--red) !important;
  font-family: var(--font-body) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
  min-width: 200px;
}

.leaflet-popup-tip { background: var(--white) !important; }

.popup-content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.popup-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.popup-addr,
.popup-phone {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.popup-phone { color: var(--red); font-weight: 600; }

.popup-btn {
  margin-top: 10px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.popup-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* Map legend */

.map-legend {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.map-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.map-legend-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

/* ══════════════════════════════════════════
   LEAFLET OVERRIDES
══════════════════════════════════════════ */

.leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--shadow-sm) !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  color: var(--charcoal) !important;
  background: var(--white) !important;
  border: none !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-size: 18px !important;
  transition: var(--transition) !important;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
  background: var(--red) !important;
  color: var(--white) !important;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .branches-inner {
    grid-template-columns: 260px 1fr;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .branches-hero { min-height: 200px; }
  .branches-title { font-size: 2.4rem; }

  .branches-inner {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  /* sidebar above map on mobile */
  .branches-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .branch-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transform: none !important;
  }

  .branch-card:hover,
  .branch-card--active { transform: none !important; }

  .branch-card::before { display: none; }

  .branch-card--active { border-color: var(--red); }

  .branch-card-btn { align-self: flex-start; }

  .leaflet-map { height: 380px; }
}

@media (max-width: 520px) {
  .branches-sidebar { grid-template-columns: 1fr; }
  .leaflet-map { height: 300px; }
  .branches-body { padding: 24px 0 48px; }
  .branches-hero { min-height: 180px; }
  .branches-title { font-size: 2rem; }
}/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}



/* ═══════════════════════════════════════════════════════
   Blogs.css  —  uses brand tokens from global stylesheet
   ═══════════════════════════════════════════════════════ */
/* ── Brand token layer (mirror of root vars) ─────────────────────────── */
:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188, 20, 33, 0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #fafafa;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(188,20,33,0.07);
  --shadow-md:  0 6px 28px rgba(188,20,33,0.12);
  --shadow-lg:  0 16px 56px rgba(188,20,33,0.16);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}
/* ── Page shell ───────────────────────────────────────────────────────── */
.blogs-page {
  font-family: var(--font-body);
  background: var(--surface);
  min-height: 100vh;
}
/* ═══════════════════════════════════════════════════════
   PAGE HEADER  (copied exactly from brand CSS)
   ═══════════════════════════════════════════════════════ */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 40%, #f5f0fa 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-body);
}
/* Pendant lamps */
.ph-lamp {
  position: absolute;
  top: 0;
  width: 52px;
  height: 90px;
  background: linear-gradient(180deg, #d0ccd0 0%, #a8a4a8 100%);
  border-radius: 0 0 50% 50%;
}
.ph-lamp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 28px;
  background: #b0acb0;
  border-radius: 2px;
}
.ph-lamp-1 { left: 14%; }
.ph-lamp-2 { left: 22%; width: 42px; height: 72px; }
/* Floating dots */
.ph-dot {
  position: absolute;
  border-radius: 50%;
}
.ph-dot-1 { width: 18px; height: 18px; background: #e85c5c; top: 28%;  left: 34%; }
.ph-dot-2 { width: 14px; height: 14px; background: #5a7bc4; top: 68%;  left: 21%; }
.ph-dot-3 { width: 12px; height: 12px; background: #5a7bc4; top: 15%;  right: 14%; }
.ph-dot-4 { width: 16px; height: 16px; background: #e85c5c; bottom: 18%; right: 28%; }
/* Stacked books */
.ph-books {
  position: absolute;
  right: 7%;
  bottom: 0;
  width: 80px;
  height: 110px;
  background:
    linear-gradient(180deg, #5ba08a 0%, #5ba08a 16%,
      #e8c840 16%, #e8c840 32%,
      #d4504a 32%, #d4504a 48%,
      #6890c4 48%, #6890c4 64%,
      #c87840 64%, #c87840 80%,
      #9060b8 80%, #9060b8 100%
    );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}
/* Centre content */
.ph-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.ph-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.ph-breadcrumb a { color: var(--muted); text-decoration: none; }
.ph-breadcrumb a:hover { color: var(--red); }
.ph-sep { margin: 0 8px; }
.ph-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  margin: 0;
  display: inline-block;
}
/* Brush-stroke underline */
.ph-underline {
  position: relative;
  height: 8px;
  background: none;
  width: 70%;
  margin: 4px auto 0;
  display: block;
}
.ph-underline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-6deg) scaleX(1.05);
}
/* Hero subtitle */
.blogs-subtitle {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
}
/* ═══════════════════════════════════════════════════════
   BLOGS SECTION  (re-uses .contact-page padding)
   ═══════════════════════════════════════════════════════ */
.blogs-section {
  padding: 48px 0 64px;
}
/* ── Container (mirrors cp-container) ────────────────────────────────── */
.blogs-section .cp-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
/* ═══════════════════════════════════════════════════════
   CAROUSEL WRAPPER
   ═══════════════════════════════════════════════════════ */
.blogs-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* ── Arrow buttons ────────────────────────────────────────────────────── */
.blogs-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.blogs-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: scale(1.08);
}
/* ── Scrollable track ─────────────────────────────────────────────────── */
.blogs-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  flex: 1;
  padding-bottom: 8px; /* space for custom scrollbar */

  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--red-light);
}
.blogs-track::-webkit-scrollbar {
  height: 5px;
}
.blogs-track::-webkit-scrollbar-track {
  background: var(--red-light);
  border-radius: 99px;
}
.blogs-track::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 99px;
}
.blogs-track:active { cursor: grabbing; }
/* ═══════════════════════════════════════════════════════
   BLOG CARD  (merges .cp-info-card styles)
   ═══════════════════════════════════════════════════════ */
.blog-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  user-select: none;
}
.blog-card:hover,
.blog-card--active {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
/* ── Image ────────────────────────────────────────────────────────────── */
.blog-image-wrap {
  position: relative;
  overflow: hidden;
  height: 190px;
  background: var(--red-light);
}
.blog-image-inner {
  width: 100%;
  height: 100%;
  position: relative;
}
.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.blog-card:hover .blog-image {
  transform: scale(1.06);
}
.blog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(188,20,33,0.45) 100%);
  opacity: 0;
  transition: var(--transition);
}
.blog-card:hover .blog-overlay { opacity: 1; }
/* Plus badge */
.blog-plus {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: var(--transition);
  line-height: 1;
}
.blog-card:hover .blog-plus {
  opacity: 1;
  transform: scale(1);
}
/* ── Card content ─────────────────────────────────────────────────────── */
.blog-content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
/* Read time — re-uses cp-tagline */
.blog-read-time {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--red);
}
/* Title */
.blog-title-card {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
/* Button — re-uses cp-btn */
.blog-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: var(--radius);
  padding: 10px 18px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.3px;
  align-self: flex-start;
  margin-top: 4px;
}
.blog-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
/* ═══════════════════════════════════════════════════════
   DOT INDICATORS
   ═══════════════════════════════════════════════════════ */
.blogs-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blogs-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.blogs-dot--active {
  background: var(--red);
  width: 24px;
}
.blogs-dot:hover:not(.blogs-dot--active) {
  background: var(--muted);
}
/* ═══════════════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton-img,
.skeleton-line {
  background: linear-gradient(90deg, #f0eaea 25%, #fde9e9 50%, #f0eaea 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius);
}
.blog-card--skeleton .blog-content { gap: 10px; }
.skeleton-img { height: 190px; border-radius: 0; }
.skeleton-line { height: 12px; }
.skeleton-line--short { width: 40%; }
.skeleton-line--med   { width: 70%; }
.skeleton-line--btn   { width: 100px; height: 36px; margin-top: 4px; }
/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
/* Tablet */
@media (max-width: 900px) {
  .blog-card { flex: 0 0 240px; }
  .blog-image-wrap { height: 160px; }
  .blogs-arrow { width: 36px; height: 36px; }
}
/* Large mobile */
@media (max-width: 640px) {
  /* Hide decorative header elements */
  .ph-lamp, .ph-books { display: none; }
  .page-header { min-height: 180px; }

  /* Cards fill almost full width */
  .blog-card { flex: 0 0 calc(100vw - 96px); }
  .blog-image-wrap { height: 180px; }

  /* Arrows overlap the track edges */
  .blogs-carousel-wrapper { gap: 6px; }
  .blogs-arrow { width: 34px; height: 34px; }

  .blogs-section .cp-container { padding: 0 16px; }
}
/* Very small */
@media (max-width: 380px) {
  .blog-card { flex: 0 0 calc(100vw - 72px); }
  .blogs-arrow { display: none; }
}

/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */

:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188,20,33,0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #f3f3f3;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 6px 28px rgba(0,0,0,0.09);
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

/* ══════════════════════════════════════════
   RESET
══════════════════════════════════════════ */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   PAGE
══════════════════════════════════════════ */

.blog-details-page {
  width: 100%;
  min-height: 100vh;
  background: var(--surface);
}

/* ══════════════════════════════════════════
   LOADING
══════════════════════════════════════════ */

.blog-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(26px,4vw,46px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal);
}

/* ══════════════════════════════════════════
   BANNER
══════════════════════════════════════════ */

.blog-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--red);
  background: var(--charcoal);
}

.blog-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(45,45,45,0.45) 100%);
  pointer-events: none;
}

.blog-banner-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}

.blog-banner:hover .blog-banner-image { transform: scale(1.03); }

/* ══════════════════════════════════════════
   TITLE STRIP
══════════════════════════════════════════ */

.bd-title-strip {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px 32px;
}

.bd-title-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 18px;
}

.blog-time::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

.blog-main-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: -1px;
  padding-left: 20px;
  border-left: 5px solid var(--red);
  margin-bottom: 22px;
}

/* ══════════════════════════════════════════
   ALL BLOGS BUTTON
══════════════════════════════════════════ */

.bd-all-blogs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.bd-all-blogs-btn:hover {
  background: var(--red);
  color: var(--white);
}

/* ══════════════════════════════════════════
   INTRO
══════════════════════════════════════════ */

.bd-intro-wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 16px;
}

/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */

.bd-layout {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

/* ══════════════════════════════════════════
   LEFT SIDEBAR
══════════════════════════════════════════ */

.bd-sidebar {
  position: sticky;
  top: 24px;
}

.bd-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}

.bd-sidebar-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.bd-toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bd-toc-item { width: 100%; }

.bd-toc-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 10px;
  border-radius: 10px;
  text-align: left;
  transition: background 0.2s var(--ease);
}

.bd-toc-btn:hover { background: var(--red-mid); }

.bd-toc-btn--active {
  background: var(--red-mid);
}

.bd-toc-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.5px;
  min-width: 24px;
  padding-top: 1px;
  flex-shrink: 0;
}

.bd-toc-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.45;
}

.bd-toc-btn--active .bd-toc-text { color: var(--red); }

/* ══════════════════════════════════════════
   RIGHT — ACCORDION
══════════════════════════════════════════ */

.bd-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card */

.bd-acc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.bd-acc-card--open {
  border-color: rgba(188,20,33,0.2);
  box-shadow: 0 4px 24px rgba(188,20,33,0.09);
}

/* Header row */

.bd-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s var(--ease);
}

.bd-acc-header:hover { background: var(--surface); }

.bd-acc-card--open .bd-acc-header { background: var(--surface); }

/* Icon circle */

.bd-acc-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bd-acc-icon svg { width: 22px; height: 22px; }

/* Number badge */

.bd-acc-num {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.5px;
  min-width: 30px;
  flex-shrink: 0;
}

/* Title */

.bd-acc-title {
  flex: 1;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

/* Chevron */

.bd-chevron {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.bd-chevron--open { transform: rotate(180deg); }

/* Body — collapsible */

.bd-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}

.bd-acc-body--open {
  max-height: 4000px;
}

.bd-acc-content {
  padding: 0 24px 28px 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ══════════════════════════════════════════
   HTML CONTENT STYLES
══════════════════════════════════════════ */

.blog-html-content { width: 100%; color: var(--charcoal); }

.blog-html-content body { padding:0!important; margin:0!important; background:none!important; }

.blog-html-content h1 {
  font-family: var(--font-display)!important;
  font-size: clamp(24px,3vw,40px)!important;
  font-weight: 900!important;
  line-height: 1.1!important;
  text-transform: uppercase!important;
  color: var(--charcoal)!important;
  margin: 10px 0 22px!important;
}

.blog-html-content h2 {
  font-family: var(--font-display)!important;
  font-size: clamp(20px,2.5vw,30px)!important;
  font-weight: 800!important;
  text-transform: uppercase!important;
  color: var(--charcoal)!important;
  margin: 36px 0 14px!important;
  padding-left: 16px!important;
  position: relative!important;
}

.blog-html-content h2::before {
  content:'';
  position:absolute;
  left:0; top:3px; bottom:3px;
  width:4px;
  background:var(--red);
  border-radius:3px;
}

.blog-html-content h3 {
  font-family: var(--font-display)!important;
  font-size: clamp(17px,1.8vw,23px)!important;
  font-weight: 700!important;
  text-transform: uppercase!important;
  color: var(--slate)!important;
  margin: 28px 0 12px!important;
}

.blog-html-content p {
  font-size: clamp(14px,1vw,17px)!important;
  line-height: 1.95!important;
  color: var(--slate)!important;
  margin-bottom: 18px!important;
}

.blog-html-content ul,
.blog-html-content ol {
  padding-left:0!important;
  margin-bottom:22px!important;
  list-style:none!important;
}

.blog-html-content li {
  font-size: clamp(14px,0.95vw,16px)!important;
  line-height:1.8!important;
  color:var(--slate)!important;
  margin-bottom:8px!important;
  padding-left:20px!important;
  position:relative!important;
}

.blog-html-content li::before {
  content:'';
  position:absolute;
  left:0; top:9px;
  width:7px; height:7px;
  background:var(--red);
  border-radius:50%;
}

.blog-html-content strong,
.blog-html-content b { color:var(--red)!important; font-weight:700!important; }

.blog-html-content blockquote {
  border-left:4px solid var(--red)!important;
  background:var(--red-light)!important;
  margin:24px 0!important;
  padding:18px 22px!important;
  border-radius:0 var(--radius) var(--radius) 0!important;
}

.blog-html-content blockquote p {
  color:var(--red-dark)!important;
  font-style:italic!important;
  font-weight:600!important;
  margin-bottom:0!important;
}

.blog-html-content code {
  background:var(--red-mid)!important;
  color:var(--red-dark)!important;
  font-size:13px!important;
  padding:2px 6px!important;
  border-radius:4px!important;
}

.blog-html-content pre {
  background:var(--charcoal)!important;
  color:#f8f8f2!important;
  padding:20px!important;
  border-radius:var(--radius)!important;
  overflow-x:auto!important;
  margin-bottom:22px!important;
  border-left:4px solid var(--red)!important;
}

.blog-html-content hr {
  border:none!important;
  border-top:1px solid var(--border)!important;
  margin:32px 0!important;
}

.blog-html-content img {
  width:100%!important;
  height:auto!important;
  border-radius:var(--radius)!important;
  margin:22px 0!important;
  box-shadow:var(--shadow-md)!important;
  display:block!important;
}

.blog-html-content a {
  color:var(--red)!important;
  font-weight:600!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  text-decoration-color:rgba(188,20,33,0.3)!important;
}

.blog-html-content a:hover { text-decoration-color:var(--red)!important; }

.blog-html-content table { width:100%!important; border-collapse:collapse!important; margin-bottom:22px!important; }

.blog-html-content th { background:var(--red)!important; color:var(--white)!important; padding:10px 14px!important; text-align:left!important; font-size:12px!important; font-weight:700!important; letter-spacing:1px!important; text-transform:uppercase!important; }

.blog-html-content td { padding:10px 14px!important; border-bottom:1px solid var(--border)!important; color:var(--slate)!important; font-size:14px!important; }

.blog-html-content tr:last-child td { border-bottom:none!important; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .bd-layout { grid-template-columns: 230px 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .blog-banner-image { height: 260px; }
  .blog-main-title { font-size: 28px; }

  .bd-layout {
    grid-template-columns: 1fr;
    padding: 24px 16px 60px;
  }

  .bd-sidebar {
    position: static;
    order: -1;
  }

  .bd-title-strip { padding: 24px 16px 22px; }

  .bd-acc-header { padding: 16px 18px; gap: 12px; }
  .bd-acc-icon { width: 38px; height: 38px; }
  .bd-acc-icon svg { width: 18px; height: 18px; }
  .bd-acc-title { font-size: 14px; }
  .bd-acc-content { padding: 0 18px 22px; padding-top: 18px; }

  .bd-all-blogs-btn { font-size: 12px; padding: 8px 16px; }
}

@media (max-width: 480px) {
  .blog-banner-image { height: 200px; }
  .blog-main-title { font-size: 22px; letter-spacing: -0.5px; }
  .bd-layout { padding: 16px 12px 50px; gap: 14px; }
  .bd-sidebar-card { padding: 20px 16px; }
}


:root {
  --red:         #bc1421;
  --red-dk:      #9b1019;
  --red-xdk:     #7a0d15;
  --red-lt:      #fff0f1;
  --red-soft:    #fde8ea;
  --red-border:  #f5cdd0;

  --ink:         #1e0608;
  --ink-2:       #2e2035;   
  --ink-mid:     #4d1c26;
  --muted:       #7a3040;
  --subtle:      #ad7080;

  --bg:          #fdfafa;
  --card:        #ffffff;
  --surf-2:      #fdf3f4;
  --surf-3:      #fce9eb;
  --border:      #f0dde0;
  --border-2:    #e8c5ca;

  --font-body:    'DM Sans', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;

  --ease:        cubic-bezier(.4, 0, .2, 1);
  --spring:      cubic-bezier(.34, 1.56, .64, 1);
  --r:           10px;
  --r-lg:        16px;
  --r-xl:        22px;

  --sh-xs: 0 1px 4px rgba(140,20,30,.06);
  --sh-sm: 0 2px 12px rgba(140,20,30,.09);
  --sh-md: 0 8px 28px rgba(140,20,30,.12);
  --sh-lg: 0 18px 56px rgba(140,20,30,.17);
  --sh-xl: 0 28px 72px rgba(140,20,30,.22);
}


*/

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


body { font-family: var(--font-body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }


/* ── Animations ─────────────────────────────────────────────────────── */


@keyframes spin    { to { transform: rotate(360deg); } }


@keyframes fadeUp  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }


@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }


@keyframes popIn   { from { opacity:0; transform:scale(.93) translateY(12px); } to { opacity:1; transform:scale(1) translateY(0); } }


.page { min-height: 100vh; background: var(--bg); }


.page__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 80px;
}


.hero {
  position: relative;
  background: linear-gradient(150deg, #ffbfae 0%, #fde2de 40%, #ffbcb3 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 56px;
  min-height: 360px;
}


/* .hero__cap {
  position: absolute;
  width: 30px;
  height: 78px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d0d0d0 0%, #909090 100%);
  top: -12px;
  opacity: .55;
  pointer-events: none;
}
.hero__cap--1 { left: 52px; }
.hero__cap--2 { left: 104px; } */


/* .hero__dot {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--c);
  pointer-events: none;
} */


/* .hero__blocks {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: none;
}
.hero__block {
  height: 18px;
  border-radius: 4px 0 0 0;
  opacity: .9;
} */


.hero__crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .03em;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  animation: fadeUp .45s var(--ease) both;
}


.hero__crumb a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s;
}


.hero__crumb a:hover { color: var(--red); }


.hero__crumb > span  { color: var(--subtle); font-size: .65rem; }


.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 800;
  color: var(--ink-2);
  letter-spacing: -.01em;
  line-height: 1;
  position: relative;
  z-index: 2;
  animation: fadeUp .5s .04s var(--ease) both;
}


.hero__title span { color: var(--red); }


.hero__divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 16px;
  position: relative;
  z-index: 2;
  animation: fadeUp .55s .08s var(--ease) both;
}


.hero__divider span {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}


.hero__sub {
  font-size: .97rem;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  animation: fadeUp .6s .12s var(--ease) both;
}


.hero__stats {
  display: flex;
  align-items: center;
  margin-top: 30px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 14px;
  padding: 16px 0;
  position: relative;
  z-index: 2;
  animation: fadeUp .65s .16s var(--ease) both;
  box-shadow: 0 4px 20px rgba(140,20,30,.07);
}


.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 28px;
}


.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -.01em;
}


.hero__stat-lbl {
  font-size: .68rem;
  font-weight: 700;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: .1em;
}


.hero__stat-sep {
  width: 1px;
  height: 40px;
  background: var(--red-border);
  flex-shrink: 0;
}


.auth-warn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: var(--r);
  padding: 11px 18px;
  font-size: .84rem;
  font-weight: 600;
  max-width: 1240px;
  margin: 20px auto 0;
}


.auth-warn svg { flex-shrink: 0; color: #d97706; }


.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 0 4px;
  flex-wrap: wrap;
}


.filter-bar__pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}


.pill {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border-2);
  background: var(--card);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s var(--ease);
  white-space: nowrap;
  line-height: 1;
}


.pill:hover {
  background: var(--red-soft);
  border-color: rgba(188,20,33,.3);
  color: var(--red-dk);
}


.pill--on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(188,20,33,.28);
}


.filter-bar__count {
  margin-left: auto;
  font-size: .78rem;
  color: var(--subtle);
  font-weight: 600;
  white-space: nowrap;
}


.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 50px;
}


.grid__cell {
  animation: fadeUp .42s var(--ease) both;
  display: flex;         
}


.card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;            
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
  box-shadow: var(--sh-xs);
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: rgba(188,20,33,.22);
}


/* Image */


.card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}


.card__img {
  width: 100%;
  height: 196px;
  object-fit: cover;
  display: block;
  background: var(--surf-3);
  transition: transform .38s var(--ease);
}


.card:hover .card__img { transform: scale(1.04); }


.card__badge {
  position: absolute;
  top: 11px; right: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
  box-shadow: 0 3px 10px rgba(188,20,33,.35);
}


/* Body */


.card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}


.card__title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: .01em;
  margin-bottom: 11px;
}


.card__meta {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}


.card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--subtle);
}


.card__meta-item svg { flex-shrink: 0; }


.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 9px 12px;
  background: var(--surf-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 14px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-mid);
}


.card__tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


.card__tags svg { color: var(--red); flex-shrink: 0; }


/* Footer row — price + button always at bottom */


.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
    align-items:flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}


.card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.01em;
  line-height: 1;
}


.card__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}


.btn-enroll {
  padding: 8px 18px;
  border-radius: var(--r);
  border: none;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .18s var(--ease), transform .14s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}


.btn-enroll:hover {
  background: var(--red-dk);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(188,20,33,.28);
}


.btn-enroll:active { transform: translateY(0); }


.btn-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--r);
  border: 1.5px solid var(--border-2);
  background: transparent;
  color: var(--red);
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .14s var(--spring);
  flex-shrink: 0;
}


.btn-fav:hover {
  background: var(--red-soft);
  border-color: rgba(188,20,33,.3);
  transform: scale(1.12);
}


.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 36vh;
  gap: 14px;
  padding: 60px 24px;
}


.state-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--surf-3);
  border: 1.5px solid var(--border);
  color: var(--subtle);
}


.state-box__icon svg { width: 20px; height: 20px; }


.state-box__icon--err { background: rgba(188,20,33,.07); border-color: rgba(188,20,33,.15); color: var(--red); }


.state-box__txt { color: var(--muted); font-weight: 600; font-size: .92rem; }


.state-box__txt--err { color: var(--red); }


.spinner {
  width: 38px; height: 38px;
  border: 3px solid rgba(188,20,33,.12);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .72s linear infinite;
  flex-shrink: 0;
}


.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,2,3,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s var(--ease);
}


.modal {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 520px;
  max-height: 92dvh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: var(--sh-xl);
  animation: popIn .28s var(--spring);
}


.modal::-webkit-scrollbar { width: 4px; }


.modal::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 4px; }


/* ── Modal header (image + title overlay) */


.modal__hdr {
  position: relative;
  flex-shrink: 0;
  min-height: 170px;
  background: linear-gradient(135deg, #2e0a10 0%, #5c1020 100%);
  overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}


.modal__hdr-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .55;
}


.modal__hdr-blank {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2e0a10, #5c1020);
}


/* Gradient overlay so text is always readable */


.modal__hdr-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,2,3,.15) 0%, rgba(10,2,3,.72) 100%);
}


.modal__hdr-content {
  position: relative;
  z-index: 2;
  padding: 46px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.modal__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  width: fit-content;
}


.modal__chip--offer {
  background: rgba(188,20,33,.5);
  border-color: rgba(188,20,33,.7);
  color: #ffc0c5;
}


/* Title inside header */


.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: .01em;
}


.modal__hdr-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}


.modal__close {
  position: absolute;
  top: 13px; right: 13px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  transition: background .18s, transform .14s var(--spring);
}


.modal__close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.08);
}


/* ── Modal body */


.modal__body { padding: 24px 24px 28px; }


.modal__desc {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.68;
  margin-bottom: 20px;
}


.modal__load {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
  padding: 16px 0;
}


/* Messages */


.msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: var(--r);
  padding: 10px 13px;
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
}


.msg svg { flex-shrink: 0; margin-top: 1px; }


.msg--warn { background: rgba(202,138,4,.06); border: 1px solid rgba(202,138,4,.22); color: #854d0e; }


.msg--err  { background: rgba(188,20,33,.06); border: 1px solid rgba(188,20,33,.18); color: var(--red-xdk); }


.msg--ok   { background: rgba(21,128,61,.06); border: 1px solid rgba(21,128,61,.2);  color: #166534; }


/* Two-col form row */


.modal__row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}


/* Fields */


.field { display: flex; flex-direction: column; gap: 6px; }


.field__lbl {
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
}


.field__ctrl {
  padding: 10px 13px;
  background: var(--surf-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  outline: none;
  width: 100%;
  transition: border-color .18s, background .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}


select.field__ctrl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a3040' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}


.field__ctrl:focus {
  border-color: var(--red);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(188,20,33,.09);
}


/* Price box */


.modal__price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surf-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  margin-bottom: 16px;
}


.modal__price-left { display: flex; flex-direction: column; gap: 2px; }


.modal__price-lbl {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--subtle);
}


.modal__price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -.01em;
}


.modal__offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(188,20,33,.09);
  border: 1px solid rgba(188,20,33,.2);
  color: var(--red-dk);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .71rem;
  font-weight: 700;
  white-space: nowrap;
}


/* Pay button */


.btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 0;
  border-radius: var(--r-lg);
  border: none;
  background: linear-gradient(135deg, #c41525 0%, #a0101e 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .18s var(--ease), opacity .18s;
  box-shadow: 0 6px 22px rgba(188,20,33,.28);
}


.btn-pay:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(188,20,33,.38);
}


.btn-pay:active:not(:disabled) { transform: translateY(0); }


.btn-pay:disabled { opacity: .58; cursor: not-allowed; box-shadow: none; }


.btn-spin {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  flex-shrink: 0;
}


.modal__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: .72rem;
  color: var(--subtle);
  font-weight: 600;
  margin-top: 10px;
  letter-spacing: .03em;
}


/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════ */


/* ── Tablet ── */


@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}


/* ── Small tablet / large phone ── */


@media (max-width: 768px) {
  .hero { padding: 52px 20px 44px; min-height: 300px; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 4rem); }
  .hero__cap--1 { left: 32px; }
  .hero__cap--2 { left: 76px; }
  .hero__stats { padding: 14px 0; }
  .hero__stat  { padding: 0 18px; }
  .hero__stat-num { font-size: 1.4rem; }

  .page__inner { padding: 0 16px 60px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .modal__row-2 { grid-template-columns: 1fr; gap: 12px; }
  .auth-warn { margin: 14px 16px 0; }
}


/* ── Mobile ── */


@media (max-width: 560px) {
  .hero { padding: 48px 18px 40px; min-height: 280px; }
  .hero__title { font-size: clamp(2.2rem, 14vw, 3.2rem); }
  .hero__sub   { font-size: .9rem; }
  .hero__cap   { display: none; }   /* hide capsules on tiny screens */
  .hero__blocks { display: none; }  /* hide blocks on tiny screens */

  /* Stats become a 2×2 grid on mobile */
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    gap: 1px;
    background: rgba(188,20,33,.12);
  }
  .hero__stat {
    padding: 14px 10px;
    background: rgba(255,255,255,.6);
    border-radius: 0;
  }
  .hero__stat-sep { display: none; }
  .hero__stat-num { font-size: 1.3rem; }

  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card__img { height: 178px; }

  /* Bottom-sheet modal on mobile */
  .overlay { align-items: flex-end; padding: 0; }
  .modal {
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    max-height: 95dvh;
    max-width: 100%;
  }
  .modal__hdr { border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .modal__body { padding: 20px 18px 28px; }
  .modal__price { font-size: 1.6rem; }
}


/* ── Very small ── */


@media (max-width: 380px) {
  .hero__title { font-size: 2rem; }
  .hero__divider span { width: 32px; }
  .pill { padding: 6px 13px; font-size: .76rem; }
  .card__price { font-size: 1.3rem; }
  .btn-enroll { padding: 7px 14px; font-size: .88rem; }
}


.card__gst {
  font-size: clamp(.68rem, 2vw, .76rem);
  font-weight: 700;
  color: var(--red-dk);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0.9;
}


.course-details-link {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f4c81;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
}


.course-details-link svg {
  transition: 0.3s;
}


.course-details-link:hover svg {
  transform: translateX(5px);
}


.save-course-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;      /* default white */
  color: #999;           /* heart color */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}


.save-course-btn:hover {
  border-color: #bc1421;
  color: #bc1421;
}


.save-course-btn.active {
  background: #bc1421;   /* saved = red */
  border-color: #bc1421;
  color: #fff;           /* white heart */
}


.save-course-btn.active:hover {
  background: #a9111c;
  border-color: #a9111c;
}


.enroll-btn {
  background: #bc1421;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
}


.enroll-btn:hover {
  background: #a5121d;
}

/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */

:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188, 20, 33, 0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #fafafa;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(188,20,33,0.07);
  --shadow-md:  0 6px 28px rgba(188,20,33,0.12);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: var(--font-body); background: var(--surface); color: var(--charcoal); overflow-x: hidden; }

/* ══════════════════════════════════════════
   HERO  (matches Contact screenshot exactly)
══════════════════════════════════════════ */

.ph-hero {
  position: relative;
  /* warm peach gradient exactly as in screenshot */
  background: radial-gradient(ellipse at 60% 40%, #fce8dc 0%, #fad5c8 35%, #f5d0d8 65%, #ede8f0 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-body);
}

/* ── Pendant lamps (top-left) ── */

.ph-lamp {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ph-lamp-1 { left: 12%; }

.ph-lamp-2 { left: 20%; }

.ph-lamp-wire {
  width: 3px;
  height: 36px;
  background: linear-gradient(180deg, #c0bcc0, #a8a4a8);
  border-radius: 2px;
}

.ph-lamp-bulb {
  width: 54px;
  height: 80px;
  background: linear-gradient(160deg, #d4d0d4 0%, #a8a4a8 60%, #908c90 100%);
  border-radius: 0 0 50% 50%;
  box-shadow: inset -6px 0 12px rgba(0,0,0,0.12);
}

.ph-lamp-bulb--sm {
  width: 42px;
  height: 64px;
}

/* ── Floating dots ── */

.ph-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ph-dot--red  { background: #e85c5c; }

.ph-dot--blue { background: #5a78c4; }

/* positions matching screenshot */

.ph-dot-1 { width: 18px; height: 18px; top: 28%;  left: 35%;  }

/* red,  centre-left */

.ph-dot-2 { width: 14px; height: 14px; top: 64%;  left: 19%;  }

/* blue, lower-left  */

.ph-dot-3 { width: 12px; height: 12px; top: 12%;  right: 15%; }

/* blue, top-right   */

.ph-dot-4 { width: 16px; height: 16px; bottom:20%;right: 26%; }

/* red,  lower-right */

/* ── Stacked books (bottom-right) ── */

.ph-books {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 88px;
}

.ph-book {
  height: 22px;
  width: 100%;
  border-radius: 2px 2px 0 0;
  opacity: 0.95;
}

/* ── Centre content ── */

.ph-center {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ph-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #3d3d5a;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-weight: 500;
}

.ph-breadcrumb a {
  color: #3d3d5a;
  text-decoration: none;
  transition: color var(--transition);
}

.ph-breadcrumb a:hover { color: var(--red); }

.ph-sep { color: #3d3d5a; font-size: 0.7rem; }

.ph-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  color: #1e1e38;           /* very dark navy, matches screenshot */
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 10px;
}

/* Two red brush-stroke SVG underlines side by side */

.ph-underlines {
  display: flex;
  gap: 6px;
  justify-content: center;
  width: 220px;
}

.ph-stroke {
  width: 96px;
  height: 10px;
  display: block;
}

/* ══════════════════════════════════════════
   CARRIER CONTAINER
══════════════════════════════════════════ */

.carrier-container {
  background: var(--surface);
  padding: 48px 0 72px;
  font-family: var(--font-body);
}

.carrier-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.carrier-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ══════════════════════════════════════════
   SECTION TITLE
══════════════════════════════════════════ */

.carrier-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px;
}

.carrier-section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  background: var(--red);
  border-radius: 3px;
}

/* ══════════════════════════════════════════
   OVERVIEW
══════════════════════════════════════════ */

.carrier-overview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}

.carrier-overview-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--slate);
}

/* ══════════════════════════════════════════
   RESPONSIBILITIES — CAROUSEL
══════════════════════════════════════════ */

.carrier-responsibilities {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}

.cr-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Arrow buttons */

.cr-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.cr-arrow svg { width: 18px; height: 18px; }

.cr-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

/* Scrollable track */

.cr-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 8px 4px;
}

.cr-track::-webkit-scrollbar { display: none; }

/* Card */

.cr-card {
  flex: 0 0 260px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.cr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition);
}

.cr-card:hover,
.cr-card--active {
  border-color: rgba(188,20,33,0.25);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cr-card:hover::before,
.cr-card--active::before { transform: scaleX(1); }

/* Icon */

.cr-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.cr-card-icon svg { width: 20px; height: 20px; }

.cr-card--active .cr-card-icon,
.cr-card:hover .cr-card-icon { background: var(--red); color: var(--white); }

/* Number */

.cr-card-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 1.5px;
}

/* Title */

.cr-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

/* Desc */

.cr-card-desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Dots */

.cr-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.cr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.cr-dot--active { background: var(--red); transform: scale(1.3); }

.cr-dot:hover   { background: var(--red); }

/* Progress bar */

.cr-progress-bar {
  margin-top: 14px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.cr-progress-fill {
  height: 100%;
  background: var(--red);
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* Counter */

.cr-counter {
  text-align: right;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ══════════════════════════════════════════
   APPLICATION FORM
══════════════════════════════════════════ */

.carrier-application {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}

.carrier-application-intro {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 28px;
}

.carrier-form { display: flex; flex-direction: column; gap: 18px; }

.carrier-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.carrier-form-group { display: flex; flex-direction: column; gap: 6px; }

.carrier-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.carrier-input,
.carrier-select {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.carrier-select { cursor: pointer; }

.carrier-input:focus,
.carrier-select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red-mid);
}

.carrier-input::placeholder { color: #bbb; }

/* File input */

.carrier-file-input {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--charcoal);
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
}

.carrier-file-input:hover { border-color: var(--red); background: var(--red-light); }

.carrier-file-info { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* Checkbox */

.carrier-checkbox-group { margin-top: 4px; }

.carrier-checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }

.carrier-checkbox { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; accent-color: var(--red); cursor: pointer; }

.carrier-checkbox-text { font-size: 0.82rem; line-height: 1.6; color: var(--slate); }

/* Submit */

.carrier-submit-btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: var(--radius);
  padding: 13px 32px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  align-self: flex-start;
}

.carrier-submit-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 768px) {
  .ph-hero { min-height: 220px; }
  .ph-title { font-size: 3rem; }
  .ph-lamp-2 { display: none; }
  .ph-books  { width: 64px; }
  .ph-book   { height: 16px; }

  .carrier-main { padding: 0 16px; }
  .carrier-container { padding: 32px 0 56px; }
  .carrier-overview,
  .carrier-responsibilities,
  .carrier-application { padding: 24px 18px; }
  .carrier-form-row { grid-template-columns: 1fr; }
  .cr-card { flex: 0 0 220px; }
  .cr-arrow { width: 34px; height: 34px; }
  .cr-arrow svg { width: 15px; height: 15px; }
  .carrier-submit-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .ph-hero { min-height: 180px; }
  .ph-title { font-size: 2.4rem; }
  .ph-lamp-1, .ph-books { display: none; }
  .cr-card { flex: 0 0 200px; padding: 18px 14px; }
  .carrier-section-title { font-size: 1.4rem; }
}/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f2f2f7;
  color: #1a1a1a;
}

/* ─── Page root — always 100% viewport width ───────────────────────────────── */
.insights-page {
  width: 100%;
  min-height: 100vh;
  background: #f2f2f7;
  padding-bottom: 80px;
  overflow-x: hidden;
}

/* ─── Header — full bleed red gradient ─────────────────────────────────────── */
.insights-header {
  background: linear-gradient(135deg, #BC1421 0%, #8B0E18 100%);
  padding: 22px 24px 18px;
  text-align: center;
  width: 100%;
}

.insights-header h1 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ─── Ticker bar — full bleed dark strip ────────────────────────────────────── */
.ticker-bar {
  background: #1a1a1a;
  padding: 9px 20px;
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  align-items: center;
  width: 100%;
}
.ticker-bar::-webkit-scrollbar { display: none; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.ticker-name {
  color: #ccc;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ticker-value {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.ticker-change {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}
.ticker-change.up   { color: #4CAF50; }
.ticker-change.down { color: #f44336; }

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: blink 1.5s infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* ─── Content wrapper — centers content, full width on mobile ──────────────── */
/* This wraps every section's CONTENT (not the section bg itself) */
.insights-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ─── Section row — full width background strip ─────────────────────────────── */
.insights-section {
  width: 100%;
  padding: 28px 0 10px;
}

/* ─── Section divider ──────────────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: #e4e4e4;
  width: 100%;
  margin: 0;
}

/* ─── Section Title ─────────────────────────────────────────────────────────── */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-title-bar {
  width: 4px;
  height: 24px;
  background: #BC1421;
  border-radius: 3px;
  flex-shrink: 0;
}

.section-title-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #BC1421;
  flex-shrink: 0;
}

.section-title h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

/* ─── Market Pulse — horizontal scroll on mobile, wrap on desktop ───────────── */
.market-pulse-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  width: 100%;
}
.market-pulse-scroll::-webkit-scrollbar { display: none; }

.pulse-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px 12px;
    height: 220px;
  min-width: 280px;
    width:280px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.trend-arrow{
  position:absolute;
  top:14px;
  right:14px;

  font-size:28px;
  font-weight:bold;

  opacity:.85;
}.trend-arrow.up{
  color:#22c55e;
  animation: riseArrow 1.5s infinite ease-in-out;
}
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 58px;
  height: 58px;

  border-radius: 50%;
  background: rgba(255,255,255,0.95);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  color: #BC1421;

  box-shadow: 0 8px 20px rgba(0,0,0,.25);

  transition: all .3s ease;
}

.news-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.12);
}
.news-card-img {
  position: relative;
}
@keyframes riseArrow{
  0%{
    transform:translateY(4px);
  }
  50%{
    transform:translateY(-4px);
  }
  100%{
    transform:translateY(4px);
  }
}.trend-arrow.down{
  color:#ef4444;
  animation: fallArrow 1.5s infinite ease-in-out;
}

@keyframes fallArrow{
  0%{
    transform:translateY(-4px);
  }
  50%{
    transform:translateY(4px);
  }
  100%{
    transform:translateY(-4px);
  }
}



.pulse-card-flag {
  font-size: 20px;
  margin-bottom: 2px;
  display: block;
}

.pulse-card-name {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pulse-card-value {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
 margin-top: 8px;
  margin-bottom: 12px;
}

.pulse-change-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
  margin: 2px 0;
   margin-left: 10px;
}
.pulse-change-badge.up   { background: #e8f5e9; color: #2e7d32; }
.pulse-change-badge.down { background: #fce4ec; color: #c62828; }

.sparkline-wrap {
  flex: 1;
  width: 100%;
  overflow: hidden;
}


.sparkline-wrap svg {
  width: 100%;
   height: 100%;

}

.pulse-change-badge.up {
  background: #dcfce7;
  color: #15803d;
}

.pulse-change-badge.down {
  background: #fee2e2;
  color: #b91c1c;
}
/* ─── News / Highlights grid — 2 col mobile → 4 col desktop ────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.news-card-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-img-icon {
  font-size: 40px;
  opacity: 0.85;
  color: rgba(255,255,255,0.85);
}

.news-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #BC1421;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.news-card-body {
  padding: 12px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-source {
  font-size: 10px;
  font-weight: 700;
  color: #BC1421;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-headline {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-subtext {
  font-size: 12px;
  color: #555;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-time {
  font-size: 11px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.live-badge {
  font-size: 11px;
  font-weight: 800;
  color: #BC1421;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ─── Calculator cards — GenX modern (flat tinted tiles) ────────────────────── */
.calculator-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scrollbar-width: none;
  width: 100%;
}
.calculator-scroll::-webkit-scrollbar { display: none; }

.calc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  cursor: pointer;
  min-width: 138px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #ececec;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.calc-card:hover {
  border-color: var(--calc-color, #d0d0d0);
  transform: translateY(-3px);
}
.calc-card:hover .calc-icon-box { transform: translateY(-1px); }
.calc-card:hover .calc-card-arrow { opacity: 1; transform: translate(0,0); }

.calc-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--calc-color) 14%, #fff);
  transition: transform 0.2s ease;
}

.calc-icon-main {
  font-size: 22px;
}
/* 
.calc-corner-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 13px;
  line-height: 1;
} */

.calc-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #16181d;
  line-height: 1.3;
}

.calc-card-sub {
  font-size: 11px;
  font-weight: 500;
  color: #94989f;
  margin-top: -6px;
}

.calc-card-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--calc-color, #16181d);
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ─── Vastu tag (top-left pill) ─────────────────────────────────────────────── */
.vastu-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  left: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ─── Skeleton ──────────────────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 12px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Error banner ──────────────────────────────────────────────────────────── */
.error-banner {
  background: #fce4ec;
  border: 1px solid #ef9a9a;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #c62828;
  margin-bottom: 12px;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Mobile  (≤ 480px) ───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .insights-header h1 { font-size: 19px; }
  .insights-inner { padding: 0 12px; }
  .section-title h2 { font-size: 15px; }
  .pulse-card { min-width: 120px; padding: 12px 12px 10px; }
  .pulse-card-value { font-size: 17px; }
  .news-grid { gap: 10px; }
  .news-card-img { height: 95px; }
  .news-card-img-icon { font-size: 30px; }
  .news-card-body { padding: 10px 10px 12px; }
  .news-headline { font-size: 11px; }

  .calc-card { min-width: 116px; padding: 13px; }
  .calc-icon-box { width: 40px; height: 40px; border-radius: 11px; }
  .calc-icon-main { font-size: 19px; }
  .calc-card-name { font-size: 12px; }
  .calc-card-sub { font-size: 10px; }
}

/* ── Tablet  (481px – 768px) ─────────────────────────────────────────────────── */
@media (min-width: 481px) and (max-width: 768px) {
  .insights-header h1 { font-size: 22px; }
  .insights-inner { padding: 0 20px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .news-card-img { height: 115px; }
  .pulse-card { min-width: 100px; }
}

/* ── Small desktop  (769px – 1024px) ────────────────────────────────────────── */
@media (min-width: 769px) {
  .insights-inner { padding: 0 32px; }
  .section-title h2 { font-size: 20px; }

  /* Pulse cards: stop scrolling, wrap to fill row */
  .market-pulse-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .pulse-card {
    flex: 1 1 160px;
    min-width: 0;
    max-width: none;
  }
  .pulse-card-value { font-size: 22px; }

  /* 3-column news on tablet */
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .news-card-img { height: 140px; }
  .news-card-img-icon { font-size: 48px; }
  .news-headline { font-size: 13px; }

  .calc-card { min-width: 150px; }
  .calc-icon-box { width: 50px; height: 50px; }
  .calc-icon-main { font-size: 24px; }
  .calc-card-name { font-size: 13.5px; }

  .insights-section { padding: 32px 0 12px; }
}

/* ── Desktop  (1025px+) ──────────────────────────────────────────────────────── */
@media (min-width: 1025px) {
  .insights-header { padding: 28px 48px 22px; }
  .insights-header h1 { font-size: 28px; }
  .insights-inner { padding: 0 48px; }
  .section-title h2 { font-size: 22px; }

  /* 4-column news grid */
  .news-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .news-card-img { height: 155px; }
  .news-card-img-icon { font-size: 52px; }
  .news-headline { font-size: 14px; -webkit-line-clamp: 2; }
  .news-subtext { font-size: 12px; }
  .news-tag { font-size: 10px; }
  .news-card-body { padding: 14px 14px 16px; gap: 5px; }

  /* Pulse cards fill width */
  .pulse-card { flex: 1 1 180px; }
  .pulse-card-value { font-size: 24px; }
  .pulse-card-name { font-size: 12px; }

  .calc-card { min-width: 160px; padding: 18px; }
  .calc-icon-box { width: 54px; height: 54px; border-radius: 14px; }
  .calc-icon-main { font-size: 26px; }
  .calc-card-name { font-size: 14px; }
  .calc-card-sub { font-size: 11px; }

  .insights-section { padding: 36px 0 12px; }
  .section-divider { margin: 0; }
}

/* ── Wide  (1400px+) ─────────────────────────────────────────────────────────── */
@media (min-width: 1400px) {
  .insights-inner { padding: 0 64px; }
  .news-grid { gap: 24px; }
  .news-card-img { height: 170px; }
  .pulse-card { flex: 1 1 200px; }
  .pulse-card-value { font-size: 26px; }
}
.ticker-bar {
  overflow: hidden;
  white-space: nowrap;
}
.sparkline-wrap {
  width: 100%;
  margin-top: 12px;
}

.sparkline-wrap svg {
  display: block;
  width: 100%;
  height: 80px;
}.announcement-page {
  min-height: 100vh;
  background: #f5f7fb;
  padding: 40px 20px;
}

.announcement-container {
  max-width: 1100px;
  margin: 0 auto;
}

.announcement-header {
  margin-bottom: 30px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 30px;
  background: #BC1421;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.announcement-header h1 {
  font-size: 42px;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 700;
}

.meta {
  color: #6b7280;
  font-size: 14px;
}

.announcement-image-card {
  width: 40%;
  height: 450px;          /* Adjust as needed */
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  margin-bottom: 35px;
}

.announcement-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;      /* Image fills the card */
}
.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0 80px;
}

.article-content p {
  font-size: 20px;
  line-height: 2;
  color: #374151;
  font-weight: 400;
  white-space: pre-wrap;
}
@media (max-width: 768px) {

  .announcement-header h1 {
    font-size: 28px;
  }

  .announcement-image {
    height: 260px;
  }

  .description-card {
    padding: 24px;
  }

}


/* ═══════════════════════════════════════════════════════════
   Dashboard.css — Traders Training Academy
   Theme: --red #bc1421 / --ink #1e0608 / --bg #fdfafa
═══════════════════════════════════════════════════════════ */
:root {
  --db-red:        #bc1421;
  --db-red-dk:     #9b1019;
  --db-red-xdk:    #7a0d15;
  --db-red-lt:     #fff0f1;
  --db-red-soft:   #fde8ea;
  --db-red-border: #f5cdd0;
  --db-ink:        #1e0608;
  --db-ink-2:      #2e2035;
  --db-muted:      #7a3040;
  --db-subtle:     #ad7080;
  --db-bg:         #fdfafa;
  --db-card:       #ffffff;
  --db-surf-2:     #fdf3f4;
  --db-surf-3:     #fce9eb;
  --db-border:     #f0dde0;
  --db-border-2:   #e8c5ca;
  --db-font:       'DM Sans', sans-serif;
  --db-display:    'Barlow Condensed', sans-serif;
  --db-r:          10px;
  --db-r-lg:       16px;
  --db-sidebar-w:  260px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ══ ROOT ══════════════════════════════════════════════════ */
.db-root {
  font-family: var(--db-font);
  background: var(--db-bg);
  color: var(--db-ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
/* ══ BREADCRUMB ════════════════════════════════════════════ */
.db-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--db-muted);
  background: var(--db-card);
  border-bottom: 1px solid var(--db-border);
}
.db-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--db-muted);
  text-decoration: none;
  transition: color .18s;
}
.db-breadcrumb a:hover { color: var(--db-red); }
.db-breadcrumb span:last-child { color: var(--db-red); font-weight: 700; }
/* ══ LAYOUT ════════════════════════════════════════════════ */
.db-layout {
  display: flex;
  min-height: calc(100vh - 49px);
}
/* ══ OVERLAY (mobile) ══════════════════════════════════════ */
.db-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,2,3,.5);
  z-index: 100;
  backdrop-filter: blur(3px);
}
/* ══ SIDEBAR ═══════════════════════════════════════════════ */
.db-sidebar {
  width: var(--db-sidebar-w);
  min-width: var(--db-sidebar-w);
  background: var(--db-card);
  border-right: 1.5px solid var(--db-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: calc(100vh - 49px);
  overflow-y: auto;
  z-index: 10;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.db-sidebar::-webkit-scrollbar { width: 3px; }
.db-sidebar::-webkit-scrollbar-thumb { background: var(--db-border-2); border-radius: 3px; }
/* ── Sidebar user header ── */
.db-sidebar__user {
  padding: 22px 18px 18px;
  border-bottom: 1.5px solid var(--db-border);
  display: flex;
  align-items: center;
  gap: 11px;
}
.db-sidebar__user-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(188,20,33,.25);
  flex-shrink: 0;
}
.db-sidebar__user-info { min-width: 0; }
.db-sidebar__user-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--db-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.db-sidebar__user-email {
  font-size: .7rem;
  color: var(--db-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ── Sidebar nav ── */
.db-sidebar__nav {
  flex: 1;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.db-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--db-r);
  border: none;
  background: transparent;
  color: var(--db-muted);
  font-family: var(--db-font);
  font-size: .855rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background .16s, color .16s;
}
.db-sidebar__item:hover {
  background: var(--db-red-soft);
  color: var(--db-red-dk);
}
.db-sidebar__item--active {
  background: var(--db-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(188,20,33,.22);
}
.db-sidebar__item--active:hover { background: var(--db-red-dk); color: #fff; }
.db-sidebar__item-icon { display: flex; align-items: center; flex-shrink: 0; }
/* ── Sidebar logout ── */
.db-sidebar__logout {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 13px 22px;
  border-top: 1.5px solid var(--db-border);
  border-left: none;
  border-right: none;
  border-bottom: none;
  background: transparent;
  color: var(--db-red);
  font-family: var(--db-font);
  font-size: .855rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
}
.db-sidebar__logout:hover { background: var(--db-red-soft); }
/* ══ MAIN ══════════════════════════════════════════════════ */
.db-main {
  flex: 1;
  min-width: 0;
  padding: 0 0 60px;
  background: var(--db-bg);
}
/* ── Mobile top bar (hidden on desktop) ── */
.db-mobile-bar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--db-card);
  border-bottom: 1.5px solid var(--db-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.db-mobile-bar__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1.5px solid var(--db-border-2);
  border-radius: 8px;
  background: transparent;
  color: var(--db-muted);
  cursor: pointer;
  flex-shrink: 0;
}
.db-mobile-bar__title {
  flex: 1;
  font-size: .92rem;
  font-weight: 700;
  color: var(--db-ink);
}
.db-mobile-bar__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}
/* ══ PANEL ══════════════════════════════════════════════════ */
.db-panel {
  padding: 28px 32px 40px;
  max-width: 860px;
}
.db-panel__hdr { margin-bottom: 26px; }
.db-panel__title {
  font-family: var(--db-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--db-ink-2);
  letter-spacing: .01em;
}
.db-panel__sub {
  font-size: .84rem;
  color: var(--db-muted);
  margin-top: 4px;
}
/* ══ SECTIONS ══════════════════════════════════════════════ */
.db-section { margin-bottom: 28px; }
.db-section__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--db-red);
  margin-bottom: 14px;
}
.db-section--danger .db-section__title { color: #991b1b; }
/* ══ OVERVIEW ══════════════════════════════════════════════ */
.db-overview-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--db-red-soft) 0%, var(--db-surf-2) 100%);
  border: 1.5px solid var(--db-red-border);
  border-radius: var(--db-r-lg);
  padding: 22px 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.db-overview-hero__avatar {
  width: 64px; height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(188,20,33,.28);
  flex-shrink: 0;
}
.db-overview-hero__info { flex: 1; min-width: 0; }
.db-overview-hero__name {
  font-family: var(--db-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--db-ink-2);
}
.db-overview-hero__email {
  font-size: .82rem;
  color: var(--db-muted);
  margin-top: 3px;
}
.db-overview-hero__phone {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--db-muted);
  margin-top: 4px;
}
.db-overview-hero__edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--db-r);
  background: var(--db-red);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s;
  white-space: nowrap;
  align-self: flex-start;
}
@media (max-width: 768px) {
  .db-overview-hero__edit-btn {
    align-self: flex-start;
    margin-top: -12px; /* move up */
      padding: 5px 5px;
      display:none;
  }
}
.db-overview-hero__edit-btn:hover { background: var(--db-red-dk); }
/* Stats row */
.db-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.db-stat-card {
  background: var(--db-card);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r-lg);
  padding: 20px 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(140,20,30,.06);
}
.db-stat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.db-stat-card__icon svg { width: 22px; height: 22px; }
.db-stat-card__val {
  font-family: var(--db-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.db-stat-card__lbl {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--db-subtle);
  margin-top: 4px;
}
/* ── Recent course list (overview) ── */
.db-course-list { display: flex; flex-direction: column; gap: 10px; }
.db-course-row {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--db-card);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r);
  padding: 12px 14px;
}
.db-course-row__thumb {
  width: 52px; height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--db-surf-3);
}
.db-course-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.db-course-row__info { flex: 1; min-width: 0; }
.db-course-row__title {
  font-size: .87rem;
  font-weight: 700;
  color: var(--db-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.db-course-row__meta { font-size: .74rem; color: var(--db-muted); margin-top: 3px; }
.db-course-row__badge {
  padding: 4px 10px;
  background: rgba(21,128,61,.09);
  color: #166534;
  border: 1px solid rgba(21,128,61,.2);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}
/* ══ FORMS ═════════════════════════════════════════════════ */
.db-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.db-form-grid--single { grid-template-columns: 1fr; max-width: 420px; }
.db-field { display: flex; flex-direction: column; gap: 5px; }
.db-field--full { grid-column: 1 / -1; }
.db-field__lbl {
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--db-red);
}
.db-field__ctrl {
  padding: 10px 13px;
  background: var(--db-surf-2);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r);
  font-family: var(--db-font);
  font-size: .875rem;
  font-weight: 500;
  color: var(--db-ink);
  outline: none;
  width: 100%;
  transition: border-color .18s, background .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}
.db-field__ctrl:focus {
  border-color: var(--db-red);
  background: var(--db-card);
  box-shadow: 0 0 0 3px rgba(188,20,33,.08);
}
.db-field__ctrl:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.db-field__ctrl--ta { resize: vertical; min-height: 90px; }
select.db-field__ctrl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a3040' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
/* ══ AVATAR UPLOAD ROW ════════════════════════════════════ */
.db-avatar-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.db-avatar-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(188,20,33,.24);
}
.db-avatar-img { width: 100%; height: 100%; object-fit: cover; }
/* ══ BUTTONS ════════════════════════════════════════════════ */
.db-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--db-r);
  border: none;
  font-family: var(--db-font);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, transform .14s, box-shadow .18s, opacity .18s;
  white-space: nowrap;
}
.db-btn--primary {
  background: var(--db-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(188,20,33,.22);
}
.db-btn--primary:hover:not(:disabled) {
  background: var(--db-red-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(188,20,33,.3);
}
.db-btn--primary:disabled { opacity: .55; cursor: not-allowed; }
.db-btn--ghost {
  background: transparent;
  color: var(--db-red);
  border: 1.5px solid var(--db-red-border);
}
.db-btn--ghost:hover { background: var(--db-red-soft); border-color: rgba(188,20,33,.3); }
.db-btn--danger {
  background: transparent;
  color: #991b1b;
  border: 1.5px solid #fca5a5;
}
.db-btn--danger:hover { background: #fef2f2; }
.db-btn--sm { padding: 7px 14px; font-size: .8rem; }
/* ══ HINT TEXT ══════════════════════════════════════════════ */
.db-hint { font-size: .72rem; color: var(--db-subtle); margin-top: 3px; }
/* ══ COURSE CARDS (grid) ════════════════════════════════════ */
.db-course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.db-course-card {
  background: var(--db-card);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.db-course-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(140,20,30,.13); }
.db-course-card__img-wrap { position: relative; }
.db-course-card__img-wrap img { width: 100%; height: 290px; object-fit: cover; display: block; background: var(--db-surf-3); }
.db-course-card__badge {
  position: absolute;
  top: 9px; right: 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(21,128,61,.88);
  color: #fff;
  font-size: .67rem;
  font-weight: 700;
}
.db-course-card__badge--saved { background: rgba(188,20,33,.88); }
.db-course-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.db-course-card__title { font-size: .92rem; font-weight: 700; color: var(--db-ink); line-height: 1.3; }
.db-course-card__meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: .73rem; color: var(--db-muted); font-weight: 600; }
.db-course-card__price { font-family: var(--db-display); font-size: 1.3rem; font-weight: 800; color: var(--db-red); }
/* ══ TABLE ══════════════════════════════════════════════════ */
.db-table-wrap { overflow-x: auto; border-radius: var(--db-r-lg); border: 1.5px solid var(--db-border); }
.db-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.db-table th {
  background: var(--db-surf-2);
  color: var(--db-red);
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1.5px solid var(--db-border);
}
.db-table td {
  padding: 13px 16px;
  color: var(--db-ink);
  font-weight: 500;
  border-bottom: 1px solid var(--db-border);
  vertical-align: middle;
}
.db-table tbody tr:last-child td { border-bottom: none; }
.db-table tbody tr:hover td { background: var(--db-surf-2); }
.db-table__mono { font-size: .74rem; color: var(--db-muted); font-family: monospace; }
.db-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
}
.db-badge--ok { background: rgba(21,128,61,.09); color: #166534; border: 1px solid rgba(21,128,61,.2); }
.db-badge--pending { background: rgba(202,138,4,.09); color: #92400e; border: 1px solid rgba(202,138,4,.2); }
/* ══ COUPONS ════════════════════════════════════════════════ */
.db-coupon-grid { display: flex; flex-direction: column; gap: 12px; }
.db-coupon {
  display: flex;
  align-items: center;
  border: 1.5px dashed var(--db-red-border);
  border-radius: var(--db-r-lg);
  overflow: hidden;
  background: var(--db-card);
}
.db-coupon__left {
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  min-width: 90px;
  flex-shrink: 0;
}
.db-coupon__pct {
  font-family: var(--db-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}
.db-coupon__pct span {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  opacity: .8;
}
.db-coupon__right { flex: 1; padding: 16px 18px; min-width: 0; }
.db-coupon__code {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 800;
  color: var(--db-ink);
  letter-spacing: .1em;
}
.db-coupon__desc { font-size: .78rem; color: var(--db-muted); margin-top: 4px; }
.db-coupon__exp { font-size: .72rem; color: var(--db-subtle); margin-top: 3px; }
.db-coupon__copy {
  margin: 0 16px;
  padding: 7px 16px;
  background: var(--db-red-soft);
  color: var(--db-red);
  border: 1.5px solid var(--db-red-border);
  border-radius: var(--db-r);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.db-coupon__copy:hover { background: var(--db-red); color: #fff; }
/* ══ SETTINGS — TOGGLES ═════════════════════════════════════ */
.db-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  background: var(--db-card);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r);
  margin-bottom: 8px;
}
.db-toggle-row__lbl { font-size: .875rem; font-weight: 700; color: var(--db-ink); }
.db-toggle-row__desc { font-size: .74rem; color: var(--db-muted); margin-top: 2px; }
.db-toggle {
  position: relative;
  width: 42px; height: 24px;
  border-radius: 999px;
  border: none;
  background: #e5e7eb;
  cursor: pointer;
  transition: background .22s;
  flex-shrink: 0;
  padding: 0;
}
.db-toggle--on { background: var(--db-red); }
.db-toggle__knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
  transition: left .22s;
}
.db-toggle--on .db-toggle__knob { left: 21px; }
/* Category pills */
.db-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.db-cat-pill {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--db-border-2);
  background: var(--db-card);
  color: var(--db-muted);
  font-family: var(--db-font);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
}
.db-cat-pill:hover { background: var(--db-red-soft); color: var(--db-red); border-color: rgba(188,20,33,.3); }
.db-cat-pill.active { background: var(--db-red); color: #fff; border-color: var(--db-red); }
/* ══ STARS ══════════════════════════════════════════════════ */
.db-stars { display: flex; gap: 8px; margin: 6px 0; }
.db-star {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--db-surf-2);
  color: #d1d5db;
  cursor: pointer;
  transition: all .18s, transform .14s cubic-bezier(.34,1.56,.64,1);
}
.db-star svg { width: 20px; height: 20px; }
.db-star--on { color: #f59e0b; background: rgba(245,158,11,.1); }
.db-star:hover { transform: scale(1.15); }
/* ══ PASSWORD RULES ═════════════════════════════════════════ */
.db-pw-rules {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.db-pw-rule {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: rgba(21,128,61,.07);
  color: #166534;
  border: 1px solid rgba(21,128,61,.16);
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 600;
}
.db-pw-rule svg { flex-shrink: 0; }
.db-pw-field { position: relative; }
.db-pw-field .db-field__ctrl { padding-right: 40px; }
.db-pw-eye {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border: none;
  background: transparent;
  color: var(--db-muted);
  cursor: pointer;
}
.db-pw-eye:hover { color: var(--db-red); }
/* ══ EMPTY + LOADING ════════════════════════════════════════ */
.db-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 24px;
  text-align: center;
}
.db-empty__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--db-surf-3);
  border: 1.5px solid var(--db-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--db-subtle);
}
.db-empty__icon svg { width: 22px; height: 22px; }
.db-empty__txt { color: var(--db-muted); font-weight: 600; font-size: .9rem; }
.db-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 0;
  color: var(--db-muted);
  font-weight: 600;
  font-size: .88rem;
}
.db-btn{
  margin-top: 30px;
}
/* ══ SPINNER ════════════════════════════════════════════════ */
.db-spin {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2.5px solid rgba(188,20,33,.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: db-spin .65s linear infinite;
  flex-shrink: 0;
}
@keyframes db-spin { to { transform: rotate(360deg); } }
/* ══ TOAST ══════════════════════════════════════════════════ */
.db-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.db-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--db-r);
  font-size: .84rem;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  animation: db-toast-in .28s cubic-bezier(.34,1.56,.64,1);
  pointer-events: auto;
}
.db-toast--ok  { background: #166534; color: #fff; }
.db-toast--err { background: var(--db-red); color: #fff; }
@keyframes db-toast-in {
  from { opacity: 0; transform: translateY(16px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* ══ RESPONSIVE ═════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .db-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 200;
    transform: translateX(-100%);
  }
  .db-sidebar--open { transform: translateX(0); box-shadow: 4px 0 40px rgba(0,0,0,.18); }
  .db-mobile-bar { display: flex; }
  .db-panel { padding: 20px 18px 40px; }
  .db-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .db-breadcrumb { padding: 10px 14px; font-size: .72rem; }
  .db-panel { padding: 16px 14px 40px; }
  .db-form-grid { grid-template-columns: 1fr; }
  .db-stats { grid-template-columns: 1fr 1fr; }
  .db-stats .db-stat-card:last-child { grid-column: 1 / -1; }
  .db-overview-hero { padding: 16px; }
  .db-table th, .db-table td { padding: 10px 10px; font-size: .78rem; }
  .db-coupon__left { min-width: 72px; padding: 14px 12px; }
  .db-coupon__pct { font-size: 1.5rem; }
  .db-toast-wrap { left: 14px; right: 14px; bottom: 14px; }
}
/* =========================================================================
   CourseDetailsScreen.css — UI refresh v2
   - Fixes content overflow on all breakpoints
   - Syllabus: 1 col mobile / 2 col small tablet / 3 col desktop+
   - 3D red/black price styling (.cd-amount-3d-text)
   ========================================================================= */

:root {
  --brand: #BC1421;
  --brand-dark: #9e1b1f;
  --brand-soft: #ffdbde;
  --cream: #f8f8f6;
  --ink: #111;
  --muted: #666;
  --border: #e8e8e8;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --content-max: 1080px;
  --rail-width: 360px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; max-width: 100%; }

/* ── Page shell ── */
.cd-safe-area {
  min-height: 100vh;
  background: var(--cream);
  font-family: 'Poppins', sans-serif;
  position: relative;
  padding-bottom: 90px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* ── Top bar ── */
.cd-top-bar {
  padding: 16px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
}

.cd-back-button {
  padding: 8px;
    margin-left: -50px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.cd-back-button:hover { background: #f5f5f5; transform: translateX(-1px); }
.cd-back-button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ── Page grid ── */
.cd-scroll-content {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}

.cd-page-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.cd-main-col {
  flex: 1;
  min-width: 0;     /* critical: prevents flex children from forcing overflow */
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.cd-side-col { display: none; }

/* Anything dumped in via dangerouslySetInnerHTML (Html component) must never
   be allowed to overflow horizontally — long words, embedded tables, etc. */
.cd-main-col img,
.cd-main-col table,
.cd-main-col pre,
.cd-main-col iframe {
  max-width: 100%;
  height: auto;
}
.cd-main-col * { min-width: 0; }

/* ── Hero image ── */
.cd-course-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: -24px;
  border: 1px solid var(--border);
  width: 100%;
}

.cd-course-image {
  width: 100%;
  display: block;
  aspect-ratio: 12/8;
  object-fit: cover;
  object-position: center;
}

/* ── Enrolled row ── */
.cd-enrolled-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.cd-enrolled-badge {
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  background: #fff8f8;
  max-width: 100%;
}

.cd-class-details-btn {
  background: var(--brand);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
  white-space: nowrap;
}
.cd-class-details-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }

/* ── Title / badges / rating ── */
.cd-title {
  font-size: clamp(20px, 4.5vw, 36px);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 8px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.cd-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.cd-pill {
  padding: 3px 11px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.cd-pill--bestseller { background: #e8dff8; color: #3d1668; }
.cd-pill--popular    { background: #fddde0; color: #7a1212; }

.cd-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

/* ── Certificate ribbon ── */
.cd-certificate-ribbon {
  margin: 12px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #ffe0b2;
  width: 100%;
  background: none;
  cursor: pointer;
  padding: 0;
  display: block;
  text-align: left;
  transition: box-shadow 0.15s;
}
.cd-certificate-ribbon:hover { box-shadow: 0 3px 8px rgba(0,0,0,0.1); }

.cd-certificate-ribbon-inner {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  background: linear-gradient(135deg, #fffbf0, #fff);
  gap: 12px;
}

/* ── Duration ── */
.cd-duration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Section headings ── */
.cd-section-heading {
  font-weight: 700;
  color: var(--brand);
  display: block;
  letter-spacing: 0.2px;
}

.cd-section-rule {
  border: none;
  border-top: 4px solid var(--brand);
  width: 70px;
  margin: 10px 0 24px;
  opacity: 0.9;
}

.cd-section-block { margin-bottom: 32px; min-width: 0; }

/* ── Pricing ── */
.cd-price-single { margin: 16px 0; max-width: 100%; }

.cd-price-options-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cd-price-card {
  flex: 1 1 200px;
  min-width: 170px;
  max-width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cd-price-card:hover { border-color: #f3b6bb; box-shadow: 0 2px 8px rgba(188,20,33,0.09); }
.cd-price-card--selected { border-color: var(--brand); background: #fff8f8; }

/* ══════════════════════════════════════════
   3D RED & BLACK PRICE / AMOUNT STYLE
   Layered black "shadow" steps behind a red
   face create an embossed / extruded look.
   Apply .cd-amount-3d-text directly to the
   number span (e.g. "₹ 4,999/-").
   ══════════════════════════════════════════ */
.cd-amount-3d {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  position: relative;
}

.cd-amount-3d-text {
  position: relative;
  display: inline-block;
  color: var(--brand);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: 0.3px;
  -webkit-text-stroke: 0.4px rgba(0,0,0,0.15);
  text-shadow:
    1px 1px 0 #000,
    2px 2px 0 #000,
    3px 3px 0 #000,
    1px 1px 1px rgba(0,0,0,0.25),
    0 1px 0 rgba(255,255,255,0.25) inset;
}

.cd-amount-3d-gst {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--brand);
  margin-left: 2px;
  margin-bottom: 3px;
  text-shadow: 1px 1px 0 #000;
}

/* Strike-through original price next to a 3D amount */
.cd-amount-strike {
  font-size: 12px;
  color: #555;
  text-decoration: line-through;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  margin-right: 6px;
}

/* ── Description ── */
.cd-languages-block,
.cd-description-block {
  margin-top: 16px;
  margin-bottom: 20px;
  max-width: 100%;
}

.cd-see-more {
  cursor: pointer;
  color: var(--brand);
  font-weight: 600;
}

/* ── Key points ── */
.cd-keypoints-grid {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cd-keypoint-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

/* ── Schedule ── */
.cd-schedule-week { margin-bottom: 14px; max-width: 100%; }

/* ══════════════════════════════════════════
   SYLLABUS — fixed grid behaviour
   Mobile (<560px): 1 column
   Small tablet (560–991px): 2 columns
   Desktop (992px+): exactly 3 columns
   ══════════════════════════════════════════ */
.cd-syllabus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 20px;
}

.cd-syllabus-item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: break-word;
}

.cd-syllabus-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
  border-color: var(--brand);
}

.cd-syllabus-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.cd-syllabus-point {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 8px;
  word-break: break-word;
}

.cd-show-more-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px auto 0;
  border: none;
  border-bottom: 1.5px solid var(--brand);
  background: none;
  padding: 6px 4px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.cd-show-more-btn:hover { opacity: 0.75; }

/* ── Reviews ── */
.cd-reviews-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  padding-right: 20px;
  scrollbar-width: none;
  max-width: 100%;
}
.cd-reviews-scroll::-webkit-scrollbar { display: none; }

.cd-review-card {
  flex: 0 0 85%;
  max-width: 360px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border);
  min-width: 0;
}

/* ── Footer / sticky bar ── */
.cd-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 14px 16px 22px;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  z-index: 50;
  width: 100%;
}

.cd-footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cd-enroll-btn {
  flex: 1;
  min-width: 140px;
  background: var(--brand);
  border-radius: var(--radius-sm);
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}
.cd-enroll-btn:hover:not(:disabled) { filter: brightness(1.06); }
.cd-enroll-btn:active:not(:disabled) { transform: scale(0.99); }

.cd-enroll-btn-text {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.cd-enquiry-btn {
  flex: 1;
  min-width: 110px;
  background: #fff;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.cd-enquiry-btn:hover { background: #fff5f5; }

/* ── Modals ── */
.cd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}

.cd-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.cd-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 8px;
}

.cd-pill-option {
  padding: 8px 16px;
  border-radius: 20px;
  margin: 0 8px 8px 0;
  border: none;
  cursor: pointer;
  font-size: 14px;
  background: #f2f2f2;
  color: #333;
  transition: background 0.15s, color 0.15s;
}
.cd-pill-option:hover { background: #e5e5e5; }
.cd-pill-option--selected { background: var(--brand); color: #fff; }
.cd-pill-option--selected:hover { background: var(--brand-dark); }

.cd-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cd-modal-btn {
  flex: 1;
  min-width: 120px;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: filter 0.15s;
}
.cd-modal-btn:hover:not(:disabled) { filter: brightness(0.97); }
.cd-modal-btn--cancel  { background: #f0f0f0; }
.cd-modal-btn--submit  { background: var(--brand); }

/* ── Loader / error ── */
.cd-center-screen {
  min-height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #fad6d8;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: cd-spin 0.8s linear infinite;
}

.cd-spinner-small {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cd-spin 0.8s linear infinite;
}

@keyframes cd-spin { to { transform: rotate(360deg); } }

.cd-error-text {
  text-align: center;
  margin-top: 50px;
  font-size: 16px;
  color: red;
  padding: 0 16px;
}

/* ── Shimmer / shine ── */
@keyframes cd-shine-once {
  from { left: -100px; }
  to   { left: 220px;  }
}
.cd-shine-once-sweep {
  position: absolute;
  top: 0; left: -100px;
  width: 60px; height: 100%;
  opacity: 0.8;
  transform: rotate(20deg);
  background: linear-gradient(to bottom right, transparent, white, transparent);
  animation: cd-shine-once 1s ease forwards;
  pointer-events: none;
}

@keyframes cd-shimmer-sweep {
  from { transform: translateX(-100px) rotate(30deg); }
  to   { transform: translateX(100px)  rotate(30deg); }
}
.cd-slash-shimmer-sweep {
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  opacity: 0.35;
  background: linear-gradient(to right, transparent, white, transparent);
  animation: cd-shimmer-sweep 1.6s linear infinite;
  pointer-events: none;
}

@keyframes cd-shiny-tag-sweep {
  from { transform: translateX(-80px); }
  to   { transform: translateX(80px);  }
}
.cd-shiny-tag-sweep {
  position: absolute;
  top: 0; bottom: 0;
  width: 45px;
  opacity: 0.35;
  background: linear-gradient(to right, transparent, white, transparent);
  animation: cd-shiny-tag-sweep 1.6s linear infinite;
  pointer-events: none;
}

.cd-hide-scrollbar::-webkit-scrollbar { display: none; }
.cd-hide-scrollbar { scrollbar-width: none; }

/* ══════════════════════════════════════════
   SMALL MOBILE — extra tight overflow guard
   ══════════════════════════════════════════ */
@media (max-width: 420px) {
  .cd-page-grid { padding: 0 12px; }
  .cd-modal-content { padding: 18px; }
  .cd-amount-3d-text { font-size: 20px !important; }
}

/* ══════════════════════════════════════════
   SMALL TABLET — 560px+   (syllabus → 2 cols)
   ══════════════════════════════════════════ */
@media (min-width: 560px) {
  .cd-syllabus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ══════════════════════════════════════════
   TABLET — 768px+
   ══════════════════════════════════════════ */
@media (min-width: 768px) {
  .cd-top-bar    { padding: 20px 24px ; }
  .cd-page-grid  { padding: 0 24px; }
  .cd-course-image-wrap { margin-top: -32px; }
  .cd-price-card { flex: 1 1 220px; }
  .cd-modal-content { padding: 28px; }
  .cd-footer     { padding: 16px 24px 22px; }
}

/* ══════════════════════════════════════════
   DESKTOP — 992px+   (syllabus → exactly 3 cols)
   ══════════════════════════════════════════ */
@media (min-width: 992px) {
  .cd-syllabus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
width: calc(100% + 350px);
  }

}

/* ══════════════════════════════════════════
   DESKTOP — 1024px+   (two-column page layout)
   ══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .cd-safe-area { padding-bottom: 60px; }

  .cd-top-bar {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 24px 24px 0;
    width: 100%;
  }

  .cd-page-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    padding: 0 24px;
  }

  .cd-main-col {
    max-width: calc(100% - var(--rail-width) - 40px);
  }

  .cd-side-col {
    display: block;
    width: var(--rail-width);
    flex-shrink: 0;
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }

  .cd-side-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .cd-course-image-wrap { margin-top: 0; }
  .cd-title { margin-top: 20px; }

  /* Hide mobile sticky footer — purchase lives in side rail */
  .cd-footer--mobile-only { display: none; }

  .cd-reviews-scroll  { padding-right: 0; }
  .cd-review-card     { flex: 0 0 320px; }
}

/* ══════════════════════════════════════════
   LARGE DESKTOP — 1280px+
   ══════════════════════════════════════════ */
@media (min-width: 1280px) {
  :root {
    --content-max: 1180px;
    --rail-width: 380px;
  }
  .cd-title { font-size: 38px; }
}

/* ── Respect reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .cd-shine-once-sweep,
  .cd-slash-shimmer-sweep,
  .cd-shiny-tag-sweep,
  .cd-spinner,
  .cd-spinner-small { animation: none; }
}/* PaymentsScreen.css */
/* Direct translation of the React Native StyleSheet — same colors, spacing, and radii */

.container {
  min-height: 100vh;
  background-color: #fdfce8;
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.backButton {
  padding: 5px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.headerTitle {
  font-size: 20px;
  font-family: "Poppins-Bold", "Poppins", sans-serif;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.headerButtons {
  width: 40px;
}

.listContent {
  padding: 20px;
  padding-bottom: 50px;
  max-width: 720px;
  margin: 0 auto;
}

.card {
  background-color: #fff;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.cardHeader {
  display: flex;
  flex-direction: row;
  padding: 15px;
  align-items: center;
}

.iconContainer {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.headerTextContainer {
  flex: 1;
  min-width: 0;
}

.courseName {
  font-size: 16px;
  font-family: "Poppins-Bold", "Poppins", sans-serif;
  font-weight: 700;
  color: #333;
  margin: 0 0 2px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.paymentType {
  font-size: 12px;
  font-family: "Poppins-Medium", "Poppins", sans-serif;
  font-weight: 500;
  color: #666;
  margin: 0;
}

.statusBadge {
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 10px;
  border-width: 1px;
  border-style: solid;
  white-space: nowrap;
}

.statusText {
  font-size: 10px;
  font-family: "Poppins-Bold", "Poppins", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.divider {
  height: 1px;
  background-color: #f0f0f0;
  margin: 0 15px;
}

.detailsContainer {
  padding: 5px 15px 0 15px;
  background-color: #fafafa;
}

.detailRow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 8px;
}

.detailLabel {
  font-size: 14px;
  font-family: "Poppins-Regular", "Poppins", sans-serif;
  color: #666;
}

.amountText {
  font-size: 14px;
  font-family: "Poppins-Bold", "Poppins", sans-serif;
  font-weight: 700;
  color: #333;
}

.dateText {
  font-size: 14px;
  font-family: "Poppins-Medium", "Poppins", sans-serif;
  font-weight: 500;
  color: #333;
}

.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 2px 15px 15px 15px;
  background-color: #fafafa;
}

.paymentId {
  font-size: 11px;
  font-family: "Poppins-Light", "Poppins", sans-serif;
  font-weight: 300;
  color: #999;
}

.timeText {
  font-size: 11px;
  font-family: "Poppins-Regular", "Poppins", sans-serif;
  color: #999;
}

.loaderContainer {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ffebee;
  border-top: 4px solid #bc1421;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.emptyContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: 60vh;
  text-align: center;
}

.emptyText {
  font-size: 18px;
  font-family: "Poppins-SemiBold", "Poppins", sans-serif;
  font-weight: 600;
  color: #333;
  margin-top: 15px;
  margin-bottom: 5px;
}

.emptySubText {
  font-size: 14px;
  font-family: "Poppins-Regular", "Poppins", sans-serif;
  color: #666;
  text-align: center;
  margin: 0;
}

.errorSubText {
  font-size: 14px;
  font-family: "Poppins-Regular", "Poppins", sans-serif;
  color: #f44336;
  margin-top: 5px;
  text-align: center;
}/* ─── Base ──────────────────────────────────────────────────────────────── */
.clsdet-container {
    min-height: 100vh;
    background: #fdfce8;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    text-align: inherit;
}

/* ─── Loading / Error states ───────────────────────────────────────────── */
.clsdet-loading-container,
.clsdet-error-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.clsdet-loading-text {
    margin-top: 10px;
    color: #666;
}

.clsdet-error-text {
    font-size: 16px;
    color: #d32f2f;
    margin: 10px 0;
    font-weight: 500;
    text-align: center;
}

.clsdet-retry-button {
    padding: 10px 20px;
    background: #bc1421;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
}

.clsdet-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #f1d5d8;
    border-top-color: #bc1421;
    border-radius: 50%;
    animation: clsdet-spin 0.8s linear infinite;
}
.clsdet-spinner-small { margin: 20px auto; }
.clsdet-spinner-white { width: 18px; height: 18px; border-color: rgba(255,255,255,0.4); border-top-color: #fff; }

@keyframes clsdet-spin {
    to { transform: rotate(360deg); }
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.clsdet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.clsdet-back-button {
    padding: 5px;
    display: flex;
}

.clsdet-header-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.clsdet-header-spacer {
    width: 40px;
}

/* ─── Scroll content ────────────────────────────────────────────────────── */
.clsdet-scroll-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 15px;
    padding-bottom: 40px;
}

/* ─── Info grid ─────────────────────────────────────────────────────────── */
.clsdet-grid-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 5px 0 15px;
}

.clsdet-grid-item {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 14px 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.06);
    border: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.clsdet-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.clsdet-grid-label {
    font-size: 11px;
    color: #888;
    font-weight: 500;
    margin-bottom: 2px;
}

.clsdet-grid-value {
    font-size: 13px;
    color: #222;
    font-weight: 700;
    margin-top: 2px;
}

/* ─── Hero card ─────────────────────────────────────────────────────────── */
.clsdet-hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(188,20,33,0.1);
    border: 1px solid #eee;
}

.clsdet-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.clsdet-course-title-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.clsdet-course-title {
    font-size: 18px;
    color: #000;
    font-weight: 700;
    margin-top: 4px;
    max-width: 60%;
}

.clsdet-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.clsdet-divider {
    height: 1px;
    background: #eee;
    margin: 12px 0;
}

.clsdet-schedule-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.clsdet-date-block {
    display: flex;
    align-items: center;
    flex: 1;
}

.clsdet-date-text {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}

.clsdet-date-label {
    font-size: 12px;
    color: #888;
}

.clsdet-date-value {
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

.clsdet-active-session {
    background: #fff;
    border-radius: 15px;
    padding: 5px;
}

.clsdet-active-session-header {
    margin-bottom: 5px;
}

.clsdet-live-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    gap: 6px;
}

.clsdet-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #4caf50;
}

.clsdet-live-text {
    font-size: 10px;
    font-weight: 700;
    color: #4caf50;
    letter-spacing: 0.5px;
}

.clsdet-session-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.clsdet-session-title-locked {
    color: #9ca3af;
    font-style: italic;
    font-size: 13px;
    margin-top: 4px;
}

.clsdet-join-button {
    margin-top: 16px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(188,20,33,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #bc1421, #d32f2f);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.clsdet-join-button-locked {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #94a3b8;
    cursor: not-allowed;
}

.clsdet-link-pending {
    margin-top: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 10px;
    text-align: center;
}

.clsdet-link-pending span {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.clsdet-rate-session-button {
    margin-top: 12px;
    width: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    padding: 12px;
    border: 1.5px solid #ffd700;
    font-weight: 700;
    color: #b45309;
    font-size: 14px;
}

.clsdet-batch-title {
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.clsdet-batch-title-label {
    font-size: 12px;
    color: #666;
}

.clsdet-batch-title-value {
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

.clsdet-empty-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 0;
}

.clsdet-empty-schedule span {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.clsdet-due-container {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    background: #ffebee;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #ffcdd2;
    gap: 4px;
}

.clsdet-due-label {
    font-size: 12px;
    color: #c62828;
    margin-left: 4px;
}

.clsdet-due-value {
    font-size: 12px;
    color: #c62828;
    font-weight: 700;
}

/* ─── Review prompt card ────────────────────────────────────────────────── */
.clsdet-review-prompt-card {
    width: 100%;
    background: #fff;
    margin-top: 15px;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.clsdet-review-prompt-left {
    display: flex;
    align-items: center;
}

.clsdet-review-prompt-text {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.clsdet-review-prompt-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.clsdet-review-prompt-sub {
    font-size: 12px;
    color: #666;
}

/* ─── Certificate ribbon ────────────────────────────────────────────────── */
.clsdet-fade {
    transition: opacity 0.3s ease;
}
.clsdet-fade-hidden { opacity: 0; }
.clsdet-fade-visible { opacity: 1; }

.clsdet-certificate-ribbon {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(188,20,33,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fff;
}

.clsdet-certificate-ribbon-wide {
    width: 100%;
}

.clsdet-certificate-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #fff4f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clsdet-certificate-text {
    flex: 1;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.clsdet-certificate-title {
    font-size: 16px;
    font-weight: 700;
    color: #bc1421;
}

.clsdet-certificate-sub {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* ─── Group chat card ───────────────────────────────────────────────────── */
.clsdet-chat-card {
    width: 100%;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(188,20,33,0.1);
    background: #fff;
    margin-bottom: 15px;
}

.clsdet-chat-content {
    flex: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.clsdet-chat-title {
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.clsdet-chat-subtitle {
    color: #bc1421;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.clsdet-chat-button {
    background: #bc1421;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}

/* ─── Recordings CTA ────────────────────────────────────────────────────── */
.clsdet-recordings-cta {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(188,20,33,0.1);
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    margin-bottom: 15px;
}

.clsdet-recordings-cta-locked {
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.clsdet-recordings-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #fff4f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clsdet-recordings-icon-box-locked {
    background: #f1f5f9;
}

.clsdet-recordings-text {
    flex: 1;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.clsdet-recordings-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.clsdet-recordings-title-locked { color: #64748b; }

.clsdet-recordings-sub {
    font-size: 12px;
    color: #666;
}

.clsdet-recordings-sub-locked { color: #94a3b8; }

/* ─── Attendance ────────────────────────────────────────────────────────── */
.clsdet-section-header {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clsdet-attendance-heading {
    color: #000;
    font-weight: 700;
    font-size: 18px;
    padding-left: 12px;
    border-left: 2px solid #bc1421;
}

.clsdet-attendance-stats {
    display: flex;
    gap: 10px;
}

.clsdet-present-count {
    font-size: 11px;
    font-weight: 600;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 4px 10px;
    border-radius: 6px;
}

.clsdet-absent-count {
    font-size: 11px;
    font-weight: 600;
    color: #c62828;
    background: #ffebee;
    padding: 4px 10px;
    border-radius: 6px;
}

.clsdet-attendance-list {
    background: #fff;
    border-radius: 20px;
    padding: 20px 12px;
    margin-bottom: 20px;
}

.clsdet-attendance-item {
    display: flex;
    padding: 5px 0;
}

.clsdet-attendance-icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30px;
}

.clsdet-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    margin-top: 5px;
    flex-shrink: 0;
}

.clsdet-connector-line {
    width: 2px;
    flex: 1;
    background: #e5e7eb;
    margin: 4px 0;
}

.clsdet-attendance-content {
    flex: 1;
    padding-bottom: 20px;
    padding-left: 5px;
}

.clsdet-attendance-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.clsdet-session-title-text {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.clsdet-status-label {
    font-size: 10px;
    font-weight: 700;
    padding-right: 4px;
    white-space: nowrap;
}

.clsdet-attendance-date-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    display: block;
}

.clsdet-attendance-remarks-text {
    font-size: 12px;
    font-style: italic;
    color: #9ca3af;
    margin-top: 5px;
    background: #f9fafb;
    padding: 5px;
    border-radius: 5px;
}

.clsdet-absence-reason-box {
    margin-top: 8px;
    background: #fff3e0;
    border-left: 4px solid #ef6c00;
    padding: 10px;
    border-radius: 8px;
}

.clsdet-absence-reason-title {
    font-weight: 600;
    font-size: 12px;
    color: #e65100;
}

.clsdet-absence-reason-text {
    margin-top: 4px;
    font-size: 13px;
    color: #333;
}

.clsdet-empty-attendance {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f9fafb;
    border-radius: 20px;
    margin-top: 10px;
    gap: 10px;
}

.clsdet-empty-attendance-text {
    font-size: 13px;
    color: #9ca3af;
}

/* ─── Toast ─────────────────────────────────────────────────────────────── */
.clsdet-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    z-index: 1000;
    border-left: 4px solid #2e7d32;
    min-width: 240px;
}
.clsdet-toast-error { border-left-color: #c62828; }

.clsdet-toast-title {
    font-weight: 700;
    font-size: 14px;
    color: #111;
}

.clsdet-toast-sub {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* ─── Modals ────────────────────────────────────────────────────────────── */
.clsdet-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 200;
}

.clsdet-modal-overlay-dark {
    background: rgba(0,0,0,0.85);
    align-items: flex-start;
    padding-top: 12%;
}

.clsdet-modal-sheet {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 30px 30px 0 0;
    padding: 25px;
    max-height: 90vh;
    overflow-y: auto;
}

.clsdet-modal-center {
    width: 100%;
    max-width: 480px;
    margin: auto;
    background: #fff;
    border-radius: 25px;
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
}

.clsdet-modal-fullscreen {
    width: 100%;
    max-width: 480px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.clsdet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.clsdet-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.clsdet-modal-title-center {
    text-align: center;
    margin-bottom: 8px;
}

.clsdet-modal-close {
    display: flex;
}

.clsdet-modal-sub {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 20px;
}

.clsdet-stars-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
}

.clsdet-star-button {
    display: flex;
}

.clsdet-review-input {
    width: 100%;
    background: #f3f4f6;
    border-radius: 15px;
    padding: 16px;
    font-size: 14px;
    color: #111827;
    min-height: 110px;
    resize: vertical;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    font-family: inherit;
}

.clsdet-submit-button {
    width: 100%;
    background: #bc1421;
    border-radius: 15px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(188,20,33,0.2);
}

.clsdet-submit-button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.clsdet-privacy-note {
    margin-top: 16px;
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ─── Completion overlay ────────────────────────────────────────────────── */
.clsdet-completion-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.clsdet-completion-heading {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.clsdet-completion-sub {
    color: #ddd;
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.clsdet-bounce-arrow {
    margin-bottom: 24px;
    animation: clsdet-bounce 1.2s ease-in-out infinite;
}

@keyframes clsdet-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

.clsdet-completion-close {
    margin-top: 40px;
    padding: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 500;
}.clsrec-container {
    min-height: 100vh;
    background: #fdfce8;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.clsrec-container button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    text-align: inherit;
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.clsrec-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.clsrec-back-button {
    padding: 5px;
    display: flex;
}

.clsrec-back-icon {
    width: 24px;
    height: 24px;
}

.clsrec-header-title-container {
    flex: 1;
    margin-left: 15px;
}

.clsrec-header-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.clsrec-batch-sub {
    font-size: 12px;
    color: #666;
    margin-top: -2px;
}

/* ─── Center states (loading / error / empty) ──────────────────────────── */
.clsrec-center-container {
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.clsrec-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #f1d5d8;
    border-top-color: #bc1421;
    border-radius: 50%;
    animation: clsrec-spin 0.8s linear infinite;
}

@keyframes clsrec-spin {
    to { transform: rotate(360deg); }
}

.clsrec-loading-text {
    margin-top: 15px;
    color: #666;
}

.clsrec-error-text {
    font-size: 16px;
    color: #d32f2f;
    margin: 15px 0;
    font-weight: 500;
    text-align: center;
}

.clsrec-retry-button {
    padding: 12px 25px;
    background: #bc1421;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
}

.clsrec-empty-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    text-align: center;
}

.clsrec-empty-sub {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-top: 10px;
}

/* ─── Recording list ────────────────────────────────────────────────────── */
.clsrec-scroll-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 15px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.clsrec-recording-card {
    width: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(188,20,33,0.08);
    box-shadow: 0 10px 20px rgba(188,20,33,0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.clsrec-recording-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(188,20,33,0.14);
}

.clsrec-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.clsrec-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.clsrec-session-badge {
    background: #fff4f5;
    border: 1px solid #ffd8dc;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    color: #bc1421;
    font-weight: 700;
}

.clsrec-date-text {
    font-size: 12px;
    color: #8a8a8a;
    font-weight: 500;
}

.clsrec-title-text {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: left;
}

.clsrec-remarks-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
    text-align: left;
}

.clsrec-watch-now-container {
    width: 100%;
}

.clsrec-watch-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(90deg, #bc1421, #d32f2f);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    width: 100%;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
    .clsrec-scroll-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}