:root {
    color-scheme: dark;
    --ink: #f7fbff;
    --muted: #a7b4c9;
    --paper: #0d1320;
    --card: #151d2d;
    --line: rgba(118, 145, 185, .24);
    --blue: #5b78ff;
    --green: #44d7ff;
    --coral: #f25f6f;
    --yellow: #ffb84d;
    --navy: #071020;
    --surface: #101827;
    --surface-2: #182338;
    --glow: rgba(91, 120, 255, .44);
    --glow-cyan: rgba(68, 215, 255, .28);
    --shadow: 0 24px 70px rgba(0, 0, 0, .32);
    --radius: 18px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(900px circle at 15% -10%, rgba(91, 120, 255, .24), transparent 55%),
        radial-gradient(700px circle at 92% 8%, rgba(68, 215, 255, .16), transparent 52%),
        var(--paper);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg,
iframe {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 64px);
    background: rgba(247, 249, 252, .88);
    border-bottom: 1px solid rgba(220, 227, 238, .8);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: white;
    font-weight: 800;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    box-shadow: 0 14px 34px rgba(23, 92, 255, .25);
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 10px 12px;
    color: var(--muted);
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink);
    background: white;
}

.site-nav .nav-cta {
    color: white;
    background: var(--navy);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.flash {
    margin: 18px clamp(18px, 4vw, 64px) 0;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
}

.flash.success {
    color: #064b3f;
    background: #dff9ef;
}

.flash.error {
    color: #7a1020;
    background: #ffe1e5;
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
    gap: 42px;
    align-items: center;
    padding: clamp(56px, 8vw, 110px) clamp(18px, 4vw, 64px);
    min-height: 720px;
    overflow: hidden;
    background: #101a2a;
    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(13, 24, 39, .94), rgba(13, 24, 39, .72), rgba(13, 24, 39, .38)),
        url("/assets/images/hero-samstech-launch-v2.png") center right / cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    z-index: -1;
    background: linear-gradient(180deg, rgba(247, 249, 252, 0), var(--paper));
}

.hero h1,
.page-hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(42px, 6vw, 84px);
    line-height: 1.02;
}

.hero-text {
    max-width: 680px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions,
.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 0;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
}

.button.primary {
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--green));
    box-shadow: 0 18px 42px rgba(23, 92, 255, .28);
}

.button.secondary {
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
}

.stats span {
    display: grid;
    gap: 2px;
    min-width: 150px;
    padding: 16px 18px;
    color: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(16px);
}

.stats strong {
    color: white;
    font-size: 28px;
}

.hero-panel {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
    backdrop-filter: blur(18px);
}

.panel-top {
    display: flex;
    gap: 7px;
    padding-bottom: 18px;
}

.panel-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--yellow);
}

.panel-top span:nth-child(2) {
    background: var(--green);
}

.panel-top span:nth-child(3) {
    background: var(--coral);
}

.launch-card,
.launch-grid div,
.service-card,
.package-card,
.contact-form,
.contact-card,
.lead-card,
.login-card,
.work-board,
.timeline article,
.package-strip article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

.launch-card {
    padding: 24px;
    color: #000000;
}

.launch-card small,
.launch-grid span {
    color: #f97316;
    font-weight: 800;
    text-transform: uppercase;
}

.launch-card strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
}

.launch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.launch-grid div {
    padding: 18px;
    color: #000000;
}

.launch-grid strong {
    display: block;
    margin-top: 6px;
    font-size: 22px;
}

.section,
.page-hero {
    padding: clamp(56px, 7vw, 96px) clamp(18px, 4vw, 64px);
}

.page-hero {
    background: linear-gradient(135deg, #ffffff, #ecf4ff);
}

.page-hero.compact {
    padding-bottom: 38px;
}

.page-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.split h2,
.section-heading h2,
.quote-builder h2,
.work-board h2,
.cta-band h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.08;
}

.split p,
.quote-builder p,
.cta-band p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading a,
.service-card a {
    color: var(--blue);
    font-weight: 900;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-grid.wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    padding: 26px;
}

.service-card .icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: white;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blue), var(--green));
}

.service-card svg {
    width: 28px;
    height: 28px;
}

.service-card h2,
.service-card h3,
.package-card h2,
.lead-card h2 {
    margin: 18px 0 10px;
    font-size: 22px;
}

.service-card p,
.service-card li,
.package-card p,
.package-card li,
.work-board p,
.timeline p,
.package-strip p,
.lead-card p,
.login-card p {
    color: var(--muted);
    line-height: 1.65;
}

.service-card ul,
.package-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li,
.package-card li {
    position: relative;
    padding-left: 22px;
}

.service-card li::before,
.package-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.highlight {
    color: white;
    background: var(--navy);
}

.highlight p {
    color: rgba(255, 255, 255, .78);
}

.quote-builder {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(360px, 1fr);
    gap: 28px;
    align-items: start;
    background: #eef6f3;
}

.estimator {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.estimator label,
.estimator output {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
}

.estimator output,
.estimator .button {
    grid-column: 1 / -1;
}

.package-strip,
.package-grid,
.timeline,
.board-columns,
.contact-layout,
.lead-list {
    display: grid;
    gap: 18px;
}

.package-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.package-strip article {
    padding: 24px;
}

.package-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.package-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
}

.package-card .button {
    margin-top: auto;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: white;
    background: linear-gradient(135deg, var(--navy), #173c68);
}

.contact-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: start;
}

.contact-form,
.contact-card,
.login-card {
    padding: clamp(22px, 4vw, 34px);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form label,
.login-card label {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--ink);
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.login-card input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fbfcfe;
}

.contact-form textarea {
    resize: vertical;
}

.hidden-field {
    position: absolute;
    left: -10000px;
}

.contact-card h2 {
    margin-top: 0;
}

.contact-card p {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    margin: 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.contact-card a {
    color: var(--blue);
    font-weight: 800;
}

.mini-map {
    height: 280px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 16px;
}

.mini-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article,
.work-board {
    padding: 26px;
}

.timeline span {
    color: var(--blue);
    font-size: 34px;
    font-weight: 900;
}

.board-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
}

.board-columns article {
    padding: 22px;
    border-radius: 16px;
    background: #f6f9fe;
}

.admin {
    padding-top: 30px;
}

.logout-form {
    margin-bottom: 18px;
}

.lead-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-card {
    padding: 22px;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.admin-sidebar,
.admin-block,
.admin-form,
.project-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
}

.admin-sidebar {
    position: sticky;
    top: 92px;
    padding: 18px;
}

.admin-user {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 14px;
    background: #f2f7ff;
}

.admin-user span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
    margin: 16px 0;
}

.admin-sidebar nav a {
    padding: 11px 12px;
    color: var(--muted);
    border-radius: 12px;
    font-weight: 900;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    color: var(--ink);
    background: #eef6f3;
}

.admin-content {
    min-width: 0;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.metric-grid article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
}

.metric-grid strong {
    display: block;
    font-size: 34px;
}

.metric-grid span,
.data-list span,
.project-card p,
.project-card dd,
.project-card dt {
    color: var(--muted);
}

.admin-block,
.admin-form {
    padding: 22px;
}

.admin-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-block-head a {
    color: var(--blue);
    font-weight: 900;
}

.admin-two-col {
    display: grid;
    grid-template-columns: minmax(320px, .72fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.admin-two-col.wide-left {
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
}

.admin-form h2,
.admin-block h2,
.login-card h2 {
    margin-top: 0;
}

.admin-form label,
.admin-form fieldset,
.status-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.status-form select {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fbfcfe;
}

.admin-form fieldset {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.admin-form fieldset label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 8px 0;
    color: var(--muted);
    font-weight: 700;
}

.admin-form legend {
    padding: 0 6px;
    font-weight: 900;
}

.password-form {
    max-width: 560px;
}

.check-row {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
    color: var(--muted);
}

.check-row input {
    width: auto !important;
}

.data-list,
.project-list {
    display: grid;
    gap: 14px;
}

.data-list article {
    display: grid;
    gap: 5px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcfe;
}

.mini-link {
    width: fit-content;
    margin-top: 8px;
    color: #baf2ff;
    font-size: 13px;
    font-weight: 900;
}

.mini-link:hover {
    color: white;
}

.inline-reset-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 10px;
    align-items: end;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(118, 145, 185, .18);
}

.inline-reset-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.inline-reset-form input {
    width: 100%;
    padding: 10px 11px;
    color: var(--ink);
    border: 1px solid rgba(118, 145, 185, .28);
    border-radius: 11px;
    background: rgba(7, 16, 32, .72);
}

.project-card {
    padding: 20px;
}

.project-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.project-card h3 {
    margin: 0 0 4px;
    font-size: 22px;
}

.status-pill {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: #064b3f;
    border-radius: 999px;
    background: #dff9ef;
    font-size: 12px;
    font-weight: 900;
}

.project-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.project-card dt {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.project-card dd {
    margin: 3px 0 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.tag-row span {
    padding: 7px 10px;
    color: var(--ink);
    border-radius: 999px;
    background: #edf3ff;
    font-size: 12px;
    font-weight: 900;
}

.status-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.lead-card time {
    color: var(--muted);
    font-size: 13px;
}

.empty-state {
    padding: 26px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: white;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px clamp(18px, 4vw, 64px);
    color: rgba(255, 255, 255, .76);
    background: var(--navy);
}

.site-footer strong {
    color: white;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-bottom: 8px;
}

.site-footer .footer-brand {
    display: inline-flex;
}

.site-footer {
    display: block;
    margin-top: 96px;
    padding: 0;
    color: var(--muted);
    border-top: 1px solid rgba(118, 145, 185, .2);
    background:
        radial-gradient(680px circle at 14% 0%, rgba(91, 120, 255, .2), transparent 58%),
        radial-gradient(520px circle at 88% 24%, rgba(68, 215, 255, .12), transparent 56%),
        linear-gradient(160deg, #101827, #071020);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(240px, 1.15fr) .72fr .92fr 1.15fr;
    gap: 42px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px clamp(18px, 4vw, 64px);
}

.footer-col h2 {
    margin: 0 0 18px;
    color: white;
    font-size: 14px;
    font-weight: 900;
}

.footer-about p {
    max-width: 340px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.footer-brand {
    margin-bottom: 16px;
    color: white;
    font-size: 18px;
    font-weight: 900;
}

.site-footer .footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    box-shadow: 0 0 24px rgba(68, 215, 255, .18);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.site-footer .footer-socials a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    color: var(--muted);
    border: 1px solid rgba(118, 145, 185, .2);
    border-radius: 10px;
    background: rgba(7, 16, 32, .72);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform .28s var(--ease-out), color .28s var(--ease-out), background .28s var(--ease-out), box-shadow .28s var(--ease-out);
}

.site-footer .footer-socials a:hover {
    transform: translateY(-3px);
    color: white;
    background: rgba(91, 120, 255, .18);
    box-shadow: 0 14px 34px rgba(91, 120, 255, .22);
}

.footer-col ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-col a {
    display: inline-flex;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    transition: color .24s var(--ease-out), transform .24s var(--ease-out);
}

.site-footer .footer-col a:hover {
    transform: translateX(4px);
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.site-footer .footer-contact span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 28px;
    height: 28px;
    margin: 0;
    color: #baf2ff;
    border-radius: 8px;
    background: rgba(68, 215, 255, .1);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter label {
    display: block;
    margin-bottom: 10px;
    color: white;
    font-size: 14px;
    font-weight: 900;
}

.footer-newsletter div {
    display: flex;
    gap: 8px;
}

.footer-newsletter input {
    min-width: 0;
    flex: 1;
    padding: 11px 12px;
    color: white;
    border: 1px solid rgba(118, 145, 185, .28);
    border-radius: 11px;
    background: rgba(7, 16, 32, .72);
}

.footer-newsletter button {
    padding: 11px 15px;
    color: white;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    font-weight: 900;
    cursor: pointer;
    transition: transform .24s var(--ease-out), box-shadow .24s var(--ease-out);
}

.footer-newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(91, 120, 255, .28);
}

.footer-newsletter small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px clamp(18px, 4vw, 64px);
    color: rgba(167, 180, 201, .78);
    border-top: 1px solid rgba(118, 145, 185, .18);
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.whatsapp-float {
    position: fixed;
    right: clamp(18px, 3vw, 32px);
    bottom: clamp(18px, 3vw, 32px);
    z-index: 60;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: white;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 18px 44px rgba(37, 211, 102, .32), 0 0 0 rgba(37, 211, 102, .28);
    animation: whatsapp-pulse 2.2s infinite;
    transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), filter .28s var(--ease-out);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.06);
    filter: saturate(1.1);
    box-shadow: 0 24px 58px rgba(37, 211, 102, .42), 0 0 34px rgba(37, 211, 102, .28);
}

@media (max-width: 980px) {
    .hero,
    .split,
    .quote-builder,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .service-grid.wide,
    .package-grid,
    .package-strip,
    .timeline,
    .board-columns,
    .lead-list,
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-shell,
    .admin-two-col,
    .admin-two-col.wide-left {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .hero {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: white;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 42px;
    }

    .section-heading,
    .cta-band,
    .site-footer {
        display: grid;
    }

    .service-grid,
    .service-grid.wide,
    .package-grid,
    .package-strip,
    .timeline,
    .board-columns,
    .lead-list,
    .form-grid,
    .launch-grid,
    .estimator,
    .metric-grid,
    .project-card dl,
    .status-form {
        grid-template-columns: 1fr;
    }

    .quote-builder {
        padding-top: 46px;
    }
}

/* Sam's Tech brand theme and motion system */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    gap: 18px;
    background:
        radial-gradient(600px circle at 50% 42%, rgba(91, 120, 255, .24), transparent 60%),
        #071020;
    transition: opacity .55s var(--ease-out), visibility .55s var(--ease-out);
}

.page-loader img {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    box-shadow: 0 0 46px rgba(68, 215, 255, .28);
    animation: loader-pop 1.1s var(--ease-out) infinite alternate;
}

.page-loader span {
    width: 190px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.page-loader span::before {
    content: "";
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--green));
    animation: loading-bar 1.25s var(--ease-out) infinite;
}

body.is-loaded .page-loader {
    opacity: 0;
    visibility: hidden;
}

main {
    animation: page-enter .75s var(--ease-out) both;
}

.site-header {
    background: rgba(7, 16, 32, .78);
    border-bottom-color: rgba(118, 145, 185, .18);
    box-shadow: 0 12px 42px rgba(0, 0, 0, .18);
}

.brand {
    transition: transform .28s var(--ease-out), filter .28s var(--ease-out);
}

.brand:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 18px rgba(68, 215, 255, .32));
}

.brand-mark {
    overflow: hidden;
    background: #071020;
    box-shadow: 0 16px 40px rgba(68, 215, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand small,
.site-nav a,
.project-card p,
.project-card dd,
.project-card dt,
.data-list span,
.metric-grid span {
    color: var(--muted);
}

.site-nav a {
    position: relative;
    transition: color .25s var(--ease-out), background .25s var(--ease-out), transform .25s var(--ease-out);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    transition: transform .28s var(--ease-out);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: white;
    background: rgba(255, 255, 255, .07);
    transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-nav .nav-cta {
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--green));
    box-shadow: 0 15px 36px rgba(91, 120, 255, .26);
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(7, 16, 32, .96), rgba(7, 16, 32, .78), rgba(7, 16, 32, .42)),
        url("/assets/images/hero-samstech-launch-v2.png") center right / cover;
    animation: hero-breathe 11s ease-in-out infinite alternate;
}

.hero::after {
    background: linear-gradient(180deg, rgba(13, 19, 32, 0), var(--paper));
}

.hero-copy > *,
.page-hero > * {
    animation: fade-up .75s var(--ease-out) both;
}

.hero-copy > :nth-child(2),
.page-hero > :nth-child(2) {
    animation-delay: .08s;
}

.hero-copy > :nth-child(3),
.page-hero > :nth-child(3) {
    animation-delay: .16s;
}

.hero-copy > :nth-child(4) {
    animation-delay: .24s;
}

.hero-panel {
    border-color: rgba(118, 145, 185, .24);
    background: rgba(13, 19, 32, .62);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .38), 0 0 70px rgba(91, 120, 255, .18);
    animation: float-panel 5.8s ease-in-out infinite;
}

.launch-card,
.launch-grid div {
    background: rgba(247, 251, 255, .96);
}

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px circle at 12% 10%, rgba(91, 120, 255, .22), transparent 60%),
        linear-gradient(135deg, #101827, #071020);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(68, 215, 255, .7), transparent);
}

.page-hero p {
    color: var(--muted);
}

.section {
    position: relative;
}

.service-card,
.package-card,
.contact-form,
.contact-card,
.lead-card,
.login-card,
.work-board,
.timeline article,
.package-strip article,
.admin-sidebar,
.admin-block,
.admin-form,
.project-card,
.metric-grid article,
.data-list article,
.estimator label,
.estimator output {
    background: linear-gradient(160deg, rgba(21, 29, 45, .98), rgba(15, 23, 39, .98));
    border-color: rgba(118, 145, 185, .22);
    box-shadow: 0 22px 58px rgba(0, 0, 0, .28);
    transition:
        transform .32s var(--ease-out),
        border-color .32s var(--ease-out),
        box-shadow .32s var(--ease-out),
        background .32s var(--ease-out);
}

.service-card:hover,
.package-card:hover,
.timeline article:hover,
.package-strip article:hover,
.project-card:hover,
.metric-grid article:hover,
.data-list article:hover {
    transform: translateY(-7px);
    border-color: rgba(68, 215, 255, .52);
    box-shadow: 0 30px 78px rgba(0, 0, 0, .38), 0 0 38px rgba(91, 120, 255, .18);
}

.service-card .icon {
    box-shadow: 0 16px 38px rgba(91, 120, 255, .28);
    transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out);
}

.service-card:hover .icon {
    transform: rotate(-4deg) scale(1.08);
    box-shadow: 0 18px 44px rgba(68, 215, 255, .32);
}

.button {
    position: relative;
    overflow: hidden;
    transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s var(--ease-out);
}

.button::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%) skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transition: transform .55s var(--ease-out);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(91, 120, 255, .32);
}

.button:hover::before {
    transform: translateX(120%) skewX(-18deg);
}

.button.secondary {
    color: white;
    background: rgba(255, 255, 255, .07);
    border-color: rgba(118, 145, 185, .28);
}

.quote-builder {
    background:
        radial-gradient(620px circle at 78% 16%, rgba(68, 215, 255, .18), transparent 56%),
        #0f1727;
}

.highlight,
.cta-band,
.site-footer {
    background:
        radial-gradient(700px circle at 18% 0%, rgba(91, 120, 255, .22), transparent 58%),
        linear-gradient(135deg, #071020, #111b2d);
}

.board-columns article,
.admin-user {
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(118, 145, 185, .18);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.login-card input,
.admin-form input,
.admin-form select,
.admin-form textarea,
.status-form select {
    color: var(--ink);
    background: rgba(7, 16, 32, .72);
    border-color: rgba(118, 145, 185, .28);
    transition: border-color .24s var(--ease-out), box-shadow .24s var(--ease-out), transform .24s var(--ease-out);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.login-card input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.status-form select:focus {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(68, 215, 255, .8);
    box-shadow: 0 0 0 4px rgba(68, 215, 255, .12), 0 16px 34px rgba(0, 0, 0, .22);
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    color: white;
    background: rgba(68, 215, 255, .1);
}

.status-pill {
    color: #baf2ff;
    background: rgba(68, 215, 255, .12);
    border: 1px solid rgba(68, 215, 255, .22);
}

.tag-row span {
    color: #dce8ff;
    background: rgba(91, 120, 255, .14);
}

.empty-state {
    background: rgba(255, 255, 255, .04);
}

.flash {
    animation: drop-in .42s var(--ease-out) both;
}

.reveal {
    opacity: 0;
    transform: translateY(26px) scale(.985);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pulse-dot {
    position: relative;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    right: -4px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 rgba(68, 215, 255, .5);
    animation: pulse-ring 1.8s infinite;
}

@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-panel {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes hero-breathe {
    from {
        transform: scale(1);
        filter: saturate(1);
    }
    to {
        transform: scale(1.035);
        filter: saturate(1.15);
    }
}

@keyframes loader-pop {
    from {
        transform: translateY(0) scale(.96);
    }
    to {
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes loading-bar {
    from {
        transform: translateX(-110%);
    }
    to {
        transform: translateX(260%);
    }
}

@keyframes drop-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(68, 215, 255, .44);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(68, 215, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(68, 215, 255, 0);
    }
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 18px 44px rgba(37, 211, 102, .32), 0 0 0 0 rgba(37, 211, 102, .32);
    }
    70% {
        box-shadow: 0 18px 44px rgba(37, 211, 102, .32), 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 18px 44px rgba(37, 211, 102, .32), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 980px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .site-footer {
        display: block;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-block: 46px;
    }

    .footer-bottom {
        display: grid;
    }

    .footer-newsletter div {
        display: grid;
    }
}
