/* ==========================================================================
   BEST PRICE MEDICAL SUPPLIES — PWA DESIGN SYSTEM
   Fluid Effects · Glassmorphism · Responsive · Accessible
   ========================================================================== */

:root {
    --primary: #2E7D32;
    --accent: #43A047;
    --light: #E8F5E9;
    --dark: #1B5E20;
    --highlight: #A5D6A7;
    --navy: #0B1B3D;
    --red: #D32F2F;
    --lazada: #FF4D00;
    --white: #FFFFFF;
    --ink: #1A221F;
    --muted: #5C6B62;
    --border: #DDE7DF;
    --bg: #F6FBF6;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.55);
    --shadow-sm: 0 2px 10px rgba(27, 94, 32, 0.08);
    --shadow-md: 0 12px 32px rgba(27, 94, 32, 0.14);
    --shadow-lg: 0 24px 60px rgba(11, 27, 61, 0.18);
    --radius: 16px;
    --radius-lg: 24px;
    --ease: cubic-bezier(.22, .68, .32, 1.02);
    --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--dark); }
p { margin-bottom: 1rem; }

.container { width: min(92%, 1200px); margin-inline: auto; }
section { padding: 64px 0; position: relative; }

::selection { background: var(--highlight); color: var(--dark); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ================= FLUID BACKGROUND BLOBS ================= */
.fluid-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(60rem 60rem at 85% -10%, #E8F5E9 0%, transparent 60%),
        radial-gradient(50rem 50rem at -10% 110%, #F1F8F1 0%, transparent 55%),
        var(--bg);
}

.blob {
    position: absolute;
    filter: blur(70px);
    opacity: .5;
    border-radius: 42% 58% 61% 39% / 45% 42% 58% 55%;
    animation: blobMorph 16s ease-in-out infinite alternate, blobDrift 26s ease-in-out infinite alternate;
    will-change: border-radius, transform;
}

.blob-1 { width: 34vw; height: 34vw; background: rgba(67, 160, 71, .30); top: -8vh; left: -6vw; }
.blob-2 { width: 28vw; height: 28vw; background: rgba(165, 214, 167, .38); bottom: -10vh; right: -4vw; animation-delay: -6s; }
.blob-3 { width: 20vw; height: 20vw; background: rgba(11, 27, 61, .12); top: 42vh; left: 58vw; animation-delay: -12s; }

@keyframes blobMorph {
    0%   { border-radius: 42% 58% 61% 39% / 45% 42% 58% 55%; }
    50%  { border-radius: 58% 42% 39% 61% / 52% 61% 39% 48%; }
    100% { border-radius: 39% 61% 55% 45% / 61% 48% 52% 39%; }
}

@keyframes blobDrift {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(4vw, -5vh) scale(1.12) rotate(24deg); }
}

/* ================= HEADER ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(27, 94, 32, 0.06);
    transition: box-shadow .3s var(--ease);
}

.site-header.scrolled { box-shadow: 0 8px 34px rgba(27, 94, 32, 0.13); }

.header-inner {
    width: min(96%, 1400px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Brand block: logo + name */
.brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 3px 8px rgba(46, 125, 50, .35));
    transition: transform .4s var(--ease);
}

.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.06); }

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name strong {
    font-size: 1.18rem;
    color: var(--primary);
    letter-spacing: .02em;
    font-weight: 800;
}

.brand-name span {
    font-size: .68rem;
    color: var(--muted);
    letter-spacing: .09em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Nav: menu placed LEFT, after logo & branding */
.main-nav { margin-right: auto; margin-left: .5rem; }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
    position: relative;
    transition: background .25s var(--ease), color .25s var(--ease);
}

.main-nav a:hover { background: var(--light); color: var(--primary); }

.main-nav a.active { background: var(--primary); color: #fff; }

/* Header actions (right) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
    font-size: .92rem;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--light);
    border: 1px solid var(--border);
    transition: all .25s var(--ease);
}

.header-phone:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: 10px 22px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(46, 125, 50, .35);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(46, 125, 50, .45); color: #fff; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.nav-toggle span {
    height: 2.6px;
    width: 100%;
    border-radius: 4px;
    background: var(--primary);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* ================= BUTTONS ================= */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 10px 26px rgba(46, 125, 50, .4);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(46, 125, 50, .5); color: #fff; }

.btn-outline {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.btn-outline:hover { background: #fff; color: var(--dark); }

.btn-ghost {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--dark); }

.btn-lazada {
    background: linear-gradient(135deg, #FF6A00, var(--lazada));
    color: #fff;
    box-shadow: 0 10px 26px rgba(255, 77, 0, .38);
}
.btn-lazada:hover { box-shadow: 0 16px 36px rgba(255, 77, 0, .5); color: #fff; }

.btn-fb {
    background: linear-gradient(135deg, #1877F2, #0E5FCC);
    color: #fff;
    box-shadow: 0 10px 26px rgba(24, 119, 242, .4);
}
.btn-fb:hover { box-shadow: 0 16px 36px rgba(24, 119, 242, .5); color: #fff; }

/* Icon buttons: ensure icons inherit color + never collapse */
.header-phone svg,
.btn-nav svg,
.btn svg,
.map-link svg { flex-shrink: 0; }

.header-phone svg { color: currentColor; }

/* Inline sprite icons: fill color context */
.card-icon svg,
.check svg,
.doc-note svg,
.contact-card .map-link svg,
.testi-card svg { color: inherit; }

/* Map captions under footer maps */
.map-caption {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    color: #CFE2D4;
    font-size: .88rem;
    font-weight: 700;
}

.map-caption svg { color: var(--highlight); flex-shrink: 0; }

/* Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    transform: scale(0);
    animation: rippleAnim .6s linear;
    pointer-events: none;
}

@keyframes rippleAnim { to { transform: scale(3.2); opacity: 0; } }

/* ================= HERO ================= */
.hero {
    position: relative;
    padding: 96px 0 110px;
    color: #fff;
    background:
        radial-gradient(38rem 38rem at 12% -12%, rgba(67, 160, 71, .55), transparent 62%),
        radial-gradient(46rem 46rem at 108% 118%, rgba(11, 60, 24, .85), transparent 62%),
        linear-gradient(135deg, #1B5E20 0%, #2E7D32 45%, #43A047 100%);
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.3px);
    background-size: 26px 26px;
    animation: dotPan 60s linear infinite;
}

@keyframes dotPan { to { background-position: 260px 260px; } }

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 22px;
    animation: fadeUp .8s var(--ease) both;
}

.hero-badge .pulse {
    width: 9px; height: 9px; border-radius: 50%;
    background: #B9F6CA;
    box-shadow: 0 0 0 0 rgba(185, 246, 202, .8);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(185, 246, 202, .8); }
    70% { box-shadow: 0 0 0 12px rgba(185, 246, 202, 0); }
    100% { box-shadow: 0 0 0 0 rgba(185, 246, 202, 0); }
}

.hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 18px;
    animation: fadeUp .8s .12s var(--ease) both;
}

.hero h1 .grad {
    background: linear-gradient(92deg, #C8E6C9, #A5D6A7 55%, #E8F5E9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    max-width: 640px;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 34px;
    animation: fadeUp .8s .24s var(--ease) both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeUp .8s .36s var(--ease) both;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    animation: fadeUp .8s .48s var(--ease) both;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    font-size: .82rem;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Hero art */
.hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeUp .9s .3s var(--ease) both;
}

.hero-art .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .35;
}

.hero-art svg { width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }

.float-y { animation: floatY 6s ease-in-out infinite; }
.float-y-2 { animation: floatY 7.5s ease-in-out infinite reverse; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

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

/* Wave divider */
.wave-divider { display: block; width: 100%; height: 70px; margin-top: -1px; }

/* ================= SECTION HEADS ================= */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }

.section-kicker {
    display: inline-block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--light);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.01em;
    margin-bottom: 12px;
}

.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--highlight));
}

.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ================= CARDS ================= */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative;
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--highlight));
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--highlight);
}

.card:hover::before { opacity: 1; }

.card h3 { color: var(--primary); font-size: 1.18rem; margin-bottom: 10px; font-weight: 800; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--light), #D7EED9);
    color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(46, 125, 50, .12);
    transition: transform .4s var(--ease);
}

.card:hover .card-icon { transform: rotate(-8deg) scale(1.1); }

.card-icon svg { width: 30px; height: 30px; }

/* Category card variant */
.cat-card { text-align: center; padding: 30px 22px; }

.cat-card .card-icon { margin-inline: auto; }

.cat-link {
    display: inline-block;
    margin-top: 14px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--accent);
}

/* Product card */
.prod-card { padding: 0; display: flex; flex-direction: column; }

.prod-media {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--light) 0%, #F3FAF3 60%, #E1F1E3 100%);
    border-bottom: 1px solid var(--border);
}

.prod-media svg { width: 42%; height: auto; transition: transform .5s var(--ease); filter: drop-shadow(0 12px 20px rgba(27, 94, 32, .25)); }

.prod-card:hover .prod-media svg { transform: scale(1.12) rotate(3deg); }

.prod-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light);
    color: var(--dark);
    font-size: .72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: auto;
    align-self: flex-start;
}

/* ================= ABOUT INTRO ================= */
.about-intro {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.about-intro h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--dark); margin-bottom: 16px; font-weight: 800; }

.about-intro .lead { font-size: 1.06rem; color: var(--ink); }

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(232, 245, 233, .65));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease);
}

.stat-card:hover { transform: translateY(-6px); }

.stat-num {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.stat-label { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ================= TESTIMONIALS ================= */
.testi-card {
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.testi-quote { font-style: italic; color: var(--ink); font-size: 1.02rem; }

.testi-who { display: flex; align-items: center; gap: 13px; margin-top: auto; }

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    font-size: .95rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 6px 16px rgba(46, 125, 50, .35);
    flex-shrink: 0;
}

.testi-name { font-weight: 800; color: var(--dark); font-size: .95rem; }
.testi-role { font-size: .8rem; color: var(--muted); }

.stars { color: #F9A825; letter-spacing: 2px; font-size: .9rem; }

/* ================= PARTNERS CAROUSEL ================= */
.partners-section { background: rgba(232, 245, 233, .5); border-block: 1px solid var(--border); }

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 10px;
}

.carousel-track {
    display: flex;
    transition: transform .65s var(--ease);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 10px 4px;
}

.partner-tile {
    background: rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    cursor: default;
}

.partner-tile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--highlight);
}

.partner-tile svg { width: 100%; max-width: 150px; height: auto; }

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
}

.c-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
    font-size: 1.15rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    transition: all .25s var(--ease);
}

.c-btn:hover { background: var(--primary); color: #fff; transform: scale(1.08); }

.carousel-dots { display: flex; gap: 9px; }

.dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: none;
    background: var(--highlight);
    cursor: pointer;
    transition: all .3s var(--ease);
    padding: 0;
}

.dot.active { width: 32px; background: var(--primary); }

/* ================= WHY US ================= */
.why-card { text-align: left; }

.check {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 8px 18px rgba(46, 125, 50, .3);
}

.check svg { width: 24px; height: 24px; }

/* ================= PAGE HERO (inner pages) ================= */
.page-hero {
    position: relative;
    padding: 72px 0 64px;
    color: #fff;
    background:
        radial-gradient(34rem 34rem at 8% -20%, rgba(67, 160, 71, .5), transparent 60%),
        linear-gradient(135deg, #1B5E20 0%, #2E7D32 55%, #388E3C 100%);
    overflow: hidden;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    animation: fadeUp .7s var(--ease) both;
}

.page-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, .92);
    font-size: 1.08rem;
    animation: fadeUp .7s .12s var(--ease) both;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 700;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: fadeUp .7s both;
}

.breadcrumb a { color: #C8E6C9; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .6; }
.breadcrumb .current { color: #fff; }

/* ================= CONTENT PAGES (privacy, terms, etc.) ================= */
.doc-section { padding: 56px 0; }

.doc-card {
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 48px);
    box-shadow: var(--shadow-md);
}

.doc-card h2 {
    color: var(--primary);
    font-size: 1.35rem;
    margin: 34px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--highlight);
    font-weight: 800;
}

.doc-card h2:first-of-type { margin-top: 0; }

.doc-card h3 { color: var(--dark); font-size: 1.08rem; margin: 22px 0 8px; }

.doc-card p, .doc-card li { color: var(--ink); font-size: 1rem; }

.doc-card ul, .doc-card ol { padding-left: 24px; margin-bottom: 1rem; }
.doc-card li { margin-bottom: .5rem; }

.doc-note {
    display: flex;
    gap: 14px;
    background: var(--light);
    border: 1px solid var(--highlight);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin: 18px 0;
    font-size: .95rem;
}

.doc-note svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--primary); }

/* ================= FAQ ACCORDION ================= */
.faq-list { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }

.faq-item {
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .3s var(--ease);
}

.faq-item[open] { box-shadow: var(--shadow-md); }

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 800;
    color: var(--dark);
    cursor: pointer;
    font-size: 1.03rem;
    user-select: none;
}

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

.faq-item summary:hover { color: var(--primary); }

.faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--light);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}

.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }

.faq-body { padding: 0 24px 22px; color: var(--muted); }

/* ================= FORMS ================= */
.form-wrap { max-width: 780px; margin-inline: auto; }

.form-card {
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 46px);
    box-shadow: var(--shadow-md);
}

.field { margin-bottom: 20px; }

.field label { display: block; font-weight: 700; color: var(--dark); margin-bottom: 7px; font-size: .95rem; }

.field label .req { color: var(--red); }

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 13px 16px;
    border: 1.6px solid var(--border);
    border-radius: 12px;
    font: inherit;
    color: var(--ink);
    background: rgba(255, 255, 255, .9);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(67, 160, 71, .16);
    background: #fff;
}

.field input::placeholder, .field textarea::placeholder { color: #9BAA9F; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    letter-spacing: .02em;
}

.form-success {
    display: none;
    text-align: center;
    padding: 34px 22px;
}

.form-success.show { display: block; animation: fadeUp .5s var(--ease); }

.form-success svg { width: 64px; height: 64px; color: var(--accent); margin-bottom: 14px; }

/* ================= CONTACT CARDS / FOOTER ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.contact-card {
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

.contact-badge {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .8rem;
    color: #fff;
    letter-spacing: .05em;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.contact-badge.green { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.contact-badge.navy { background: linear-gradient(135deg, #16294F, #2E4A85); }

.contact-card h3 { color: var(--dark); font-size: 1.05rem; margin-bottom: 6px; }

.contact-card address { font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.7; }

.contact-card .map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: .85rem;
    font-weight: 700;
}

/* ================= FOOTER ================= */
.site-footer {
    position: relative;
    color: #DCEAE0;
    background:
        radial-gradient(42rem 42rem at 100% 0%, rgba(67, 160, 71, .28), transparent 60%),
        radial-gradient(36rem 36rem at 0% 100%, rgba(11, 27, 61, .5), transparent 55%),
        #10240F;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--highlight), var(--primary));
}

.footer-partner {
    text-align: center;
    padding: 54px 0 8px;
}

.footer-partner img {
    height: 88px;
    margin: 0 auto 16px;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .4));
    background: rgba(255, 255, 255, .96);
    border-radius: 18px;
    padding: 10px 14px;
}

.footer-partner h2 {
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    color: #fff;
    font-weight: 800;
}

.footer-partner h2 span { color: var(--highlight); }

.footer-partner p { color: rgba(220, 234, 224, .7); font-size: .92rem; margin-top: 6px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 38px;
    padding: 40px 0;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(165, 214, 167, .4);
    display: inline-block;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a { color: #B9CCC0; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }

.footer-col a:hover { color: #fff; transform: translateX(3px); }

.footer-col a::before { content: "→"; color: var(--highlight); font-size: .8rem; }

.footer-brand-about { color: #AFC5B6; font-size: .93rem; max-width: 380px; }

.footer-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 6px 0 34px; }

.footer-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: var(--shadow-lg);
    margin-bottom: 10px;
}

.footer-map iframe { display: block; width: 100%; height: 320px; border: 0; filter: saturate(.9); }

.map-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-top: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.map-cta p { margin: 0; color: #CFE2D4; font-size: .93rem; font-weight: 600; }

.map-cta .btn { padding: 11px 22px; font-size: .9rem; }

.social-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.social {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    position: relative;
    overflow: hidden;
}

.social svg { width: 24px; height: 24px; }

.social:hover { transform: translateY(-5px) rotate(-4deg); }

.social.fb { background: linear-gradient(135deg, #1877F2, #0E5FCC); box-shadow: 0 10px 22px rgba(24, 119, 242, .4); }
.social.ig { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); box-shadow: 0 10px 22px rgba(221, 42, 123, .4); }
.social.yt { background: linear-gradient(135deg, #FF0000, #CC0000); box-shadow: 0 10px 22px rgba(255, 0, 0, .35); }
.social.vb { background: linear-gradient(135deg, #7360F2, #5927C4); box-shadow: 0 10px 22px rgba(115, 96, 242, .4); }

.footer-end {
    background: rgba(0, 0, 0, .34);
    padding: 22px 0;
    text-align: center;
}

.footer-end p { margin: 0; color: #9DB5A6; font-size: .88rem; }

.footer-end strong { color: #D3E5D8; }

/* ================= COMING SOON ================= */
.cs-hero { text-align: center; }

.cs-art { width: min(340px, 70vw); margin: 0 auto 30px; animation: floatY 6s ease-in-out infinite; }

.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--light);
    border: 1.5px dashed var(--highlight);
    color: var(--dark);
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.cs-badge .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulseDot 1.6s infinite; }

/* ================= REVEAL ON SCROLL ================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }

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

.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ================= BACK TO TOP ================= */
.to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 90;
    box-shadow: 0 12px 26px rgba(46, 125, 50, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all .35s var(--ease);
}

.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.to-top:hover { transform: translateY(-4px); }

/* ================= A11Y & MOTION ================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    transition: top .3s var(--ease);
}

.skip-link:focus { top: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
    .carousel-slide { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin-inline: auto; }
    .hero-cta, .hero-trust { justify-content: center; }
    .hero-art { display: none; }
    .about-intro { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-phone { display: none; }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; margin-left: auto; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        margin: 0;
        background: rgba(255, 255, 255, .97);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        clip-path: circle(0% at 92% 0);
        transition: clip-path .45s var(--ease);
        pointer-events: none;
    }

    .main-nav.open { clip-path: circle(150% at 92% 0); pointer-events: auto; }

    .main-nav ul { flex-direction: column; align-items: stretch; padding: 16px; gap: 6px; }

    .main-nav a { padding: 14px 20px; border-radius: 12px; font-size: 1.02rem; }

    .header-actions .btn-nav { display: none; }

    .footer-contacts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .carousel-slide { grid-template-columns: repeat(2, 1fr); }
    .field-row { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    section { padding: 48px 0; }
    .hero { padding: 64px 0 84px; }
    .brand-name strong { font-size: 1rem; }
    .to-top { right: 16px; bottom: 16px; }
}
