/* ==========================================================
   Content Geek Inc. — theme layer
   Built on the licensed Crafto theme (same base as the IDAT
   site), recoloured to the Content Geek logo palette:
   raspberry pink → crimson gradient, deep wine and charcoal.
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --base-color: #E2246A;          /* logo pink (the C, G, I) */
    --cg-crimson: #F0384C;          /* warm end of the hexagon gradient */
    --cg-wine: #9C1848;             /* deep shade of the hexagon */
    --cg-plum: #2B0F1C;             /* darkest brand tone */
    --dark-gray: #2A2328;           /* logo wordmark charcoal, warmed */
    --medium-gray: #776d73;
    --extra-medium-gray: #ece6e9;
    --cg-blush: #FDF1F5;            /* soft section background */
    --cg-gradient: linear-gradient(120deg, #9C1848 0%, #E2246A 55%, #F0384C 100%);
    --alt-font: 'Lexend', sans-serif;
    --primary-font: 'Inter', sans-serif;
}
body { font-size: 17px; line-height: 30px; overflow-x: hidden; color: var(--medium-gray); }
a:hover { color: var(--base-color); }
::selection { background: var(--base-color); color: #fff; }
:focus-visible { outline: 2px solid var(--base-color); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100000; background: #fff; color: var(--dark-gray); padding: 10px 18px; border-radius: 30px; font-weight: 600; }
.skip-link:focus { left: 15px; }

/* helpers */
.top-25 { top: 25%; }
.mt-minus-12 { margin-top: -12%; }
.mt-minus-1 { margin-top: -1%; }
.left-minus-200px { left: -200px; }
.bg-blush { background-color: var(--cg-blush); }
.bg-cg-gradient { background-image: var(--cg-gradient); }
.bg-cg-dark { background: linear-gradient(140deg, #1E0B14 0%, #2B0F1C 45%, #4A1028 80%, #6E1239 100%); }
.bg-gradient-dark-transparent { background: linear-gradient(to top, rgba(43,15,28,.95) 0%, rgba(43,15,28,0) 100%); }
.text-cg-gradient { background: var(--cg-gradient); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.text-base-color { color: var(--base-color) !important; }
.bg-base-color { background-color: var(--base-color) !important; }
.border-color-transparent-white-very-light { border-color: rgba(255,255,255,.2) !important; }
.border-color-transparent-dark-very-light { border-color: var(--extra-medium-gray) !important; }
.icon-extra-medium { font-size: 22px; }
.cg-icon-circle {
    width: 55px; height: 55px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--cg-gradient); color: #fff; font-size: 22px;
    box-shadow: 0 10px 25px rgba(226,36,106,.28);
}
.cg-icon-circle.lg { width: 66px; height: 66px; font-size: 26px; }
.cg-icon-circle.sm { width: 46px; height: 46px; font-size: 19px; }
.cg-icon-circle i { line-height: 1; }
.eyebrow-mono {
    font-family: var(--alt-font); font-size: 13px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--base-color); font-weight: 600;
}
.cg-hex-bullet { color: var(--base-color); }

/* header */
.navbar .navbar-nav .nav-link { font-size: 17px; }
header .navbar-brand img { max-height: 58px; }
header .navbar-brand { padding: 20px 0; }
.navbar .navbar-nav .dropdown .dropdown-menu a:hover,
.navbar .navbar-nav .dropdown .dropdown-menu li.active > a { color: var(--base-color); }
.dropdown-with-icon-style02 .dropdown-menu li a i { color: var(--base-color); }
.btn-cg-quote { white-space: nowrap; }
header .header-icon a { white-space: nowrap; font-size: 16px; }

/* buttons */
.btn { font-family: var(--primary-font); text-transform: none; letter-spacing: 0; }
.btn.btn-switch-text.btn-extra-large > span { padding: 15px 38px; font-size: 17px; }
.btn.btn-switch-text.btn-large > span { padding: 13px 32px; font-size: 15px; }
.btn.btn-base-color, .btn.btn-base-color:focus { background-color: var(--base-color); border-color: var(--base-color); color: #fff; }
.btn.btn-base-color:hover, .btn.btn-box-shadow.btn-base-color:hover { background-color: var(--cg-wine); border-color: var(--cg-wine); color: #fff; }
.btn.btn-cg-gradient { background-image: var(--cg-gradient); background-size: 160% 100%; background-position: 0 0; color: #fff; border: 0; transition: background-position .4s ease, transform .3s ease, box-shadow .3s ease; }
.btn.btn-cg-gradient:hover { background-position: 100% 0; color: #fff; box-shadow: 0 12px 28px rgba(226,36,106,.35); }
.btn.btn-dark-gray:hover { background-color: var(--base-color); border-color: var(--base-color); color: #fff; }
.btn.btn-link { padding: 0 0 2px; }
h2 { line-height: 3.2rem; }
h1, h2, h3, h4, h5, h6 { font-family: var(--alt-font); }

/* tabs / filter */
.tab-style-04 .nav-tabs .nav a { color: var(--medium-gray); }
.portfolio-filter li.active a, .portfolio-filter li a:hover { color: var(--dark-gray); }
.tab-style-04 .portfolio-filter li a:after { background-color: var(--base-color) !important; }

/* service cards */
.cg-service-card { position: relative; transition: transform .35s ease, box-shadow .35s ease; }
.cg-service-card:hover { transform: translateY(-6px); box-shadow: 0 25px 50px rgba(43,15,28,.12) !important; }
.cg-service-card .cg-num { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--dark-gray); color: #fff; font-family: var(--alt-font); font-size: 22px; transition: background .35s ease; }
.cg-service-card:hover .cg-num { background: var(--cg-gradient); }
.cg-service-card .cg-card-link { font-weight: 600; color: var(--dark-gray); font-size: 15px; }
.cg-service-card:hover .cg-card-link { color: var(--base-color); }
.cg-service-card .stretched-link::after { z-index: 1; }

/* accordion */
.accordion-style-06 .accordion-item.active-accordion .accordion-title,
.accordion-style-06 .accordion-item .accordion-header a:hover .accordion-title { color: var(--base-color) !important; }
.cg-faq .accordion-item { border-bottom: 1px solid var(--extra-medium-gray); }
.cg-faq .accordion-header a { display: flex; gap: 14px; align-items: baseline; padding: 22px 0; }
.cg-faq .accordion-header .cg-q-num { font-family: var(--alt-font); color: var(--base-color); font-weight: 600; min-width: 30px; }
.cg-faq .accordion-header .cg-q-icon { margin-left: auto; align-self: center; transition: transform .3s ease; color: var(--dark-gray); }
.cg-faq .accordion-header a[aria-expanded="true"] .cg-q-icon { transform: rotate(45deg); color: var(--base-color); }
.cg-faq .accordion-body { padding: 0 40px 24px 44px; }

/* footer */
footer { padding-bottom: 30px; }
.footer-dark, .footer-dark p, .footer-dark a { color: rgba(255, 240, 246, .62); }
.footer-dark a:hover { color: #fff; }
.footer-dark .footer-title { color: #fff; font-weight: 600; display: block; margin-bottom: 10px; }
.footer-dark ul li { margin-bottom: 6px; line-height: 24px; }
.footer-navbar li { line-height: normal; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; transition: all .3s ease; }
.footer-social a:hover { background: var(--base-color); border-color: var(--base-color); color: #fff; }

/* floating WhatsApp */
.cg-whatsapp-float { position: fixed; bottom: 26px; right: 26px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .2s ease; }
.cg-whatsapp-float:hover { transform: scale(1.08); }
.cg-whatsapp-float i { color: #fff; font-size: 28px; }

/* ==========================================================
   Scroll interactions (circle hero, circle reveal, cursor ball)
   ========================================================== */
.cg-circle-hero-section { padding: 0 !important; background: #1A0A12; }
.cg-hero-sticky { position: relative; height: 100vh; min-height: 640px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cg-hero-circle-bg {
    position: absolute; top: 50%; left: 50%;
    width: 66vh; height: 66vh; max-width: 88vw; max-height: 88vw;
    transform: translate(-50%, -50%) scale(var(--cs, 1));
    border-radius: 50%; overflow: hidden; will-change: transform; z-index: 1;
    box-shadow: 0 0 0 1px rgba(226,36,106,.35), 0 0 120px rgba(226,36,106,.25);
}
.cg-hero-circle-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cg-hero-circle-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(150deg, rgba(43,15,28, calc(.62 + .3 * var(--cp, 0))) 0%, rgba(122,20,64, calc(.55 + .3 * var(--cp, 0))) 60%, rgba(226,36,106, calc(.45 + .3 * var(--cp, 0))) 100%);
}
.cg-hero-circle-grid { position: absolute; inset: 0; z-index: 1; background-image: url('../images/vertical-line-bg-small.svg'); background-position: center; opacity: .3; }
.cg-hero-ring { position: absolute; top: 50%; left: 50%; width: 82vh; height: 82vh; max-width: 96vw; max-height: 96vw; transform: translate(-50%,-50%) rotate(var(--rot, 0deg)); z-index: 0; opacity: calc(.7 - var(--cp, 0)); pointer-events: none; }
.cg-hero-content, .cg-hero-counters { opacity: calc(1 - var(--cp, 0) * .9); }
.cg-hero-content { position: relative; z-index: 5; text-align: center; max-width: 820px; padding: 0 20px; }
.cg-hero-crest { height: 86px; width: auto; aspect-ratio: 278 / 300; object-fit: contain; }
.cg-hero-title { font-size: 72px; line-height: 74px; letter-spacing: -2px; }
.cg-hero-counters { position: absolute; bottom: 40px; left: 0; right: 0; z-index: 5; }

.cg-circle-reveal-section { position: relative; padding: 0 !important; overflow: hidden; }
.cg-reveal-sticky { position: relative; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cg-reveal-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cg-reveal-circle-bg {
    position: absolute; top: 50%; left: 50%;
    width: 78vh; height: 78vh; max-width: 92vw; max-height: 92vw;
    transform: translate(-50%, -50%) scale(var(--cs, 1));
    border-radius: 50%; background: linear-gradient(150deg, rgba(43,15,28,.96), rgba(122,20,64,.94));
    will-change: transform; z-index: 2;
}
.cg-reveal-content { position: relative; z-index: 5; text-align: center; max-width: 580px; padding: 0 30px; }

.cg-cursor-zone { position: relative; }
.cg-cursor-ball { position: absolute; top: 0; left: 0; width: 220px; height: 220px; border-radius: 50%; background: rgba(226,36,106,.16); pointer-events: none; z-index: 0; opacity: 0; transition: opacity .35s ease; will-change: transform; }
.cg-cursor-zone:hover .cg-cursor-ball { opacity: 1; }
.cg-cursor-zone .container { position: relative; z-index: 1; }

/* page title band (inner pages) */
.cg-page-title { position: relative; background-color: var(--cg-plum); background-size: cover; background-position: center; }
.cg-page-title::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(30,11,20,.94) 0%, rgba(74,16,40,.88) 55%, rgba(226,36,106,.72) 100%); }
.cg-page-title .container { position: relative; }
@media (max-width: 991px) { .cg-page-title > .container { padding-top: 135px !important; padding-bottom: 60px !important; } }
@media (max-width: 575px) { .cg-page-title > .container { padding-top: 120px !important; padding-bottom: 50px !important; } }
.cg-breadcrumb { font-size: 14px; color: rgba(255,255,255,.6); }
.cg-breadcrumb a { color: rgba(255,255,255,.85); }
.cg-breadcrumb a:hover { color: #fff; }
.cg-breadcrumb .sep { margin: 0 8px; opacity: .5; }
.cg-title-hex { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 420px; opacity: .9; pointer-events: none; }

/* stack panels — theme supports 3 by default; Content Geek has 4 disciplines */
.stack-box .stack-item.stack-item-04 { z-index: 5; }
@media (min-width: 1200px) {
    .stack-box.cg-stack-4 { height: 400vh; }
}
/* stack panels */
.stack-item .cg-stack-num { font-size: 170px; line-height: 1; }

/* services detail */
.cg-include-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--extra-medium-gray); color: var(--dark-gray); font-weight: 500; }
.cg-include-list li i { color: var(--base-color); margin-top: 2px; }
.cg-sidebar-nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; border-radius: 8px; color: var(--dark-gray); font-weight: 500; transition: all .25s ease; }
.cg-sidebar-nav a:hover { background: var(--cg-blush); color: var(--base-color); }
.cg-sidebar-nav a.active { background: var(--cg-gradient); color: #fff; }
.cg-sticky-side { position: sticky; top: 120px; }

/* forms */
.form-control:focus { border-color: var(--base-color); box-shadow: 0 0 0 3px rgba(226,36,106,.12); }
.cg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cg-alert { border-radius: 8px; padding: 14px 18px; font-size: 15px; font-weight: 500; }
.cg-alert-success { background: #E8F7EF; color: #17663A; }
.cg-alert-error { background: #FDECEF; color: #9C1848; }

/* Lottie illustrations */
.cg-lottie { position: relative; width: 100%; aspect-ratio: 5 / 4; border-radius: 12px; background: linear-gradient(160deg, #FFF7FA 0%, #FFFFFF 70%); overflow: hidden; }
.cg-lottie.on-blush { background: linear-gradient(160deg, #FFFFFF 0%, #FFF7FA 100%); }
.cg-lottie.no-bg { background: transparent; }
.cg-lottie > svg { display: block; }
.cg-lottie::before { content: ""; position: absolute; inset: 22% 26%; border-radius: 50%; background: radial-gradient(circle, rgba(226,36,106,.10), transparent 70%); transition: opacity .4s ease; }
.cg-lottie.is-loaded::before { opacity: 0; }
.cg-lottie.is-failed { background: url('../images/placeholder.svg') center / cover; }
.cg-lottie.cg-lottie-wide { aspect-ratio: 16 / 9; }
.cg-lottie-frame { border-radius: 14px; box-shadow: 0 25px 60px rgba(43,15,28,.10); }
.cg-stack-lottie { display: flex; align-items: center; justify-content: center; padding: 40px; }
.cg-stack-lottie .cg-lottie { max-width: 640px; }

/* Blog */
.cg-post-card { transition: transform .35s ease, box-shadow .35s ease; border: 1px solid var(--extra-medium-gray); }
.cg-post-card:hover { transform: translateY(-6px); box-shadow: 0 25px 50px rgba(43,15,28,.12) !important; }
.cg-post-thumb { aspect-ratio: 16 / 10; background: var(--cg-blush); }
.cg-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cg-post-card:hover .cg-post-thumb img { transform: scale(1.05); }
.cg-post-cat { position: absolute; left: 18px; top: 18px; background: rgba(255,255,255,.95); color: var(--base-color); font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 5px 12px; border-radius: 30px; line-height: 18px; }
.cg-blog-filter a { display: inline-block; padding: 8px 18px; border-radius: 30px; border: 1px solid var(--extra-medium-gray); color: var(--dark-gray); font-size: 15px; line-height: 22px; transition: all .25s ease; }
.cg-blog-filter a span { font-size: 12px; opacity: .6; margin-left: 4px; }
.cg-blog-filter a:hover { border-color: var(--base-color); color: var(--base-color); }
.cg-blog-filter a.active { background: var(--cg-gradient); border-color: transparent; color: #fff; }
.cg-pagination a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--extra-medium-gray); color: var(--dark-gray); font-weight: 600; }
.cg-pagination a.active, .cg-pagination a:hover { background: var(--cg-gradient); border-color: transparent; color: #fff; }
.cg-share > span { white-space: nowrap; }
.cg-share a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--cg-blush); color: var(--base-color); transition: all .25s ease; }
.cg-share a:hover { background: var(--base-color); color: #fff; }
.cg-prose { font-size: 18px; line-height: 1.85; color: #5f565b; }
.cg-prose > * + * { margin-top: 1.1em; }
.cg-prose h2 { font-size: 30px; line-height: 1.3; margin-top: 1.6em; margin-bottom: .2em; color: var(--dark-gray); letter-spacing: -.5px; }
.cg-prose h3 { font-size: 23px; line-height: 1.35; margin-top: 1.4em; color: var(--dark-gray); }
.cg-prose h4 { font-size: 19px; margin-top: 1.3em; color: var(--dark-gray); }
.cg-prose p { margin-bottom: 0; }
.cg-prose a { color: var(--base-color); text-decoration: underline; text-underline-offset: 3px; }
.cg-prose ul, .cg-prose ol { padding-left: 1.4em; margin-bottom: 0; }
.cg-prose ul { list-style: disc; } .cg-prose ol { list-style: decimal; }
.cg-prose li { display: list-item; list-style: inherit; }
.cg-prose li { margin-bottom: .4em; }
.cg-prose ul li::marker { color: var(--base-color); }
.cg-prose blockquote { border-left: 4px solid var(--base-color); background: var(--cg-blush); padding: 18px 24px; border-radius: 0 8px 8px 0; font-style: italic; color: var(--dark-gray); }
.cg-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.cg-prose pre { background: var(--dark-gray); color: #fff; padding: 18px; border-radius: 8px; font-size: 14px; overflow-x: auto; }
.cg-prose .ql-align-center { text-align: center; } .cg-prose .ql-align-right { text-align: right; }
@media (max-width: 767px) { .cg-prose { font-size: 16px; } .cg-prose h2 { font-size: 24px; } .cg-prose h3 { font-size: 20px; } }

/* image fallback */
img.cg-img-fallback { object-fit: cover; }

/* ==========================================================
   Services mega menu
   ========================================================== */
@media (min-width: 992px) {
    header .navbar-nav .cg-mega { position: static; }
    header .navbar-nav .cg-mega .submenu-content { left: 50% !important; transform: translateX(-50%); width: min(1240px, calc(100vw - 60px)); }
    header .navbar-nav .cg-mega .mega-menu { width: 100%; padding: 38px 45px 34px !important; gap: 14px; }
    header .navbar-nav .cg-mega .mega-menu ul { padding: 0 !important; }
    header .navbar-nav .cg-mega .submenu-content { padding: 0 !important; border-radius: 0 0 12px 12px; box-shadow: 0 30px 60px rgba(43,15,28,.18); }
}
.cg-mega .mega-menu ul { list-style: none; padding-left: 0; margin: 0; }
.cg-mega .mega-menu .sub-title { font-family: var(--alt-font); font-size: 15px; font-weight: 600; margin-bottom: 10px !important; padding: 0 0 12px !important; border-bottom: 1px solid var(--extra-medium-gray); height: 37px; white-space: nowrap; }
.cg-mega .mega-menu .sub-title a { color: var(--dark-gray) !important; padding: 0 !important; display: flex; align-items: center; gap: 9px; }
.cg-mega .mega-menu .sub-title a i { color: var(--base-color); font-size: 17px; }
.cg-mega .mega-menu .sub-title a:hover { color: var(--base-color) !important; }
.cg-mega .mega-menu li { margin: 0 !important; padding: 0 !important; }
.cg-mega .mega-menu li:not(.sub-title) > a:not(.btn):not(.cg-mega-all) { font-size: 15px; line-height: 20px; padding: 5px 0 !important; display: block; color: var(--medium-gray); transition: color .2s ease, transform .2s ease; }
.cg-mega .mega-menu li:not(.sub-title) > a:not(.btn):not(.cg-mega-all):hover { color: var(--base-color); transform: translateX(4px); }
.cg-mega .cg-mega-cta { flex: 0 0 230px; max-width: 230px; }
.cg-mega-card { background: linear-gradient(150deg, #2B0F1C, #7A1440 70%, #E2246A); border-radius: 10px; padding: 28px 24px; height: 100%; }
.cg-mega-card .btn { color: var(--dark-gray) !important; padding: 9px 22px !important; display: inline-block; }
.cg-mega-card .cg-mega-card-text { color: rgba(255,255,255,.75); }
.cg-mega-card .cg-mega-all { color: #fff !important; opacity: .85; padding: 0 !important; }
.cg-mega-card .cg-mega-all:hover { opacity: 1; transform: none !important; }
@media (max-width: 1199px) and (min-width: 992px) {
    header .navbar-nav .cg-mega .mega-menu { padding: 30px; }
    .cg-mega .cg-mega-cta { display: none; }
}
@media (max-width: 991px) {
    .cg-mega .mega-menu .sub-title { border-color: rgba(255,255,255,.12); margin-top: 18px; height: auto; }
    .cg-mega .mega-menu .sub-title a { color: #fff !important; }
    .cg-mega .mega-menu li:not(.sub-title) > a:not(.btn):not(.cg-mega-all) { color: rgba(255,255,255,.7); }
    .cg-mega .cg-mega-cta { flex: none; max-width: none; margin-top: 20px; }
}

/* ==========================================================
   Preloader
   ========================================================== */
html.cg-preloading { overflow: hidden; }
#cgPreloader { position: fixed; inset: 0; z-index: 99999; background: linear-gradient(160deg, #1A0A12, #2B0F1C 55%, #4A1028); display: flex; align-items: center; justify-content: center; clip-path: circle(150% at 50% 50%); }
#cgPreloader .pre-inner { position: relative; text-align: center; }
#cgPreloader .pre-ring-wrap { position: relative; width: 132px; height: 132px; margin: 0 auto 26px; }
#cgPreloader .pre-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
#cgPreloader .pre-track { stroke: rgba(255,255,255,.12); stroke-width: 3; fill: none; }
#cgPreloader .pre-bar { stroke: url(#cgPreGrad); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; filter: drop-shadow(0 0 6px rgba(226,36,106,.6)); transition: stroke-dashoffset .25s ease; }
#cgPreloader .pre-crest { position: absolute; top: 50%; left: 50%; width: 70px; transform: translate(-50%, -50%); animation: preFloat 2.6s ease-in-out infinite; }
@keyframes preFloat { 0%,100% { transform: translate(-50%,-52%); } 50% { transform: translate(-50%,-48%); } }
#cgPreloader .pre-word { font-family: var(--alt-font); font-size: 40px; line-height: 1.2; font-weight: 600; letter-spacing: -.5px; color: #fff; white-space: nowrap; }
#cgPreloader .pre-word span { display: inline-block; opacity: 0; transform: translateY(24px); animation: preLetter .6s cubic-bezier(.2,.8,.2,1) forwards; }
#cgPreloader .pre-word b { color: var(--base-color); font-weight: 600; }
#cgPreloader .pre-word span:nth-child(1) { animation-delay: .15s; }
#cgPreloader .pre-word span:nth-child(2) { animation-delay: .3s; }
#cgPreloader .pre-word span:nth-child(3) { animation-delay: .45s; }
@keyframes preLetter { to { opacity: 1; transform: translateY(0); } }
#cgPreloader .pre-motto { margin-top: 10px; font-family: var(--alt-font); font-size: 18px; letter-spacing: .5px; color: rgba(255,255,255,.7); }
#cgPreloader .pre-motto span { display: inline-block; opacity: 0; animation: preFade .5s ease forwards; }
#cgPreloader .pre-motto span:nth-child(1) { animation-delay: .7s; }
#cgPreloader .pre-motto span:nth-child(2) { animation-delay: .9s; color: #fff; }
@keyframes preFade { to { opacity: 1; } }
#cgPreloader .pre-count { position: absolute; bottom: -70px; left: 50%; transform: translateX(-50%); font-size: 15px; letter-spacing: 2px; color: rgba(255,255,255,.5); }
#cgPreloader.pre-exit .pre-inner { transition: opacity .4s ease, transform .4s ease; opacity: 0; transform: translateY(-26px) scale(.96); }
#cgPreloader.pre-collapse { transition: clip-path .85s cubic-bezier(.7,0,.2,1); clip-path: circle(0% at 50% 50%); }

/* flip cards: tap state */
.rotate-box-style-01 .rm-rotate-box.cg-flipped .flipper .front { transform: rotateY(-180deg); }
.rotate-box-style-01 .rm-rotate-box.cg-flipped .flipper .back { transform: rotateY(0deg); }
.rotate-box-style-01 .rm-rotate-box.cg-flipped .flipper.to-right .front { transform: rotateY(180deg); }
.rotate-box-style-01 .rm-rotate-box.cg-flipped .flipper.to-top .front { transform: rotateX(180deg); }
.rotate-box-style-01 .rm-rotate-box.cg-flipped .flipper.to-top .back { transform: rotateX(0deg); }
.rotate-box-style-01 .back .box-overlay { background: linear-gradient(150deg, #2B0F1C, #7A1440) !important; }

/* mobile logo swap: light over the dark hero, dark on the white sticky header */
@media (max-width: 991px) {
    header:not(.sticky-active) .navbar-brand .cg-ml-dark,
    header.sticky-active .navbar-brand .cg-ml-light { display: none !important; }
    header .navbar-brand .cg-ml-light, header .navbar-brand .cg-ml-dark { transition: none !important; width: auto !important; }
}
@media (min-width: 992px) { header .navbar-brand .cg-ml-light, header .navbar-brand .cg-ml-dark { display: none; } }
.cg-counter-num { display: flex; justify-content: center; align-items: baseline; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link { font-size: 16px; padding-left: 11px; padding-right: 11px; }
    .cg-hero-title { font-size: 58px; line-height: 62px; }
}
@media (max-width: 991px) {
    html { scroll-behavior: smooth; }
    .navbar .navbar-nav .nav-link { font-size: 18px; }
    header .navbar-brand img { max-height: 46px; }
    .cg-hero-sticky, .cg-reveal-sticky { height: auto; min-height: 100vh; padding: 140px 0 60px; flex-direction: column; }
    .cg-hero-circle-bg { width: 86vw; height: 86vw; max-width: none; max-height: none; transform: translate(-50%,-50%) scale(1) !important; }
    .cg-hero-ring { display: none; }
    .cg-reveal-circle-bg { width: 150vw; height: 150vw; max-width: none; max-height: none; transform: translate(-50%,-50%) scale(1) !important; }
    .cg-hero-content { width: 100%; }
    .cg-hero-counters { position: relative; bottom: auto; width: 100%; margin-top: 50px; }
    .cg-cursor-ball { display: none; }
    .cg-sticky-side { position: static; }
    .cg-title-hex { display: none; }
    header:not(.sticky-active) .navbar.bg-transparent { background-color: transparent !important; }
    header.sticky-active .navbar.bg-transparent { background-color: #fff !important; box-shadow: 0 10px 30px rgba(43,15,28,.08); }
    header:not(.sticky-active) .header-transparent[data-header-hover=light] .navbar-toggler-line { background-color: #fff !important; }
    header.sticky-active .header-transparent[data-header-hover=light] .navbar-toggler-line { background-color: var(--dark-gray) !important; }
    .stack-item .cg-stack-num { font-size: 110px; }
}
@media (max-width: 767px) {
    .cg-hero-title { font-size: 44px; line-height: 50px; letter-spacing: -1px; }
    .cg-hero-crest { height: 64px; }
    .cg-hero-content .btn { margin-bottom: 12px; }
    .cg-page-title h1 { font-size: 36px; line-height: 44px; }
    .stack-item .cg-stack-num { font-size: 80px; }
    .cg-faq .accordion-body { padding: 0 10px 22px 44px; }
}
@media (max-width: 575px) {
    #cgPreloader .pre-word { font-size: 28px; }
    #cgPreloader .pre-motto { font-size: 15px; }
    .cg-hero-sticky { padding: 110px 0 45px; }
    .cg-hero-title { font-size: 36px; line-height: 42px; }
    .cg-hero-counters .vertical-counter { font-size: 24px; }
    .cg-hero-counters .cg-counter-label { font-size: 12px; line-height: 17px; display: block; }
    header .navbar-brand img { max-height: 42px; }
    .cg-whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
    .form-control { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .cg-hero-circle-bg, .cg-reveal-circle-bg { transform: translate(-50%,-50%) scale(1) !important; }
    .cg-cursor-ball { display: none; }
}
