/* ============================================
   CANNABILAB — New Theme v3
   ============================================ */

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

:root {
    --teal:       #7ec5b3;
    --teal-light: #a8d8cb;
    --teal-dark:  #5ba898;
    --teal-bg:    #eef7f4;
    --blue:       #235787;
    --blue-dark:  #1a4268;
    --blue-900:   #0f2d47;
    --orange:     #c3512f;
    --green:      #059162;
    --white:      #ffffff;
    --gray-50:    #f7f9f8;
    --gray-100:   #eef2f0;
    --gray-200:   #dce3e0;
    --gray-400:   #94a39e;
    --gray-500:   #6b7b77;
    --gray-700:   #3a4a46;
    --gray-900:   #1a2421;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1140px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --t: .25s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 8px; font-weight: 600;
    font-size: 15px; transition: all var(--t); border: 2px solid transparent;
    cursor: pointer; white-space: nowrap;
}
.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--teal {
    background: var(--teal); color: var(--blue-900); border-color: var(--teal);
}
.btn--teal:hover {
    background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white);
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(126,197,179,.4);
}
.btn--white {
    background: var(--white); color: var(--blue-900); border-color: var(--white);
}
.btn--white:hover {
    background: var(--teal-light); border-color: var(--teal-light);
    transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn--outline-white {
    background: transparent; color: var(--white); border-color: rgba(255,255,255,.4);
}
.btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* --- HEADER --- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200); transition: box-shadow var(--t);
}
.header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.header__inner {
    display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.header__logo-img { height: 40px; mix-blend-mode: multiply; }
.header__nav { display: flex; gap: 28px; align-items: center; }
.nav__link {
    font-size: 14px; font-weight: 500; color: var(--gray-700);
    transition: color var(--t); position: relative;
    display: inline-flex; align-items: center; gap: 4px;
}
.nav__link:hover { color: var(--blue); }
.nav__link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
    height: 2px; background: var(--teal); border-radius: 2px; transition: width var(--t);
}
.nav__link:hover::after { width: 100%; }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
    display: none; position: absolute; top: 100%; left: -12px;
    margin-top: 12px; background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px 0;
    min-width: 220px; z-index: 10;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
    display: block; padding: 10px 20px; font-size: 14px; color: var(--gray-700);
    transition: all var(--t);
}
.nav__dropdown-menu a:hover { background: var(--teal-bg); color: var(--blue); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
    font-size: 13px; font-weight: 600; color: var(--gray-400);
    padding: 4px 10px; border-radius: 4px; transition: all var(--t);
}
.lang-switch:hover { color: var(--blue); background: var(--gray-100); }
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
    display: block; width: 24px; height: 2px; background: var(--gray-700);
    border-radius: 2px; transition: all var(--t);
}

/* --- HERO --- */
.hero {
    position: relative; min-height: 85vh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 72px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(15,45,71,.92) 0%, rgba(35,87,135,.85) 40%, rgba(91,168,152,.7) 100%);
}
.hero__container {
    position: relative; z-index: 1; flex: 1;
    display: flex; align-items: center; padding-top: 48px; padding-bottom: 120px;
}
.hero__content { max-width: 660px; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(126,197,179,.2); border: 1px solid rgba(126,197,179,.3);
    color: var(--teal-light); font-size: 13px; font-weight: 600;
    padding: 8px 16px; border-radius: 24px; margin-bottom: 24px;
}
.hero__badge-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero__title {
    font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800;
    color: var(--white); line-height: 1.12; margin-bottom: 20px;
}
.hero__subtitle {
    font-size: 19px; color: rgba(255,255,255,.75);
    max-width: 520px; margin-bottom: 36px; line-height: 1.65;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats bar */
.hero__stats-bar {
    position: relative; z-index: 1; background: var(--blue-900);
    border-top: 3px solid var(--teal);
}
.hero__stats {
    display: flex; align-items: center; justify-content: center;
    gap: 40px; padding: 28px 0;
}
.stat { text-align: center; }
.stat__number { display: block; font-size: 22px; font-weight: 800; color: var(--teal); }
.stat__label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }
.stat__divider { width: 1px; height: 36px; background: rgba(255,255,255,.15); }

/* --- SECTIONS --- */
.section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
    color: var(--gray-900); text-align: center; margin-bottom: 8px;
}
.section__title--left { text-align: left; }
.section__subtitle {
    text-align: center; color: var(--gray-500); font-size: 17px; margin-bottom: 52px;
}

/* --- SERVICES --- */
.services { padding: 100px 0; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service-card {
    display: flex; flex-direction: column;
    padding: 28px 24px 24px; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--gray-200);
    transition: all var(--t); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.service-card--teal::before   { background: var(--teal); }
.service-card--blue::before   { background: var(--blue); }
.service-card--green::before  { background: var(--green); }
.service-card--orange::before { background: var(--orange); }

.service-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.service-card__icon {
    width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
    border-radius: 12px; margin-bottom: 18px;
}
.service-card--teal .service-card__icon   { background: rgba(126,197,179,.15); color: var(--teal-dark); }
.service-card--blue .service-card__icon   { background: rgba(35,87,135,.1);    color: var(--blue); }
.service-card--green .service-card__icon  { background: rgba(5,145,98,.1);     color: var(--green); }
.service-card--orange .service-card__icon { background: rgba(195,81,47,.1);    color: var(--orange); }

.service-card__title { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.service-card__desc { font-size: 14px; color: var(--gray-500); line-height: 1.65; flex: 1; }
.service-card__link {
    display: inline-block; margin-top: 20px; font-size: 14px;
    font-weight: 600; color: var(--blue); transition: all var(--t);
}
.service-card:hover .service-card__link { transform: translateX(4px); }

/* --- WHY --- */
.why { padding: 100px 0; background: var(--gray-50); }
.why__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.why__list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.why__item { display: flex; gap: 16px; align-items: flex-start; }
.why__item-icon {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--teal); color: var(--blue-900); flex-shrink: 0; margin-top: 2px;
}
.why__item strong { display: block; font-size: 16px; color: var(--gray-900); margin-bottom: 2px; }
.why__item span { font-size: 14px; color: var(--gray-500); }
.why__visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why__card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px 24px; text-align: center; box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}
.why__card--big {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%); border: none;
}
.why__card--big .why__card-number { color: var(--teal); font-size: 3rem; }
.why__card--big .why__card-label { color: rgba(255,255,255,.7); }
.why__card-number { display: block; font-size: 2.2rem; font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.why__card-label { font-size: 14px; color: var(--gray-500); }

/* --- MEMBERS --- */
.members {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%);
    color: var(--white);
}
.members__inner { display: flex; align-items: center; gap: 28px; }
.members__icon {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    background: rgba(126,197,179,.15); border: 1px solid rgba(126,197,179,.25);
    border-radius: 16px; color: var(--teal); flex-shrink: 0;
}
.members__text { flex: 1; }
.members__title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.members__desc { font-size: 15px; opacity: .7; }
.members .btn--white { flex-shrink: 0; }

/* --- DOWNLOADS --- */
.downloads { padding: 100px 0; }
.downloads__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.download-item {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px; border-radius: var(--radius);
    border: 1px solid var(--gray-200); transition: all var(--t);
}
.download-item__icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--teal-bg); color: var(--teal-dark); flex-shrink: 0;
}
.download-item strong { display: block; font-size: 15px; color: var(--gray-900); }
.download-item span { font-size: 13px; color: var(--gray-400); }
.download-item:hover {
    border-color: var(--teal); background: var(--gray-50);
    box-shadow: var(--shadow); transform: translateY(-2px);
}

/* --- CONTACT --- */
.contact { padding: 100px 0; background: var(--gray-50); }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px 28px; border: 1px solid var(--gray-200);
    transition: all var(--t); text-align: center;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card__icon-wrap {
    width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--teal-bg); color: var(--teal-dark);
    margin: 0 auto 16px;
}
.contact-card h3 {
    font-size: 14px; font-weight: 600; color: var(--gray-500);
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px;
}
.contact-card__phone {
    display: block; font-size: 22px; font-weight: 700;
    color: var(--blue) !important; margin-bottom: 8px;
}
.contact-card__email {
    display: block; font-size: 14px; color: var(--teal-dark) !important;
    transition: color var(--t) !important;
}
.contact-card__email:hover { color: var(--blue) !important; }
.contact-card__hours { font-size: 13px; color: var(--gray-400); margin-top: 12px; }

.contact__address {
    text-align: center; margin-top: 40px; padding-top: 32px;
    border-top: 1px solid var(--gray-200); color: var(--gray-500); font-size: 15px;
}
.contact__address strong { color: var(--gray-900); }

/* --- FOOTER --- */
.footer {
    padding: 56px 0 32px; background: var(--gray-900); color: rgba(255,255,255,.6);
}
.footer__top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo { height: 36px; margin-bottom: 12px; filter: invert(1); mix-blend-mode: screen; }
.footer__brand p { font-size: 14px; line-height: 1.6; }
.footer__col h4 {
    font-size: 13px; font-weight: 700; color: var(--teal);
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.footer__col a {
    display: block; font-size: 14px; color: rgba(255,255,255,.55);
    padding: 4px 0; transition: color var(--t);
}
.footer__col a:hover { color: var(--white); }
.footer__address { font-size: 14px; line-height: 1.5; margin-top: 8px; }
.footer__bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 24px; font-size: 13px;
}
.footer__partner-logo { height: 28px; opacity: .5; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .contact__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .header__nav {
        display: none; position: fixed; top: 72px; left: 0; right: 0;
        background: var(--white); flex-direction: column; padding: 24px;
        gap: 16px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-lg);
    }
    .header__nav.open { display: flex; }
    .nav__dropdown-menu {
        position: static; display: none; box-shadow: none; border: none;
        margin-top: 0; padding-left: 16px; background: var(--gray-50); border-radius: 8px;
    }
    .nav__dropdown.open .nav__dropdown-menu { display: block; }
    .hamburger { display: flex; }
    .hero { min-height: 70vh; }
    .hero__container { padding-bottom: 80px; }
    .hero__stats { gap: 20px; flex-wrap: wrap; justify-content: flex-start; }
    .stat__divider { display: none; }
    .services__grid { grid-template-columns: 1fr; }
    .why__grid { grid-template-columns: 1fr; gap: 40px; }
    .members__inner { flex-direction: column; text-align: center; }
    .downloads__grid { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; text-align: center; }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
    .hero__title { font-size: 1.9rem; }
    .hero__cta { flex-direction: column; align-items: flex-start; }
    .why__visual { grid-template-columns: 1fr; }
    .why__card--big { grid-column: auto; }
}
