/* ========================================
   Author Rise Legacy - Global Styles
======================================== */

:root {
    --red-start: #E60000;
    --red-end: #A20A21;
    --blue-start: #2D4484;
    --blue-end: #001962;
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --white: #ffffff;
    --font-heading: 'Stella Nova', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --red-gradient: linear-gradient(135deg, var(--red-start) 0%, var(--red-end) 100%);
    --blue-gradient: linear-gradient(135deg, var(--blue-start) 0%, var(--blue-end) 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: #fafafa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
}

/* ========================================
   Buttons
======================================== */

.btn-primary-red {
    background: var(--red-gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-red:hover,
.btn-primary-red:focus {
    color: var(--white);
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.28);
}

.btn-outline-dark-custom {
    background: transparent;
    color: #000000;
    border: 1.5px solid #000000;
    border-radius: 50px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    transition: background 0.25s ease, color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-dark-custom:hover,
.btn-outline-dark-custom:focus {
    background: var(--text-dark);
    color: var(--white);
}

/* ========================================
   Header / Navbar
======================================== */

.header-marquee {
    width: 100%;
    overflow: hidden;
    background: var(--blue-gradient);
    color: var(--white);
}

.header-marquee__track {
    overflow: hidden;
}

.header-marquee__text {
    display: flex;
    width: max-content;
    margin: 0;
    animation: header-marquee-scroll 45s linear infinite;
    will-change: transform;
}

.header-marquee__text span {
    flex-shrink: 0;
    padding: 9px 0;
    padding-right: 4rem;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

@keyframes header-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-marquee__text {
        animation: none;
        width: 100%;
        justify-content: center;
        text-wrap: balance;
        text-align: center;
    }

    .header-marquee__text span[aria-hidden="true"] {
        display: none;
    }

    .header-marquee__text span {
        white-space: normal;
        padding-right: 0;
    }
}


.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: transparent;
    width: 100%;
}

.site-header .navbar {
    padding: 18px 0;
}

.site-header .navbar > .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.site-header .navbar-brand {
    justify-self: start;
}

.site-header .header-nav {
    justify-self: center;
}

.site-header .header-actions {
    justify-self: end;
}

.logo-img {
    width: 300px;
    height: auto;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 20px;
    color: #333;
    padding: 8px 16px !important;
    position: relative;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--red-start);
}

.navbar-nav .nav-link.active {
    color: var(--text-dark);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 3px;
    width: 27px;
    background: var(--red-gradient);
    border-radius: 20px;
}

.btn-consult {
    font-size: 18px;
    padding: 11px 22px;
    white-space: nowrap;
}

.navbar-toggler {
    border: 1px solid var(--border-light);
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.7);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 26, 46, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Offcanvas nav */
.nav-offcanvas {
    width: min(360px, 100%);
}

.nav-offcanvas .offcanvas-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.nav-offcanvas .offcanvas-body {
    padding: 24px;
}

.nav-offcanvas .navbar-nav .nav-link {
    padding: 12px 0 !important;
    font-size: 16px;
}

.nav-offcanvas .navbar-nav .nav-link.active::after {
    left: 0;
    right: auto;
    width: 36px;
    bottom: 8px;
}

.nav-offcanvas .btn-consult {
    width: 100%;
    white-space: normal;
    text-align: center;
}

/* ========================================
   Hero Banner
======================================== */

.hero-banner {
    position: relative;
    padding: 220px 0 120px;
    overflow: hidden;
}

/* Decorative glows */
.glow {
    pointer-events: none;
    z-index: 0;
}

.glow-top-left {
    position: absolute;
    width: 276.08px;
    height: 186.71px;
    left: -85px;
    top: 0;
    background: linear-gradient(90deg, rgba(218, 3, 3, 0.6) 0%, rgba(9, 50, 164, 0.6) 100%);
    filter: blur(150px);
    border-radius: 178.273px;
    transform: rotate(-72.06deg);
}

.glow-bottom-right {
    position: absolute;
    width: 335.57px;
    height: 282.59px;
    right: -230px;
    bottom: 200px;
    background: linear-gradient(90deg, #DA0303 0%, #0932A4 100%);
    opacity: 0.4;
    filter: blur(125px);
    transform: rotate(-45.01deg);
}

.hero-flag {
    position: absolute;
    right: -40px;
    top: 0;
    max-width: 1067px;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.hero-flag img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-banner .container {
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 70px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--blue-end);
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.hero-title .text-red {
    display: inline;
    font-size: clamp(2.8rem, 4.5vw, 80px);
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    color: #000000;
    max-width: 711px;
    margin-bottom: 42px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ========================================
   Lead Form Card
======================================== */

.lead-form-card {
    position: relative;
    z-index: 2;
    isolation: isolate;
    overflow: hidden;
    border-radius: 14px;
    padding: 40px 28px 28px;
    max-width: 487px;
    margin-left: auto;
    background:
    linear-gradient(90deg, rgb(255 255 255 / 60%) 0%, rgb(255 255 255 / 60%) 100%), rgb(255 255 255 / 60%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 10px 36px rgba(0, 25, 98, 0.1);
}

/* Red top bar */
.lead-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 17px;
    background: var(--red-gradient);
    z-index: 2;
}

/* Red - blue gradient border */
.lead-form-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1.5px;
    background: linear-gradient(90deg, #DA0303 0%, #0932A4 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.lead-form-card > * {
    position: relative;
    z-index: 1;
}

.form-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2vw, 35px);
    font-weight: 400;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1.3;
}

.form-title .title-blue {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.form-title .title-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--blue-end);
    text-align: center;
    margin-bottom: 24px;
}

.lead-form-card .form-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #484848;
    margin-bottom: 6px;
}

.lead-form-card .form-control {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-dark);
    background-color: #F6F6F6;
    border: 1px solid #CCCCCC;
    border-radius: 4.61px;
    padding: 15px 5px 15px 18px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.lead-form-card .form-control::placeholder {
    color: #b0b5bd;
}

.lead-form-card .form-control:focus {
    background-color: #fafafa;
    border-color: var(--red-start);
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.08);
}

.lead-form-card textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* Service chips */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.service-chip {
    margin: 0;
    cursor: pointer;
}

.service-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-chip span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 42px;
    padding: 8px 6px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f5f5f5;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    line-height: 1.25;
}

.service-chip:hover span {
    border-color: #B22929;
    color: #B22929;
}

.service-chip input:checked + span {
    color: #B22929;
    border-color: #B22929;
    background: rgba(230, 0, 0, 0.06);
}

.btn-submit {
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 300;
}

/* ========================================
   About Section
======================================== */

.about-section {
    position: relative;
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.about-glow {
    position: absolute;
    width: 99.4px;
    height: 270.68px;
    left: -63px;
    top: 50%;
    margin-top: -135.34px;
    background: linear-gradient(90deg, rgba(218, 3, 3, 0.5) 0%, rgba(9, 50, 164, 0.5) 100%);
    filter: blur(100px);
    border-radius: 178.273px;
    transform: matrix(-1, 0.06, 0.06, 1, 0, 0);
    pointer-events: none;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    padding-right: 20px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 55px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-title .t-blue {
    display: block;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-title .t-red {
    display: block;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    max-width: 708px;
    margin-bottom: 32px;
}

.about-text p {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    color: #333;
    margin-bottom: 18px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-actions .btn {
    font-size: 18px;
    font-weight: 400;
}

.about-media {
    position: relative;
    z-index: 1;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Publishing Points Section
======================================== */

.publishing-points-section {
    position: relative;
    padding: 100px 0;
    background: #fff;
}

.publishing-points-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 55px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 18px;
}

.publishing-points-title .t-blue {
    display: block;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.publishing-points-title .t-red {
    display: block;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.publishing-points-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    color: #000000;
    max-width: none;
    margin-bottom: 0;
    padding-left: 10px;
}

.publishing-points-highlight {
    max-width: 520px;
    padding: 22px 24px 22px 20px;
    position: relative;
    background: linear-gradient(135deg, rgba(218, 3, 3, 0.04) 0%, rgba(9, 50, 164, 0.06) 100%);
    border: 1px solid rgba(9, 50, 164, 0.12);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 25, 98, 0.05);
}

.publishing-points-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--red-gradient);
}

.publishing-points-list {
    padding-left: 20px;
}

.publishing-point {
    margin-bottom: 28px;
}

.publishing-point:last-of-type {
    margin-bottom: 36px;
}

.publishing-point-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.publishing-check {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.publishing-point-title {
    font-family: var(--font-body);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.publishing-point-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.65;
    color: #000000;
    margin: 0;
}

.publishing-points-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.publishing-points-actions .btn {
    font-size: 18px;
    font-weight: 400;
}

/* ========================================
   Book Life Services Section
======================================== */

.book-life-section {
    position: relative;
    padding: 120px 0;
    background: url('../images/services-bg.webp') center center / cover no-repeat;
}

.book-life-header {
    max-width: 959px;
    margin: 0 auto 48px;
}

.book-life-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 55px);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 18px;
}

.book-life-title .t-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.book-life-title .t-white {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.book-life-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 959px;
    margin: 0 auto;
}

.book-life-card {
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 24px;
}

.book-life-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
}

.book-life-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-life-card-body {
    padding: 18px 4px 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-life-card-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.book-life-card-title .t-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.book-life-card-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: #151515;
    margin-bottom: 24px;
    flex: 1;
}

.btn-book-life {
    align-self: flex-start;
    font-size: 18px;
    font-weight: 400;
    padding: 15px 30px;
}

.book-life-swiper {
    padding-bottom: 40px;
    overflow: hidden;
}

.book-life-swiper .book-life-card {
    height: auto;
}

.book-life-swiper-pagination {
    bottom: 0 !important;
}

.book-life-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

.book-life-swiper-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

/* ========================================
   Process Section
======================================== */

.process-section {
    position: relative;
    padding: 100px 0 60px;
    background: #fff;
    overflow: visible;
}

.process-header {
    max-width: 939px;
    margin: 0 auto 40px;
}

.process-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 55px);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 16px;
}

.process-title .t-blue {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-title .t-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    color: #000000;
    max-width: 939px;
    margin: 0 auto;
}

.process-flow {
    position: relative;
}

.process-stage {
    --process-pad: 190px;
    --process-pad-bottom: 230px;
    --process-card-space: 155px;
    position: relative;
    margin: 0 auto;
    padding-top: var(--process-pad);
    padding-bottom: var(--process-pad-bottom);
}

.process-visual {
    position: relative;
    z-index: 1;
}

.process-svg {
    width: 100%;
    height: auto;
    display: block;
}

.process-connector {
    position: absolute;
    left: var(--x);
    width: 1.5px;
    background: #9ca3af;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

/* Icon bottoms ~72.9% into SVG (trough icons 1/3/5) â†’ boxes below */
.process-connector--down {
    top: calc(var(--process-pad) + 0.729 * (100% - var(--process-pad) - var(--process-pad-bottom)));
    bottom: 0;
}

/* Icon tops ~39.4% into SVG (peak icons 2/4) â†’ boxes above */
.process-connector--up {
    top: 0;
    bottom: calc(var(--process-pad-bottom) + 0.606 * (100% - var(--process-pad) - var(--process-pad-bottom)));
}

.process-card {
    position: absolute;
    left: var(--x);
    transform: translateX(-50%);
    width: 100%;
    max-width: 370px;
    padding: 18px 20px;
    border: 1.09px solid #B22929;
    border-radius: 10.92px;
    background: #fff;
    z-index: 2;
    text-align: center;
}

.process-card--top {
    top: 0;
}

.process-card--bottom {
    bottom: 0;
}

.process-card-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 10px;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-card-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.55;
    color: #000;
    margin: 0;
}

.process-flow--mobile {
    margin-top: 10px;
    padding-bottom: 8px;
}

.process-swiper {
    padding-bottom: 40px;
    overflow: hidden;
}

.process-card--slide {
    position: relative;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 28px 22px 24px;
}

.process-card-icon {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 18px;
    object-fit: contain;
}

.process-swiper-pagination {
    bottom: 0 !important;
}

.process-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #c4c4c4;
    opacity: 1;
}

.process-swiper-pagination .swiper-pagination-bullet-active {
    background: #B22929;
}

/* ========================================
   FAQ Section
======================================== */

.faq-section {
    position: relative;
    padding: 100px 0 0;
    background: #fff;
    overflow: hidden;
}

.faq-glow {
    position: absolute;
    top: 50%;
    background: linear-gradient(90deg, #DA0303 0%, #0932A4 100%);
    filter: blur(125px);
    transform: translateY(-50%) rotate(-45.01deg);
    pointer-events: none;
    z-index: 0;
}

.faq-glow--top {
    width: 458.3px;
    height: 458.3px;
    left: -390.98px;
    opacity: 0.4;
}

.faq-glow--bottom {
    width: 450.15px;
    height: 450.15px;
    right: -300px;
    left: auto;
    opacity: 0.25;
}

.faq-header {
    position: relative;
    z-index: 1;
    max-width: 939px;
    margin: 0 auto 48px;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 55px);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 16px;
}

.faq-title .t-blue {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-title .t-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    color: #000;
    margin: 0 auto;
}

.faq-accordion {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-accordion .accordion-item {
    background: #f3f3f3;
    border: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
}

.faq-accordion .accordion-item:has(.accordion-collapse.show),
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    background: #fff;
    border-color: #B22929;
}

.faq-accordion .accordion-button {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: #514B4B;
    background: transparent;
    box-shadow: none;
    padding: 18px 52px 18px 22px;
    border-radius: 10px !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #000;
    background: transparent;
    box-shadow: none;
    font-weight: 600;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-accordion .accordion-button::after {
    position: absolute;
    right: 20px;
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    flex-shrink: 0;
}

.faq-accordion .accordion-body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
    color: #171717;
    padding: 0 22px 20px;
}

.faq-media {
    position: relative;
    z-index: 1;
    text-align: center;
}

.faq-img {
    display: inline-block;
    max-width: 100%;
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
}

/* ========================================
   Contact Section
======================================== */

.contact-section {
    position: relative;
    padding: 0 0 80px;
    background: #fff;
}

.contact-panel {
    position: relative;
    padding: 48px 40px;
    border-radius: 28px;
    background: url("../images/contact-bg.webp") center / cover no-repeat;
    overflow: hidden;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 460px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 55px);
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 18px;
}

.contact-title .t-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 28px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-contact-solid {
    background: #fff;
    color: #111;
    border: 1.5px solid #fff;
    border-radius: 50px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.btn-contact-solid:hover,
.btn-contact-solid:focus {
    background: var(--red-gradient);
    border-color: transparent;
    color: #fff;
    opacity: 1;
    transform: translateY(-1px);
}

.btn-contact-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
    border-radius: 50px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-contact-outline:hover,
.btn-contact-outline:focus {
    background: #fff;
    color: #111;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.contact-form .form-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #333;
    background-color: #f3f3f3;
    border: none;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: none;
    min-height: 50px;
}

.contact-form .form-control::placeholder {
    color: #9a9a9a;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.15);
    border-color: transparent;
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
}

.contact-form .phone-field {
    gap: 10px;
}

.contact-form .phone-country {
    width: 100%;
    max-width: none;
    flex: none;
    min-height: 50px;
    border: none;
    border-radius: 8px;
    background-color: #f3f3f3;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    padding: 14px 40px 14px 16px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}

.contact-form .phone-country:focus {
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.15);
    border-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}

.contact-form .phone-input-wrap .form-control {
    min-height: 50px;
    background-color: #f3f3f3;
    border: none;
    border-radius: 8px;
}

.contact-form .phone-dial-code {
    color: var(--blue-end);
    font-weight: 600;
}

.btn-contact-submit {
    gap: 10px;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 400;
    margin-top: 4px;
}

.btn-submit-icon {
    flex-shrink: 0;
    width: 19.45px;
    height: 21.73px;
    display: block;
}

/* ========================================
   Services Section
======================================== */

.services-section {
    position: relative;
    padding: 90px 0 100px;
    background: #fff;
    overflow: hidden;
}

.services-header {
    max-width: 690px;
    margin: 0 auto 70px;
}

.services-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 55px);
    font-weight: 400;
    margin-bottom: 16px;
}

.services-title .t-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-title .t-blue {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-subtitle {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    color: #000000;
    margin: 0 auto;
}

.services-box {
    position: relative;
    /* overflow: hidden; */
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.services-glow {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 178.273px;
    background: linear-gradient(90deg, rgba(218, 3, 3, 0.25) 0%, rgba(9, 50, 164, 0.25) 100%);
}

.services-glow-tl {
    width: 238.65px;
    height: 238.65px;
    top: -80px;
    left: -80px;
    filter: blur(100px);
    transform: rotate(-36.44deg);
}

.services-glow-br {
    width: 220.23px;
    height: 220.23px;
    right: -80px;
    bottom: -80px;
    filter: blur(75px);
    transform: rotate(-30deg);
}

.services-box .row {
    position: relative;
    z-index: 1;
}

.service-card {
    height: 100%;
    padding: 32px 28px 40px;
    border: 1px solid #B5B5B5;
    background: #fff;
}

/* .services-box .col-lg-4:nth-child(3n) .service-card {
    border-right: none;
}

.services-box .col-lg-4:nth-child(n+4) .service-card {
    border-bottom: none;
} */

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.service-icon {
    width: 66px;
    height: auto;
    flex-shrink: 0;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    color: #DA0303;
    border: 1px solid #DA0303;
    border-radius: 50px;
    white-space: nowrap;
    line-height: 1.2;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.7vw, 30px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.65;
    color: #000000;
    margin-bottom: 28px;
}

.btn-learn-more {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 400;
}

.services-box--mobile {
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding-bottom: 8px;
}

.services-swiper {
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
    overflow: hidden;
}

.services-swiper .service-card {
    border-radius: 10px;
    height: auto;
    min-height: 100%;
}

.services-swiper-pagination {
    bottom: 0 !important;
}

.services-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #c4c4c4;
    opacity: 1;
}

.services-swiper-pagination .swiper-pagination-bullet-active {
    background: #B22929;
}

/* ========================================
   CTA Section
======================================== */

.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: url('../images/cta-bg.webp') center center / cover no-repeat;
}

.cta-section .container {
    z-index: 1;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 50px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-title .t-red {
    font-size: clamp(1.75rem, 3.5vw, 50px);
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-title .t-white {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.cta-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 730px;
    margin: 0 auto 32px;
}

.btn-cta-chat {
    padding: 14px 36px;
    font-size: 18px;
    font-weight: 400;
}

/* ========================================
   Publishing Page
======================================== */

.pub-eyebrow {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: #B22929;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pub-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 55px);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 18px;
}

.pub-section-title .t-blue {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pub-section-title .t-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pub-section-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: #000;
    margin-bottom: 20px;
}

.pub-solutions {
    padding: 100px 0;
    background: #fff;
}

.pub-solutions-list {
    margin: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pub-solutions-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 18px 18px 16px;
    border: 1px solid #e8e8e8;
    border-left: 3px solid #B22929;
    border-radius: 12px;
    background: #fafafa;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.pub-solutions-list li:hover {
    background: #fff;
    border-color: #B22929;
    box-shadow: 0 8px 24px rgba(178, 41, 41, 0.08);
}

.pub-solutions-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pub-solutions-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.pub-solutions-item-body {
    min-width: 0;
}

.pub-solutions-item-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 6px;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pub-solutions-list p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.pub-solutions-media {
    position: relative;
}

.pub-solutions-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    max-height: 720px;
}

.pub-craft {
    padding: 100px 0;
    background: linear-gradient(90deg, #001962 0%, #2D4484 42%, #A20A21 100%);
    overflow: hidden;
}

.pub-craft-media {
    position: relative;
}

.pub-craft-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    max-height: 560px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.pub-craft-content {
    color: #fff;
}

.pub-craft-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 18px;
}

.pub-craft-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 22px;
}

.pub-craft-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 28px;
}

.pub-craft-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

.pub-craft-list-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 14px;
}

.btn-craft-cta {
    background: #fff;
    color: #111;
    border: 1.5px solid #fff;
    border-radius: 50px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-craft-cta:hover,
.btn-craft-cta:focus {
    background: transparent;
    color: #fff;
    transform: translateY(-1px);
}

.pub-expertise {
    padding: 100px 0;
    background: #fff;
}

.pub-expertise-header {
    max-width: 820px;
    margin: 0 auto 48px;
}

.pub-expertise-slider {
    position: relative;
}

.pub-expertise-swiper {
    padding-bottom: 44px;
    padding-top: 20px;
    overflow: hidden;
}

.pub-expertise-card {
    height: 100%;
    min-height: 280px;
    padding: 32px 28px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pub-expertise-card:hover {
    border-color: #B22929;
    box-shadow: 0 14px 32px rgba(178, 41, 41, 0.1);
    transform: translateY(-4px);
}

.pub-expertise-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.1) 0%, rgba(9, 50, 164, 0.1) 100%);
    color: #B22929;
    font-size: 22px;
}

.pub-expertise-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 12px;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pub-expertise-card p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #151515;
    margin: 0;
}

.pub-expertise-pagination {
    bottom: 0 !important;
}

.pub-expertise-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #c4c4c4;
    opacity: 1;
}

.pub-expertise-pagination .swiper-pagination-bullet-active {
    background: #B22929;
}

.pub-steps {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(
        115deg,
        #001962 0%,
        #2D4484 28%,
        #6b1f4a 52%,
        #A20A21 78%,
        #001962 100%
    );
    background-size: 220% 220%;
    animation: pub-steps-bg 14s ease-in-out infinite;
}

@keyframes pub-steps-bg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-steps {
        animation: none;
        background-size: 100% 100%;
        background-position: center;
    }
}

.pub-steps-header {
    max-width: 820px;
    margin: 0 auto 52px;
}

.pub-eyebrow--light {
    color: rgba(255, 255, 255, 0.85);
}

.pub-steps-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 0;
}

.pub-steps-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    margin: 18px auto 20px;
    background: rgba(255, 255, 255, 0.55);
}

.pub-steps-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
    max-width: 720px;
}

.pub-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

.pub-step-connector {
    display: none;
}

.pub-step-card {
    height: 100%;
    min-height: 280px;
    padding: 28px 22px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.pub-step-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
}

.pub-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 28px;
    padding: 0 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
}

.pub-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 24px;
}

.pub-step-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #fff;
}

.pub-step-card p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

@media (min-width: 768px) {
    .pub-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (min-width: 1200px) {
    .pub-steps-grid {
        grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
        gap: 0 12px;
        align-items: center;
    }

    .pub-step-connector {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        min-height: 1px;
        align-self: center;
    }

    .pub-step-connector::before,
    .pub-step-connector::after {
        content: "";
        flex: 1 1 auto;
        height: 1px;
        background: rgba(255, 255, 255, 0.45);
    }

    .pub-step-connector span {
        flex: 0 0 auto;
        width: 7px;
        height: 7px;
        margin: 0 4px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
    }
}

.pub-faq .faq-header {
    margin-bottom: 40px;
}

.pub-faq .pub-eyebrow {
    text-align: center;
}

/* ========================================
   Footer
======================================== */

.site-footer {
    position: relative;
    padding: 70px 0 0;
    background: #f7f5f6;
    color: #6b7280;
    font-size: 15px;
    overflow: hidden;
}

.site-footer::before,
.site-footer::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(90deg, #DA0303 0%, #0932A4 100%);
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.site-footer::before {
    left: -160px;
    top: 40%;
}

.site-footer::after {
    right: -160px;
    top: 30%;
}

.site-footer > .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    padding-bottom: 48px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-logo-img {
    display: block;
    max-width: 220px;
    height: auto;
}

.footer-about {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #6b7280;
    max-width: 340px;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #6b7280;
    border-radius: 50%;
    color: #4b5563;
    font-size: 15px;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus {
    color: #fff;
    border-color: #B22929;
    background: var(--red-gradient);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 400;
    color: #B22929;
    margin-bottom: 18px;
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li + li {
    margin-top: 10px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: #353535;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #A20A21;
}

.footer-contact {
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.55;
}

.footer-contact li + li {
    margin-top: 14px;
}

.footer-contact i {
    margin-top: 3px;
    color: #1a1a2e;
    font-size: 14px;
    width: 16px;
    flex-shrink: 0;
    text-align: center;
}

.footer-contact a {
    color: #6b7280;
    transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: #A20A21;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 0;
    border-top: 1px solid #d7dce5;
}

.footer-copy,
.footer-privacy {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #1e2a4a;
}

.footer-privacy {
    transition: color 0.2s ease;
}

.footer-privacy:hover,
.footer-privacy:focus {
    color: #A20A21;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1399.98px) {
    .hero-flag {
        max-width: 730px;
    }
    .logo-img {
        width: 220px;
    }
    
    .navbar-nav .nav-link {
        font-size: 16px;
    }
    
    .btn-consult {
        font-size: 16px;
    }
}

@media (max-width: 1199.98px) {
    .hero-flag {
        width: min(520px, 44vw);
        right: -60px;
        opacity: 0.7;
    }

    .process-stage {
        --process-pad: 175px;
        --process-pad-bottom: 215px;
        --process-card-space: 145px;
    }

    .process-card {
        max-width: 300px;
        padding: 14px 16px;
    }

    .process-card-title {
        font-size: 22px;
    }

    .process-card-text {
        font-size: 14px;
    }
    .navbar-nav .nav-link {
        padding: 8px 12px !important;
    }
    
    .btn-consult {
        font-size: 14px;
    }
    
    .logo-img {
        width: 200px;
    }
    
    .lead-form-card .form-control {
        padding: 10px 5px 10px 12px;
    }
    
    .service-chip span {
        font-size: 10px;
        min-height: 30px;
    }
    
    .btn-submit {
        font-size: 14px;
    }
    
    .service-badge {
        font-size: 14px;
    }
    
    .service-card-text {
        font-size: 16px;
    }
    
    .btn-learn-more {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .service-icon {
        width: auto;
        height: 60px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .about-actions .btn {
        font-size: 14px;
    }
    
    .about-actions {
        gap: 5px;
    }
    
    .publishing-point-text {
        font-size: 16px;
    }
    
    .publishing-point-title {
        font-size: 20px;
    }
    
    .publishing-points-text {
        font-size: 16px;
    }
    
    .publishing-points-actions .btn {
        font-size: 14px;
    }
    
    .publishing-points-actions {
        gap: 5px;
    }
    
    .book-life-text {
        font-size: 16px;
    }
    
    .book-life-card-title {
        font-size: 20px;
    }
    
    .book-life-card-text {
        font-size: 14px;
    }
    
    .btn-book-life {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .process-text {
        font-size: 16px;
        max-width: 749px;
    }
    
    .faq-text {
        font-size: 16px;
        max-width: 749px;
    }
    
    .faq-accordion .accordion-button {
        font-size: 16px;
    }
    
    .faq-accordion .accordion-body {
        font-size: 14px;
    }
    .contact-text {
        font-size: 16px;
    }
    
    .btn-contact-solid {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .btn-contact-outline {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .btn-contact-submit {
        font-size: 16px;
    }
    
    .contact-form .form-control, .contact-form .form-select {
        padding: 10px 14px;
        min-height: 40px;
    }
    
    .footer-heading {
        font-size: 20px;
    }
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        padding: 12px 0;
    }

    .site-header .navbar > .container {
        grid-template-columns: 1fr auto;
    }

    .hero-banner {
        padding: 130px 0 60px;
        min-height: auto;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-flag {
        width: 70%;
        right: -10%;
        top: auto;
        bottom: 0;
        transform: none;
        opacity: 0.35;
    }

    .lead-form-card {
        max-width: 520px;
        margin: 0 auto;
    }

    .about-section {
        padding: 70px 0;
    }

    .about-content {
        padding-right: 0;
        text-align: center;
    }

    .about-text {
        margin-left: auto;
        margin-right: auto;
    }

    .about-actions {
        justify-content: center;
    }

    .publishing-points-section {
        padding: 70px 0;
    }

    .publishing-points-content {
        text-align: center;
    }

    .publishing-points-highlight {
        max-width: 100%;
        margin: 0 auto;
        text-align: left;
    }

    .publishing-points-list {
        padding-left: 0;
    }

    .publishing-points-actions {
        justify-content: center;
    }

    .book-life-section {
        padding: 70px 0;
    }

    .book-life-header {
        margin-bottom: 36px;
    }

    .book-life-card-title {
        font-size: 22px;
    }

    .process-section {
        padding: 70px 0 40px;
    }

    .process-card-title {
        font-size: 22px;
    }

    .process-text {
        font-size: 18px;
    }

    .process-card-icon {
        width: 88px;
        height: 88px;
    }

    .faq-section {
        padding: 70px 0 0;
    }

    .faq-header {
        margin-bottom: 36px;
    }

    .faq-text {
        font-size: 18px;
    }

    .faq-accordion .accordion-button {
        font-size: 17px;
        padding: 16px 48px 16px 18px;
    }

    .faq-img {
        width: min(100%, 420px);
        margin-top: 10px;
    }

    .contact-section {
        padding: 0 0 50px;
    }

    .site-footer {
        padding-top: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .contact-panel {
        padding: 32px 22px;
        border-radius: 20px;
    }

    .contact-title {
        font-size: clamp(1.6rem, 6vw, 29px);
    }

    .contact-text {
        font-size: 16px;
    }

    .contact-actions {
        margin-bottom: 8px;
        justify-content: center;
    }

    .btn-contact-solid,
    .btn-contact-outline,
    .btn-contact-submit {
        font-size: 16px;
        padding: 11px 22px;
    }

    .services-section {
        padding: 70px 0 80px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .hero-title br {display: none;}
    .contact-content{
        max-width: 100%;
        text-align: center;
    }
    .contact-form{
        padding: 0 30px;
    }
}

@media (max-width: 767.98px) {
    .service-badge {
        font-size: 14px;
        padding: 5px 12px;
    }
    .process-card {
        max-width: 450px;
        padding: 35px 25px;
    }
}

@media (max-width: 575.98px) {
    .logo-img {
        height: 42px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-form-card {
        padding: 22px 18px 24px;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .glow-bottom-right {
        right: -120px;
        width: 320px;
        height: 320px;
    }

    .services-header {
        margin-bottom: 32px;
    }

    .service-card {
        padding: 28px 22px 30px;
    }

    .about-actions .btn {
        width: 100%;
    }

    .publishing-point-title {
        font-size: 20px;
    }

    .publishing-points-actions .btn {
        width: 100%;
    }

    .cta-section {
        padding: 70px 0;
    }

    .pub-solutions,
    .pub-expertise {
        padding: 70px 0;
    }

    .pub-steps {
        padding: 70px 0;
    }

    .pub-steps-text {
        font-size: 16px;
    }

    .pub-step-title {
        font-size: 22px;
    }

    .pub-step-card {
        min-height: 0;
        padding: 24px 18px 26px;
    }

    .pub-step-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .pub-craft {
        padding: 70px 0;
    }

    .pub-craft-text {
        font-size: 16px;
    }

    .btn-craft-cta {
        font-size: 16px;
        padding: 12px 24px;
    }

    .pub-solutions-list li {
        padding: 16px 14px;
    }

    .pub-solutions-item-title {
        font-size: 20px;
    }

    .pub-expertise-title {
        font-size: 20px;
    }

    .pub-expertise-card {
        min-height: 260px;
        padding: 26px 22px;
    }

    .pub-expertise-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
        border-radius: 12px;
    }

    .hero-text {
        font-size: 16px;
    }
    
    .services-title {
        line-height: 40px;
    }
    
    .services-subtitle {
        font-size: 16px;
    }
    
    .cta-title {
        line-height: 1.3;
    }
    
    .contact-form {
        padding: 0;
    }
    
    .btn-contact-submit {width: 100%;}
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }

    .abt-hero {
        padding: 160px 0 70px;
    }

    .abt-hero-text {
        font-size: 16px;
    }

    .abt-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .abt-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cnt-hero {
        padding: 160px 0 50px;
    }

    .cnt-hero-text {
        font-size: 16px;
    }

    .cnt-info {
        padding: 0 0 50px;
    }

    .cnt-form-section {
        padding-bottom: 60px;
    }

    .abt-story,
    .abt-mission,
    .abt-values,
    .abt-reach {
        padding: 70px 0;
    }

    .abt-mission-title,
    .abt-reach-title {
        font-size: clamp(1.7rem, 4vw, 36px);
    }

    .abt-value-card,
    .abt-reach-card {
        min-height: 0;
        padding: 26px 20px;
    }

    .abt-story-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .abt-story-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   About USA Page
======================================== */

.abt-hero {
    position: relative;
    padding: 200px 0 100px;
    overflow: hidden;
    background: #fff;
}

.abt-hero .container {
    position: relative;
    z-index: 2;
}

.abt-hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.abt-hero-title {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.abt-hero-title-blue {
    display: block;
    font-size: clamp(2.4rem, 4.5vw, 64px);
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.abt-hero-title-red {
    display: block;
    font-size: clamp(2.6rem, 5vw, 72px);
    font-style: italic;
    margin-top: 4px;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.abt-hero-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 22px auto 28px;
    background: var(--red-gradient);
    border-radius: 2px;
}

.abt-hero-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.75;
    color: #444;
    margin: 0 auto 16px;
    max-width: 780px;
}

.abt-hero-text:last-of-type {
    margin-bottom: 32px;
}

.abt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.abt-story {
    padding: 100px 0;
    background: #fff;
}

.abt-story-content .pub-section-text {
    margin-bottom: 16px;
}

.abt-story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.abt-story-media {
    position: relative;
}

.abt-story-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.abt-mission {
    padding: 100px 0;
    background: linear-gradient(90deg, #001962 0%, #2D4484 42%, #A20A21 100%);
    overflow: hidden;
}

.abt-mission-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 16px;
}

.abt-mission-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.abt-mission-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.abt-mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.55;
    color: #fff;
}

.abt-mission-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 16px;
}

.abt-values {
    padding: 100px 0;
    background: #fafafa;
}

.abt-values-header {
    max-width: 780px;
    margin: 0 auto 48px;
}

.abt-value-card {
    height: 100%;
    min-height: 240px;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 25, 98, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.abt-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 25, 98, 0.1);
}

.abt-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.12) 0%, rgba(9, 50, 164, 0.12) 100%);
    color: #B22929;
    font-size: 20px;
}

.abt-value-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.abt-value-card p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.abt-reach {
    padding: 100px 0;
    background: linear-gradient(90deg, #001962 0%, #2D4484 42%, #A20A21 100%);
    overflow: hidden;
}

.abt-reach-header {
    max-width: 780px;
    margin: 0 auto 48px;
}

.abt-reach-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 16px;
}

.abt-reach-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
    max-width: 680px;
}

.abt-reach-card {
    height: 100%;
    min-height: 220px;
    padding: 28px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.abt-reach-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.16);
}

.abt-reach-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 22px;
}

.abt-reach-card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 12px;
}

.abt-reach-card p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

/* ========================================
   Contact Page
======================================== */

.cnt-hero {
    position: relative;
    padding: 200px 0 60px;
    overflow: hidden;
    background: #fff;
}

.cnt-hero .container {
    position: relative;
    z-index: 2;
}

.cnt-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.cnt-hero-title {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.cnt-hero-title-blue {
    display: block;
    font-size: clamp(2.2rem, 4vw, 56px);
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cnt-hero-title-red {
    display: block;
    font-size: clamp(2.4rem, 4.5vw, 64px);
    font-style: italic;
    margin-top: 4px;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cnt-hero-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 20px auto 24px;
    background: var(--red-gradient);
    border-radius: 2px;
}

.cnt-hero-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: #444;
    margin: 0 auto;
    max-width: 640px;
}

.cnt-info {
    padding: 20px 0 70px;
    background: #fff;
}

.cnt-info-card {
    display: block;
    height: 100%;
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.cnt-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(178, 41, 41, 0.35);
    box-shadow: 0 12px 28px rgba(0, 25, 98, 0.08);
}

.cnt-info-card--static {
    cursor: default;
}

.cnt-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.12) 0%, rgba(9, 50, 164, 0.12) 100%);
    color: #B22929;
    font-size: 20px;
}

.cnt-info-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cnt-info-card p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.cnt-form-section {
    padding-top: 0;
    padding-bottom: 100px;
}

/* ========================================
   Popup Form Modal
======================================== */

.popup-form-modal .modal-dialog {
    max-width: 560px;
}

.popup-form-content {
    position: relative;
    border: 0;
    border-radius: 18px;
    padding: 36px 28px 28px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fff 100%);
    box-shadow: 0 24px 60px rgba(0, 25, 98, 0.22);
}

.popup-form-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--red-gradient);
}

.popup-form-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 25, 98, 0.06);
    color: #001962;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.popup-form-close:hover {
    background: var(--red-gradient);
    color: #fff;
}

.popup-form-eyebrow {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #B22929;
    margin-bottom: 8px;
}

.popup-form-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 34px);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 8px;
}

.popup-form-title .title-blue {
    display: block;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-form-title .title-red {
    display: block;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-form-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: #555;
    margin-bottom: 22px;
}

.popup-form .form-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #484848;
    margin-bottom: 6px;
}

.popup-form .form-control {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    border-radius: 10px;
    border: 1px solid #e2e5ec;
    padding: 12px 14px;
    background: #f8f9fc;
}

.popup-form .form-control:focus {
    border-color: rgba(178, 41, 41, 0.45);
    box-shadow: 0 0 0 3px rgba(178, 41, 41, 0.12);
    background: #fff;
}

.popup-form textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

.popup-form .service-grid {
    margin-top: 4px;
}

.popup-form-modal .modal-backdrop.show {
    opacity: 0.55;
}

@media (max-width: 575.98px) {
    .popup-form-content {
        padding: 32px 18px 22px;
        border-radius: 14px;
    }
}

/* ========================================
   Legal Pages (Privacy / Terms)
======================================== */

.legal-hero {
    position: relative;
    padding: 200px 0 50px;
    overflow: hidden;
    background: #fff;
}

.legal-hero .container {
    position: relative;
    z-index: 2;
}

.legal-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-hero-meta {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: #666;
    margin: 0;
}

.legal-body {
    padding: 20px 0 100px;
    background: #fff;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content > p:first-child {
    font-size: 18px;
    color: #333;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    margin: 36px 0 14px;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content p,
.legal-content li {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: #444;
}

.legal-content ul {
    padding-left: 1.2rem;
    margin: 0 0 16px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: #B22929;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .legal-hero {
        padding: 160px 0 40px;
    }

    .legal-body {
        padding-bottom: 70px;
    }

    .legal-content h2 {
        font-size: 24px;
        margin-top: 28px;
    }

    .legal-content > p:first-child,
    .legal-content p,
    .legal-content li {
        font-size: 15px;
    }
}

/* ========================================
   Thank You Page
======================================== */

.thankyou-section {
    position: relative;
    padding: 200px 0 120px;
    overflow: hidden;
    background: #fff;
}

.thankyou-section .container {
    position: relative;
    z-index: 2;
}

.thankyou-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 32px;
    border-radius: 20px;
    border: 1px solid #e8ebf2;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 25, 98, 0.08);
}

.thankyou-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.12) 0%, rgba(9, 50, 164, 0.12) 100%);
    color: #B22929;
    font-size: 34px;
}

.thankyou-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}

.thankyou-title .t-blue {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.thankyou-title .t-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.thankyou-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: #444;
    margin: 0 auto 28px;
    max-width: 520px;
}

.thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

@media (max-width: 767.98px) {
    .thankyou-section {
        padding: 160px 0 70px;
    }

    .thankyou-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .thankyou-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .error-section {
        padding: 160px 0 70px;
    }

    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   404 Error Page
======================================== */

.error-section {
    position: relative;
    padding: 200px 0 120px;
    overflow: hidden;
    background: #fff;
}

.error-section .container {
    position: relative;
    z-index: 2;
}

.error-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 32px;
    border-radius: 20px;
    border: 1px solid #e8ebf2;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 25, 98, 0.08);
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 96px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 8px;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}

.error-title .t-blue {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-title .t-red {
    background: var(--red-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: #444;
    margin: 0 auto 28px;
    max-width: 520px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* ========================================
   Phone field (country + dial code)
======================================== */

.phone-field {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.phone-country {
    flex: 0 0 118px;
    max-width: 118px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    border: 1px solid #e2e5ec;
    color: #333;
    padding: 10px 32px 10px 10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f8f9fc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
}

.phone-country:focus {
    border-color: rgba(178, 41, 41, 0.45);
    box-shadow: 0 0 0 3px rgba(178, 41, 41, 0.12);
    outline: 0;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
}

.lead-form-card .phone-country,
.popup-form .phone-country {
    background-color: #F6F6F6;
    border: 1px solid #CCCCCC;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
}

.lead-form-card .phone-country:focus,
.popup-form .phone-country:focus {
    background-color: #fff;
}

.phone-input-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.phone-dial-code {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-end);
    pointer-events: none;
    line-height: 1;
    min-width: 2.1rem;
}

.phone-input-wrap .phone-input,
.phone-input-wrap .form-control {
    padding-left: 52px !important;
    width: 100%;
}

@media (max-width: 575.98px) {
    .phone-field {
        flex-direction: column;
    }

    .phone-country {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
    }
}

/* ========================================
   Mobile CTA Bar (Call / Signup)
======================================== */

.mobile-cta-bar {
    display: none;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 64px;
    }

    .mobile-cta-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: flex;
        align-items: stretch;
        height: 58px;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    }

    .mobile-cta-btn {
        flex: 1 1 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        font-family: var(--font-body);
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #fff;
        line-height: 1;
        border: 0;
    }

    .mobile-cta-btn i {
        font-size: 16px;
    }

    .mobile-cta-btn--call {
        background: var(--blue-end);
    }

    .mobile-cta-btn--signup {
        background: var(--red-end);
    }

    .mobile-cta-btn:hover,
    .mobile-cta-btn:focus {
        color: #fff;
        opacity: 0.92;
    }

    .mobile-cta-or {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        color: var(--blue-end);
        font-family: var(--font-body);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.02em;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35), 0 2px 10px rgba(0, 0, 0, 0.2);
        pointer-events: none;
    }
}
