/*
 * Easy-IT.io — Custom Styles
 * Base: UIkit 3
 */

/* ===== Variables ===== */
:root {
    --brand:      #3399ff;
    --dark-bg:    #1b2028;
    --dark-hover: #161b22;
    --radius-soft: 12px;
    --radius-img: 10px;
}

/* ===== Base ===== */
html { scroll-behavior: smooth; }

a { text-decoration: none; }
a:hover { text-decoration: none; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #333;
}

/* ===== UIkit section palette overrides ===== */
.uk-section-secondary {
    background-color: var(--dark-bg) !important;
}

.uk-section-primary {
    background-color: var(--brand) !important;
}

/* ===== Extend UIkit with xlarge padding ===== */
.uk-section-xlarge {
    padding-top:    140px;
    padding-bottom: 140px;
}
@media (min-width: 960px) {
    .uk-section-xlarge {
        padding-top:    210px;
        padding-bottom: 210px;
    }
}

/* ===== Text primary = brand blue ===== */
.uk-text-primary { color: var(--brand) !important; }

/* ===== Единая система кнопок ===== */

/* --- Светлый фон: синяя заливка, белый текст (как btn-how-it-works) --- */
.uk-button-default {
    background-color: var(--brand);
    border:           1px solid var(--brand);
    color:            #fff;
    border-radius:    999px;
    transition:       background .15s, border-color .15s, opacity .15s;
}
.uk-button-default:hover,
.uk-button-default:focus {
    background-color: #2280e0;
    border-color:     #2280e0;
    color:            #fff;
}

/* --- Тёмный / цветной фон: прозрачная заливка, белая рамка, белый текст --- */
.uk-section-secondary .uk-button-default,
.uk-section-primary   .uk-button-default,
.hero-section         .uk-button-default,
.cta-section          .uk-button-default {
    background-color: transparent;
    border-color:     rgba(255,255,255,.75);
    color:            #fff;
}
.uk-section-secondary .uk-button-default:hover,
.uk-section-primary   .uk-button-default:hover,
.hero-section         .uk-button-default:hover,
.cta-section          .uk-button-default:hover {
    background-color: rgba(255,255,255,.15);
    border-color:     #fff;
    color:            #fff;
}

/* --- uk-button-text: светлый фон — бренд, тёмный фон — белый --- */
.uk-button-text {
    color: var(--brand);
}
.uk-button-text::before { background-color: var(--brand); }

.uk-section-secondary .uk-button-text,
.hero-section         .uk-button-text {
    color: #fff;
}
.uk-section-secondary .uk-button-text::before,
.hero-section         .uk-button-text::before {
    background-color: #fff;
}

/* ===== Language switcher в navbar ===== */
.tm-lang-link {
    color:           rgba(255,255,255,.75) !important;
    text-decoration: none;
    display:         flex;
    align-items:     center;
    gap:             6px;
    font-size:       13px;
}
.tm-lang-link:hover { color: #fff !important; }

/* ===== Fixed site header ===== */
.tm-site-header {
    position: fixed;
    top:   0;
    left:  0;
    right: 0;
    z-index: 980;
}

/* ===== Navbar ===== */
.uk-navbar-container {
    transition: background .3s ease, box-shadow .3s ease;
}

/* Прозрачный — hero image виден насквозь */
.uk-navbar-container.navbar-top {
    background: transparent !important;
    box-shadow: none !important;
}
.uk-navbar-container.navbar-top .uk-navbar-nav > li > a,
.uk-navbar-container.navbar-top .uk-logo {
    color: #fff;
}
.uk-navbar-container.navbar-top .uk-navbar-nav > li > a:hover,
.uk-navbar-container.navbar-top .uk-navbar-nav > li.uk-active > a {
    color: rgba(255,255,255,.65);
}

/* Тёмный — при скролле >80px */
.uk-navbar-container.navbar-scrolled {
    background: var(--dark-bg) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,.35) !important;
}
.uk-navbar-container.navbar-scrolled .uk-navbar-nav > li > a,
.uk-navbar-container.navbar-scrolled .uk-logo {
    color: #fff;
}
.uk-navbar-container.navbar-scrolled .uk-navbar-nav > li > a:hover,
.uk-navbar-container.navbar-scrolled .uk-navbar-nav > li.uk-active > a {
    color: var(--brand);
}

/* Mobile header fixed bar */
#mobile-header {
    position:  fixed;
    top:       0;
    left:      0;
    right:     0;
    z-index:   980;
    background: rgba(27,32,40,.92);
}
#mobile-header .uk-navbar-container {
    background: transparent !important;
}
#mobile-header .uk-navbar-nav > li > a,
#mobile-header .uk-logo { color: #fff; }

/* ===== Hero section — начинается с y=0, под fixed-хедером ===== */
/* ===== CTA / Get In Touch block ===== */
.cta-section {
    height:              600px;
    background-size:     cover;
    background-position: center;
    background-repeat:   no-repeat;
    display:             flex;
    align-items:         center;
    color:               #fff;
}
.cta-section h2,
.cta-section p { color: #fff; }

.hero-section {
    min-height: 100vh;
    padding-top: 280px;
    background-size:     cover;
    background-position: center;
    background-repeat:   no-repeat;
    color: #fff;
}
.hero-section h1,
.hero-section h2,
.hero-section ul li,
.hero-section p { color: #fff; }

/* Hero — tagline над заголовком */
.hero-tagline {
    text-transform:  uppercase;
    font-size:       11px;
    letter-spacing:  3px;
    font-weight:     700;
    color:           var(--brand);
    margin-bottom:   20px;
}

/* Hero — правая колонка прижата вправо */
.hero-rows-wrap {
    margin-left: auto;
    max-width:   380px;
}

.hero-facts-card {
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(14, 28, 49, 0.16);
    border-radius: var(--radius-soft);
    padding: 22px 22px 16px;
    backdrop-filter: blur(6px);
}

/* Hero — бейдж-пилюля */
.hero-pill {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    background:      var(--brand);
    color:           #fff;
    font-size:       11px;
    font-weight:     700;
    text-transform:  uppercase;
    letter-spacing:  1.6px;
    padding:         7px 14px;
    border-radius:   999px;
    margin-bottom:   16px;
}

/* Hero — строки с левой чертой */
.hero-rows {
    display:        flex;
    flex-direction: column;
    gap: 2px;
}

.hero-row {
    border-left:   2px solid rgba(51,153,255,.95);
    padding:       12px 0 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.hero-row:last-child {
    border-bottom: none;
}

.hero-row__label {
    font-size:      11px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight:    700;
    color:          rgba(165, 214, 255, 0.95);
    margin-bottom:  4px;
}

.hero-row__value {
    font-size:   19px;
    font-weight: 600;
    color:       #fff;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

/* ===== Service cards ===== */
.service-card {
    height:          560px;
    position:        relative;
    display:         block;
    text-decoration: none;
    padding-bottom:  80px !important; /* резерв под кнопку */
}

/* Кнопка — абсолютно прибита к низу на 24px */
.service-card > div:last-child {
    position: absolute;
    bottom:   24px;
    left:     30px;
    right:    30px;
}

@media (max-width: 639px) {
    .service-card {
        height:         auto;
        min-height:     320px;
        padding-bottom: 80px !important;
    }
}

/* ===== How We Deliver section (blue bg) ===== */
.deliver-section {
    min-height: 100vh;
    background-color: var(--brand);
    background-size:     cover;
    background-position: center;
    background-repeat:   no-repeat;
    display:    flex;
    align-items: center;
    padding: 80px 0;
}
.deliver-section h2,
.deliver-section h1 { color: #fff; }

.deliver-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-soft);
}
.deliver-card p { color: #111; }


/* ===== Three pillars section ===== */
.pillars-section {
    background: #fff;
}
.pillars-section .uk-grid {
    align-items: stretch;
}
.pillars-section .pillar-card {
    height: 100%;
    padding: 36px 28px 30px;
    border: 1px solid #e7edf5;
    border-radius: var(--radius-soft);
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 31, 54, 0.08);
}

/* ===== Unified soft corners for visual consistency ===== */
.uk-card,
.service-card {
    border-radius: var(--radius-soft);
}
.uk-section img,
.cta-section img,
footer img {
    border-radius: var(--radius-img);
}
.pillars-section .pillar-card-media {
    height: 200px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillars-section .pillar-card h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #162334;
    letter-spacing: 0.01em;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillars-section ul.uk-list {
    margin: 0;
    padding: 0;
}
.pillars-section ul.uk-list > li {
    margin-bottom: 18px;
    list-style: none;
    position: relative;
    padding-left: 18px;
}
.pillars-section ul.uk-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.9;
}
.pillars-section ul.uk-list > li strong {
    display:     block;
    color:       var(--brand);
    font-weight: 700;
    letter-spacing: 0.01em;
}
.pillars-section ul.uk-list > li p {
    margin:      3px 0 0;
    color:       #3d4a5d;
    line-height: 1.55;
}
@media (max-width: 959px) {
    .pillars-section .pillar-card {
        padding: 28px 22px 24px;
    }
    .pillars-section .pillar-card-media {
        height: auto;
    }
    .pillars-section .pillar-card h2 {
        font-size: 26px;
        min-height: 0;
    }
}

/* ===== Dark sections — force light text ===== */
.uk-section-secondary h1,
.uk-section-secondary h2,
.uk-section-secondary h3,
.uk-section-secondary h4,
.uk-section-secondary p,
.uk-section-secondary li,
.uk-section-secondary .uk-text-lead {
    color: rgba(255,255,255,.85);
}
.uk-section-secondary .uk-card-secondary h3,
.uk-section-secondary .uk-card-secondary p {
    color: rgba(255,255,255,.85);
}

/* Primary (blue) section light text */
.uk-section-primary h1,
.uk-section-primary h2,
.uk-section-primary p { color: #fff; }

/* ===== Alternating content sections ===== */
.content-section { padding: 80px 0; }
.content-section h2.uk-h1 { color: #111; }
.content-section .uk-text-lead { color: #333; }
.content-section h4 { color: #444; }
.content-section ul.uk-list > li { color: #444; }

/* ===== Footer ===== */
footer .uk-h5 { color: rgba(255,255,255,.55); }
footer h4     { color: #fff; }
footer p,
footer li,
footer .uk-text-small,
footer .uk-text-meta { color: rgba(255,255,255,.5); }
footer .uk-text-meta a { color: rgba(255,255,255,.6); }
footer .uk-text-meta a:hover { color: #fff; }

footer .footer-legal {
    font-size: 8px;
    color: rgba(255,255,255,.35);
    line-height: 1.5;
}

footer .uk-icon-button {
    color: rgba(255,255,255,.65) !important;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
}
footer .uk-icon-button:hover {
    color:        #fff !important;
    border-color: rgba(255,255,255,.7);
    background:   transparent;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 959px) {
    .hero-section {
        padding-top:    80px;
        min-height:     auto;
        padding-bottom: 60px;
    }
    .hero-rows-wrap {
        margin-top: 20px;
        max-width: 100%;
    }
    .hero-facts-card {
        padding: 18px 18px 12px;
    }
    .deliver-section { min-height: auto; }
}

/* ===== How It Works page ===== */
.how-card {
    height: 100%;
    border: 1px solid #e7edf5;
    box-shadow: 0 10px 28px rgba(16, 31, 54, 0.08);
}
.how-card .uk-card-title {
    font-size: 22px;
    line-height: 1.25;
    color: #162334;
}
.how-card p {
    color: #3d4a5d;
    line-height: 1.55;
}


/* ===== About page ===== */
.about-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}
.about-hero h1,
.about-hero h2 {
    color: #fff;
}
.about-avatar {
    border-radius: 50% !important;
    border: 4px solid rgba(255,255,255,0.65);
    box-shadow: 0 10px 24px rgba(16, 31, 54, 0.12);
}
.about-points > li {
    margin-bottom: 14px;
}
.about-points > li > span {
    display: block;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.01em;
}
.about-points > li > p {
    margin: 3px 0 0;
    color: #3d4a5d;
}
.about-partner-name {
    display: block;
    font-weight: 700;
}


/* ===== Office 365 page ===== */
.office-hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 280px;
}
.office-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
}
.office-hero .uk-container {
    position: relative;
    z-index: 1;
}
.office-hero h1,
.office-hero h2,
.office-hero p {
    color: #fff;
}
@media (max-width: 959px) {
    .office-hero {
        padding-top: 90px;
        min-height: auto;
    }
}

.office-plan-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: var(--radius-soft);
    box-shadow: 0 10px 28px rgba(16, 31, 54, 0.08);
    padding: 26px 22px;
    text-align: center;
}
.office-plan-card h3 {
    color: #162334;
    font-size: 27px;
    line-height: 1.2;
    margin-bottom: 14px;
}
.office-plan-card p {
    color: #3d4a5d;
    line-height: 1.55;
    min-height: 72px;
}

.office-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 8px;
}

.office-cta-card {
    border: 1px solid #e7edf5;
    border-radius: var(--radius-soft);
    padding: 28px;
    box-shadow: 0 10px 28px rgba(16, 31, 54, 0.08);
    background: #fff;
}

/* ===== M365 landing block ===== */
#m365-landing-block,
#m365-landing-block * { box-sizing: border-box; }
#m365-landing-block {
    --m-blue: #3399ff;
    --m-blue-bright: #4aa7ff;
    --m-dark: #243541;
    --m-text: #3d4a5d;
    --m-muted: #657487;
    --m-soft: #f7f9fb;
    --m-line: #e7edf5;
    color: var(--m-text);
    background: #fff;
}
#m365-landing-block .m365-section { padding: 64px 0; }
#m365-landing-block .m365-section-dark { background: var(--m-dark); color: #fff; }
#m365-landing-block .m365-section-soft { background: var(--m-soft); }
#m365-landing-block .m365-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
#m365-landing-block .m365-grid-2 { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; }
#m365-landing-block .m365-grid-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
#m365-landing-block .m365-grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
#m365-landing-block .m365-eyebrow { margin: 0 0 16px; color: var(--m-blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#m365-landing-block .m365-title { margin: 0; color: #162334; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; font-weight: 400; }
#m365-landing-block .m365-title-md { font-size: clamp(30px, 4vw, 48px); }
#m365-landing-block .m365-subtitle { margin: 18px 0 0; color: #1f3046; font-size: clamp(20px,2.8vw,32px); line-height: 1.2; font-weight: 300; }
#m365-landing-block .m365-subtitle strong { color: var(--m-blue); font-weight: 600; }
#m365-landing-block .m365-copy,
#m365-landing-block .m365-intro { margin: 22px 0 0; font-size: 18px; line-height: 1.7; }
#m365-landing-block .m365-note { margin: 20px 0 0; color: var(--m-muted); font-size: 14px; line-height: 1.6; }
#m365-landing-block .m365-points,
#m365-landing-block .m365-checks { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
#m365-landing-block .m365-points li,
#m365-landing-block .m365-checks li { position: relative; padding-left: 22px; color: #223349; font-size: 17px; line-height: 1.6; }
#m365-landing-block .m365-points li::before,
#m365-landing-block .m365-checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--m-blue); }
#m365-landing-block .m365-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
#m365-landing-block .m365-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; transition: .18s ease; font-size: 14px; font-weight: 700; letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; }
#m365-landing-block .m365-btn:hover { transform: translateY(-1px); }
#m365-landing-block .m365-btn-primary { background: var(--m-blue); color: #fff; box-shadow: 0 10px 24px rgba(51, 153, 255, .24); }
#m365-landing-block .m365-btn-primary:hover { background: var(--m-blue-bright); color: #fff; }
#m365-landing-block .m365-btn-secondary { border-color: var(--m-line); color: #223349; background: #fff; }
#m365-landing-block .m365-btn-secondary:hover { border-color: #ccd9e4; color: var(--m-blue); }
#m365-landing-block .m365-hero-art img { display: block; width: 100%; height: auto; border-radius: var(--radius-soft); }
#m365-landing-block .m365-card,
#m365-landing-block .m365-step,
#m365-landing-block .m365-form,
#m365-landing-block .m365-company-box { border-radius: var(--radius-soft); background: #fff; box-shadow: 0 10px 28px rgba(16, 31, 54, 0.08); border: 1px solid var(--m-line); }
#m365-landing-block .m365-card,
#m365-landing-block .m365-step { padding: 28px; }
#m365-landing-block .m365-card h3,
#m365-landing-block .m365-step h3 { margin: 0 0 12px; color: #162334; font-size: 30px; font-weight: 400; line-height: 1.15; }
#m365-landing-block .m365-card p,
#m365-landing-block .m365-step p { margin: 0; font-size: 16px; line-height: 1.65; color: #3d4a5d; }
#m365-landing-block .m365-tag { display: inline-block; margin: 0 0 14px; color: var(--m-blue); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#m365-landing-block .m365-step { background: rgba(255,255,255,.08); box-shadow: none; border-color: rgba(255,255,255,.14); }
#m365-landing-block .m365-step h3,
#m365-landing-block .m365-step p,
#m365-landing-block .m365-section-dark .m365-title,
#m365-landing-block .m365-section-dark .m365-intro,
#m365-landing-block .m365-section-dark .m365-eyebrow { color: #fff; }
#m365-landing-block .m365-step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: rgba(134,219,255,.18); color: #a9e7ff; font-size: 15px; font-weight: 700; }
#m365-landing-block .m365-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 22px; border: 1px solid var(--m-line); border-radius: var(--radius-soft); overflow: hidden; box-shadow: 0 10px 28px rgba(16, 31, 54, 0.06); background: #fff; }
#m365-landing-block .m365-strip div { padding: 18px 20px; color: #223349; font-size: 14px; font-weight: 700; text-align: center; }
#m365-landing-block .m365-strip div + div { border-left: 1px solid var(--m-line); }
#m365-landing-block .m365-lead-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 40px; align-items: start; }
#m365-landing-block .m365-form { padding: 30px; }
#m365-landing-block .m365-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
#m365-landing-block .m365-field-full { grid-column: 1 / -1; }
#m365-landing-block label span { display: block; margin-bottom: 8px; color: #223349; font-size: 13px; font-weight: 700; }
#m365-landing-block input,
#m365-landing-block select,
#m365-landing-block textarea { width: 100%; border: 1px solid #d6e0ea; border-radius: 10px; padding: 12px 14px; color: #223349; background: #fff; font: inherit; transition: .18s ease; }
#m365-landing-block input:focus,
#m365-landing-block select:focus,
#m365-landing-block textarea:focus { outline: none; border-color: var(--m-blue); box-shadow: 0 0 0 3px rgba(51,153,255,.14); }
#m365-landing-block textarea { min-height: 130px; resize: vertical; }
#m365-landing-block .m365-form-submit { width: 100%; margin-top: 18px; border: 0; }
#m365-landing-block .m365-form-note { margin: 14px 0 0; color: var(--m-muted); font-size: 14px; line-height: 1.6; }
#m365-landing-block .m365-company-box { margin-top: 28px; padding: 22px 24px; background: rgba(255,255,255,.88); }
#m365-landing-block .m365-company-box h4 { margin: 0 0 10px; color: #223349; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#m365-landing-block .m365-company-box p { margin: 0; font-size: 15px; line-height: 1.7; }
#m365-landing-block .m365-form-status { margin: 14px 0 0; font-size: 14px; line-height: 1.6; }
#m365-landing-block .m365-form-status.is-success { color: #137333; }
#m365-landing-block .m365-form-status.is-error { color: #b42318; }
#m365-landing-block .m365-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.m365-faq-list { display: grid; gap: 14px; }
.m365-faq-list details {
    border: 1px solid #e7edf5;
    border-radius: var(--radius-soft);
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 31, 54, 0.06);
    overflow: hidden;
}
.m365-faq-list summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 22px 58px 22px 24px;
    color: #162334;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 400;
}
.m365-faq-list summary::-webkit-details-marker { display: none; }
.m365-faq-list summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 26px;
    line-height: 1;
}
.m365-faq-list details[open] summary::after { content: "-"; }
.m365-faq-list p {
    margin: 0;
    padding: 0 24px 24px;
    color: #3d4a5d;
    font-size: 16px;
    line-height: 1.7;
}
@media (max-width: 959px) {
    #m365-landing-block .m365-section { padding: 48px 0; }
    #m365-landing-block .m365-grid-2,
    #m365-landing-block .m365-lead-grid,
    #m365-landing-block .m365-grid-cards,
    #m365-landing-block .m365-grid-3 { grid-template-columns: 1fr; gap: 24px; }
    #m365-landing-block .m365-strip { grid-template-columns: 1fr 1fr; }
    #m365-landing-block .m365-strip div:nth-child(3),
    #m365-landing-block .m365-strip div:nth-child(4) { border-top: 1px solid var(--m-line); }
    #m365-landing-block .m365-strip div:nth-child(3) { border-left: none; }
    #m365-landing-block .m365-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
    #m365-landing-block .m365-wrap { padding: 0 18px; }
    #m365-landing-block .m365-strip { grid-template-columns: 1fr; }
    #m365-landing-block .m365-strip div + div { border-left: none; border-top: 1px solid var(--m-line); }
}

/* ===== Office 365 pricing cards ===== */
.ei-pricing3 {
    --ei-blue: #3399ff;
    --ei-blue-bright: #4aa7ff;
    --ei-dark: #243541;
    --ei-text: #5b5b5b;
    --ei-muted: #767779;
    --ei-border: #e8eef2;
    --ei-shadow: 0 6px 50px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    color: var(--ei-text);
    margin: 28px 0;
}
.ei-pricing3 * { box-sizing: border-box; }
.ei-pricing3 .ei-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
@media (max-width: 980px) {
    .ei-pricing3 .ei-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .ei-pricing3 .ei-row { grid-template-columns: 1fr; }
}
.ei-pricing3 .ei-card {
    display: flex;
    height: 100%;
    background: #fff;
    border: 1px solid var(--ei-border);
    border-radius: var(--radius-soft);
    box-shadow: var(--ei-shadow);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ei-pricing3 .ei-card::before {
    content: "";
    display: block;
    width: 6px;
    background: var(--ei-blue);
}
.ei-pricing3 .ei-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.10);
    border-color: #d7e2e9;
}
.ei-pricing3 .ei-inner {
    display: grid;
    grid-template-rows: 88px 72px auto 48px 1fr 48px;
    width: 100%;
    padding: 24px 24px 26px;
}
.ei-pricing3 .ei-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    min-height: 88px;
}
.ei-pricing3 .ei-title {
    margin: 0;
    color: var(--ei-dark);
    font-size: clamp(24px, 2.3vw, 30px);
    line-height: 1.08;
    font-weight: 400;
}
.ei-pricing3 .ei-badge {
    margin-left: auto;
    background: var(--ei-blue);
    color: #fff;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
}
.ei-pricing3 .ei-icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 12px 0 8px;
    object-fit: contain;
}
.ei-pricing3 .ei-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 4px 0 8px;
}
.ei-pricing3 .ei-amount {
    color: var(--ei-dark);
    font-size: clamp(34px, 4.8vw, 46px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.ei-pricing3 .ei-eur {
    color: var(--ei-dark);
    font-size: clamp(18px, 2.6vw, 22px);
    line-height: 1.1;
}
.ei-pricing3 .ei-eur s {
    color: var(--ei-muted);
    text-decoration-thickness: 1px;
}
.ei-pricing3 .ei-note {
    margin: 0 0 18px;
    color: var(--ei-muted);
    font-size: 13px;
    line-height: 1.55;
    min-height: 48px;
}
.ei-pricing3 .ei-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: end;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--ei-blue);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: background-color .18s ease, transform .18s ease;
}
.ei-pricing3 .ei-cta:hover {
    background: var(--ei-blue-bright);
    transform: translateY(-1px);
    color: #fff;
}

/* ===== Google Workspace landing block visual unification ===== */
#ei-gws-landing-block {
    --ei-blue: #3399ff !important;
    --ei-blue-bright: #4aa7ff !important;
    --ei-dark: #243541 !important;
    --ei-soft: #f7f9fb !important;
    --ei-line: #e7edf5 !important;
}
#ei-gws-landing-block .ei-btn {
    border-radius: 999px !important;
    min-height: 48px !important;
    font-size: 14px !important;
}
#ei-gws-landing-block .ei-card,
#ei-gws-landing-block .ei-step,
#ei-gws-landing-block .ei-box,
#ei-gws-landing-block .ei-form,
#ei-gws-landing-block .ei-company-box,
#ei-gws-landing-block .ei-strip {
    border-radius: var(--radius-soft) !important;
    border: 1px solid var(--ei-line) !important;
    box-shadow: 0 10px 28px rgba(16, 31, 54, 0.08) !important;
}
#ei-gws-landing-block .ei-hero-card {
    border-radius: var(--radius-soft) !important;
    border: 1px solid var(--ei-line) !important;
    box-shadow: 0 10px 28px rgba(16, 31, 54, 0.08) !important;
}
#ei-gws-landing-block .ei-hero-art img,
#ei-gws-landing-block .ei-side-art img {
    border-radius: var(--radius-img) !important;
}
#ei-gws-landing-block input,
#ei-gws-landing-block select,
#ei-gws-landing-block textarea {
    border-radius: 10px !important;
    border-color: #d6e0ea !important;
}
#ei-gws-landing-block input:focus,
#ei-gws-landing-block select:focus,
#ei-gws-landing-block textarea:focus {
    border-color: var(--ei-blue) !important;
    box-shadow: 0 0 0 3px rgba(51, 153, 255, 0.14) !important;
}
#ei-gws-landing-block .ei-title,
#ei-gws-landing-block .ei-card h3,
#ei-gws-landing-block .ei-step h3,
#ei-gws-landing-block .ei-box h3,
#ei-gws-landing-block .ei-form h3 {
    color: #162334 !important;
}
#ei-gws-landing-block .ei-copy,
#ei-gws-landing-block .ei-intro,
#ei-gws-landing-block .ei-card p,
#ei-gws-landing-block .ei-box p,
#ei-gws-landing-block .ei-note,
#ei-gws-landing-block .ei-form-note {
    color: #3d4a5d !important;
}
#ei-gws-landing-block .ei-section-dark .ei-title,
#ei-gws-landing-block .ei-section-dark .ei-subtitle,
#ei-gws-landing-block .ei-section-dark .ei-copy,
#ei-gws-landing-block .ei-section-dark .ei-intro,
#ei-gws-landing-block .ei-section-dark .ei-step h3,
#ei-gws-landing-block .ei-section-dark .ei-step p {
    color: #fff !important;
}
#ei-gws-landing-block .ei-step {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}
