/* Explain: Styles for various UI components and utility classes. */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-cinematic {
    position: relative;
    isolation: isolate;
}

.hero-video-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: 0 !important;
    width: 100vw !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 99999 !important;
    border-radius: 0 !important;
    background-color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.hero-video-fullscreen video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: auto !important;
    display: block !important;
    transform: none !important;
}

.hero-video-exit-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 100000;
    display: none;
    align-items: center;
    gap: 0.35rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
}

.hero-video-exit-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: var(--yellow-color);
    color: var(--yellow-color);
    transform: translateY(-1px);
}

.hero-video-fullscreen .hero-video-exit-btn {
    display: inline-flex !important;
}

.hero-video-sound-btn {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
}

.hero-video-sound-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: var(--yellow-color);
    color: var(--yellow-color);
    transform: translateY(-1px);
}

.blueprint-grid {
    background-image:
        linear-gradient(90deg, color-mix(in srgb, var(--navy-color) 9%, transparent) 1px, transparent 1px),
        linear-gradient(0deg, color-mix(in srgb, var(--navy-color) 9%, transparent) 1px, transparent 1px);
    background-size: 2.25rem 2.25rem;
}

.leaf-accent {
    border-radius: 1rem;
}

.quote-card {
    position: relative;
    z-index: 20;
    border: 1px solid color-mix(in srgb, var(--navy-color) 15%, transparent);
    background: color-mix(in srgb, var(--white-color) 96%, transparent);
    box-shadow: var(--shadow-soft);
}

.ivory-panel,
.service-card,
.project-card,
.timeline-card,
.faq-card,
.benefit-card,
.price-card {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: color-mix(in srgb, var(--white-color) 92%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.review-card {
    border: 1px solid color-mix(in srgb, var(--white-color) 18%, transparent);
    border-radius: 1.5rem;
    background: color-mix(in srgb, var(--white-color) 9%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.service-card:hover,
.project-card:hover,
.timeline-card:hover,
.benefit-card:hover,
.price-card:hover,
.review-card:hover {
    transform: translateY(-0.3rem);
    border-color: color-mix(in srgb, var(--yellow-color) 70%, transparent);
}

.credibility-item {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    color: var(--navy-color);
    font-size: 0.85rem;
    font-weight: 800;
}

.btn-3d-division {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f3 100%);
    box-shadow: 0 3.5px 0 color-mix(in srgb, var(--navy-color) 25%, transparent), 0 4px 8px color-mix(in srgb, var(--navy-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--navy-color) 18%, transparent);
    transition: all 150ms ease;
}

.btn-3d-division:hover {
    background: linear-gradient(180deg, #ffffff 0%, #e2ece9 100%);
    box-shadow: 0 4px 0 #9b7218, 0 6px 12px color-mix(in srgb, var(--navy-color) 18%, transparent);
    border-color: var(--yellow-color);
    transform: translateY(-1px);
}

.btn-3d-division:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--navy-color) 25%, transparent), 0 2px 4px color-mix(in srgb, var(--navy-color) 12%, transparent);
}

.service-dot {
    display: inline-flex;
    height: 3.25rem;
    width: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--yellow-color) 22%, var(--pale-blue));
    color: var(--navy-color);
}

.report-line {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding: 0.95rem 0;
}

.form-status.success {
    display: block;
    border: 1px solid color-mix(in srgb, var(--navy-color) 26%, transparent);
    background: color-mix(in srgb, var(--pale-blue) 78%, var(--white-color));
    color: var(--navy-color);
}

.form-status.error {
    display: block;
    border: 1px solid color-mix(in srgb, var(--yellow-color) 65%, transparent);
    background: color-mix(in srgb, var(--yellow-color) 18%, var(--white-color));
    color: var(--navy-color);
}

#divisions,
#purpose,
#overview {
    scroll-margin-top: 6rem;
}

.btn-3d-yellow {
    background: linear-gradient(180deg, #f7d570 0%, #d6a332 100%);
    box-shadow: 0 3px 0 #9b7218, 0 4px 8px color-mix(in srgb, var(--navy-color) 20%, transparent);
    border: 1px solid #c89524;
    transition: all 150ms ease;
}

.btn-3d-yellow:hover {
    background: linear-gradient(180deg, #fae08c 0%, #dfaf3c 100%);
    box-shadow: 0 3.5px 0 #9b7218, 0 6px 12px color-mix(in srgb, var(--navy-color) 25%, transparent);
    transform: translateY(-1px);
}

.btn-3d-yellow:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #9b7218, 0 2px 4px color-mix(in srgb, var(--navy-color) 20%, transparent);
}

.btn-3d-navy,
.btn-3d-green {
    background: linear-gradient(180deg, #005b4a 0%, #003e32 100%);
    box-shadow: 0 3px 0 #00221b, 0 4px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid #002e25;
    transition: all 150ms ease;
}

.btn-3d-navy:hover,
.btn-3d-green:hover {
    background: linear-gradient(180deg, #006e59 0%, #004a3c 100%);
    box-shadow: 0 3.5px 0 #00221b, 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-3d-navy:active,
.btn-3d-green:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #00221b, 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-3d-red {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 3px 0 #991b1b, 0 4px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid #b91c1c;
    transition: all 150ms ease;
    color: #ffffff;
}

.btn-3d-red:hover {
    background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
    box-shadow: 0 3.5px 0 #991b1b, 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-3d-red:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #991b1b, 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-3d-phone {
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 3px 0 #1e40af, 0 4px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid #1d4ed8;
    transition: all 150ms ease;
}

.btn-3d-phone:hover {
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
    box-shadow: 0 3.5px 0 #1e40af, 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-3d-phone:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #1e40af, 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-3d-whatsapp {
    background: linear-gradient(180deg, #2fe576 0%, #25d366 100%);
    box-shadow: 0 3px 0 #1da851, 0 4px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid #20ba59;
    transition: all 150ms ease;
}

.btn-3d-whatsapp:hover {
    background: linear-gradient(180deg, #44eb85 0%, #2be06d 100%);
    box-shadow: 0 3.5px 0 #1da851, 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-3d-whatsapp:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #1da851, 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-3d-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 3px 0 #9e1471, 0 4px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid #cc2366;
    transition: all 150ms ease;
}

.btn-3d-instagram:hover {
    background: linear-gradient(45deg, #f2a048 0%, #e8774e 25%, #de3751 50%, #d13572 75%, #c22994 100%);
    box-shadow: 0 3.5px 0 #9e1471, 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-3d-instagram:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #9e1471, 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-3d-tiktok {
    background: linear-gradient(180deg, #333333 0%, #000000 100%);
    box-shadow: 0 3px 0 #111111, 0 4px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid #222222;
    transition: all 150ms ease;
}

.btn-3d-tiktok:hover {
    background: linear-gradient(180deg, #444444 0%, #111111 100%);
    box-shadow: 0 3.5px 0 #111111, 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-3d-tiktok:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #111111, 0 2px 4px rgba(0, 0, 0, 0.2);
}

.core-value-card.is-open {
    border-color: color-mix(in srgb, var(--yellow-color) 70%, transparent);
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-card);
}

.core-value-card.is-open .value-desc {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 0.75rem;
}

.core-value-card.is-open .core-value-chevron {
    transform: rotate(180deg);
}

.core-value-card.is-open .core-value-line {
    width: 2.5rem;
    background-color: var(--navy-color);
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee-ltr {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.marquee-track-ltr {
    display: flex;
    width: max-content;
    animation: marquee-ltr 56s linear infinite;
    will-change: transform;
}

.marquee-track-ltr:hover {
    animation-play-state: paused;
}

/* Date & Time Input Styling matching Guide */
.date-time-field,
input[type="date"],
input[type="time"] {
    background-color: #f2f6f5;
    border: 1px solid #cfdcd8;
    color: #9ca7a3;
}

.date-time-field::-webkit-datetime-edit,
.date-time-field::-webkit-datetime-edit-fields-wrapper,
.date-time-field::-webkit-datetime-edit-text,
.date-time-field::-webkit-datetime-edit-month-field,
.date-time-field::-webkit-datetime-edit-day-field,
.date-time-field::-webkit-datetime-edit-year-field,
.date-time-field::-webkit-datetime-edit-hour-field,
.date-time-field::-webkit-datetime-edit-minute-field,
.date-time-field::-webkit-datetime-edit-ampm-field,
input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field,
input[type="time"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit-fields-wrapper,
input[type="time"]::-webkit-datetime-edit-text,
input[type="time"]::-webkit-datetime-edit-hour-field,
input[type="time"]::-webkit-datetime-edit-minute-field,
input[type="time"]::-webkit-datetime-edit-ampm-field {
    color: #9ca7a3;
    font-weight: 500;
}

.date-time-field:focus,
input[type="date"]:focus,
input[type="time"]:focus {
    color: var(--navy-color);
}

.date-time-field:focus::-webkit-datetime-edit,
.date-time-field:focus::-webkit-datetime-edit-text,
.date-time-field:focus::-webkit-datetime-edit-fields-wrapper,
.date-time-field:focus::-webkit-datetime-edit-month-field,
.date-time-field:focus::-webkit-datetime-edit-day-field,
.date-time-field:focus::-webkit-datetime-edit-year-field,
.date-time-field:focus::-webkit-datetime-edit-hour-field,
.date-time-field:focus::-webkit-datetime-edit-minute-field,
.date-time-field:focus::-webkit-datetime-edit-ampm-field,
input[type="date"]:focus::-webkit-datetime-edit,
input[type="date"]:focus::-webkit-datetime-edit-text,
input[type="time"]:focus::-webkit-datetime-edit,
input[type="time"]:focus::-webkit-datetime-edit-text {
    color: var(--navy-color);
}

.date-time-field::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: 0.45;
    cursor: pointer;
    transition: opacity 150ms ease;
}

.date-time-field:hover::-webkit-calendar-picker-indicator,
input[type="date"]:hover::-webkit-calendar-picker-indicator,
input[type="time"]:hover::-webkit-calendar-picker-indicator {
    opacity: 0.85;
}

/* Light grey placeholder styling */
input::placeholder,
textarea::placeholder {
    color: #9ca3af !important;
    opacity: 0.85;
}

select:required:invalid {
    color: #9ca3af !important;
}

select option {
    color: var(--navy-color);
}

select option[value=""][disabled] {
    color: #9ca3af;
}

.calculator-route-btn {
    display: flex;
    min-height: 5.5rem;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: var(--white-color);
    color: var(--navy-color);
    padding: 1rem;
    text-align: left;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.calculator-route-btn:hover,
.calculator-route-btn.is-active {
    border-color: var(--yellow-color);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.calculator-route-btn.is-active {
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--yellow-color) 45%, transparent), var(--shadow-card);
}

.calculator-route-icon,
.calculator-choice-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--pale-blue);
    color: var(--navy-color);
}

.calculator-route-icon {
    height: 3.25rem;
    width: 3.25rem;
}

.calculator-route-btn strong,
.calculator-route-btn small,
.calculator-choice-card strong,
.calculator-choice-card small {
    display: block;
}

.calculator-route-btn strong,
.calculator-choice-card strong {
    font-weight: 900;
}

.calculator-route-btn small,
.calculator-choice-card small {
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.35;
}

.calculator-step-btn {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    background: var(--white-color);
    color: var(--text-muted);
    padding: 0.5rem 0.8rem;
    font-size: 0.72rem;
    white-space: nowrap;
}

.calculator-step-btn > span {
    display: inline-flex;
    height: 1.35rem;
    width: 1.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--pale-blue);
    color: var(--navy-color);
    font-weight: 900;
}

.calculator-step-btn.is-active,
.calculator-step-btn:has(input:checked) {
    border-color: var(--yellow-color);
    background: var(--navy-color);
    color: var(--white-color);
}

.calculator-step-btn.is-active > span,
.calculator-step-btn:has(input:checked) > span {
    background: var(--yellow-color);
}

.calculator-choice-card {
    position: relative;
    display: flex;
    min-height: 6.25rem;
    cursor: pointer;
    align-items: center;
    gap: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1rem;
    transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.calculator-choice-card:hover,
.calculator-choice-card:has(input:checked) {
    border-color: var(--yellow-color);
    background: color-mix(in srgb, var(--pale-blue) 65%, var(--white-color));
    transform: translateY(-2px);
}

.calculator-choice-card input {
    position: absolute;
    height: 1px;
    width: 1px;
    opacity: 0;
}

.calculator-choice-card input:focus-visible + .calculator-choice-icon {
    outline: 3px solid color-mix(in srgb, var(--yellow-color) 76%, transparent);
    outline-offset: 3px;
}

.calculator-choice-icon {
    height: 2.75rem;
    width: 2.75rem;
}

.calculator-choice-check {
    margin-left: auto;
    color: var(--yellow-color);
    opacity: 0;
}

.calculator-choice-card.is-hidden {
    display: none;
}

.calculator-choice-card:has(input:checked) .calculator-choice-check {
    opacity: 1;
}

.calculator-check-row {
    display: flex;
    min-height: 4.75rem;
    cursor: pointer;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--white-color);
    padding: 1rem;
    transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.calculator-check-row:hover,
.calculator-check-row:has(input:checked) {
    border-color: var(--yellow-color);
    background: color-mix(in srgb, var(--pale-blue) 65%, var(--white-color));
}

.calculator-check-row input {
    margin-top: 0.15rem;
    min-height: 1.2rem;
    min-width: 1.2rem;
    accent-color: var(--navy-color);
}

.calculator-check-row strong,
.calculator-check-row small {
    display: block;
}

.calculator-check-row strong {
    color: var(--navy-color);
    font-size: 0.875rem;
    font-weight: 900;
}

.calculator-check-row small {
    margin-top: 0.15rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

@media (max-width: 420px) {
    .calculator-route-btn {
        min-height: 4.75rem;
        padding: 0.8rem;
    }

    .calculator-route-icon {
        height: 2.75rem;
        width: 2.75rem;
    }

    .calculator-step-btn strong {
        display: none;
    }
}

/* FIS invoice document logo header */
.fis-invoice-logo-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid color-mix(in srgb, var(--navy-color) 18%, transparent);
}

.fis-invoice-logo {
    height: 3rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Quotation document logo header */
.quote-logo-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid color-mix(in srgb, var(--navy-color) 18%, transparent);
}

.quote-logo {
    height: 3rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media print {
    .fis-invoice-logo-header {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .fis-invoice-logo {
        height: 2.75rem;
    }

    .quote-logo-header {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .quote-logo {
        height: 2.75rem;
    }
}


