/* =========================
   Base & Global Styles
   ========================= */
body {
    min-height: 100vh;
    background-color: #ffffff;
}

.app-main {
    min-height: calc(100vh - 80px);
}

/* =========================
   Layout & Header
   ========================= */
.site-header {
    transition: transform 0.3s ease;
    z-index: 1050;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-nav {
    position: relative;
}

.header-row {
    min-height: 80px;
}

.brand-link {
    text-decoration: none;
}

.brand-logo {
    height: 48px;
    width: auto;
    transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo {
    transform: scale(1.05);
}

.brand-text {
    color: #111827;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.header-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.header-link:hover,
.header-link:focus-visible {
    color: #2563eb;
    background-color: #eff6ff;
}

/* =========================
   Home About Image Slideshow
   ========================= */
#homeAboutImageSlideshow {
    position: relative;
    height: 480px;
    border-radius: 1rem;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
}

.home-about-slideshow-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.75s ease;
    pointer-events: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background: #f3f4f6;
    display: block;
}

.home-about-slideshow-image.is-active {
    opacity: 1;
    pointer-events: auto;
}

#homeAboutImageSlideshow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: linear-gradient(
        to bottom,
        transparent 55%,
        rgba(15, 23, 42, 0.45) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.home-about-slideshow-dots {
    position: absolute;
    bottom: 0.9rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.home-about-slideshow-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.home-about-slideshow-dot.is-active {
    width: 1.4rem;
    background: #ffffff;
}

@media (max-width: 991.98px) {
    #homeAboutImageSlideshow {
        height: 260px;
    }
}

/* =========================
   Components: WhatsApp, Scroll, Hero, Projects, etc.
   ========================= */
body {
    min-height: 100vh;
    background-color: #ffffff;
}

.app-main {
    min-height: calc(100vh - 80px);
}

.site-header {
    transition: transform 0.3s ease;
    z-index: 1050;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-nav {
    position: relative;
}

.header-row {
    min-height: 80px;
}

.brand-link {
    text-decoration: none;
}

.brand-logo {
    height: 48px;
    width: auto;
    transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo {
    transform: scale(1.05);
}

.brand-text {
    color: #111827;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.header-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.header-link:hover,
.header-link:focus-visible {
    color: #2563eb;
    background-color: #eff6ff;
}

.mobile-menu-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
    color: #2563eb;
    background-color: #eff6ff;
}

#menuIconBars {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.icon-bar {
    display: block;
    width: 18px;
    height: 2px;
    background-color: currentColor;
    border-radius: 10px;
}

#menuIconClose {
    font-size: 1.7rem;
    line-height: 1;
}

.mobile-menu-panel {
    position: fixed;
    top: 80px;
    right: 0;
    width: min(75vw, 340px);
    height: calc(100vh - 80px);
    background: #ffffff;
    box-shadow: -10px 0 28px rgba(15, 23, 42, 0.16);
    overflow-y: auto;
    padding: 0.75rem;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 1045;
}

.mobile-menu-panel.open {
    transform: translateX(0);
}

.mobile-link {
    display: block;
    color: #374151;
    text-decoration: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.mobile-link:hover,
.mobile-link:focus-visible {
    color: #2563eb;
    background-color: #eff6ff;
}

.whatsapp-float-wrap {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.whatsapp-float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #25d366;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.whatsapp-float-btn:hover,
.whatsapp-float-btn:focus-visible {
    transform: scale(1.1);
}

.whatsapp-float-btn img {
    width: 1.125rem;
    height: 1.125rem;
}

.whatsapp-float-label {
    border: none;
    margin-left: 0.75rem;
    text-decoration: none;
    color: #ffffff;
    background: #25d366;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.whatsapp-float-wrap:hover .whatsapp-float-label {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.scroll-top-btn {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 4px solid #ffffff;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(to bottom right, #3b82f6, #2563eb);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.scroll-top-btn.is-visible {
    display: inline-flex;
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
    transform: scale(1.1);
    background: linear-gradient(to bottom right, #2563eb, #1e40af);
}

.scroll-top-btn svg {
    width: 15px;
    height: 15px;
}

.contact-hero {
    background: linear-gradient(90deg, #000 0%, #0f172a 50%, #000 100%);
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.25;
}

.contact-hero__subtitle {
    max-width: 42rem;
}

.contact-map-card {
    border-radius: 1rem;
}

.contact-map-header {
    background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 100%);
}

.contact-map {
    width: 100%;
    height: 24rem;
    cursor: pointer;
    z-index: 1;
}

.contact-form-wrap {
    max-width: 56rem;
}

.contact-form-card {
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
}

.contact-form-compact {
    font-size: 0.95rem;
}

.contact-field-label {
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

.contact-status {
    border-left-width: 4px;
    border-radius: 0.75rem;
}

.contact-status-disabled {
    border: 1px solid #fecaca;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-color: #d1d5db;
    border-radius: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.contact-form-compact .form-control,
.contact-form-compact .form-select,
.contact-form-compact .iti__tel-input {
    font-size: 0.92rem;
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
}

.contact-form-compact .form-control::placeholder,
.contact-form-compact textarea.form-control::placeholder,
.contact-form-compact .iti__tel-input::placeholder {
    font-size: 0.84rem;
    color: #9ca3af;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.16);
}

.contact-phone-input-wrapper .iti {
    width: 100%;
}

.contact-phone-input-wrapper .iti__tel-input {
    width: 100%;
    height: calc(1.5em + 1.5rem + 2px);
    border-color: #d1d5db;
    border-radius: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.contact-phone-input-wrapper .iti--separate-dial-code .iti__tel-input {
    padding-left: 6.2rem;
}

.contact-phone-input-wrapper .iti__selected-country {
    border-right: 1px solid #d1d5db;
    border-radius: 0.75rem 0 0 0.75rem;
    background: #f8fafc;
}

.contact-phone-input-wrapper .iti__tel-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.16);
}

.contact-submit-btn {
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 0.75rem;
    font-size: 0.95rem;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-submit-btn:hover:enabled {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(30, 64, 175, 0.35);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.contact-submit-btn:disabled {
    background: #9ca3af;
    box-shadow: none;
    transform: none;
}

@media (max-width: 991.98px) {
    .site-header.header-hidden {
        transform: translateY(0);
    }
}

.home-page {
    min-height: 100vh;
}

.hero-section {
    min-height: 70vh;
    max-height: 90vh;
}

.hero-video-background {
    position: absolute;
    inset: 0;
}

.hero-video-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    opacity: 0;
    transition: opacity 1s ease;
    animation: slow-zoom 12s ease-in-out infinite alternate;
}

.hero-video-item.is-active {
    opacity: 1;
}

.hero-video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.hero-video-nav svg {
    width: 1.45rem;
    height: 1.45rem;
}

.hero-video-nav:hover,
.hero-video-nav:focus-visible {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-video-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hero-video-nav-prev {
    left: 1rem;
}

.hero-video-nav-next {
    right: 1rem;
}

.hero-video-dots {
    position: absolute;
    left: 50%;
    bottom: 5rem;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}

.hero-video-dot {
    height: 0.4rem;
    width: 0.4rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-video-dot:hover,
.hero-video-dot:focus-visible {
    background: rgba(255, 255, 255, 0.75);
}

.hero-video-dot.is-active {
    width: 1.5rem;
    background: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.62));
    z-index: 1;
}

.hero-overlay-secondary {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(8, 47, 73, 0.2), rgba(0, 0, 0, 0), rgba(30, 58, 138, 0.2));
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff 0%, #f8fafc 50%, #e5e7eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    max-width: 50rem;
    font-size: clamp(1.05rem, 2.2vw, 1.8rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-deco .hero-line {
    width: 3rem;
    height: 0.25rem;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
}

/* Projects page */
.projects-page {
    background: #ffffff;
}

.projects-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 52%, #ffffff 100%);
}

.projects-hero-bg {
    position: absolute;
    border-radius: 9999px;
    filter: blur(56px);
    opacity: 0.35;
    pointer-events: none;
}

.projects-hero-bg-right {
    width: 20rem;
    height: 20rem;
    top: -7rem;
    right: -5rem;
    background: rgba(147, 197, 253, 0.9);
}

.projects-hero-bg-left {
    width: 26rem;
    height: 26rem;
    bottom: -11rem;
    left: -7rem;
    background: rgba(165, 243, 252, 0.65);
}

.projects-hero-title {
    font-size: clamp(2rem, 4.8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.projects-hero-subtitle {
    max-width: 56rem;
    margin-inline: auto;
    color: #4b5563;
    font-size: 1.05rem;
}

.projects-divider {
    width: 5rem;
    height: 0.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #22d3ee, #3b82f6);
}

.projects-filter-wrap {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #dbeafe;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.projects-filter-label {
    font-weight: 700;
    color: #1f2937;
}

.projects-filter-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    transition: all 0.2s ease;
}

.projects-filter-chip:hover,
.projects-filter-chip:focus-visible {
    border-color: #60a5fa;
    color: #1d4ed8;
    background: #eff6ff;
}

.projects-filter-chip.is-active {
    border-color: #2563eb;
    color: #ffffff;
    background: #2563eb;
}

/* Projects Filter Card */
.projects-filter-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.projects-filter-card-header {
    margin-bottom: 1.5rem;
}

.projects-filter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.projects-filter-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.projects-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.projects-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.projects-filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.projects-filter-input,
.projects-filter-select {
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.projects-filter-input:focus,
.projects-filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.18);
}

.projects-filter-input::placeholder {
    color: #9ca3af;
}

.projects-filter-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.projects-filter-btn-search {
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.projects-filter-btn-clear {
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-color: #d1d5db;
    color: #374151;
}

.projects-filter-btn-clear:hover {
    border-color: #9ca3af;
    color: #111827;
    background-color: #f3f4f6;
}

.projects-filter-icon-wrap {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6rem;
    background: #dbeafe;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.project-card {
    border-radius: 1rem;
    background: #ffffff;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.project-card-link:hover .project-card,
.project-card-link:focus-visible .project-card {
    transform: translateY(-6px);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.12);
}

.project-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.project-card-link:hover .project-card-image,
.project-card-link:focus-visible .project-card-image {
    transform: scale(1.05);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 100%);
}

.project-card-chip-wrap {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
}

.project-card-chip {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.project-card-body {
    padding: 1rem;
}

.project-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.project-card-link:hover .project-card-title,
.project-card-link:focus-visible .project-card-title {
    color: #3b82f6;
}

.project-card-title {
    transition: color 0.2s ease;
}

.project-card-meta {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.project-card-cta {
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.9rem;
}

.projects-pagination .page-link {
    border-radius: 0.6rem;
    margin-inline: 0.2rem;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.projects-pagination .page-item.active .page-link {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.projects-pagination .page-item.disabled .page-link {
    color: #94a3b8;
}

.project-detail-page {
    min-height: calc(100vh - 80px);
}

.project-back-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.project-back-link:hover,
.project-back-link:focus-visible {
    color: #1d4ed8;
}

.project-breadcrumb {
    color: #64748b;
    font-size: 0.9rem;
}

.project-breadcrumb-sep {
    margin-inline: 0.5rem;
    color: #94a3b8;
}

.project-detail-card,
.project-error-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.project-detail-card {
    padding: 1.5rem;
}

.project-error-card {
    max-width: 36rem;
    padding: 3rem 1.5rem;
}

.project-main-image-wrap {
    border-radius: 0.9rem;
    overflow: hidden;
}

.project-main-image-button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: block;
}

.project-main-image {
    display: block;
    width: 100%;
    height: clamp(260px, 40vw, 420px);
    object-fit: cover;
}

.project-thumb-button {
    width: 100%;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    background: transparent;
    overflow: hidden;
    padding: 0;
}

.project-thumb-button.is-active {
    border-color: #2563eb;
}

.project-thumb-image {
    display: block;
    width: 100%;
    height: 5.25rem;
    object-fit: cover;
}

.project-type-chip {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
}

.project-detail-title {
    font-size: clamp(1.55rem, 3.2vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
}

.project-detail-info {
    display: grid;
    gap: 0.75rem;
}

/* .project-info-row {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
} */

.project-info-row {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.project-info-label {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 700;
}

.project-info-value {
    color: #0f172a;
    font-weight: 600;
}

.project-description {
    color: #475569;
    line-height: 1.7;
}

.project-detail-cta {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.project-lightbox-modal {
    background: #000;
    border: 0;
    position: relative;
}

.project-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
}

.project-lightbox-image {
    display: block;
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.projects-cta {
    background: linear-gradient(90deg, #eff6ff 0%, #ecfeff 100%);
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    padding: 2.4rem 1.3rem;
}

@media (max-width: 991.98px) {
    .project-detail-card {
        padding: 1rem;
    }
}

.equipment-page {
    background: #ffffff;
}

.equipment-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 52%, #ffffff 100%);
}

.equipment-hero-bg {
    position: absolute;
    border-radius: 9999px;
    filter: blur(56px);
    opacity: 0.35;
    pointer-events: none;
}

.equipment-hero-bg-right {
    width: 20rem;
    height: 20rem;
    top: -7rem;
    right: -5rem;
    background: rgba(147, 197, 253, 0.9);
}

.equipment-hero-bg-left {
    width: 26rem;
    height: 26rem;
    bottom: -11rem;
    left: -7rem;
    background: rgba(165, 243, 252, 0.65);
}

.equipment-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.equipment-hero-subtitle {
    max-width: 58rem;
    margin-inline: auto;
    color: #4b5563;
    font-size: 1.05rem;
}

.equipment-divider {
    width: 5rem;
    height: 0.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #22d3ee, #3b82f6);
}

.equipment-filter-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 1.4rem;
    padding: 1.2rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.equipment-filter-chips {
    max-width: 100%;
}

.equipment-chip {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.38rem 0.8rem;
    transition: all 0.2s ease;
}

.equipment-chip:hover,
.equipment-chip:focus-visible {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #93c5fd;
}

.equipment-chip.is-active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.equipment-filter-panel {
    margin-bottom: 2rem;
}

.equipment-filter-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.equipment-filter-card {
    margin-bottom: 2rem;
}

.equipment-filter-icon-wrap {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6rem;
    background: #dbeafe;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.equipment-search-wrap {
    position: relative;
}

.equipment-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.equipment-search-input {
    border-radius: 0.6rem;
    border: 1px solid #d1d5db;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    padding-left: 2.5rem;
}

.equipment-search-input::placeholder {
    color: #9ca3af;
}

.equipment-search-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.18);
}

/* .equipment-search-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.18);
} */

.equipment-group {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.2rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.equipment-group-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.8rem;
}

.equipment-group-count {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.equipment-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 26px rgba(15, 23, 42, 0.1);
}

.equipment-card-media {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.equipment-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-card-image {
    transform: scale(1.06);
}

.equipment-card:hover .equipment-card-title {
    color: #3b82f6;
}

.equipment-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.5) 100%);
}

.equipment-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.equipment-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.equipment-card-title {
    transition: color 0.2s ease;
}

.equipment-card-description {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.equipment-pagination .page-link {
    border-radius: 0.6rem;
    margin-inline: 0.2rem;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.equipment-pagination .page-item.active .page-link {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.equipment-pagination .page-item.disabled .page-link {
    color: #94a3b8;
}

.equipment-cta {
    background: linear-gradient(90deg, #eff6ff 0%, #ecfeff 100%);
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    padding: 2.4rem 1.3rem;
}

.news-page {
    background: #ffffff;
}

.news-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #ffffff 100%);
}

.news-hero-bg {
    position: absolute;
    border-radius: 9999px;
    filter: blur(56px);
    opacity: 0.32;
    pointer-events: none;
}

.news-hero-bg-right {
    top: -7rem;
    right: -5rem;
    width: 20rem;
    height: 20rem;
    background: rgba(147, 197, 253, 0.85);
}

.news-hero-bg-left {
    bottom: -10rem;
    left: -7rem;
    width: 26rem;
    height: 26rem;
    background: rgba(165, 243, 252, 0.6);
}

.news-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.news-hero-subtitle {
    max-width: 50rem;
    margin-inline: auto;
    color: #4b5563;
    font-size: 1.05rem;
}

.news-divider {
    width: 5rem;
    height: 0.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #22d3ee, #3b82f6);
}

.news-heading-icon {
    width: 1.9rem;
    height: 1.9rem;
    color: #3b82f6;
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card-link:hover .news-card,
.news-card-link:focus-visible .news-card {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.news-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    background: #111827;
}

.news-card-link:hover .news-card-image,
.news-card-link:focus-visible .news-card-image {
    transform: scale(1.06);
}

.news-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.58) 100%);
}

.news-card-top {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
}

.news-pill {
    display: inline-block;
    color: #ffffff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
}

.news-pill-announcement {
    background: #2563eb;
}

.news-pill-promotion {
    background: #ef4444;
}

.news-pill-event {
    background: #f59e0b;
}

.news-pill-expired {
    background: #374151;
}

.news-pill-project-age {
    background: #0891b2;
}

.news-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: #111827;
}

.news-card-description {
    margin-bottom: 0.8rem;
    font-size: 0.93rem;
    line-height: 1.6;
    color: #4b5563;
}

.news-meta {
    color: #475569;
    font-size: 0.87rem;
    margin-bottom: 0.85rem;
}

.news-battery-note {
    color: #15803d;
    font-size: 0.85rem;
}

.news-card-cta {
    margin-top: auto;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.9rem;
}

.news-empty {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
}

.news-empty-icon {
    width: 4.8rem;
    height: 4.8rem;
    color: #d1d5db;
}

.news-pagination .page-link {
    border-radius: 0.6rem;
    margin-inline: 0.2rem;
    color: #374151;
    border: 1px solid #d1d5db;
    min-width: 2.3rem;
    min-height: 2.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.news-pagination .page-item.active .page-link {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.24);
}

.news-pagination .page-item.disabled .page-link {
    color: #94a3b8;
}

.news-page-chevron {
    width: 1.05rem;
    height: 1.05rem;
}

.news-page-chevron-overlap {
    margin-left: -0.65rem;
}

.news-cta {
    background: linear-gradient(90deg, #eff6ff 0%, #ecfeff 100%);
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    padding: 2.2rem 1.2rem;
}

.announcement-detail-section {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #ffffff 100%);
}

.announcement-detail-bg {
    position: absolute;
    top: -5rem;
    right: -7rem;
    width: 24rem;
    height: 24rem;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.28);
    filter: blur(72px);
    pointer-events: none;
}

.announcement-detail-container {
    position: relative;
    z-index: 1;
}

.announcement-breadcrumb-wrap {
    margin-bottom: 1.4rem;
}

.announcement-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.announcement-back-link:hover,
.announcement-back-link:focus-visible {
    color: #1e40af;
}

.announcement-back-link i {
    width: 1rem;
    height: 1rem;
}

.announcement-error-card {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 0.85rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.announcement-error-card i {
    width: 1.1rem;
    height: 1.1rem;
}

.announcement-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.announcement-media-column,
.announcement-content-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.announcement-media-column {
    padding: 0.85rem;
}

.announcement-content-column {
    padding: 1.2rem;
}

.announcement-media-main {
    position: relative;
    background: #0f172a;
    border-radius: 0.8rem;
    overflow: hidden;
    min-height: 21rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-main-image-btn {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    position: relative;
    cursor: zoom-in;
}

.announcement-media-main img,
.announcement-media-main video {
    width: 100%;
    max-height: 34rem;
    object-fit: contain;
    display: block;
}

.announcement-zoom-hint {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
}

.announcement-zoom-hint i {
    width: 1rem;
    height: 1rem;
}

.announcement-empty-media {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
}

.announcement-empty-media i {
    width: 1rem;
    height: 1rem;
}

.announcement-thumbnails {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
    gap: 0.55rem;
}

.announcement-thumb-btn {
    border: 2px solid transparent;
    border-radius: 0.7rem;
    padding: 0;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.announcement-thumb-btn img,
.announcement-thumb-btn video {
    width: 100%;
    height: 4.8rem;
    object-fit: cover;
    display: block;
}

.announcement-thumb-btn:hover,
.announcement-thumb-btn:focus-visible {
    border-color: #60a5fa;
    transform: translateY(-1px);
}

.announcement-thumb-btn.is-active {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.announcement-type-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    background: #dbeafe;
    color: #1e40af;
    margin-bottom: 0.9rem;
}

.announcement-detail-title {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #0f172a;
}

.announcement-meta-list {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.announcement-meta-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.7rem;
    padding: 0.65rem 0.7rem;
}

.announcement-meta-item i {
    width: 1.05rem;
    height: 1.05rem;
    color: #2563eb;
    flex: 0 0 auto;
}

.announcement-meta-item span {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
}

.announcement-meta-item strong {
    color: #0f172a;
    font-size: 0.9rem;
}

.announcement-expired-banner {
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
    border-radius: 0.7rem;
    padding: 0.62rem 0.72rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.announcement-expired-banner i {
    width: 1rem;
    height: 1rem;
}

.announcement-description-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
    padding: 0.9rem;
    margin-bottom: 0.95rem;
}

.announcement-description-card h2 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    color: #0f172a;
}

.announcement-description-card p {
    margin: 0;
    color: #334155;
    line-height: 1.65;
    white-space: normal;
}

.announcement-cta-link {
    display: inline-block;
    text-decoration: none;
    border-radius: 0.62rem;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    color: #ffffff;
    font-weight: 700;
    padding: 0.62rem 0.95rem;
}

.announcement-cta-link:hover,
.announcement-cta-link:focus-visible {
    color: #ffffff;
    background: linear-gradient(90deg, #1d4ed8, #0891b2);
}

.announcement-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.announcement-lightbox[hidden] {
    display: none;
}

.announcement-lightbox-content {
    max-width: min(94vw, 980px);
    max-height: 90vh;
}

.announcement-lightbox-content img,
.announcement-lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 0.8rem;
    display: block;
}

.announcement-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

body.announcement-lightbox-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .announcement-detail-grid {
        grid-template-columns: 1fr;
    }

    .announcement-media-main {
        min-height: 16rem;
    }
}

.hero-deco .hero-line:last-child {
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
}

.hero-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
}

.hero-cta-btn {
    color: #fff;
    border: 0;
    background: linear-gradient(to right, #06b6d4, #2563eb);
    box-shadow: 0 10px 24px rgba(30, 64, 175, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-cta-btn:hover {
    color: #fff;
    transform: scale(1.04);
    background: linear-gradient(to right, #0891b2, #1d4ed8);
    box-shadow: 0 16px 28px rgba(30, 64, 175, 0.38);
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    width: 1.6rem;
    height: 1.6rem;
    z-index: 2;
    animation: float-bounce 1.6s infinite;
}

.hero-scroll-indicator svg {
    width: 100%;
    height: 100%;
}

.home-check-list {
    display: grid;
    gap: 0.55rem;
}

.home-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.home-check-icon {
    width: 1rem;
    height: 1rem;
    color: #2563eb;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.scroll-mt-header {
    scroll-margin-top: 8rem;
}

.service-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.service-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.service-icon {
    width: 4rem;
    height: 4rem;
}

.home-service-card {
    border-radius: 0.9rem;
}

.service-icon-stack {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
}

.service-icon-mini {
    position: absolute;
    width: 2rem;
    height: 2rem;
    right: -0.1rem;
    top: -0.15rem;
}

.stats-check-icon {
    width: 1rem;
    height: 1rem;
}

.stats-section {
    background: linear-gradient(to right, #3b82f6, #2563eb);
}

.stats-number {
    font-size: clamp(2.3rem, 5vw, 3.3rem);
    font-weight: 700;
}

.fade-in {
    animation: fade-in 0.8s ease both;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-bounce {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -5px);
    }
}

@keyframes slow-zoom {
    from {
        transform: scale(1.03);
    }
    to {
        transform: scale(1.09);
    }
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-scroll-indicator {
        bottom: 2rem;
        width: 1.8rem;
        height: 1.8rem;
    }

    .hero-video-nav {
        width: 3.5rem;
        height: 3.5rem;
    }

    .hero-video-nav svg {
        width: 1.6rem;
        height: 1.6rem;
    }

    .hero-video-nav-prev {
        left: 2rem;
    }

    .hero-video-nav-next {
        right: 2rem;
    }

    .hero-video-dots {
        bottom: 5.5rem;
    }
}

@media (min-width: 992px) {
    .hero-section {
        min-height: 90vh;
    }
}

.services-section {
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 50%, #f9fafb 100%);
}

.services-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    z-index: 0;
}

.services-bg-right {
    top: 5rem;
    right: 2.5rem;
    width: 16rem;
    height: 16rem;
    background: rgba(191, 219, 254, 0.35);
}

.services-bg-left {
    bottom: 5rem;
    left: 2.5rem;
    width: 20rem;
    height: 20rem;
    background: rgba(165, 243, 252, 0.32);
}

.services-header {
    max-width: 48rem;
    position: relative;
    z-index: 1;
}

.services-title {
    color: #111827;
    font-size: clamp(2rem, 4.8vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.services-subtitle {
    color: #4b5563;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.services-divider {
    width: 5rem;
    height: 0.25rem;
    border-radius: 999px;
    background: linear-gradient(to right, #3b82f6, #22d3ee, #3b82f6);
}

.service-item {
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.service-item-media {
    height: 16rem;
}

.service-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-item-image {
    transform: scale(1.1);
}

.service-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.service-item-chip-wrap {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
}

.service-item-chip {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.service-item-title {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.service-item:hover .service-item-title {
    color: #3b82f6;
}

.service-item-text {
    color: #4b5563;
    line-height: 1.7;
}

.services-cta-btn {
    color: #fff;
    background: linear-gradient(to right, #3b82f6, #2563eb);
    border: 0;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.services-cta-btn:hover,
.services-cta-btn:focus-visible {
    color: #fff;
    transform: scale(1.04);
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.38);
}

.site-footer {
    background: #111827;
    color: #d1d5db;
}

.site-footer .py-lg-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-subtitle {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.footer-text {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-icon {
    width: 1rem;
    height: 1rem;
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-icon svg {
    width: 100%;
    height: 100%;
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #60a5fa;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-map-link:hover,
.footer-map-link:focus-visible {
    color: #93c5fd;
}

.footer-contact-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
    color: #60a5fa;
}

.footer-links li + li {
    margin-top: 0.75rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #60a5fa;
}

.footer-social-link {
    width: 2rem;
    height: 2rem;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: #60a5fa;
    transform: translateY(-1px);
}

.footer-social-instagram:hover,
.footer-social-instagram:focus-visible {
    color: #f472b6;
}

.footer-social-tiktok:hover,
.footer-social-tiktok:focus-visible {
    color: #f3f4f6;
}

.footer-bottom {
    border-color: #1f2937;
}

.error-page {
    min-height: 100vh;
    background: linear-gradient(to right, #000000, #0f172a, #000000);
    padding: 2rem 0;
}

.error-content {
    max-width: 42rem;
}

.error-code {
    font-size: clamp(3.8rem, 12vw, 6rem);
    font-weight: 700;
    line-height: 1;
    animation: error-bob 1.8s ease-in-out infinite;
}

.error-title {
    font-size: clamp(1.9rem, 6vw, 3rem);
    font-weight: 600;
}

.error-lead {
    font-size: clamp(1.05rem, 2.6vw, 1.4rem);
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.error-text {
    font-size: clamp(0.95rem, 2.1vw, 1.15rem);
    opacity: 0.92;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.error-btn-back,
.error-btn-home {
    padding: 0.75rem 2rem;
    border-radius: 0.65rem;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-btn-back {
    color: #2563eb;
    background: #ffffff;
    border: 1px solid transparent;
}

.error-btn-back:hover,
.error-btn-back:focus-visible {
    color: #1d4ed8;
    background: #eff6ff;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.35);
}

.error-btn-home {
    color: #ffffff;
    background: #2563eb;
    border: 1px solid #2563eb;
}

.error-btn-home:hover,
.error-btn-home:focus-visible {
    color: #ffffff;
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.35);
}

/* --- End Home About Image Slideshow --- */

@keyframes error-bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}
