:root {
    --primary: #1a237e;
    --primary-fixed: #e0e0ff;
    --primary-fixed-dim: #bdc2ff;
    --secondary: #004b50;
    --secondary-container: #fcab28;
    --secondary-fixed-dim: #ffb957;
    --tertiary-container: #630d00;
    --on-secondary-container: #694300;
    --on-tertiary-container: #f86b4e;
    --surface: #f8f9fa;
    --surface-dim: #d9dadb;
    --surface-bright: #f8f9fa;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #f3f4f5;
    --surface-container: #edeeef;
    --surface-variant: #e1e3e4;
    --on-surface: #1a1c1e;
    --on-surface-variant: #44474e;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-dark-bg: rgba(255, 255, 255, 0.1);
    --glass-dark-border: rgba(255, 255, 255, 0.2);
    --radius-xl: 32px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --container-max: 1280px;
    --gutter: 24px;
    --margin-desktop: 64px;
    --margin-mobile: 16px;
    --section-gap: 120px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--surface);
    color: var(--on-surface);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--margin-mobile);
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--margin-desktop);
    }
}

.text-primary {
    color: var(--primary);
}

.text-white {
    color: #fff;
}

.text-muted {
    color: var(--on-surface-variant);
}

.bg-white {
    background-color: #fff;
}

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

.bg-primary {
    background: var(--primary);
    background: linear-gradient(135deg, #1a237e 0%, #004b50 100%) !important;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-card-dark {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-dark-border);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

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

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-16 {
    gap: 4rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

    .md-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}

@media (min-width: 1024px) {
    .lg-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 86px;
    z-index: 1000;
    border-width: 0 0 1px;
}

.header-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-logo {
    flex: 0 0 auto;
    width: 190px;
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    width: 100%;
    height: 62px;
    object-fit: contain;
    object-position: left center;
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2vw, 32px);
    font-size: 14px;
    font-weight: 600;
}

.nav-link {
    position: relative;
    color: var(--on-surface-variant);
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    flex: 0 0 auto;
    padding: 11px 22px;
    color: #fff;
    border-radius: 9999px;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.menu-toggle .material-symbols-outlined {
    font-size: 30px;
}

.menu-close-icon {
    display: none;
}

@media (max-width: 899px) {
    .header {
        height: 74px;
    }

    .header-inner {
        gap: 16px;
    }

    .header-logo {
        width: 155px;
    }

    .logo-img {
        height: 54px;
    }

    .menu-toggle {
        display: inline-flex;
        flex: 0 0 44px;
        margin-left: auto;
    }

    .menu-toggle.is-open .menu-open-icon {
        display: none;
    }

    .menu-toggle.is-open .menu-close-icon {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        left: var(--margin-mobile);
        right: var(--margin-mobile);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--surface-variant);
        border-radius: 16px;
        box-shadow: var(--shadow-xl);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-link,
    .nav-cta {
        width: 100%;
        padding: 13px 14px;
        border-radius: 10px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--surface-container-low);
    }

    .nav-cta {
        margin-top: 6px;
        text-align: center;
    }
}

/* Main */
main {
    flex-grow: 1;
    padding-top: 86px;
}

@media (max-width: 899px) {
    main {
        padding-top: 74px;
    }
}

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

.section-margin {
    margin: 1rem auto;
    max-width: 1400px;
    padding: var(--section-gap) var(--margin-mobile);
}

@media (min-width: 1024px) {
    .section-margin {
        padding: var(--section-gap) var(--margin-desktop);
    }
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary-fixed-dim);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-top: 24px;
    color: white;
}

.hero p {
    font-size: 18px;
    margin-top: 16px;
    max-width: 500px;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

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

    .btn-white:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(4px);
}

    .btn-outline:hover {
        background: rgba(255,255,255,0.1);
    }

.hero-float-container {
    display: none;
    position: relative;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-float-container {
        display: flex;
    }
}

.hero-float-card {
    position: absolute;
    padding: 24px;
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
    color: white;
}

.float-1 {
    right: 0;
    top: 25%;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    left: 40px;
    bottom: 25%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

/* Trust Bar */
.trust-bar {
    padding: 48px 0;
    background: white;
    border-bottom: 1px solid var(--surface-variant);
    position: relative;
    z-index: 20;
}

.trust-label {
    text-align: center;
    font-size: 12px;
    color: var(--on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: all 0.5s;
}

    .trust-logos:hover {
        opacity: 1;
        filter: grayscale(0);
    }

@media (min-width: 1024px) {
    .trust-logos {
        gap: 96px;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--on-surface);
}

/* Sections General */
.section-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--on-surface-variant);
    margin-bottom: 24px;
}

/* About */
.about-stats {
    margin-top: 32px;
    border-left: 4px solid var(--primary);
    padding-left: 16px;
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    letter-spacing: 1px;
}

.about-img-wrapper {
    position: relative;
}

.about-img-box {
    aspect-ratio: 1;
    border-radius: 32px;
    overflow: hidden;
    padding: 8px;
    position: relative;
    z-index: 10;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.about-bg-1, .about-bg-2 {
    position: absolute;
    border-radius: 32px;
    z-index: 0;
    opacity: 0.1;
}

.about-bg-1 {
    bottom: -32px;
    left: -32px;
    width: 192px;
    height: 192px;
    background: var(--primary);
}

.about-bg-2 {
    top: -32px;
    right: -32px;
    width: 128px;
    height: 128px;
    background: var(--secondary);
}

/* Feature Cards */
.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 32px;
    border: 1px solid var(--surface-variant);
    transition: all 0.3s;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(26,35,126,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Products */
.product-showcase {
    display: flex;
    flex-direction: column;
    margin-bottom: 64px;
    gap: 32px;
}

@media (min-width: 768px) {
    .product-showcase {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.product-large-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-img-box {
    aspect-ratio: 4/3;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: var(--surface-container);
    transition: all 0.5s;
}

    .product-img-box:hover {
        box-shadow: var(--shadow-xl);
    }

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.7s;
}

.product-img-box:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    background: white;
    padding: 32px;
    border-radius: 32px;
    border: 1px solid var(--surface-variant);
}

.product-list {
    margin-bottom: 24px;
}

    .product-list li {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        color: var(--on-surface-variant);
    }

.product-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s;
}

.product-large-card:hover .product-link {
    gap: 16px;
}

.product-small-card {
    background: white;
    padding: 24px;
    border-radius: 32px;
    border: 1px solid var(--surface-variant);
    transition: box-shadow 0.3s;
}

    .product-small-card:hover {
        box-shadow: var(--shadow-lg);
    }

.product-small-img {
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--surface-container);
}

    .product-small-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        mix-blend-mode: multiply;
        transition: transform 0.3s;
    }

.product-small-card:hover .product-small-img img {
    transform: scale(1.05);
}

/* Gallery */
.gallery-img {
    aspect-ratio: 1;
    border-radius: 32px;
    overflow: hidden;
    background: var(--surface-variant);
}

    .gallery-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s;
    }

    .gallery-img:hover img {
        transform: scale(1.1);
    }

.gallery-box {
    /*background: var(--primary);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    text-align: center;
    color: white;
    border-radius: 32px;
}

.col-span-2 {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .col-span-2 {
        grid-column: span 2;
    }
}

/* Testimonials */
.testimonial-card {
    padding: 32px;
    border-radius: 32px;
    background: white;
    border: 1px solid var(--surface-variant);
    transition: box-shadow 0.3s;
}

    .testimonial-card:hover {
        box-shadow: var(--shadow-xl);
        transform: translateY(-8px);
    }

    .testimonial-card.featured {
        /*background: var(--primary);*/
        color: white;
        border: none;
    }

.stars {
    display: flex;
    gap: 4px;
    color: var(--secondary-container);
    margin-bottom: 24px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 32px;
    color: var(--on-surface-variant);
}

.testimonial-card.featured .testimonial-text {
    color: rgba(255,255,255,0.9);
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-container);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-card.featured .author-avatar {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border-radius: 32px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--surface-variant);
    cursor: pointer;
    transition: background 0.3s;
}

    .faq-item[open] {
        background: var(--surface-container);
    }

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    list-style: none;
}

    .faq-summary::-webkit-details-marker {
        display: none;
    }

.faq-content {
    padding-top: 16px;
    color: var(--on-surface-variant);
}

/* Contact */
.contact-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 32px;
    border: 1px solid var(--surface-variant);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--surface-dim);
    border-radius: 16px;
    margin-bottom: 16px;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */
footer {
    background: var(--surface-container);
    padding: var(--section-gap) 0 48px;
    border-top: 1px solid var(--surface-variant);
    margin-top: 48px;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 16px;
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: color 0.3s;
}

    .footer-links li:hover {
        color: var(--primary);
    }

.footer-bottom {
    margin-top: 96px;
    padding-top: 32px;
    border-top: 1px solid var(--outline-variant);
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 12px;
    color: var(--on-surface-variant);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}


/* Fixed right-side contact sidebar */
.contact-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Individual sidebar item */
.contact-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
    padding: 10px 14px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px 0 0 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

    /* Slide towards left on hover */
    .contact-sidebar-item:hover {
        transform: translateX(-10px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    /* Optional icon styling */
    .contact-sidebar-item i,
    .contact-sidebar-item svg {
        font-size: 24px;
        transition: transform 0.3s ease;
    }

    /* Small icon animation */
    .contact-sidebar-item:hover i,
    .contact-sidebar-item:hover svg {
        transform: scale(1.1);
    }

    /* Call button */
    .contact-sidebar-item.call {
        background: #2563eb;
        color: #fff;
    }

    /* WhatsApp button */
    .contact-sidebar-item.whatsapp {
        background: #25D366;
        color: #fff;
    }

    /* Slightly darker on hover */
    .contact-sidebar-item.call:hover {
        background: #1d4ed8;
    }

    .contact-sidebar-item.whatsapp:hover {
        background: #1ebe5d;
    }


/* One-page smooth anchor navigation */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

section[id] {
    scroll-margin-top: 100px;
}

/* Footer brand logo */
.footer-logo {
    display: inline-flex;
    align-items: center;
    width: min(210px, 100%);
    margin-bottom: 24px;
}

.footer-logo img {
    display: block;
    width: 100%;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}

.footer-links a {
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Enhanced fixed contact rail */
.contact-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.contact-sidebar-item {
    width: 58px;
    min-height: 56px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    overflow: hidden;
    color: #fff;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    transition: width 0.38s cubic-bezier(.2,.75,.25,1),
                transform 0.3s ease,
                box-shadow 0.3s ease,
                filter 0.3s ease;
}

.contact-sidebar-item:hover,
.contact-sidebar-item:focus-visible {
    width: 300px;
    transform: translateX(0);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    filter: brightness(1.04);
}

.contact-sidebar-item.call {
    background: linear-gradient(135deg, #1a237e, #3347bd);
}

.contact-sidebar-item.whatsapp {
    background: linear-gradient(135deg, #128c4a, #25D366);
}

.contact-sidebar-item.email {
    background: linear-gradient(135deg, #7a230d, #b84522);
}

.contact-icon {
    flex: 0 0 24px;
    font-size: 24px;
}

.contact-sidebar-text {
    display: flex;
    flex-direction: column;
    min-width: 220px;
    line-height: 1.25;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.22s ease 0.08s, transform 0.28s ease 0.05s;
}

.contact-sidebar-item:hover .contact-sidebar-text,
.contact-sidebar-item:focus-visible .contact-sidebar-text {
    opacity: 1;
    transform: translateX(0);
}

.contact-sidebar-text strong {
    font-size: 13px;
    font-weight: 700;
}

.contact-sidebar-text .contact-value {
    margin-top: 2px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0.9;
}

/* Mobile/tablet: convert right rail into a fixed horizontal bottom bar */
@media (max-width: 767px) {
    body {
        padding-bottom: 66px;
    }

    .contact-sidebar {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        transform: none;
        flex-direction: row;
        gap: 0;
        align-items: stretch;
        background: #fff;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
    }

    .contact-sidebar-item,
    .contact-sidebar-item:hover,
    .contact-sidebar-item:focus-visible {
        width: 33.333%;
        min-width: 0;
        min-height: 60px;
        padding: 7px 4px;
        border-radius: 0;
        justify-content: center;
        flex-direction: column;
        gap: 2px;
        transform: none;
        box-shadow: none;
        filter: none;
    }

    .contact-icon {
        font-size: 22px;
    }

    .contact-sidebar-text {
        min-width: 0;
        width: 100%;
        opacity: 1;
        transform: none;
        align-items: center;
    }

    .contact-sidebar-text strong {
        font-size: 11px;
    }

    .contact-sidebar-text .contact-value {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .contact-sidebar-item,
    .contact-sidebar-text {
        transition: none;
    }
}
