/*
Theme Name: SMA Innovations
Theme URI: https://smainnovations.com
Author: SMA Innovations
Description: Block child theme for SMA Innovations — mobile shop apps and commercial media for engineering businesses. Original SMA palette (sky, navy, purple) with Manrope and Sora.
Template: twentytwentyfive
Version: 2.0.2
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sma-innovations
*/

/* ---------- Base ---------- */
:root {
  --sma-grad: linear-gradient(95.43deg, #B100FF -10.15%, #4BB1DE 109.55%);
  --sma-glow: linear-gradient(95deg, #FF49E1 0%, #BCA1FF 50%, #89E3FF 100%);
  --sma-shadow: 0 18px 40px -18px rgba(0, 31, 51, .45);
  --sma-radius: 14px;
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: #FF49E1; color: #fff; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #FF49E1; outline-offset: 3px; }
img { max-width: 100%; height: auto; }

/* Sections sit flush against each other */
.wp-site-blocks > main, .wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0 !important; }
.wp-block-post-content > .alignfull:first-child { margin-top: 0; }
.wp-block-post-content > .alignfull + .alignfull { margin-top: 0; }

/* Dark sections: navy, night purple, gradient */
:is(.has-navy-background-color, .has-night-background-color, .has-ink-background-color, .sma-dark) :is(h1, h2, h3, h4) { color: #fff; }
:is(.has-navy-background-color, .has-night-background-color, .has-ink-background-color, .sma-dark) { --sma-on-dark: 1; }
:is(.has-navy-background-color, .has-night-background-color, .has-ink-background-color, .sma-dark) a:not(.wp-block-button__link):not(.sma-appstore) { color: #89E3FF; }
:is(.has-navy-background-color, .has-night-background-color, .has-ink-background-color, .sma-dark) a:not(.wp-block-button__link):not(.sma-appstore):hover { color: #fff; }
.sma-muted { color: rgba(2, 31, 51, .78); }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-muted { color: rgba(255, 255, 255, .78); }

/* ---------- Type helpers ---------- */
.sma-eyebrow {
  font-family: var(--wp--preset--font-family--sora); font-weight: 600;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wp--preset--color--navy);
  display: flex; align-items: center; gap: .7rem; margin-bottom: .25rem !important;
}
.sma-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--sma-grad); flex: none; }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-eyebrow { color: #89E3FF; }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-eyebrow::before { background: var(--sma-glow); }

.sma-num {
  font-family: var(--wp--preset--font-family--sora); font-weight: 200; font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1; letter-spacing: -.03em; color: var(--wp--preset--color--navy); margin-bottom: .6rem !important;
}
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-num { color: #89E3FF; }
.sma-glow-text { background: var(--sma-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sma-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem !important; padding: 0; list-style: none; }
.sma-tags span, .sma-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .02em; padding: .25rem .6rem; border-radius: 99px; background: rgba(0, 49, 79, .1); color: var(--wp--preset--color--navy); }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-tags span { background: rgba(137, 227, 255, .14); color: #89E3FF; }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; box-shadow: 0 8px 20px -10px rgba(177, 0, 255, .6); }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(177, 0, 255, .7); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent !important; border: 2px solid currentColor; color: var(--wp--preset--color--navy); box-shadow: none; padding-top: calc(.95rem - 2px); padding-bottom: calc(.95rem - 2px); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--navy) !important; color: #fff; border-color: var(--wp--preset--color--navy); }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff !important; color: var(--wp--preset--color--navy); border-color: #fff; }

/* App Store button */
.sma-store { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; }
.sma-appstore {
  display: inline-flex; align-items: center; gap: .7rem; text-decoration: none !important;
  background: #000; color: #fff !important; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px;
  padding: .55rem 1.15rem .6rem .9rem; line-height: 1.1; transition: transform .15s ease;
}
.sma-appstore:hover { transform: translateY(-1px); }
.sma-appstore svg { width: 26px; height: 26px; flex: none; }
.sma-appstore small { display: block; font-size: .7rem; font-weight: 600; opacity: .85; }
.sma-appstore b { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.sma-store-note { font-size: .875rem; margin: 0 !important; }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
body.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.wp-block-template-part { top: 46px; } }
.sma-header { box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -20px rgba(0, 0, 0, .6); }
.sma-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none !important; color: #fff !important; line-height: 1; }
.sma-brand img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.sma-brand span { font-family: var(--wp--preset--font-family--manrope); font-weight: 800; font-size: 1.1rem; letter-spacing: .05em; white-space: nowrap; }
.sma-brand b { color: #4BB1DE; font-weight: 800; }
.sma-brand--lg img { width: 56px; height: 56px; }
.sma-brand--lg span { font-size: 1.3rem; }
.sma-header .wp-block-navigation a { color: #fff; text-decoration: none; }
.sma-header .wp-block-navigation a:hover { color: #89E3FF; }
.sma-header .wp-block-navigation .current-menu-item > a, .sma-header .wp-block-navigation a[aria-current] { color: #89E3FF; }
.sma-header .wp-block-navigation__responsive-container-open { color: #fff; }
.sma-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem clamp(16px, 4vw, 40px); }
.sma-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { font-size: 1.5rem; gap: 1.25rem; }
.sma-header .sma-nav-cta .wp-block-button__link { padding: .6rem 1.1rem; font-size: .9375rem; }
@media (max-width: 600px) { .sma-header .sma-nav-cta { display: none; } .sma-brand span { font-size: 1rem; } .sma-brand img { width: 38px; height: 38px; } }

/* ---------- Hero ---------- */
.sma-hero { position: relative; overflow: hidden; isolation: isolate; }
.sma-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(177, 0, 255, .38), transparent 70%),
    radial-gradient(45% 60% at 70% 90%, rgba(255, 73, 225, .22), transparent 70%),
    radial-gradient(50% 60% at 0% 0%, rgba(75, 177, 222, .28), transparent 70%);
}
.sma-hero h1 { color: #fff; }
.sma-hero .sma-lead { color: rgba(255, 255, 255, .85); }
.sma-page-hero h1 { font-size: var(--wp--preset--font-size--xx-large); }

/* ---------- Phones (real app screenshots) ---------- */
.sma-phone {
  margin: 0; position: relative; flex: none;
  width: var(--w, 230px); aspect-ratio: 400 / 869;
  border-radius: calc(var(--w, 230px) * .14); padding: calc(var(--w, 230px) * .03);
  background: #0B1620; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.sma-phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w, 230px) * .115); background: #EEF0EC; }
.sma-phone-set { display: flex; justify-content: center; align-items: center; padding: 1rem 0 2rem; }
.sma-phone-set .sma-phone:nth-child(1) { --w: 200px; transform: rotate(-6deg) translate(18%, 6%); z-index: 1; }
.sma-phone-set .sma-phone:nth-child(2) { --w: 250px; z-index: 2; }
.sma-phone-set .sma-phone:nth-child(3) { --w: 200px; transform: rotate(6deg) translate(-18%, 6%); z-index: 1; }
@media (max-width: 900px) {
  .sma-phone-set .sma-phone:nth-child(1), .sma-phone-set .sma-phone:nth-child(3) { --w: 140px; }
  .sma-phone-set .sma-phone:nth-child(2) { --w: 180px; }
}
@media (max-width: 420px) {
  .sma-phone-set .sma-phone:nth-child(1), .sma-phone-set .sma-phone:nth-child(3) { --w: 112px; }
  .sma-phone-set .sma-phone:nth-child(2) { --w: 150px; }
}
.sma-phone-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem);
  overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.25rem; margin: 0; list-style: none;
  scrollbar-width: thin;
}
.sma-phone-row > li { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.sma-phone-row .sma-phone { --w: 100%; max-width: 230px; }
.sma-phone-row b { display: block; font-weight: 800; color: var(--wp--preset--color--navy); text-align: center; }
.sma-phone-row span { display: block; font-size: .9rem; text-align: center; max-width: 24ch; margin: .2rem auto 0; }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-phone-row b { color: #fff; }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-phone-row span { color: rgba(255, 255, 255, .78); }
@media (max-width: 781px) { .sma-phone-row { grid-auto-columns: 62%; } }

/* ---------- Cards ---------- */
.sma-card {
  background: #fff; color: var(--wp--preset--color--ink); border-radius: var(--sma-radius);
  padding: clamp(1.25rem, 2.5vw, 1.9rem); box-shadow: var(--sma-shadow); box-sizing: border-box;
}
.sma-card > :first-child { margin-top: 0; }
.sma-card h3 { margin-top: 0; color: var(--wp--preset--color--navy); }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-card { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-card h3 { color: #fff; }
.wp-block-columns.sma-equal > .wp-block-column { display: flex; flex-direction: column; }
.wp-block-columns.sma-equal > .wp-block-column > .sma-card { flex: 1; }
.sma-card .sma-card-media { margin: calc(-1 * clamp(1.25rem, 2.5vw, 1.9rem)) calc(-1 * clamp(1.25rem, 2.5vw, 1.9rem)) 1.1rem; }
.sma-card .sma-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--sma-radius) var(--sma-radius) 0 0; }
.sma-card-gradient { background: linear-gradient(135deg, #B100FF 0%, #6A2BD9 55%, #19587E 100%) !important; color: #fff !important; box-shadow: 0 20px 40px -20px rgba(177, 0, 255, .6) !important; }
.sma-card-gradient :is(h3, .sma-num, .sma-eyebrow) { color: #fff !important; }
.sma-card-gradient .sma-eyebrow::before { background: #fff; }
.sma-card-gradient a { color: #fff !important; }

/* Service cards on the home page */
.sma-service { position: relative; overflow: hidden; }
.sma-service ul { margin: .5rem 0 1rem; padding-left: 1.1rem; }
.sma-service li { margin: .25rem 0; }

/* Steps */
.sma-step { border-top: 3px solid; border-image: var(--sma-grad) 1; padding-top: 1rem; }
.sma-step .sma-num { font-size: 2.25rem; }

/* Lists with rules */
.sma-rule-list { list-style: none; padding-left: 0 !important; }
.sma-rule-list li { padding: .6rem 0 .6rem 1.6rem; border-bottom: 1px solid rgba(0, 49, 79, .14); position: relative; }
.sma-rule-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 10px; height: 10px; border-radius: 3px; background: var(--sma-grad); }
:is(.has-navy-background-color, .has-night-background-color, .sma-dark) .sma-rule-list li { border-bottom-color: rgba(255, 255, 255, .14); }

/* ---------- Media embeds (click to load) ---------- */
.sma-embed {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--sma-radius); overflow: hidden; background: #0B1620; color: #fff; text-align: left; font: inherit;
  box-shadow: var(--sma-shadow);
}
.sma-embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .2s; opacity: .9; }
.sma-embed:hover img { transform: scale(1.03); opacity: 1; }
.sma-embed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2, 20, 33, .85)); }
.sma-embed .sma-play {
  position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 2;
  width: 68px; height: 68px; border-radius: 50%; background: var(--sma-grad); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(177, 0, 255, .8);
}
.sma-embed .sma-play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.sma-embed--360 .sma-play::before { content: "360°"; border: 0; margin: 0; font-weight: 800; font-size: .95rem; }
.sma-embed .sma-embed-label { position: absolute; left: 1rem; right: 1rem; bottom: .85rem; z-index: 2; font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.sma-embed .sma-embed-label small { display: block; font-weight: 600; font-size: .8rem; opacity: .8; }
.sma-embed iframe, .sma-embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sma-embed-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--sma-radius); overflow: hidden; background: #000; box-shadow: var(--sma-shadow); }
.sma-embed-note { font-size: .8rem; margin-top: .5rem !important; opacity: .75; }

/* ---------- Portfolio ---------- */
.sma-project { scroll-margin-top: 6rem; }
.sma-project + .sma-project { margin-top: clamp(2.5rem, 5vw, 4rem) !important; padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(0, 49, 79, .15); }
:is(.has-navy-background-color, .has-night-background-color) .sma-project + .sma-project { border-top-color: rgba(255, 255, 255, .14); }
.sma-jump { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0 !important; margin: 0; }
.sma-jump a { display: inline-block; padding: .5rem 1rem; border-radius: 99px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff !important; text-decoration: none; font-weight: 700; font-size: .9375rem; }
.sma-jump a:hover { background: #fff; color: var(--wp--preset--color--navy) !important; }
.wp-block-gallery.sma-gallery { gap: .6rem !important; }
.wp-block-gallery.sma-gallery .wp-block-image img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; }
.sma-shot img { border-radius: var(--sma-radius); box-shadow: var(--sma-shadow); }
.sma-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }

/* ---------- Spec table ---------- */
.sma-spec { background: #fff; border-radius: var(--sma-radius); padding: .5rem clamp(1rem, 2.5vw, 1.75rem); box-shadow: var(--sma-shadow); }
.sma-spec table { border-collapse: collapse; width: 100%; font-size: .975rem; }
.sma-spec th { font-family: var(--wp--preset--font-family--sora); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; text-align: left; color: var(--wp--preset--color--deep); border-bottom: 2px solid var(--wp--preset--color--navy) !important; }
.sma-spec td, .sma-spec th { border: 0; border-bottom: 1px solid rgba(0, 49, 79, .12); padding: .9rem 1rem .9rem 0; vertical-align: top; }
.sma-spec tr:last-child td { border-bottom: 0; }
.sma-spec td:first-child { font-weight: 800; color: var(--wp--preset--color--navy); }
@media (max-width: 700px) {
  .sma-spec thead { display: none; }
  .sma-spec tr { display: block; border-bottom: 1px solid rgba(0, 49, 79, .12); padding: .75rem 0; }
  .sma-spec td { display: block; border: 0; padding: .2rem 0; }
}

/* ---------- FAQ ---------- */
.wp-block-details { background: #fff; border-radius: 10px; padding: 1rem 1.25rem; box-shadow: 0 6px 18px -12px rgba(0, 31, 51, .45); margin-top: .75rem !important; }
.wp-block-details summary { font-weight: 800; font-size: 1.0625rem; color: var(--wp--preset--color--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-family: var(--wp--preset--font-family--sora); color: #B100FF; font-size: 1.35rem; line-height: 1; }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { margin-top: .6rem; }

/* ---------- CTA band ---------- */
.sma-cta-band { background: var(--sma-grad) !important; color: #fff; }
.sma-cta-band :is(h2, p) { color: #fff; }
.sma-cta-band h2 { margin-bottom: .5rem; }
.sma-cta-band .wp-block-buttons { justify-content: flex-end; }
.sma-cta-band .wp-block-button__link { background: #fff !important; color: var(--wp--preset--color--navy) !important; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.sma-cta-band .wp-block-button__link:hover { background: var(--wp--preset--color--navy) !important; color: #fff !important; }
@media (max-width: 781px) { .sma-cta-band .wp-block-buttons { justify-content: flex-start; } }

/* ---------- Contact Form 7 ---------- */
.sma-form-card { background: #fff; border-radius: var(--sma-radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--sma-shadow); }
.wpcf7 form { display: grid; gap: 1.1rem; }
.sma-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
@media (max-width: 700px) { .sma-form-grid { grid-template-columns: 1fr; } }
.sma-form-grid .full { grid-column: 1 / -1; }
.wpcf7 label { display: block; font-weight: 800; font-size: .9375rem; color: var(--wp--preset--color--navy); }
.wpcf7 label .opt { font-weight: 500; color: var(--wp--preset--color--deep); }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=url], .wpcf7 select, .wpcf7 textarea {
  width: 100%; margin-top: .4rem; font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1px solid rgba(0, 49, 79, .22); border-radius: 6px;
  background: #EAF6FC; color: var(--wp--preset--color--ink); box-sizing: border-box;
}
.wpcf7 textarea { min-height: 120px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 3px solid rgba(177, 0, 255, .35); outline-offset: 0; border-color: #B100FF; background: #fff; }
.wpcf7 fieldset { border: 0; padding: 0; margin: 0; }
.wpcf7 legend { font-weight: 800; font-size: .9375rem; margin-bottom: .4rem; color: var(--wp--preset--color--navy); }
.wpcf7 .wpcf7-list-item { display: inline-flex; margin: .35rem 1.25rem .35rem 0; }
.wpcf7 .wpcf7-list-item label { font-weight: 500; display: inline-flex; gap: .45rem; align-items: center; color: var(--wp--preset--color--ink); }
.wpcf7 input[type=checkbox], .wpcf7 input[type=radio] { accent-color: #B100FF; width: 18px; height: 18px; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label { font-size: .9375rem; }
.wpcf7 input[type=submit] {
  font: inherit; font-weight: 800; font-size: 1.0625rem; background: var(--sma-grad); color: #fff; border-radius: 6px;
  border: 0; padding: 1rem 1.9rem; cursor: pointer; justify-self: start; box-shadow: 0 10px 22px -10px rgba(177, 0, 255, .7);
}
.wpcf7 input[type=submit]:hover { filter: brightness(.92); }
.wpcf7 input[type=submit]:disabled { opacity: .5; cursor: not-allowed; }
.wpcf7-not-valid-tip { color: #B42318; font-size: .875rem; margin-top: .3rem; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: .9rem 1rem; border: 2px solid var(--wp--preset--color--navy); border-radius: 8px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1E6B34; background: #E5F3E8; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #B42318; background: #FDECEA; }
.wpcf7-spinner { margin: 0 0 0 .75rem; }

/* ---------- Footer ---------- */
.sma-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.sma-footer a:hover { color: #89E3FF; }
.sma-footer .sma-footer-muted { color: rgba(255, 255, 255, .72); }
.sma-footer .sma-footer-links { list-style: none; padding-left: 0; line-height: 2; }
.sma-footer .sma-footer-rule { border: 0; border-top: 1px solid rgba(255, 255, 255, .14); background: none; margin-top: var(--wp--preset--spacing--50); }
.sma-footer .sma-eyebrow { color: #89E3FF; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wp-block-button__link, .sma-embed img, .sma-appstore { transition: none !important; }
}

/* Safety net while Elementor's global kit is still loaded (before launch) */
body[class*="elementor-kit-"] { background-color: var(--wp--preset--color--sky) !important; color: var(--wp--preset--color--ink) !important; font-family: var(--wp--preset--font-family--manrope) !important; }

/* v2.0.1 */
.sma-head-row > .wp-block-column:last-child .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 781px) { .sma-head-row > .wp-block-column:last-child .wp-block-buttons { justify-content: flex-start; } }
.sma-card .sma-card-media.is-contain img { object-fit: contain; background: #fff; padding: .75rem; box-sizing: border-box; }

/* In-page anchors clear the sticky header */
.sma-anchor { display: block; position: relative; top: -6rem; visibility: hidden; height: 0; }
