/* =========================================================
   MICROSOFT LICENSING CONSULTING PAGE
   File: public/assets/css/microsoft-licensing.css
   - Banner-style hero (artwork + enquiry form, one fold)
   - Popup enquiry form for all other CTA buttons
   - Font sizes / weights follow fortinet.css
========================================================= */

:root {
    --ms-primary: #0B5ED7;
    --ms-primary-dark: #084298;
    --ms-navy: #123D99;
    --ms-dark: #1F2937;
    --ms-text: #4B5563;
    --ms-light: #F5F7FA;
    --ms-white: #FFFFFF;
    --ms-border: #E5E7EB;
    --ms-radius: 18px;
    --ms-shadow: 0 16px 45px rgba(15, 23, 42, .09);
    --ms-tint: rgba(11, 94, 215, .08);
    --ms-hero-bg: #F7FBFE; /* matches the light edge of the hero artwork */
}

/* ---------- Base / shared ---------- */
.Microsoft-hero *,
.Microsoft-intro-section *,
.Microsoft-solutions-section *,
.Microsoft-services-section *,
.Microsoft-process-section *,
.Microsoft-faq-section *,
.Microsoft-popup * {
    box-sizing: border-box;
}

.Microsoft-hero,
.Microsoft-intro-section,
.Microsoft-solutions-section,
.Microsoft-services-section,
.Microsoft-process-section,
.Microsoft-faq-section,
.Microsoft-popup {
    font-family: Montserrat, sans-serif;
}

.Microsoft-intro-section,
.Microsoft-solutions-section,
.Microsoft-services-section,
.Microsoft-process-section,
.Microsoft-faq-section {
    padding: 30px 0;
}

.Microsoft-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   HERO  (artwork left, enquiry form right)
========================================================= */
.Microsoft-hero {
    --ms-hero-h: 450px;            
    position: relative;
    overflow: hidden;
    padding: 20px 0;               
    background: var(--ms-hero-bg);
}

.Microsoft-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, calc(var(--ms-hero-h) * 1.7)) 440px;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
}

.Microsoft-hero-visual {
    align-self: center;
    min-width: 0;
}

.Microsoft-hero-visual > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ---------- Enquiry card ---------- */
.Microsoft-enquiry-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 22px 28px 18px;
    border: 1px solid var(--ms-border);
    border-radius: 16px;
    background: var(--ms-white);
    box-shadow: 0 30px 70px rgba(11, 61, 153, 0.14);
}

.Microsoft-form-topline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--ms-primary), var(--ms-navy));
}

.Microsoft-form-heading {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ms-border);
}

.Microsoft-form-heading h1 {
    margin: 8px 0 8px;
    color: var(--ms-dark);
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.7px;
}

.Microsoft-form-heading > p {
    margin: 0;
    color: var(--ms-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.Microsoft-enquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    margin: 0;
}

.Microsoft-field {
    display: block;
    min-width: 0;
    margin: 0;
}

.Microsoft-field-full {
    grid-column: 1 / -1;
}

.Microsoft-field input,
.Microsoft-field select,
.Microsoft-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 16px;
    border: 1.5px solid var(--ms-border);
    border-radius: 10px;
    outline: none;
    color: var(--ms-dark);
    background: var(--ms-light);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.Microsoft-field input:hover,
.Microsoft-field select:hover,
.Microsoft-field textarea:hover {
    border-color: rgba(11, 94, 215, .4);
}

.Microsoft-field textarea {
    min-height: 50px;
    resize: none;
    line-height: 1.6;
}

.Microsoft-field input::placeholder,
.Microsoft-field textarea::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.Microsoft-field input:focus,
.Microsoft-field select:focus,
.Microsoft-field textarea:focus {
    border-color: var(--ms-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 94, 215, .14);
}

.Microsoft-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.Microsoft-consent {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    color: var(--ms-text);
    font-size: 12px;
    line-height: 1.5;
}

.Microsoft-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin: 0;
    line-height: 1.5;
}

.Microsoft-consent input[type="checkbox"] {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 2px 0 0;
    accent-color: var(--ms-primary);
}

.Microsoft-consent a {
    color: var(--ms-primary);
}

.Microsoft-submit-btn,
.Microsoft-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 21px;
    border: 1px solid var(--ms-primary);
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--ms-primary), var(--ms-navy));
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 94, 215, .24);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.Microsoft-submit-btn {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
}

.Microsoft-submit-btn:hover,
.Microsoft-button:hover {
    transform: translateY(-2px);
    color: #fff;
    background: var(--ms-primary-dark);
    box-shadow: 0 12px 28px rgba(11, 94, 215, .28);
}

.Microsoft-submit-btn:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.Microsoft-form-note {
    grid-column: 1 / -1;
    margin: 0;
    color: #6b7280;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.Microsoft-form-note i {
    margin-right: 4px;
    color: var(--ms-primary);
}

.Microsoft-form-error {
    grid-column: 1 / -1;
    color: #b42318;
    font-size: 12px;
}

/* ---------- Eyebrow / kicker (pill style as in fortinet.css) ---------- */
.Microsoft-eyebrow,
.Microsoft-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 5px 0;
    padding: 4px 10px;
    border-radius: 10px;
    background: var(--ms-primary);
    color: var(--ms-white);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

/* =========================================================
   POPUP ENQUIRY FORM
========================================================= */
.Microsoft-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.Microsoft-popup.is-open {
    display: flex;
}

.Microsoft-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .65);
}

.Microsoft-popup-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 30px 34px 28px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
    animation: MicrosoftPopupShow .25s ease-out;
    scrollbar-width: thin;
    scrollbar-color: #c3cad6 transparent;
}

.Microsoft-popup-dialog::-webkit-scrollbar { width: 8px; }
.Microsoft-popup-dialog::-webkit-scrollbar-track { margin: 22px 0; background: transparent; }
.Microsoft-popup-dialog::-webkit-scrollbar-thumb { border-radius: 8px; background: #c3cad6; }
.Microsoft-popup-dialog::-webkit-scrollbar-button { display: none; }

.Microsoft-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: var(--ms-dark);
    background: #f3f5f9;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.Microsoft-popup-close:hover {
    color: var(--ms-primary);
    background: #e5eaf3;
}

.Microsoft-popup-dialog h2 {
    margin: 10px 0 8px;
    padding-right: 52px;
    color: var(--ms-dark);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.Microsoft-popup-dialog > p {
    margin: 0 0 14px;
    color: var(--ms-text);
    font-size: 14px;
    line-height: 1.6;
}

.Microsoft-popup-topic {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 7px 12px;
    border-radius: 8px;
    color: var(--ms-primary-dark);
    background: var(--ms-tint);
    font-size: 13px;
    font-weight: 700;
}

.Microsoft-popup-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin: 0;
}

.Microsoft-popup-form input,
.Microsoft-popup-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 16px;
    border: 1.5px solid var(--ms-border);
    border-radius: 10px;
    outline: none;
    color: var(--ms-dark);
    background: var(--ms-light);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.Microsoft-popup-form input[type="checkbox"] {
    width: 16px;
    min-height: 16px;
    padding: 0;
}

.Microsoft-popup-form input::placeholder,
.Microsoft-popup-form textarea::placeholder {
    color: #94A3B8;
    opacity: 1;
}

.Microsoft-popup-form input:focus,
.Microsoft-popup-form textarea:focus {
    border-color: var(--ms-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 94, 215, .14);
}

.Microsoft-popup-form textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.Microsoft-popup-form .Microsoft-consent,
.Microsoft-popup-form .Microsoft-submit-btn,
.Microsoft-popup-form .Microsoft-form-error {
    grid-column: 1 / -1;
}

body.Microsoft-popup-open {
    overflow: hidden;
}

@keyframes MicrosoftPopupShow {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SECTIONS
========================================================= */
.Microsoft-section-heading {
    max-width: 900px;
    margin: 0 auto 42px;
    text-align: center;
}

.Microsoft-section-heading h2,
.Microsoft-services-copy h2 {
    margin: 12px 0 15px;
    color: var(--ms-dark);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.8px;
}

.Microsoft-section-heading p,
.Microsoft-services-copy > p {
    margin: 0;
    color: var(--ms-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

/* Benefits */
.Microsoft-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.Microsoft-benefit-card {
    padding: 26px 23px;
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius);
    background: var(--ms-white);
    transition: transform .2s ease, box-shadow .2s ease;
}

.Microsoft-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ms-shadow);
}

.Microsoft-benefit-icon,
.Microsoft-solution-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    place-items: center;
    border-radius: 12px;
    color: var(--ms-primary);
    background: #edf4ff;
    font-size: 21px;
}

.Microsoft-benefit-card h3,
.Microsoft-solution-card h3,
.Microsoft-process-card h3 {
    margin: 0 0 10px;
    color: var(--ms-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.Microsoft-benefit-card p,
.Microsoft-solution-card p,
.Microsoft-process-card p {
    margin: 0;
    color: var(--ms-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}

/* Solutions */
.Microsoft-solutions-section {
    background: var(--ms-light);
}

.Microsoft-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.Microsoft-solution-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius);
    background: var(--ms-white);
    transition: transform .2s ease, border-color .2s ease;
}

.Microsoft-solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--ms-primary);
}

.Microsoft-solution-card p {
    flex: 1 1 auto;
}

.Microsoft-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    color: var(--ms-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.Microsoft-text-link:hover {
    color: var(--ms-primary-dark);
}

/* Consulting services */
.Microsoft-services-section {
    background: var(--ms-white);
}

.Microsoft-services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: center;
    gap: 55px;
}

.Microsoft-services-copy h2 {
    max-width: 560px;
    text-align: left;
}

.Microsoft-check-list {
    display: grid;
    gap: 13px;
    margin: 25px 0 28px;
    padding: 0;
    list-style: none;
}

.Microsoft-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.Microsoft-check-list i {
    margin-top: 3px;
    color: #16a34a;
}

.Microsoft-services-panel {
    position: relative;
    overflow: hidden;
    padding: 38px 34px;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 95% 5%, rgba(255, 255, 255, .16), transparent 33%),
        linear-gradient(145deg, var(--ms-navy), var(--ms-primary-dark));
    box-shadow: var(--ms-shadow);
}

.Microsoft-services-panel::after {
    position: absolute;
    right: -85px;
    bottom: -115px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    content: "";
}

.Microsoft-panel-logo {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 23px;
    place-items: center;
    border-radius: 15px;
    color: var(--ms-navy);
    background: #fff;
    font-size: 29px;
}

.Microsoft-services-panel h3 {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 0 0 13px;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
}

.Microsoft-services-panel p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 15px;
    line-height: 1.75;
}

.Microsoft-panel-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.Microsoft-panel-tags span {
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 30px;
    color: #fff;
    background: rgba(255,255,255,.08);
    font-size: 12px;
    font-weight: 600;
}

/* Process */
.Microsoft-process-section {
    background: var(--ms-light);
}

.Microsoft-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.Microsoft-process-card {
    padding: 25px;
    border-radius: 14px;
    background: var(--ms-white);
}

.Microsoft-process-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #fff;
    background: var(--ms-primary);
    font-size: 13px;
    font-weight: 700;
}

/* FAQ */
.Microsoft-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.Microsoft-faq-list details {
    margin-bottom: 12px;
    padding: 19px 22px;
    border: 1px solid var(--ms-border);
    border-radius: 11px;
    background: var(--ms-white);
}

.Microsoft-faq-list summary {
    position: relative;
    padding-right: 28px;
    color: var(--ms-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.Microsoft-faq-list summary::-webkit-details-marker {
    display: none;
}

.Microsoft-faq-list summary::after {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--ms-primary);
    content: "+";
    font-size: 22px;
    line-height: 1;
}

.Microsoft-faq-list details[open] summary::after {
    content: "−";
}

.Microsoft-faq-list details p {
    margin: 13px 0 0;
    color: var(--ms-text);
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================================
   RESPONSIVE — LARGE SCREENS
========================================================= */
@media (min-width: 1920px) {
    .Microsoft-hero .container,
    .Microsoft-intro-section .container,
    .Microsoft-solutions-section .container,
    .Microsoft-services-section .container,
    .Microsoft-process-section .container,
    .Microsoft-faq-section .container { max-width: 1600px; }

    .Microsoft-hero { --ms-hero-h: 500px; padding: 50px 0; }
    .Microsoft-hero-grid { grid-template-columns: minmax(0, calc(var(--ms-hero-h) * 1.7)) 440px; gap: 36px; }
    .Microsoft-form-heading h1 { font-size: 26px; }
    .Microsoft-form-heading > p { font-size: 15px; }
    .Microsoft-field input,
    .Microsoft-field select,
    .Microsoft-field textarea { min-height: 42px; font-size: 15px; }

    .Microsoft-section-heading h2,
    .Microsoft-services-copy h2 { font-size: 40px; }
    .Microsoft-section-heading p,
    .Microsoft-services-copy > p { font-size: 17px; }
}

@media (min-width: 2560px) {
    .Microsoft-hero .container,
    .Microsoft-intro-section .container,
    .Microsoft-solutions-section .container,
    .Microsoft-services-section .container,
    .Microsoft-process-section .container,
    .Microsoft-faq-section .container { max-width: 2000px; }

    .Microsoft-hero { --ms-hero-h: 620px; padding: 70px 0; }
    .Microsoft-hero-grid { grid-template-columns: minmax(0, calc(var(--ms-hero-h) * 1.7)) 440px; gap: 50px; }
    .Microsoft-enquiry-card { padding: 34px 36px 30px; }
    .Microsoft-form-heading h1 { font-size: 30px; }
    .Microsoft-form-heading > p { font-size: 18px; }
    .Microsoft-enquiry-form { gap: 12px; }
    .Microsoft-field input,
    .Microsoft-field select,
    .Microsoft-field textarea { min-height: 54px; font-size: 17px; }
    .Microsoft-field textarea { min-height: 96px; }
    .Microsoft-submit-btn,
    .Microsoft-button { min-height: 58px; font-size: 17px; }
    .Microsoft-consent { font-size: 15px; }

    .Microsoft-intro-section,
    .Microsoft-solutions-section,
    .Microsoft-services-section,
    .Microsoft-process-section,
    .Microsoft-faq-section { padding: 70px 0; }

    .Microsoft-section-heading { max-width: 1100px; }
    .Microsoft-section-heading h2,
    .Microsoft-services-copy h2 { font-size: 50px; }
    .Microsoft-section-heading p,
    .Microsoft-services-copy > p { font-size: 20px; }
    .Microsoft-benefit-card h3,
    .Microsoft-solution-card h3,
    .Microsoft-process-card h3 { font-size: 22px; }
    .Microsoft-benefit-card p,
    .Microsoft-solution-card p,
    .Microsoft-process-card p,
    .Microsoft-check-list li,
    .Microsoft-faq-list details p { font-size: 17px; }
    .Microsoft-faq-list summary { font-size: 19px; }
    .Microsoft-faq-list { max-width: 1100px; }
}

/* =========================================================
   RESPONSIVE — LAPTOP / TABLET / MOBILE
========================================================= */
@media (max-width: 1440px) {
    .Microsoft-services-layout { gap: 48px; }
}

@media (max-width: 1366px) {
    .Microsoft-hero { --ms-hero-h: 450px; }
    .Microsoft-hero-grid { grid-template-columns: minmax(0, calc(var(--ms-hero-h) * 1.7)) 420px; gap: 24px; }
    .Microsoft-enquiry-card { padding: 20px 22px 18px; }
    .Microsoft-form-heading h1 { font-size: 22px; }
    .Microsoft-section-heading h2,
    .Microsoft-services-copy h2 { font-size: 34px; }
}

@media (max-width: 1280px) {
    .Microsoft-hero { --ms-hero-h: 450px; }
    .Microsoft-hero-grid { grid-template-columns: minmax(0, calc(var(--ms-hero-h) * 1.7)) 420px; gap: 20px; }
    .Microsoft-benefit-grid,
    .Microsoft-process-grid { gap: 16px; }
    .Microsoft-benefit-card { padding: 24px 20px; }
    .Microsoft-services-layout { gap: 40px; }
}

@media (max-width: 1024px) {
    .Microsoft-hero { padding: 30px 0; }
    .Microsoft-hero-grid,
    .Microsoft-services-layout { grid-template-columns: 1fr; gap: 24px; }
    .Microsoft-hero-grid { justify-content: stretch; }

    .Microsoft-enquiry-card { width: 100%; max-width: 650px; margin: 0 auto; padding: 24px; }
    .Microsoft-services-panel { max-width: 700px; }

    .Microsoft-benefit-grid,
    .Microsoft-process-grid,
    .Microsoft-solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .Microsoft-hero { padding: 30px 0; }

    .Microsoft-hero-visual > img { border-radius: 14px; }
    .Microsoft-enquiry-card { max-width: 100%; padding: 22px 18px 18px; }

    .Microsoft-benefit-grid,
    .Microsoft-process-grid,
    .Microsoft-solutions-grid { grid-template-columns: 1fr; }

    .Microsoft-section-heading { margin-bottom: 30px; }
    .Microsoft-section-heading h2,
    .Microsoft-services-copy h2 { font-size: 28px; }

    .Microsoft-popup { padding: 14px; }
    .Microsoft-popup-dialog { max-height: calc(100vh - 28px); padding: 26px 20px 22px; border-radius: 16px; }
    .Microsoft-popup-dialog h2 { font-size: 22px; }
    .Microsoft-popup-close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 24px; }
    .Microsoft-popup-form { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 576px) {
    .Microsoft-hero { padding: 30px 0; }

    .Microsoft-section-heading h2,
    .Microsoft-services-copy h2 { font-size: 26px; }
    .Microsoft-section-heading p,
    .Microsoft-services-copy > p { font-size: 15px; }

    .Microsoft-services-panel { padding: 27px 22px; border-radius: 15px; }
    .Microsoft-services-panel h3 { font-size: 22px; }
    .Microsoft-faq-list details { padding: 16px 18px; }
    .Microsoft-faq-list summary { font-size: 14px; }
}

@media (max-width: 480px) {
    .Microsoft-benefit-card,
    .Microsoft-solution-card,
    .Microsoft-process-card { padding: 21px; }
}

@media (max-width: 375px) {
    .Microsoft-section-heading h2,
    .Microsoft-services-copy h2 { font-size: 24px; }
    .Microsoft-button { padding: 12px 16px; font-size: 13px; }
    .Microsoft-popup-dialog h2 { font-size: 20px; }
}

@media (max-width: 320px) {
    .Microsoft-hero { padding: 30px 0; }
    .Microsoft-enquiry-card { padding: 18px 12px 14px; border-radius: 14px; }
    .Microsoft-section-heading h2,
    .Microsoft-services-copy h2 { font-size: 22px; }
    .Microsoft-benefit-card h3,
    .Microsoft-solution-card h3,
    .Microsoft-process-card h3 { font-size: 16px; }
    .Microsoft-benefit-card,
    .Microsoft-solution-card,
    .Microsoft-process-card { padding: 18px 16px; }
    .Microsoft-popup { padding: 8px; }
    .Microsoft-popup-dialog { padding: 22px 14px 18px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .Microsoft-benefit-card,
    .Microsoft-solution-card,
    .Microsoft-submit-btn,
    .Microsoft-button,
    .Microsoft-popup-dialog { transition: none; animation: none; }
}

/* ---------- Hero enquiry form: small-screen refinements ---------- */
@media (max-width: 1280px) {
    .Microsoft-enquiry-card { padding: 20px 22px 16px; }
}

@media (max-width: 768px) {
    .Microsoft-form-heading h1 { font-size: 22px; }
}

@media (max-width: 576px) {
    .Microsoft-enquiry-card { padding: 22px 16px 16px; border-radius: 14px; }
    .Microsoft-form-heading h1 { font-size: 22px; }
    .Microsoft-enquiry-form { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .Microsoft-field-full,
    .Microsoft-consent,
    .Microsoft-submit-btn,
    .Microsoft-form-note { grid-column: 1; }
    .Microsoft-field input,
    .Microsoft-field select,
    .Microsoft-field textarea { padding: 10px 14px; }
    .Microsoft-field select { padding-right: 38px; }
}

@media (max-width: 375px) {
    .Microsoft-form-heading h1 { font-size: 20px; }
}

@media (max-width: 320px) {
    .Microsoft-enquiry-card { padding: 20px 12px 14px; border-radius: 12px; }
    .Microsoft-form-heading h1 { font-size: 19px; }
}