/* =========================================
   Reset & Variables
========================================= */
:root {
    /* Colors */
    --color-primary: #1a365d; /* Trustworthy Navy Blue */
    --color-primary-light: #2c5282;
    --color-accent: #00a040; /* EL Okamoto Green for CTA */
    --color-accent-hover: #008736;
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-bg-light: #f7f9fc;
    --color-bg-white: #ffffff;
    --color-bg-dark: #111827;
    
    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Oswald', sans-serif;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--space-xl) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-bg-white);
}

/* Utilities for visibility */
.sp-only {
    display: none;
}
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn--large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn--full {
    width: 100%;
}

.btn--outline {
    background-color: #ffffff;
    color: var(--color-primary);
    border: 2px solid #ffffff;
}

.btn--outline:hover {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline-white {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-bg-white);
    border: 2px solid var(--color-bg-white);
    backdrop-filter: blur(5px);
}

.btn--outline-white:hover {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
}

.btn--cta {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    box-shadow: 0 4px 15px rgba(0, 160, 64, 0.3);
}

.btn--cta:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 160, 64, 0.4);
}

/* =========================================
   Header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-fast);
    padding: 20px 0;
}

.header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header__logo-img {
    height: 30px;
    width: auto;
    transition: var(--transition-fast);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__nav-list {
    display: flex;
    gap: 30px;
}

.header__nav-list a {
    color: var(--color-bg-white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.header.is-scrolled .header__nav-list a {
    color: var(--color-primary);
}

.header__nav-list a:hover {
    color: var(--color-accent);
}

.header__actions {
    display: flex;
    gap: 15px;
}

.header__hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--color-bg-white);
    cursor: pointer;
}

.header.is-scrolled .header__hamburger {
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    .header__nav {
        display: none;
    }
    .header__hamburger {
        display: block;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 200;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition-fast);
}

.mobile-menu.is-active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobile-menu__content {
    position: absolute;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background-color: var(--color-bg-white);
    padding: 60px 30px;
    transition: var(--transition-slow);
}

.mobile-menu.is-active .mobile-menu__content {
    right: 0;
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu__list a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: crossfade 18s infinite ease-in-out;
}

.hero__bg-slide.slide-1 {
    background-image: url('../images/entrance.jpg?v=2');
    animation-delay: 0s;
}

.hero__bg-slide.slide-2 {
    background-image: url('../images/elcafe.jpg?v=2');
    animation-delay: 6s;
}

.hero__bg-slide.slide-3 {
    background-image: url('../images/companyview.jpg?v=2');
    animation-delay: 12s;
}

@keyframes crossfade {
    0% { opacity: 0; transform: scale(1); }
    6.66% { opacity: 1; }
    26.66% { opacity: 1; }
    33.33% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(17, 24, 39, 0.6) 100%);
    z-index: -1;
}

.hero__content {
    text-align: center;
    color: var(--color-bg-white);
    padding: 0 20px;
    z-index: 10;
    max-width: 900px;
    margin-top: 50px;
}

.hero__title-small {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.hero__title {
    font-size: 3.83rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.text-nowrap {
    display: inline-block;
}

.hero__description {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.03rem;
    }
    .hero__description {
        font-size: 1rem;
    }
    .hero__buttons {
        flex-direction: column;
    }
}

/* =========================================
   Section Headers
========================================= */
.section__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section__subtitle {
    display: block;
    font-family: var(--font-en);
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.3;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* =========================================
   About Section
========================================= */
.about__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about__text {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.about__detail-list {
    text-align: left;
    background-color: var(--color-bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 30px;
    margin: 0 0 var(--space-lg);
    display: grid;
    gap: 20px;
}

.about__detail-item dt {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.about__detail-item dd {
    color: var(--color-text-light);
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.about__flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    list-style: none;
    margin: 0;
}

.flow-item {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.2rem;
    padding: 10px 20px;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    position: relative;
    background-color: var(--color-bg-white);
    z-index: 1;
}

.flow-arrow {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .about__flow {
        flex-direction: column;
        gap: 15px;
    }
    .flow-arrow span {
        transform: rotate(90deg);
    }
}

/* =========================================
   Services Section
========================================= */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card__image {
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card__title {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card__text {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.service-table-wrapper {
    margin-top: var(--space-lg);
    overflow-x: auto;
    background-color: var(--color-bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-size: 0.95rem;
}

.service-table th,
.service-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-bg-light);
}

.service-table thead th {
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 700;
}

.service-table tbody th {
    color: var(--color-primary);
    font-weight: 700;
    white-space: nowrap;
}

.service-table tbody td {
    color: var(--color-text-light);
}

.service-table tbody tr:last-child th,
.service-table tbody tr:last-child td {
    border-bottom: none;
}

/* =========================================
   Strength Section
========================================= */
.strength__list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.strength-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.strength-item.reverse {
    flex-direction: row-reverse;
}

.strength-item__text-content {
    flex: 1;
}

.strength-item__number {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-bg-light);
    -webkit-text-stroke: 1px var(--color-primary-light);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.strength-item__title {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.strength-item__description {
    font-size: 1rem;
    color: var(--color-text-main);
    margin-bottom: var(--space-sm);
}

.strength-item__qa-list {
    display: grid;
    gap: 16px;
    margin: 0;
}

.strength-item__qa {
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.strength-item__qa:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.strength-item__qa dt {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.strength-item__qa dd {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.strength-item__image-wrapper {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.strength-item__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.strength-item:hover .strength-item__image-wrapper img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .strength-item, .strength-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
}

/* =========================================
   Works Section
========================================= */
.works__intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    background-color: var(--color-bg-white);
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.work-card__image {
    height: 250px;
    overflow: hidden;
}

.work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.work-card:hover .work-card__image img {
    transform: scale(1.05);
}

.work-card__content {
    padding: 20px;
    flex-grow: 1;
}

.work-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.work-card__text {
    font-size: 0.95rem;
    color: var(--color-text-main);
    line-height: 1.6;
    margin: 0 0 10px;
}

.work-card__text:last-child {
    margin-bottom: 0;
}

/* =========================================
   Contact Section
========================================= */
.contact__wrapper {
    display: flex;
    background-color: var(--color-bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    color: var(--color-text-main);
}

.contact__info {
    flex: 1;
    padding: 60px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
}

.contact__title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact__text {
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact__detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact__icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.contact__map {
    margin-top: 24px;
    max-width: 420px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    line-height: 0;
}

.contact__map iframe {
    display: block;
    width: 100%;
}

/* =========================================
   Trust Band
========================================= */
.trust-band {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 36px 0;
}

.trust-band__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.trust-band__item {
    flex: 1 1 240px;
    max-width: 340px;
    text-align: center;
    padding: 0 16px;
}

.trust-band__item + .trust-band__item {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-band__value {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.trust-band__value .trust-band__unit,
.trust-band__value .trust-band__amp {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
}

.trust-band__label {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .trust-band__item {
        flex-basis: 100%;
    }
    .trust-band__item + .trust-band__item {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        padding-top: 24px;
    }
}

/* =========================================
   FAQ
========================================= */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq__item {
    background-color: var(--color-bg-light);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.faq__question {
    margin: 0;
}

.faq__question-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
}

.faq__icon {
    flex-shrink: 0;
    color: var(--color-accent);
    transition: transform var(--transition-fast);
}

.faq__item.is-open .faq__icon {
    transform: rotate(90deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-fast);
}

.faq__answer-inner {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.9;
}

.contact__form-wrapper {
    flex: 1.5;
    padding: 60px;
}

.form-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.form-tabs__btn {
    flex: 1;
    background: none;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.form-tabs__btn.active {
    color: var(--color-accent);
}

.form-tabs__btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 3px 3px 0 0;
}

.form-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.form__group {
    margin-bottom: 25px;
}

.form__label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.form__required {
    background-color: var(--color-accent);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: normal;
}

.form__optional {
    background-color: #cbd5e1;
    color: #475569;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: normal;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--color-bg-light);
}

.form__name-inputs {
    display: flex;
    gap: 15px;
}

.form__name-inputs input {
    flex: 1;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

@media (max-width: 900px) {
    .contact__wrapper {
        flex-direction: column;
    }
    .contact__info, .contact__form-wrapper {
        padding: 40px 20px;
    }
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: var(--color-bg-white);
    color: var(--color-text-main);
    padding: 60px 0 20px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer__logo-img {
    height: 30px;
    width: auto;
}

.footer__links {
    display: flex;
    gap: 20px;
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__copyright {
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        gap: 20px;
    }
}

/* =========================================
   Animations
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Floating Popup CTA
========================================= */
.fixed-doc-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 280px;
    background: linear-gradient(135deg, #e0fcfc 0%, #ffeef2 100%);
    border: 3px solid transparent;
    border-image: linear-gradient(135deg, #0284c7 0%, #fb7185 100%) 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fixed-doc-cta.is-visible {
    transform: translateY(0);
}

.fixed-doc-cta__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    background-color: #9ca3af;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
}

.fixed-doc-cta__close:hover {
    background-color: #6b7280;
}

.fixed-doc-cta__close .material-symbols-outlined {
    font-size: 18px;
}

.fixed-doc-cta__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.fixed-doc-cta__content {
    padding: 25px 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.fixed-doc-cta__text-area {
    flex: 1;
    z-index: 2;
}

.fixed-doc-cta__title {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

.fixed-doc-cta__title .highlight {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 2px;
}

.fixed-doc-cta__image {
    width: 55px;
    height: 75px;
    background-color: white;
    border: 1px solid #cbd5e1;
    box-shadow: -3px 4px 10px rgba(0, 0, 0, 0.08);
    transform: rotate(6deg);
    position: relative;
    z-index: 2;
    margin-left: 10px;
}

.fixed-doc-cta__image::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 8px;
    right: 8px;
    height: 2px;
    background-color: #cbd5e1;
    box-shadow: 0 10px 0 #cbd5e1, 0 20px 0 #cbd5e1, 0 30px 0 #cbd5e1, 0 40px 0 #cbd5e1;
}

.fixed-doc-cta__bottom {
    background-color: #0284c7;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

.fixed-doc-cta:hover .fixed-doc-cta__bottom {
    background-color: #0369a1;
}

.fixed-doc-cta__bottom .arrow {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .fixed-doc-cta {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 20px;
    }
}

/* =========================================
   Download Page
========================================= */
.download-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.download-controls {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.download-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary-light);
    font-weight: 700;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.doc-list-item {
    display: flex;
    align-items: center;
    background-color: var(--color-bg-white);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.doc-list-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.doc-list-item.is-selected {
    border-color: var(--color-accent);
    background-color: rgba(0, 160, 64, 0.03);
}

.doc-list-item__checkbox {
    margin-right: 20px;
}

.doc-list-item__checkbox .checkmark {
    margin: 0;
}

.doc-list-item__content {
    flex-grow: 1;
}

.doc-list-item__title {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.doc-list-item__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.doc-list-item__meta {
    margin-left: 20px;
    white-space: nowrap;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f1f5f9;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.meta-badge .material-symbols-outlined {
    font-size: 1.1rem;
}

/* Custom Checkbox Base */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    user-select: none;
}

.custom-checkbox input,
.custom-checkbox-list input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    height: 24px;
    width: 24px;
    background-color: #f1f5f9;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 12px;
    transition: var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkmark,
.custom-checkbox-list:hover .checkmark {
    background-color: #e2e8f0;
    border-color: #94a3b8;
}

.custom-checkbox input:checked ~ .checkmark,
.custom-checkbox-list input:checked ~ .checkmark {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after,
.custom-checkbox-list input:checked ~ .checkmark:after {
    display: block;
}

.download-action {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.download-action button:disabled {
    background-color: #cbd5e1;
    color: #f8fafc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.download-msg {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    min-height: 24px;
}
.download-msg.success { color: var(--color-accent); }
.download-msg.error { color: #ef4444; }

@media (max-width: 768px) {
    .download-container {
        padding: 20px;
    }
    
    .doc-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .doc-list-item__checkbox {
        position: absolute;
        top: 20px;
        left: 20px;
        margin-right: 0;
    }
    
    .doc-list-item__content {
        padding-left: 40px;
        width: 100%;
    }
    
    .doc-list-item__meta {
        margin-left: 40px;
        margin-top: 10px;
    }
}
