* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background: #F5F9FC;
    color: #1a1a2e;
}

:root {
    --header-height: 72px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-soft: cubic-bezier(.34, 1.56, .64, 1);
    --dur-fast: .25s;
    --dur-base: .45s;
    --dur-slow: .7s;

    /* Brand + design tokens */
    --brand: #1E5BA8;
    --brand-dark: #0D3B66;
    --brand-light: #EAF3FF;
    --brand-light-2: #F5F9FC;
    --text-dark: #0D2444;
    --text-body: #5B6B82;
    --radius-lg: 20px;
    --radius-md: 16px;
    --shadow-soft: 0 10px 30px rgba(13, 59, 102, .08);
    --shadow-soft-hover: 0 20px 45px rgba(13, 59, 102, .16);
}

html {
    scroll-behavior: smooth;
}

/* ================= MOTION SYSTEM ================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Scroll-reveal: elements fade/slide in as they enter the viewport (see assets/js/animations.js) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
    transition-delay: calc(var(--reveal-index, 0) * 90ms);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: auto;
}

/* ================= HEADER ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(13, 59, 102, .08);
    padding: 0;
    border-bottom: 1px solid rgba(13, 59, 102, .06);
    overflow: visible;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    gap: 20px;
    position: relative;
}

.header .container .nav_title{
    color: var(--text-dark);
    display:block;
    font-size:15px;
    white-space:nowrap;
    letter-spacing: 0.02em;
}

/* Logo styling */
.header .container .logo img,
.logo-img {
    height: 56px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(13, 59, 102, .18));
    transition: transform .18s ease, filter .18s ease;
}

.logo-img:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 14px rgba(13, 59, 102, .22));
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--text-dark);
    font-size: 22px;
    cursor: pointer;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    transition: .25s ease;
    position: relative;
    padding: 8px 14px;
    display: inline-block;
    border-radius: 8px;
}

.nav-menu a:hover {
    color: var(--brand);
    background: var(--brand-light);
}

.nav-menu a.active,
.nav-menu a[aria-current="page"] {
    color: var(--brand);
    background: var(--brand-light);
    box-shadow: 0 8px 20px rgba(30, 91, 168, .08);
}

.nav-menu a:focus-visible {
    outline: 2px solid rgba(30, 91, 168, .35);
    outline-offset: 4px;
}

/* Ensure anchored sections are not hidden behind the fixed header */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 12px);
}

.call-btn {
    background: var(--brand);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) ease, color var(--dur-fast) ease;
    font-size: 16px;
    border: 2px solid transparent;
    box-shadow: 0 8px 20px rgba(30, 91, 168, .25);
    position: relative;
    overflow: hidden;
}

.call-btn:hover {
    background: var(--brand-dark);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(13, 59, 102, .32);
}

.call-btn i {
    font-size: 22px;
}
/* ================= HERO SECTION ================= */
.hero {
    margin-top: calc(var(--header-height) + 12px);
    background:
        radial-gradient(closest-side at 12% 112%, rgba(107, 183, 255, .28), rgba(107, 183, 255, 0) 70%),
        linear-gradient(135deg, #DCEBFF 0%, var(--brand-light) 40%, #EFF6FF 70%, var(--brand-light-2) 100%);
    background-size: cover;
    padding: 60px 0;
    min-height: 640px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -15%;
    width: 65%;
    height: 150%;
    background: radial-gradient(closest-side, rgba(30, 91, 168, .16), rgba(30, 91, 168, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
    animation: heroFadeUp var(--dur-slow) var(--ease-out) .1s both,
               float 3s ease-in-out .8s infinite;
    transition: filter .3s ease;
}

.hero-image img:hover {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
}

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }

}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    flex: 1;
    color: var(--text-dark);
}

.hero-content .badge {
    display: inline-block;
    background: #ffffff;
    color: var(--brand);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    animation: heroFadeUp var(--dur-base) var(--ease-out) both;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-dark);
    animation: heroFadeUp var(--dur-base) var(--ease-out) .12s both;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text-body);
    animation: heroFadeUp var(--dur-base) var(--ease-out) .22s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: heroFadeUp var(--dur-base) var(--ease-out) .32s both;
}

.btn-primary,
.btn-outline,
.call-btn {
    cursor: pointer;
    font-family: inherit;
}

.btn-primary,
.btn-outline {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) ease, color var(--dur-fast) ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(30, 91, 168, .28);
}

.btn-primary:hover {
    background: var(--brand-dark);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(13, 59, 102, .32);
}

.btn-primary:active,
.btn-outline:active {
    transform: translateY(-1px) scale(.97);
    transition-duration: .12s;
}

.btn-outline {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
}

.btn-outline:hover {
    background: var(--brand);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(30, 91, 168, .22);
}

@media (max-width:420px) {
    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero {
        padding: 40px 0;
        min-height: 520px;
    }
}

/* ================= MOBILE HERO ================= */

@media (max-width:768px) {

    .hero {
        padding: 80px 20px 40px;
        min-height: auto;

    }


    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-image {
        display: flex;
    }

    .hero-image img {
        width: 240px;
    }


}

/* ================= ABOUT PAGE ================= */
.about-home{
    padding:80px 0;
    background:#F5F9FC;
}

.about-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:40px;
    align-items:start;
}

.about-content h2{
    font-size:36px;
    color:#0D3B66;
    margin-bottom:20px;
}

.about-content p{
    color:#444;
    font-size:16px;
    line-height:1.8;
    margin-bottom:18px;
}

.about-stats{
    display:grid;
    grid-template-columns:repeat(3, minmax(100px, 1fr));
    gap:18px;
    margin-top:30px;
}

.about-stats div{
    background:#ffffff;
    border-radius:18px;
    padding:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(30,91,168,0.1);
}

.about-stats strong{
    display:block;
    font-size:28px;
    color:#1E5BA8;
    margin-bottom:8px;
}

.about-stats span{
    color:#666;
    font-size:14px;
}

.about-map-card{
    background:#ffffff;
    border-radius:20px;
    padding:24px;
    box-shadow:0 10px 30px rgba(30,91,168,0.12);
}

.about-map-card h3{
    margin-bottom:18px;
    color:#0D3B66;
}

.map-container{
    width:100%;
    border-radius:18px;
    overflow:hidden;
}

/* Make embedded map responsive */
.map-container iframe{
    width:100%;
    max-width:100%;
    height:400px;
    border:0;
    display:block;
}

/* ================= CONTACT PAGE ================= */
.contact-home{
    padding:80px 0;
    background:#ffffff;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.contact-card{
    background:#F5F9FC;
    border-radius:20px;
    padding:28px;
    box-shadow:0 10px 30px rgba(30,91,168,0.08);
}

.contact-card h2,
.contact-card h3{
    color:#0D3B66;
    margin-bottom:18px;
}

.contact-card p,
.contact-card a{
    color:#444;
    font-size:16px;
    line-height:1.8;
}

.contact-info p{
    margin-bottom:12px;
}

.social-list{
    list-style:none;
    padding:0;
    margin:0;
}

.social-list li{
    margin-bottom:12px;
}

.social-list a{
    color:#1E5BA8;
    text-decoration:none;
    font-weight:700;
}

.social-list a:hover{
    text-decoration:underline;
}

@media (max-width: 768px) {
    .about-grid,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .about-home,
    .contact-home{
        padding:60px 0;
    }
}

.use_for-home{
    padding:80px 0;
    background:linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.use_for-content{
    display:grid;
    grid-template-columns:0.8fr 1.2fr;
    gap:40px;
    margin-top:40px;
    align-items:center;
}

.use_for-image-box{
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-radius:24px;
    padding:40px;
    box-shadow:0 15px 45px rgba(6,32,58,0.08);
    position:relative;
}

.use_for-image-box::before{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:24px;
    border:2px solid rgba(30,91,168,0.08);
    pointer-events:none;
}

.use_for-image-box img{
    max-width:100%;
    height:auto;
    display:block;
    z-index:1;
    max-height:380px;
}

.use_for-benefits{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.benefit-card{
    background:#fff;
    border:1px solid rgba(30,91,168,0.08);
    border-radius:var(--radius-md);
    padding:20px;
    box-shadow: var(--shadow-soft);
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) ease;
}

.benefit-card:hover{
    transform:translateY(-6px);
    box-shadow: var(--shadow-soft-hover);
    border-color:rgba(30,91,168,0.2);
}

.benefit-card i{
    font-size:26px;
    color: var(--brand);
    width:56px;
    height:56px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background: var(--brand-light);
    margin-bottom:16px;
    transition: transform var(--dur-base) var(--ease-soft), background var(--dur-base) ease, color var(--dur-base) ease;
}

.benefit-card:hover i{
    transform: scale(1.1) rotate(-4deg);
    background: var(--brand);
    color: #ffffff;
}

.benefit-card h3{
    color: var(--brand);
    margin:0 0 10px 0;
    font-size:28px;
    font-weight:700;
}

.benefit-card p{
    color: var(--text-dark);
    margin:0;
    font-size:24px;
    line-height:1.5;
}

@media (max-width:768px){
    .use_for-home{
        padding:60px 0;
    }

    .use_for-content{
        grid-template-columns:1fr;
        gap:30px;
    }

    .use_for-image-box{
        padding:30px;
        min-height:300px;
    }

    .use_for-image-box img{
        max-height:280px;
    }

    .use_for-benefits{
        grid-template-columns:1fr;
    }

    .benefit-card{
        text-align:center;
    }

    .benefit-card h3{
        font-size:22px;
    }

    .benefit-card p{
        font-size:16px;
    }
}

/* Keep hero fade but subtler so the wave blends naturally */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;
    background: linear-gradient(to bottom, rgba(6,28,54,0.0) 0%, rgba(22, 67, 122, 0.04) 50%, #F5F9FC 68%);
    pointer-events: none;
    z-index: 2;
}

/* ================= PRODUCTS SECTION (post-hero) ================= */
.products-section {
    background: #F5F9FC;
    padding: 40px 0 80px;
    margin-top: -36px; /* pull up under the wave for a seamless join */
    position: relative;
    z-index: 1;
}

.products-section .section-title {
    text-align: center;
    margin-bottom: 28px;
}

.products-section .section-title h2 {
    font-size: 44px;
    color: #0D3B66;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .products-section {
        padding: 30px 0 60px;
        margin-top: -18px;
    }

    .products-section .section-title h2 {
        font-size: 32px;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 18px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 18px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--brand) 0%, #6bb7ff 100%);
}

.section-title p {
    font-size: 18px;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

/* ================= PRODUCT SHOWCASE (single auto-rotating card) ================= */

.products-section .container {
    position: relative;
    z-index: 1;
}

.product-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.showcase-card {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(30, 91, 168, .06);
    overflow: hidden;
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft-hover);
}

.showcase-slides {
    position: relative;
    min-height: 520px;
    transition: height .4s var(--ease-out);
}

.showcase-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 32px 32px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(24px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}

.showcase-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.showcase-media {
    width: 100%;
    max-width: 260px;
    margin-bottom: 20px;
    animation: float 3.4s ease-in-out infinite;
}

.showcase-slide.active .showcase-media {
    animation: showcaseImageIn .6s var(--ease-out) both, float 3.4s ease-in-out .6s infinite;
}

.showcase-gallery {
    position: relative;
    width: 100%;
    height: 220px;
}

.showcase-gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
    opacity: 0;
    transition: opacity .7s var(--ease-out);
}

.showcase-gallery-img.active {
    opacity: 1;
}

.showcase-info > * {
    opacity: 0;
    transform: translateY(16px);
}

.showcase-slide.active .showcase-info > * {
    animation: showcaseTextUp .55s var(--ease-out) both;
}

.showcase-slide.active .showcase-name-en { animation-delay: .1s; }
.showcase-slide.active .showcase-name-kh { animation-delay: .18s; }
.showcase-slide.active .showcase-desc { animation-delay: .26s; }
.showcase-slide.active .showcase-price-list,
.showcase-slide.active .showcase-price-single { animation-delay: .34s; }
.showcase-slide.active .showcase-actions { animation-delay: .44s; }

.showcase-name-en {
    color: var(--brand-dark);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 2px;
}

.showcase-name-kh {
    color: var(--brand);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.showcase-desc {
    display: inline-block;
    color: var(--brand);
    background: var(--brand-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.showcase-price-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    width: 100%;
    max-width: 340px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.showcase-price-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 10px;
    background: var(--brand-light-2);
    border: 1px solid rgba(30, 91, 168, .1);
    border-radius: 14px;
    text-align: center;
}

.showcase-price-list .variant-label {
    color: var(--text-body);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.showcase-price-list .variant-price {
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 18px;
    white-space: nowrap;
}

.showcase-price-list .variant-price small {
    display: block;
    color: var(--text-body);
    font-weight: 600;
    font-size: 11px;
    white-space: normal;
    margin-top: 2px;
}

.showcase-price-single {
    color: var(--brand);
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 22px;
}

.showcase-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@keyframes showcaseImageIn {
    from { opacity: 0; transform: scale(.85) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes showcaseTextUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Prev/next arrows */
.showcase-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #eee;
    background: #ffffff;
    color: var(--brand);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s var(--ease-soft), box-shadow .2s ease;
}

.showcase-arrow:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-soft);
    transform: scale(1.08);
}

.showcase-arrow:active {
    transform: scale(.95);
}

/* Dot indicators */
.showcase-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 22px;
}

.showcase-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #dbe6f5;
    cursor: pointer;
    padding: 0;
    transition: background .25s ease, width .25s ease;
}

.showcase-dot:hover {
    background: var(--brand-light);
}

.showcase-dot.active {
    background: var(--brand);
    width: 22px;
    border-radius: 5px;
}

/* Decorative floating blobs behind the showcase, purely visual */
.showcase-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.showcase-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .6;
    background: radial-gradient(circle, var(--brand-light) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.showcase-blob-a {
    width: 260px;
    height: 260px;
    top: -60px;
    left: 6%;
}

.showcase-blob-b {
    width: 220px;
    height: 220px;
    bottom: -40px;
    right: 8%;
    animation-delay: 1.5s;
}

@media (max-width: 640px) {
    .product-showcase {
        gap: 8px;
    }

    .showcase-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .showcase-slides {
        min-height: 600px;
    }

    .showcase-slide {
        padding: 32px 20px 24px;
    }

    .showcase-name-en {
        font-size: 22px;
    }
}

/* ================= WHY CHOOSE ================= */
.why {
    padding: 80px 0;
    background: #F5F9FC;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
    border: 1px solid rgba(30, 91, 168, .06);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft-hover);
}

.why-card i {
    font-size: 30px;
    color: var(--brand);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--brand-light);
    transition: transform var(--dur-base) var(--ease-soft), background var(--dur-base) ease;
}

.why-card:hover i {
    transform: scale(1.1) rotate(-4deg);
    background: var(--brand);
    color: #ffffff;
}

.why-card h3 {
    color: var(--brand-dark);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.6;
}

/* ================= FOOTER ================= */
.site-footer {
    background: linear-gradient(90deg, #0D3B66 0%, #1E5BA8 100%);
    color: #ffffff;
    padding: 50px 0 30px;
    margin-top: 80px;
    box-shadow: 0 -5px 30px rgba(30, 91, 168, 0.2);
    position: relative;
    overflow: hidden;
    align-items: center;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

/* ================= FLOATING CONTACT BUTTON ================= */
.float-contact {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50%;

    background: radial-gradient(circle at 30% 30%, #34d9f5, #1670c9 75%);
    box-shadow: 0 8px 24px rgba(22, 112, 201, 0.4),
                0 0 0 6px rgba(52, 217, 245, 0.12);

    color: #fff;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1),
                box-shadow .25s ease,
                opacity .18s ease;
    animation: contact-pulse 2.6s ease-in-out infinite;
}

.float-contact:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 14px 32px rgba(22, 112, 201, 0.5),
                0 0 0 8px rgba(52, 217, 245, 0.18);
    animation-play-state: paused;
}

.float-contact:active {
    transform: translateY(-2px) scale(0.95);
    box-shadow: 0 8px 20px rgba(22, 112, 201, 0.4);
}

@keyframes contact-pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(22, 112, 201, 0.4),
                    0 0 0 0 rgba(52, 217, 245, 0.35);
    }
    50% {
        box-shadow: 0 8px 24px rgba(22, 112, 201, 0.4),
                    0 0 0 10px rgba(52, 217, 245, 0);
    }
}

/* Hide floating button when mobile nav is open */
body.nav-open .float-contact {
    opacity: 0;
    pointer-events: none;
}

@media (max-width:480px) {
    .float-contact {
        width: 50px;
        height: 50px;
        right: 12px;
        bottom: 16px;
    }
}

.site-footer-inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-size: 14px;
    transition: color .25s ease;
}

.footer-col ul a:hover {
    color: #FFD700;
}

.footer-brand .footer-logo {
    height: 48px;
    margin-bottom: 14px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2));
}

.footer-brand h3 {
    font-size: 18px;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: background .25s ease, transform .25s ease;
}

.footer-social a:hover {
    background: #FFD700;
    color: #0D3B66;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 22px;
    text-align: center;
}

.site-footer p {
    font-size: 14px;
    opacity: 0.95;
    animation: slideInUp .6s ease-out;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand .footer-social {
        justify-content: center;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= TABLET (769px - 1024px) ================= */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        width: 92%;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero .container {
        gap: 32px;
    }

    .section-title h2,
    .products-section .section-title h2 {
        font-size: 36px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .use_for-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .use_for-image-box img {
        max-height: 300px;
    }

    .use_for-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        gap: 24px;
    }
}

/* Touch devices (mobile + tablet): replace hover-only feedback with a tap response */
@media (hover: none) and (pointer: coarse) {
    .why-card:active,
    .benefit-card:active {
        transform: translateY(-4px) scale(.99);
        transition-duration: .15s;
    }

    .showcase-card:active {
        transform: translateY(-4px) scale(.99);
        transition-duration: .15s;
    }

    .contact-link:active {
        transform: scale(.98);
        border-color: #1E5BA8;
    }

    .float-contact:active {
        transform: scale(.92);
    }

    .logo-img:active {
        transform: scale(.96);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .header .container {
        height: 60px;
        justify-content: center;
    }

    :root {
        --header-height: 60px;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        border: 0;
        color: var(--text-dark);
        font-size: 22px;
        cursor: pointer;
        padding: 10px;
        margin-left: 8px;
        position: relative;
        z-index: 1002;
    }

    body.nav-open {
        overflow: hidden;
    }

    /* Keep title visible and centered on small screens */
    .nav_title {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        max-width: calc(100% - 120px);
        text-align: center;
        z-index: 2;
    }

    .nav_title h1 {
        font-size: clamp(24px, 5.2vw, 34px);
        line-height: 1;
        margin: 0;
        color: var(--text-dark);
    }

    .logo {
        position: absolute;
        left: 10px;
        z-index: 3;
    }

    /* Order Now CTA moves out of the way on small screens; the floating contact button covers this role */
    .call-btn {
        display: none;
    }

    /* Hamburger takes the right-hand slot instead */
    .menu-toggle {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Reduce header logo height on small screens */
    .logo img {
        height: 44px;
    }

    nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 60px);
        background: linear-gradient(90deg, #1E5BA8 0%, #2E7BC4 100%);
        flex-direction: column;
        display: flex;
        padding: 20px 0;
        z-index: 1002;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: opacity var(--dur-fast) ease, transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-fast);
        pointer-events: none;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity var(--dur-fast) ease, transform var(--dur-base) var(--ease-out), visibility 0s linear 0s;
        pointer-events: auto;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
        transition-delay: calc(var(--reveal-index, 0) * 60ms);
    }

    nav.active .nav-menu li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        z-index: 1003;
        width: 100%;
        display: block;
        color: #ffffff;
    }

    .nav-menu a:hover,
    .nav-menu a.active,
    .nav-menu a[aria-current="page"] {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
    }

    .nav-menu a::after {
        display: none;
    }

    .call-btn {
        margin: 15px 20px;
        width: calc(100% - 40px);
        justify-content: center;
    }

    .hero .container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .hero-image img {
        max-width: 90%;
    }


    @media (max-width:420px) {
        .hero-image {
            display: none;
        }

        .hero {
            padding: 40px 0;
            min-height: 520px;
        }
    }

    .site-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-stats{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .map-container iframe{
        height:260px;
    }
}

/* ================= MOBILE CLARITY TUNING ================= */
@media (max-width: 768px) {
    .hero {
        margin-top: var(--header-height);
    }

    .hero {
        padding: 72px 0 34px;
        min-height: auto;
    }

    .hero .container {
        gap: 18px;
    }

    .hero-image {
        margin-top: 6px;
    }

    .hero-image img {
        width: min(72vw, 300px);
        max-width: 100%;
    }

    .hero-content {
        max-width: 100%;
        padding: 8px 6px 0;
    }

    .hero-content h1 {
        font-size: clamp(42px, 10.5vw, 56px);
        line-height: 1.12;
        margin-bottom: 14px;
        letter-spacing: 0.01em;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 1.65;
        margin-bottom: 20px;
        color: var(--text-body);
    }

    .hero-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
        min-height: 52px;
        font-size: 16px;
    }

    .confirmation-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .confirmation-actions .btn-primary,
    .confirmation-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .products-section {
        padding-top: 36px;
    }

    .float-contact {
        width: 48px;
        height: 48px;
        right: 10px;
        bottom: 14px;
    }
}

@media (max-width: 420px) {
    .hero {
        padding-top: 64px;
    }

    .hero-content h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hero-content p {
        font-size: 17px;
    }
}

/* ================= CONTACT MODAL ================= */
.btn-contact-modal{
    background:none;
    border:none;
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    padding:20px;
    width:100%;
    height:100%;
    transition:all 0.3s ease;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.btn-contact-modal:hover{
    transform:scale(1.05);
    background:rgba(255,255,255,0.1);
}

.contact-modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    opacity:0;
    pointer-events:none;
    transition:opacity 0.3s ease;
}

.contact-modal.active{
    opacity:1;
    pointer-events:all;
}

.modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.5);
    backdrop-filter:blur(4px);
}

.modal-content{
    position:relative;
    background:#fff;
    border-radius:24px;
    padding:40px;
    max-width:500px;
    width:90%;
    max-height:85vh;
    overflow-y:auto;
    box-shadow:0 25px 60px rgba(0,0,0,0.3);
    animation:slideUp 0.3s ease;
}

@keyframes slideUp{
    from{
        transform:translateY(30px);
        opacity:0;
    }
    to{
        transform:translateY(0);
        opacity:1;
    }
}

.modal-close{
    position:absolute;
    top:16px;
    right:16px;
    background:none;
    border:none;
    font-size:24px;
    cursor:pointer;
    color:#999;
    transition:color 0.2s ease;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.modal-close:hover{
    color:#1E5BA8;
}

.modal-content h2{
    color:#1E5BA8;
    margin:0 0 8px 0;
    font-size:28px;
}

.modal-content p{
    color:#666;
    margin:0 0 24px 0;
}

.contact-options{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.contact-link{
    display:flex;
    align-items:center;
    gap:16px;
    padding:16px 20px;
    border:2px solid #eee;
    border-radius:14px;
    text-decoration:none;
    color:inherit;
    transition:all 0.3s ease;
}

.contact-link:hover{
    border-color:#1E5BA8;
    background:#f8fbff;
    transform:translateX(4px);
}

.contact-link .icon{
    width:50px;
    height:50px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:700;
    color:#fff;
    flex-shrink:0;
}

.contact-link.facebook .icon{
    background:linear-gradient(135deg, #1877F2 0%, #0A66C2 100%);
}

.contact-link.telegram .icon{
    background:linear-gradient(135deg, #0088cc 0%, #0055b8 100%);
}

.contact-link h3{
    font-size:16px;
    margin:0 0 4px 0;
    color:#1E5BA8;
}

.contact-link p{
    font-size:13px;
    color:#999;
    margin:0;
}

/* ================= ORDER MODAL ================= */
.order-product-label{
    color: var(--brand);
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 18px 0;
}

.order-form{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-form label{
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.order-form input{
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    color: var(--text-dark);
    transition: border-color .2s ease;
}

.order-form input:focus{
    outline: none;
    border-color: var(--brand);
}

.order-form select,
.order-form textarea{
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    color: var(--text-dark);
    background: #ffffff;
    transition: border-color .2s ease;
    resize: vertical;
}

.order-form select:focus,
.order-form textarea:focus{
    outline: none;
    border-color: var(--brand);
}

.order-form select option{
    font-family: inherit;
    font-size: 14px;
    padding: 8px 12px;
    color: var(--text-dark);
}

.order-form-section{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-form-section-label{
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: -6px;
}

.order-form-divider{
    height: 1px;
    background: #eee;
    border: none;
    margin: 0;
}

.order-item-cards{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.order-item-card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    background: #ffffff;
    border: 2px solid #eee;
    border-radius: 12px;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.order-item-card:hover{
    border-color: var(--brand);
}

.order-item-card.active{
    border-color: var(--brand);
    background: var(--brand-light);
}

.order-item-card img{
    width: 100%;
    height: 70px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
}

.order-item-card-info{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-item-card-info strong{
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.3;
}

.order-item-card-info em{
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    color: var(--brand-dark);
}

.order-item-card-product{
    font-size: 11px;
    color: var(--text-body);
    line-height: 1.3;
}

.order-item-card-note{
    font-size: 11px;
    color: var(--brand);
    line-height: 1.3;
}

.order-item-error{
    color: #C0392B;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.payment-call-note{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--brand-light);
    border-radius: 14px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.payment-call-note i{
    color: var(--brand);
    font-size: 18px;
    flex-shrink: 0;
}

.order-form [hidden]{
    display: none !important;
}

.order-form .btn-primary{
    justify-content: center;
    margin-top: 4px;
}

.order-price-line{
    margin: -8px 0 0;
    font-weight: 800;
    font-size: 16px;
    color: var(--brand-dark);
}

.delivery-fee-line{
    margin: -8px 0 0;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-body);
}

.order-telegram-link{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eee;
    color: var(--brand);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.order-telegram-link:hover{
    text-decoration: underline;
}

/* ================= ORDER CONFIRMATION PAGE ================= */
.order-confirmation-section{
    margin-top: calc(var(--header-height) + 12px);
    padding: 60px 0 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.confirmation-card{
    max-width: 560px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 44px;
    text-align: center;
}

.confirmation-icon{
    font-size: 56px;
    color: #1a9e5c;
    margin-bottom: 12px;
    display: inline-flex;
}

.confirmation-icon-error{
    color: #d64545;
}

.confirmation-card h1{
    font-size: 28px;
    color: var(--brand-dark);
    margin-bottom: 10px;
}

.confirmation-sub{
    color: var(--text-body);
    font-size: 15px;
    margin-bottom: 28px;
}

.confirmation-details{
    text-align: left;
    border: 1px solid rgba(30, 91, 168, .1);
    border-radius: var(--radius-md);
    padding: 8px 20px;
    margin-bottom: 24px;
}

.confirmation-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(30, 91, 168, .08);
}

.confirmation-row:last-child{
    border-bottom: none;
}

.confirmation-row span{
    color: var(--text-body);
    font-size: 14px;
}

.confirmation-row strong{
    color: var(--text-dark);
    font-size: 14px;
    text-align: right;
}

.confirmation-row strong small{
    display: block;
    color: var(--text-body);
    font-weight: 600;
    font-size: 11px;
}

.confirmation-total strong{
    color: var(--brand);
    font-size: 18px;
    font-weight: 800;
}

.confirmation-card .payment-call-note{
    margin-bottom: 24px;
    justify-content: center;
}

.confirmation-actions{
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.confirmation-errors{
    text-align: left;
    color: #d64545;
    margin: 0 0 28px;
    padding-left: 20px;
}

@media (max-width: 768px){
    .confirmation-card{
        padding: 32px 24px;
    }
}

@media (max-width:768px){
    .modal-content{
        padding:30px 24px;
    }

    .modal-content h2{
        font-size:24px;
    }
}
