/*
Theme Name: Meta Sync Custom Theme
Theme URI: https://example.com/
Author: Meta Sync
Description: A data-driven custom WordPress theme scaffold for Figma-led builds.
Version: 1.0.0
Text Domain: metasync
*/

:root {
	--ms-color-text: #151521;
	--ms-color-background: #ffffff;
	--ms-purple: #4632e1;
	--ms-dark: #171717;
	--ms-color-focus: #005fcc;
	--ms-content-width: 1280px;
	--ms-container-width: min(calc(100% - clamp(32px, 8.3333vw, 160px)), var(--ms-content-width));
}

/* Self-hosted Montserrat files: no public font CDN request is made at runtime. */
@font-face { font-family: 'Montserrat'; src: url('assets/fonts/Montserrat-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('assets/fonts/Montserrat-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('assets/fonts/Montserrat-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('assets/fonts/Montserrat-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('assets/fonts/Montserrat-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ms-color-text); background: var(--ms-color-background); font-family: Montserrat, Arial, sans-serif; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: var(--ms-container-width); margin-inline: auto; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid #e6e9ed; background: var(--ms-color-background); }
.site-header--overlay { position: absolute; inset: 0 0 auto; border-bottom-color: rgb(255 255 255 / 18%); color: #fff; background: rgb(0 0 0 / 28%); }
.site-header--overlay .site-nav a, .site-header--overlay .site-header__phone { color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.site-branding img { display: block; max-height: 52px; width: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: .5rem; text-decoration: none; }
.site-nav .sub-menu { display: none; }
.site-nav .menu-item-has-children { position: relative; }
.site-nav .menu-item-has-children:focus-within > .sub-menu, .site-nav .menu-item-has-children:hover > .sub-menu { display: block; }
.mobile-menu-toggle, .mobile-menu, .mobile-menu-overlay { display: none; }
.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.site-header__phone { padding: .5rem; text-decoration: none; font-size: .85rem; }
.site-header__cta { display: inline-flex; align-items: center; min-height: 2.6rem; padding: .5rem 1.15rem; border-radius: 999px; color: #fff; background: var(--ms-purple); text-decoration: none; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.mobile-menu__actions { display: grid; gap: .75rem; margin-top: 2rem; }
.site-main { min-height: 40vh; }
.site-footer { margin-top: 4rem; padding: 2rem 0; border-top: 1px solid #e6e9ed; }
.site-footer__inner { display: grid; gap: 1rem; }
.site-footer__top, .site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-footer__brand img { max-height: 54px; width: auto; }
.site-footer__navigation ul, .site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.site-footer__navigation a, .site-footer__bottom a { text-decoration: none; }
.site-footer__contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 2rem 0; border-top: 1px solid #e6e9ed; border-bottom: 1px solid #e6e9ed; }
.site-footer__contact { display: grid; gap: .35rem; }
.site-footer__contact img, .site-footer__socials img { width: 2rem; height: 2rem; object-fit: contain; }
.site-footer__contact a, .site-footer__contact span { text-decoration: none; }
.site-footer__form { max-width: 36rem; }
.site-footer__socials { display: flex; gap: .75rem; }
.page-builder-empty { padding: 4rem 0; }
.legal-page__content { padding: 3rem 0; }
.legal-page__content > :first-child { margin-top: 0; }
:focus-visible { outline: 3px solid var(--ms-color-focus); outline-offset: 3px; }

@media (max-width: 900px) {
	.site-header__actions { display: none; }
	.site-nav--desktop { display: none; }
	.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
	.mobile-menu-toggle > [aria-hidden="true"] { font-size: 32px; line-height: 1; }
	.mobile-menu { display: block; position: fixed; inset: 0 0 0 auto; z-index: 100; width: min(22rem, 88vw); padding: 1.5rem; overflow-y: auto; background: #fff; box-shadow: -8px 0 24px rgb(0 0 0 / 15%); transform: translateX(100%); visibility: hidden; transition: transform .2s ease, visibility .2s ease; }
	.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
	.mobile-menu__close { float: right; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ms-color-text); cursor: pointer; }
	.mobile-menu__close > [aria-hidden="true"] { font-size: 32px; line-height: 1; }
	.mobile-menu ul { clear: both; display: block; padding-top: 2rem; }
	.mobile-menu li { position: relative; }
	.mobile-menu .sub-menu { display: none; padding-left: 1rem; }
	.mobile-menu .sub-menu.is-open { display: block; }
	.mobile-submenu-toggle { position: absolute; top: .25rem; right: 0; min-width: 40px; min-height: 40px; border: 0; background: transparent; cursor: pointer; }
	.mobile-menu-overlay { display: block; position: fixed; inset: 0; z-index: 99; background: rgb(0 0 0 / 45%); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
	.mobile-menu-overlay.is-visible { opacity: 1; visibility: visible; }
}
@media (max-width: 640px) { .site-footer__top, .site-footer__bottom { display: grid; } .site-footer__contacts { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Homepage primitives mapped from Figma node 561:2. Content remains ACF-driven. */
.ms-wrap { width: var(--ms-container-width); margin-inline: auto; }
.ms-section { padding: 7rem 0; }
.ms-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.ms-section-heading h2, .ms-centered-heading { max-width: 670px; margin: 0; font-size: clamp(2.6rem, 5vw, 4.625rem); line-height: 1.05; letter-spacing: -.04em; }
.ms-centered-heading { margin: 0 auto 4rem; text-align: center; }
.ms-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.ms-home-hero { min-height: min(100vh, 939px); display: flex; align-items: center; background-color: #161616; background-position: center; background-size: cover; color: #fff; }
.ms-home-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 4rem; padding-block: 8rem; }
.ms-home-hero__copy { max-width: 720px; }
.ms-home-hero h1 { margin: 0 0 1.5rem; max-width: 680px; font-size: clamp(3.2rem, 7vw, 6.25rem); line-height: .98; letter-spacing: -.04em; text-transform: uppercase; }
.ms-home-hero__copy > p:not(.ms-eyebrow) { max-width: 520px; color: #d2d2d2; }
.ms-home-hero__form { width: min(100%, 33.5rem); padding: 2rem; border-radius: 1.5rem; color: #151521; background: #f5f5f5; box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 20%); }
.ms-home-hero__form form { display: grid; gap: 1rem; }
.ms-home-hero__form input, .ms-home-hero__form textarea, .ms-home-hero__form select { width: 100%; padding: .8rem; border: 1px solid #ddd; border-radius: .35rem; background: #fff; }
.ms-home-hero__form input[type="submit"], .ms-home-hero__form button { border: 0; border-radius: 999px; color: #fff; background: var(--ms-purple); cursor: pointer; }
.ms-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.ms-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 3.875rem; padding: .9rem 2.25rem; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 700; text-transform: uppercase; }
.ms-pill--purple { color: #fff; background: var(--ms-purple); }
.ms-pill--dark { color: #fff; background: #0f0f0f; }
.ms-card-grid--services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; }
.ms-image-card { position: relative; min-height: 36.5rem; overflow: hidden; background: #171717; color: #fff; }
.ms-image-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.ms-image-card::after { position: absolute; inset: 40% 0 0; content: ''; background: linear-gradient(transparent, rgb(0 0 0 / 75%)); }
.ms-image-card > div { position: absolute; z-index: 1; inset: auto 2.5rem 2.5rem; }
.ms-image-card h3 { max-width: 280px; margin: 0 0 .6rem; font-size: 2rem; line-height: 1.05; }
.ms-image-card p { margin: 0 0 1rem; color: #ddd; }
.ms-image-card a { color: #fff; font-weight: 700; }
.ms-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 1.75rem; }
.ms-project-grid article img, .ms-blog-grid article img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.ms-project-grid h3, .ms-blog-grid h3 { margin: 1rem 0 .25rem; font-size: 1.25rem; line-height: 1.25; }
.ms-project-grid p { margin: 0; color: #555; }
.ms-about-callout { display: grid; grid-template-columns: 1fr 1fr; color: #fff; background: var(--ms-dark); }
.ms-about-callout__image { min-height: 35rem; }
.ms-about-callout__image img { width: 100%; height: 100%; object-fit: cover; }
.ms-about-callout__copy { display: flex; align-items: center; }
.ms-about-callout h2 { max-width: 550px; margin: 0 0 2rem; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; }
.ms-about-callout p { max-width: 480px; color: #959595; }
.ms-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ms-price-card { padding: 2rem; border: 1px solid #e3e3e3; border-radius: 1rem; }
.ms-price-card:nth-child(2) { border-color: var(--ms-purple); box-shadow: 0 0 0 1px var(--ms-purple); }
.ms-price-card strong { display: inline-block; margin: .75rem 0; font-size: 2.6rem; }
.ms-price-card small { color: #666; }
.ms-price-card ul { padding-left: 1.25rem; }
.ms-faq-list { max-width: 850px; margin-inline: auto; }
.ms-faq-list details { padding: 1.25rem 0; border-bottom: 1px solid #ddd; }
.ms-faq-list summary { cursor: pointer; font-weight: 700; font-size: 1.2rem; }
.ms-faq-list details > div { padding-top: 1rem; color: #555; }
.ms-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ms-testimonial-grid article { padding: 1rem; }
.ms-testimonial-grid img { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; }
.ms-testimonial-grid h3 { margin: .75rem 0 0; }
.ms-testimonial-grid p { margin: 0; color: #666; }
.ms-testimonial-grid blockquote { margin: 1.5rem 0 0; color: #444; }
.ms-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.ms-blog-grid time { color: #666; font-size: .85rem; }
.ms-contact-cta { padding: 7rem 0; color: #fff; background: var(--ms-dark); }
.ms-contact-cta h2 { max-width: 800px; margin: 0 0 2rem; font-size: clamp(3.5rem, 8vw, 8rem); line-height: .95; letter-spacing: -.05em; }
.ms-contact-cta p { max-width: 820px; color: #d3d3d3; font-size: 1.25rem; }
.ms-floating-whatsapp, .ms-floating-top { position: fixed; z-index: 30; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; }
.ms-floating-whatsapp { right: 1.5rem; bottom: 1.5rem; background: #25d366; }
.ms-floating-top { right: 1.5rem; bottom: 5.5rem; border: 1px solid #777; background: #171717; }
.ms-floating-whatsapp img, .ms-floating-top img { width: 1.75rem; height: 1.75rem; object-fit: contain; }
@media (max-width: 900px) { .ms-home-hero__inner { display: grid; } .ms-card-grid--services, .ms-price-grid { grid-template-columns: repeat(2, 1fr); } .ms-about-callout { grid-template-columns: 1fr; } .ms-about-callout__image { min-height: 24rem; } }
@media (max-width: 640px) { .ms-section { padding: 4rem 0; } .ms-section-heading { display: block; } .ms-section-heading > * { margin-top: 1.5rem; } .ms-card-grid--services, .ms-project-grid, .ms-price-grid, .ms-testimonial-grid, .ms-blog-grid { grid-template-columns: 1fr; } .ms-image-card { min-height: 28rem; } }

/* Figma Home Page 561:2 — desktop composition and responsive reductions. */
.site-header--overlay { border: 0; background: transparent; }
.site-header.is-sticky { position: fixed; top: var(--ms-admin-offset, 0px); right: 0; bottom: auto; left: 0; z-index: 100; isolation: isolate; border-bottom: 0; background: transparent; color: #fff; box-shadow: 0 4px 16px rgb(0 0 0 / 12%); animation: ms-sticky-enter .35s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.site-header.is-sticky.is-leaving { animation: ms-sticky-leave .35s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.site-header.is-sticky::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgb(23 23 23 / 65%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgb(255 255 255 / 10%); }
@keyframes ms-sticky-enter { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes ms-sticky-leave { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header.is-sticky::before { background: rgb(23 23 23 / 92%); } }
@media (prefers-reduced-motion: reduce) { .site-header.is-sticky { animation: none; } }
.site-header.is-sticky .site-nav > ul > li > a, .site-header.is-sticky .site-header__phone { color: #fff; }
.site-header.is-sticky .site-nav > ul > li > a::before { background: #fff; }
.site-header .container, .ms-wrap.ms-home-hero__inner { width: var(--ms-container-width); max-width: var(--ms-content-width); margin-inline: auto; }
.site-header__inner { min-height: clamp(72px, 5.6667vw, 128px); display: grid; grid-template-columns: clamp(150px, 12.4755vw, 239.53px) minmax(0, 1fr) auto; gap: clamp(1rem, 2vw, 2.5rem); }
.site-branding { flex: none; width: clamp(150px, 12.4755vw, 239.53px); }
.site-branding img { width: 100%; max-width: 239.53px; max-height: none; object-fit: contain; }
.site-nav { justify-self: center; }
.site-nav ul { gap: clamp(1rem, 1.5625vw, 30px); align-items: center; }
.site-nav a { position: relative; padding: 0; color: #fff; font-family: 'Montserrat', sans-serif; font-size: clamp(12px, .9375vw, 18px); font-style: normal; font-weight: 600; line-height: normal; text-transform: capitalize; transition: color .2s ease; }
.site-nav a::before { position: absolute; right: 0; bottom: -.55rem; left: 0; height: 2px; content: ''; background: #fff; transform: scaleX(0); transform-origin: right center; transition: transform .2s ease; }
.site-nav a:hover::before, .site-nav a:focus-visible::before, .site-nav .current-menu-item > a::before, .site-nav .current-menu-ancestor > a::before { transform: scaleX(1); transform-origin: left center; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav .menu-item-has-children > a::after { content: '⌄'; padding-left: .35rem; font-size: .9em; }
.site-header--overlay .site-nav .sub-menu, .site-nav .sub-menu a { color: var(--ms-color-text); }
/* WordPress dropdowns: parent links and disclosure buttons remain separate. */
.site-nav > ul { flex-wrap: nowrap; align-items: stretch; }
@media (min-width: 901px) {
	.site-nav--desktop { display: flex; align-self: stretch; align-items: stretch; }
}
.site-nav li { position: relative; }
.site-nav > ul > li { display: flex; align-items: center; }
.site-nav .menu-item-has-children > a::after { content: none; }
.site-header:not(.site-header--overlay) .site-nav > ul > li > a { color: #151521; }
.site-header:not(.site-header--overlay) .site-nav a::before { background: #4632e1; }
.site-nav > ul > .current-menu-item > a::before,
.site-nav > ul > .current-menu-ancestor > a::before { height: 3px; }
.desktop-submenu-toggle { display: inline-grid; place-items: center; flex: 0 0 24px; width: 24px; height: 32px; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.desktop-submenu-toggle span, .mobile-submenu-toggle span { display: block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease, border-color .25s ease; }
.desktop-submenu-toggle[aria-expanded="true"] span, .mobile-submenu-toggle[aria-expanded="true"] span { transform: rotate(225deg); }
.site-nav .menu-item-has-children > .sub-menu { position: absolute; top: 100%; left: 0; z-index: 30; width: 260px; max-width: calc(100vw - 24px); padding: 6px; margin: 0; border: 1px solid #e8e8ef; border-radius: 8px; background: #fff; color: #151521; box-shadow: 0 6px 18px rgb(0 0 0 / 10%); }
.site-nav .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; }
.site-nav .sub-menu .menu-item-has-children > .sub-menu { top: -7px; left: calc(100% + 7px); }
.site-nav .sub-menu .sub-menu::before { top: 0; bottom: 0; left: -8px; right: auto; width: 8px; height: auto; }
.site-nav .menu-item-has-children > .sub-menu.opens-left { left: auto; right: 0; }
.site-nav .sub-menu .menu-item-has-children > .sub-menu.opens-left { left: auto; right: calc(100% + 7px); }
.site-nav .sub-menu .sub-menu.opens-left::before { left: auto; right: -8px; }
.site-nav.nav-enhanced .sub-menu[hidden] { display: none; }
.site-nav.nav-enhanced .sub-menu:not([hidden]) { display: block; }
.site-nav.nav-enhanced .sub-menu.is-open { animation: ms-submenu-enter .22s ease-out; }
.mobile-menu .sub-menu.is-open { animation: ms-submenu-fade .2s ease-out; }
@keyframes ms-submenu-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ms-submenu-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .site-nav.nav-enhanced .sub-menu.is-open, .mobile-menu .sub-menu.is-open { animation: none; } }
.site-header .site-nav .sub-menu a { display: block; min-height: 44px; padding: 11px 12px; border-radius: 4px; color: #252530; font-size: 14px; font-weight: 500; line-height: 1.5; text-transform: none; transition: background-color .2s ease, color .2s ease; }
.site-header .site-nav .sub-menu .menu-item-has-children > a { padding-right: 38px; }
.site-nav .sub-menu a::before { content: none; }
.site-header .site-nav .sub-menu a:hover, .site-header .site-nav .sub-menu a:focus-visible,
.site-header .site-nav .sub-menu .current-menu-item > a,
.site-header .site-nav .sub-menu .current-menu-ancestor > a,
.site-header .site-nav .sub-menu li:has(> button[aria-expanded="true"]) > a { background: #f3f1ff; color: #3624bf; }
.site-nav .sub-menu .desktop-submenu-toggle { position: absolute; top: 6px; right: 4px; }
.site-nav .sub-menu li:has(> a:hover) > button,
.site-nav .sub-menu .current-menu-item > button,
.site-nav .sub-menu .current-menu-ancestor > button,
.site-nav .sub-menu button[aria-expanded="true"] { color: #3624bf; }
.site-nav .sub-menu .desktop-submenu-toggle span { transform: rotate(-45deg); }
.site-nav .sub-menu .desktop-submenu-toggle[aria-expanded="true"] span { transform: rotate(135deg); }
.site-nav .sub-menu .desktop-submenu-toggle:hover { color: #4632e1; background: #eeeaff; border-radius: 4px; }
@media (max-width: 900px) {
	.site-header__inner { grid-template-columns: 1fr auto; }
	.mobile-menu ul { list-style: none; padding-left: 0; }
	.mobile-menu .sub-menu { padding-top: 0; padding-left: 16px; margin: 0; border-left: 1px solid #ddd9f5; }
	.mobile-menu .sub-menu[hidden] { display: none; }
	.mobile-submenu-toggle { display: grid; place-items: center; width: 44px; height: 44px; color: #151521; border-radius: 6px; }
	.mobile-submenu-toggle:hover, .mobile-submenu-toggle[aria-expanded="true"] { background: #eeeaff; color: #4632e1; }
	.mobile-menu nav .current-menu-item > a, .mobile-menu nav .current-menu-ancestor > a { color: #4632e1; text-decoration: underline; text-underline-offset: 5px; }
}
.site-header__actions { gap: 0; }
.site-header__cta, .ms-pill { gap: 0; padding: 0; border-radius: 0; background: transparent; min-height: 0; font-size: .78rem; text-transform: uppercase; }
.site-header__cta > span:not(.ms-button-arrow), .ms-pill > span:not(.ms-button-arrow) { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .7rem 1.6rem; border-radius: 999px; color: #fff; background: var(--ms-purple); }
.site-header__cta > span:not(.ms-button-arrow) { min-height: clamp(40px, 3.2292vw, 62px); padding: clamp(12px, 1.0417vw, 20px) clamp(22px, 2.2917vw, 44px); color: #000; background: #fff; font-family: 'Montserrat', sans-serif; font-size: clamp(12px, 1.0417vw, 20px); font-style: normal; font-weight: 600; line-height: normal; text-transform: uppercase; }
.site-header__cta .ms-button-arrow, .ms-pill .ms-button-arrow { display: block; width: 50px; height: 50px; flex: 0 0 50px; }
.site-header__cta .ms-button-arrow { width: clamp(40px, 3.2292vw, 62px); height: clamp(40px, 3.2292vw, 62px); flex-basis: clamp(40px, 3.2292vw, 62px); overflow: hidden; border-radius: 50%; background: #fff; }
.site-header__cta .ms-button-arrow img, .ms-pill .ms-button-arrow img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-header__cta .ms-button-arrow--header { display: inline-flex; align-items: center; justify-content: center; padding: 0; box-sizing: border-box; }
.site-header__cta .ms-button-arrow--header img { width: 100%; height: 100%; object-fit: contain; }
.site-header__cta > span { transition: background-color .25s ease, color .25s ease; }
.site-header__cta .ms-button-arrow--header img { transition: filter .25s ease; }
.site-header__cta:hover > span, .site-header__cta:focus-visible > span { background: #4632e1; color: #fff; }
.site-header__cta:hover .ms-button-arrow--header img, .site-header__cta:focus-visible .ms-button-arrow--header img { filter: brightness(0) invert(1); }
@media (prefers-reduced-motion: reduce) { .site-header__cta > span, .site-header__cta .ms-button-arrow--header img { transition: none; } }
.ms-home-hero { min-height: clamp(34.5rem, 48.9063vw, 939px); display: block; background-position: center; }
.ms-home-hero__inner { min-height: clamp(34.5rem, 48.9063vw, 939px); display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: center; align-content: center; gap: clamp(24px, 4vw, 76px); box-sizing: border-box; padding-block: clamp(88px, 6.6667vw, 128px); }
.ms-home-hero__copy { width: 100%; min-width: 0; max-width: 960px; }
.ms-home-hero h1 { max-width: clamp(38rem, 50vw, 60rem); margin-bottom: clamp(1.5rem, 2.0833vw, 2.5rem); font-size: clamp(3.5rem, 5.3125vw, 6.375rem); font-weight: 800; line-height: 1.22549; letter-spacing: -.045em; }
.ms-home-hero__details { display: grid; grid-template-columns: max-content minmax(0, 1fr) clamp(96px, 8.59375vw, 165px); align-items: center; gap: clamp(1.5rem, 2.0833vw, 2.5rem); }
.ms-home-hero__details > p { min-width: 0; max-width: 281px; margin: 0; color: #8b8b8b; font-size: clamp(12px, .8333vw, 16px); font-weight: 500; line-height: clamp(17px, 1.1458vw, 22px); }
.ms-actions { align-items: center; flex-wrap: nowrap; gap: clamp(1.25rem, 2.0833vw, 2.5rem); margin-top: 0; }
.ms-home-hero .ms-pill--primary > span { min-height: clamp(44px, 3.125vw, 60px); padding: 10px clamp(1.75rem, 2.1875vw, 2.625rem); color: #000; background: #fff; font-size: clamp(.8rem, 1.1458vw, 1.375rem); font-weight: 600; line-height: 1.2; transition: background-color .25s ease, color .25s ease; }
.ms-home-hero .ms-pill--primary:hover > span, .ms-home-hero .ms-pill--primary:focus-visible > span { background: #4632e1; color: #fff; }
.ms-hero-scroll { display: grid; place-items: center; width: clamp(44px, 3.3333vw, 64px); height: clamp(44px, 3.3333vw, 64px); flex: 0 0 clamp(44px, 3.3333vw, 64px); }
.ms-hero-scroll img { display: block; width: auto; height: 100%; aspect-ratio: 39 / 64; object-fit: contain; animation: ms-scroll-float 1.8s ease-in-out infinite; }
.ms-hero-scroll:hover img, .ms-hero-scroll:focus-visible img { animation-play-state: paused; }
@keyframes ms-scroll-float { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .ms-hero-scroll img { animation: none; } }
.ms-hero-brand-badge { position: relative; display: grid; width: clamp(96px, 8.59375vw, 165px); aspect-ratio: 1; place-items: center; }
.ms-hero-brand-badge__ring { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 50%; animation: ms-badge-spin 20s linear infinite; }
.ms-hero-brand-badge__ring text { fill: #fff; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 500; text-transform: uppercase; }
.ms-hero-brand-badge__logo { position: relative; display: grid; width: 70%; height: 70%; place-items: center; border-radius: 50%; background: #f5f5f5; overflow: hidden; }
.ms-hero-brand-badge__logo img { width: 66%; height: auto; object-fit: contain; }
.ms-hero-brand-badge__logo.is-header-fallback img { filter: invert(1); }
@keyframes ms-badge-spin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
@media (prefers-reduced-motion: reduce) { .ms-hero-brand-badge__ring { animation: none; } }
.ms-home-hero__form { width: 100%; min-width: 0; max-width: 536px; justify-self: end; margin-top: 0; padding: clamp(1rem, 1.6667vw, 2rem); border-radius: clamp(.8rem, 1.25vw, 1.5rem); }
.ms-home-hero__form h2 { margin: 0 0 clamp(14px, 1.1458vw, 22px); color: #151515; font-size: clamp(20px, 1.5625vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.ms-home-hero__form form { display: block; }
.ms-home-hero__form p { margin: 0; }
.ms-home-hero__form .ms-cf7-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.65rem, .8333vw, 1rem); }
.ms-home-hero__form .ms-cf7-grid > p { display: contents; }
.ms-home-hero__form .ms-cf7-grid br { display: none; }
.ms-home-hero__form .ms-cf7-grid label, .ms-home-hero__form .wpcf7-form-control-wrap { min-width: 0; }
.ms-home-hero__form label { display: grid; gap: clamp(.3rem, .4167vw, .5rem); color: #151521; font-size: clamp(.58rem, .625vw, .75rem); font-weight: 600; line-height: 1.2; }
.ms-home-hero__form input:not([type="checkbox"]):not([type="submit"]), .ms-home-hero__form select { width: 100%; min-width: 0; max-width: 100%; height: clamp(32px, 2.2917vw, 44px); margin: 0; padding: 0 clamp(10px, .8333vw, 16px); border: 0; border-radius: clamp(6px, .5208vw, 10px); color: #646466; background: #ebebeb; font-family: 'Montserrat', sans-serif; font-size: clamp(10px, .7292vw, 14px); font-weight: 400; line-height: normal; box-sizing: border-box; }
.ms-home-hero__form select { appearance: auto; }
.ms-home-hero__form .ms-cf7-consent { display: block; margin-top: clamp(18px, 1.5625vw, 30px); color: #646466; font-size: clamp(10px, .7292vw, 14px); font-weight: 400; line-height: 1.5; }
.ms-home-hero__form .ms-cf7-consent .wpcf7-list-item { margin: 0; }
.ms-home-hero__form .ms-cf7-consent .wpcf7-form-control-wrap { display: inline-block; margin-right: .25em; vertical-align: middle; }
.ms-home-hero__form .ms-cf7-consent input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--ms-purple); }
.ms-home-hero__form .ms-cf7-consent a { color: #4732e3; font-weight: 600; text-decoration: none; }
.ms-home-hero__form input[type="submit"] { display: inline-block; width: auto; max-width: 100%; min-height: clamp(34px, 2.6042vw, 50px); margin: clamp(12px, 1.0417vw, 20px) 0 0; padding: 0 clamp(20px, 1.1458vw, 22px); border: 0; border-radius: 999px; color: #fff; background: #1d1d1f; font-family: 'Montserrat', sans-serif; font-size: clamp(10px, .7292vw, 14px); font-weight: 500; line-height: normal; text-transform: uppercase; transition: background-color .2s ease; }
.ms-home-hero__form input[type="submit"]:hover { background: #4632e1; }
.ms-home-hero__form .wpcf7-spinner { position: absolute; margin-top: 24px; margin-left: 10px; }
.ms-home-hero__form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12px; }
.ms-home-hero__form .wpcf7-response-output { margin: 16px 0 0; font-size: 14px; }
@media (max-width: 900px) {
	.ms-home-hero__form { width: 100%; }
	.ms-home-hero__form .ms-cf7-grid { gap: 18px 12px; }
	.ms-home-hero__form label { font-size: 12px; }
	.ms-home-hero__form input:not([type="checkbox"]):not([type="submit"]), .ms-home-hero__form select { height: 44px; font-size: 13px; }
	.ms-home-hero__form .ms-cf7-consent { font-size: 12px; }
	.ms-home-hero__form input[type="submit"] { min-height: 44px; font-size: 12px; }
}
.ms-section { padding: 8.5rem 0; }
.ms-section-heading { align-items: start; margin-bottom: 4rem; }
.ms-section-heading h2, .ms-centered-heading { max-width: 650px; font-size: clamp(3rem, 5.1vw, 4.65rem); font-weight: 700; line-height: 1.05; }
.ms-section-heading > div { max-width: 430px; font-size: 1rem; line-height: 1.5; }
.ms-section-heading .ms-pill { margin-top: 1rem; }
.ms-pill--dark > span { background: #0f0f0f; }
.ms-card-grid--services { margin-inline: calc((100vw - min(100vw - 2rem, 1290px)) / -2); grid-template-columns: repeat(4, 1fr); }
.ms-image-card { min-height: 585px; }
.ms-image-card > div { inset: auto 2.6rem 2.75rem; }
.ms-image-card h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
.ms-image-card p { max-width: 285px; font-size: .88rem; }
.ms-project-grid { display: flex; gap: 3.4rem; width: max-content; }
.ms-projects { overflow: hidden; }
.ms-project-grid article { width: 400px; }
.ms-project-grid article img { aspect-ratio: 1.255; }
.ms-project-grid h3 { max-width: 260px; font-size: 1.2rem; }
.ms-about-callout { min-height: 889px; grid-template-columns: 56.6% 43.4%; }
.ms-about-callout__image { min-height: 889px; }
.ms-about-callout__copy > .ms-wrap { width: min(100% - 6rem, 500px); margin-left: 4.25rem; margin-right: 0; }
.ms-about-callout h2 { font-size: clamp(3.2rem, 4.7vw, 3.78rem); font-weight: 600; }
.ms-about-callout p { margin-bottom: 2.4rem; font-size: 1.15rem; line-height: 1.55; }
.ms-price-grid { gap: 1.35rem; max-width: 1280px; margin: auto; }
.ms-price-card { min-height: 580px; padding: 3rem 2.2rem; border-radius: 15px; }
.ms-price-card strong { font-size: 2.6rem; }
.ms-faq-list { max-width: 760px; }
.ms-faq-list details { padding: 1.75rem 0; }
.ms-faq-list summary { font-size: 1rem; }
.ms-testimonial-grid { gap: 3rem; }
.ms-blog-grid article img { aspect-ratio: 1.18; }
.ms-contact-cta { padding: 7rem 0 5.5rem; }
.ms-contact-cta h2 { font-size: clamp(4.25rem, 7.1vw, 8rem); font-weight: 700; line-height: 1.1; }
.ms-contact-cta p { font-weight: 400; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.5; }
.site-footer { margin: 0; padding: 2.8rem 0 1.5rem; border: 0; color: #fff; background: #171717; }
.site-footer__inner { gap: 2.2rem; }
.site-footer__top { justify-content: flex-start; align-items: center; }
.site-footer__brand img { max-width: 200px; }
.site-footer__navigation a, .site-footer__bottom a { color: #fff; font-size: .82rem; font-weight: 600; }
.site-footer__contacts { grid-template-columns: minmax(220px, 320px) 1fr; padding: 2.3rem 0; border-color: #5b5b5b; }
.site-footer__contact { max-width: 320px; }
.site-footer__contact span, .site-footer__contact a { color: #aaa; font-size: .8rem; line-height: 1.55; }
.site-footer__contact span:first-of-type, .site-footer__contact a:first-of-type { color: #fff; font-size: 1.05rem; font-weight: 600; }
.site-footer__form { max-width: 552px; }
.site-footer__socials { align-items: center; }
.site-footer__bottom { padding-top: .5rem; }
.site-footer__bottom > div { color: #a6a6a6; font-size: .82rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-branding { flex-basis: 128px; } .site-branding img { max-width: 160px; } .site-nav a { padding-inline: .35rem; font-size: .85rem; } .ms-home-hero__inner { min-height: 0; grid-template-columns: 1fr; padding: 7rem 0 4rem; } .ms-home-hero__copy, .ms-home-hero__form { max-width: 650px; justify-self: center; } .ms-home-hero__form { margin-top: 0; } .ms-card-grid--services { margin: 0; } .ms-project-grid { display: grid; width: auto; } .ms-project-grid article { width: auto; } .ms-about-callout { grid-template-columns: 1fr; min-height: 0; } .ms-about-callout__image { min-height: 34rem; } .ms-about-callout__copy > .ms-wrap { width: min(100% - 2rem, 1290px); margin: 0 auto; padding: 5rem 0; } }
@media (max-width: 900px) { .site-header__inner { min-height: 72px; } .site-header--overlay { background: linear-gradient(180deg, rgb(0 0 0 / 75%), transparent); } .site-branding img { max-width: 120px; } .mobile-menu { color: var(--ms-color-text); } .mobile-menu a { display: block; padding: .8rem 2.8rem .8rem 0; text-decoration: none; font-size: 1.05rem; font-weight: 600; } .mobile-menu .site-header__cta { display: flex; width: max-content; } .ms-home-hero { min-height: 720px; } .ms-home-hero__inner { padding-top: 6.5rem; padding-bottom: 4rem; } .ms-home-hero__details { grid-template-columns: 1fr; gap: 1.5rem; } .ms-home-hero__details > p { order: 1; } .ms-actions { order: 2; } .ms-hero-brand-badge { order: 3; } .ms-home-hero h1 { font-size: clamp(2.8rem, 12vw, 4.8rem); } .ms-section { padding: 5rem 0; } .ms-section-heading h2, .ms-centered-heading { font-size: 2.8rem; } .ms-card-grid--services { grid-template-columns: 1fr; } .ms-image-card { min-height: 440px; } .ms-about-callout__image { min-height: 24rem; } .ms-contact-cta h2 { font-size: clamp(3.2rem, 15vw, 5rem); } .site-footer__contacts { grid-template-columns: 1fr; } }

/* Standard inner-page header. Home keeps the overlay header above. */
.site-header--standard {
	border: 0;
	background: #fff;
	color: #151521;
	box-shadow: none;
}
/* Share the homepage container, grid and navigation spacing. */
.site-header--standard .site-branding {
	width: clamp(150px, 12.4755vw, 239.53px);
}
.site-header--standard .site-branding img {
	width: 100%;
	max-width: 239.53px;
}
.site-header--standard .site-nav > ul > li > a {
	color: #0f0f0f;
	font-size: clamp(12px, .9375vw, 18px);
	font-weight: 600;
	line-height: normal;
}
.site-header--standard .site-nav > ul > li > a::before {
	bottom: -9px;
	height: 2px;
	background: var(--ms-purple);
}
.site-header--standard .site-nav > ul > li > a:hover,
.site-header--standard .site-nav > ul > li > a:focus-visible,
.site-header--standard .site-nav > ul > .current-menu-item > a,
.site-header--standard .site-nav > ul > .current-menu-ancestor > a {
	color: var(--ms-purple);
}
.site-header--standard .desktop-submenu-toggle {
	color: #0f0f0f;
}
.site-header--standard .site-header__cta > span:not(.ms-button-arrow) {
	min-height: clamp(40px, 3.2292vw, 62px);
	padding: clamp(12px, 1.0417vw, 20px) clamp(22px, 2.2917vw, 44px);
	color: #fff;
	background: #0f0f0f;
	font-size: clamp(12px, 1.0417vw, 20px);
}
.site-header--standard .site-header__cta .ms-button-arrow {
	width: clamp(40px, 3.2292vw, 62px);
	height: clamp(40px, 3.2292vw, 62px);
	flex-basis: clamp(40px, 3.2292vw, 62px);
	background: #0f0f0f;
}
.site-header--standard .site-header__cta .ms-button-arrow--header img {
	filter: brightness(0) invert(1);
}
.site-header--standard .site-header__cta:hover > span,
.site-header--standard .site-header__cta:focus-visible > span {
	background: var(--ms-purple);
	color: #fff;
}
.site-header--standard .site-header__cta:hover .ms-button-arrow,
.site-header--standard .site-header__cta:focus-visible .ms-button-arrow {
	background: var(--ms-purple);
}
.site-header--standard.is-sticky {
	color: #151521;
	background: rgb(255 255 255 / 86%);
	box-shadow: 0 10px 30px rgb(0 0 0 / 8%);
}
.site-header--standard.is-sticky::before {
	background: rgb(255 255 255 / 70%);
	border-bottom: 1px solid rgb(0 0 0 / 6%);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.site-header--standard.is-sticky .site-nav > ul > li > a {
	color: #0f0f0f;
}
.site-header--standard.is-sticky .site-nav > ul > li > a:hover,
.site-header--standard.is-sticky .site-nav > ul > li > a:focus-visible,
.site-header--standard.is-sticky .site-nav > ul > .current-menu-item > a,
.site-header--standard.is-sticky .site-nav > ul > .current-menu-ancestor > a {
	color: var(--ms-purple);
}
.site-header--standard.is-sticky .site-nav > ul > li > a::before {
	background: var(--ms-purple);
}
@media (max-width: 900px) {
	.site-header--standard .site-header__inner {
		grid-template-columns: 1fr auto;
		min-height: 72px;
	}
	.site-header--standard .site-branding,
	.site-header--standard .site-branding img {
		width: 120px;
		max-width: 120px;
	}
	.site-header--overlay .mobile-menu-toggle {
		color: #fff;
	}
	.site-header--standard .mobile-menu-toggle {
		color: #0f0f0f;
		border-color: #0f0f0f;
	}
}
/* Keep the project enquiry form isolated from the contact-page form. */
.ms-home-hero__form .ms-cf7-grid { gap:18px 16px; }
.ms-home-hero__form .ms-cf7-grid label { font-size:14px; gap:14px; }
.ms-home-hero__form .ms-cf7-consent label { display:inline; font-size:inherit; font-weight:400; }
.ms-home-hero__form .ms-cf7-consent input[type=checkbox] { padding:0; border-radius:4px; }
.ms-home-hero__form .ms-cf7-consent .wpcf7-list-item-label { vertical-align:middle; }
.ms-home-hero__form input:not([type=hidden]):focus-visible,.ms-home-hero__form select:focus-visible { outline:2px solid #4632e1; outline-offset:2px; }
@media(max-width:600px) {
 .ms-home-hero__form .ms-cf7-grid { grid-template-columns:1fr; }
 .ms-home-hero__form input:not([type=checkbox]):not([type=submit]),.ms-home-hero__form select { font-size:16px; min-height:44px; }
}

/* Preserve the approved hero's wider copy/form composition on desktop. */
@media (min-width:1101px) {
 .ms-wrap.ms-home-hero__inner { width:min(82.1875%,1578px); max-width:1578px; margin-left:max(calc((100% - 1920px)/2 + 212px),11.0417%); margin-right:0; grid-template-columns:minmax(0,960fr) minmax(0,536fr); gap:clamp(36px,4.2708vw,82px); }
 .ms-home-hero h1 { font-size:clamp(58px,5.3125vw,102px); }
}
