/* =========================================================================
   TsmWorkHub — Marketing homepage
   Tokens: ink #15161F · paper #FAFAFC · primary #4338CA · primary-2 #6D28D9
           accent #F5A524 · surface-dark #101124 · border #E7E7EF
   Type: Sora (display) + Inter (body/UI)
   ========================================================================= */

:root {
    --ink: #15161F;
    --ink-soft: #4B4C5C;
    --paper: #FAFAFC;
    --surface: #FFFFFF;
    --surface-dark: #101124;
    --primary: #4338CA;
    --primary-2: #6D28D9;
    --accent: #F5A524;
    --border: #E7E7EF;
    --green: #16A34A;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(21, 22, 31, .06);
    --shadow-md: 0 12px 32px -12px rgba(21, 22, 31, .18);
    --shadow-lg: 0 24px 60px -20px rgba(67, 56, 202, .28);
    --maxw: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Sora', system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -.01em;
}

p {
    margin: 0
}

a {
    color: inherit;
    text-decoration: none
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none
}

img {
    max-width: 100%;
    display: block
}

button {
    font-family: inherit;
    cursor: pointer
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 8px 0;
    z-index: 200;
}

.skip-link:focus {
    left: 0
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px
}

/* ---------------------------------- Buttons ---------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm)
}

.btn-primary:hover {
    background: #372ea8;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px)
}

.btn-outline {
    border-color: var(--border);
    color: var(--ink);
    background: #fff
}

.btn-outline:hover {
    border-color: var(--ink);
    transform: translateY(-1px)
}

.btn-ghost {
    color: var(--ink-soft)
}

.btn-ghost:hover {
    color: var(--ink)
}

.btn-lg {
    padding: 14px 26px;
    font-size: 15.5px
}

/* ---------------------------------- Header ---------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 252, .85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px
}

.brand {
    display: flex;
    align-items: center;
    margin-right: auto
}

.brand-mark {
    height: 32px;
    width: auto
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft)
}

.main-nav a:hover {
    color: var(--ink)
}

.main-nav .header-actions {
    display: none
}

/* only used inside the mobile dropdown, see below */
.header-actions-desktop {
    display: flex;
    align-items: center;
    gap: 10px
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px
}

/* ---------------------------------- Hero ---------------------------------- */
.hero {
    padding: 76px 0 64px
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center
}

.hero-copy h1 {
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 700;
    max-width: 15ch
}

.hero-sub {
    margin-top: 20px;
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 46ch
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 36px
}

.avatar-stack {
    display: flex
}

.avatar-stack span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--paper);
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    margin-left: -10px;
}

.avatar-stack span:first-child {
    margin-left: 0
}

.hero-proof p {
    font-size: 14px;
    color: var(--ink-soft)
}

.hero-proof strong {
    color: var(--ink)
}

.hero-visual {
    position: relative;
    margin-bottom: 36px
}

.device-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    position: relative;
    z-index: 2;
}

.device-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border)
}

.device-card-head span {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft)
}

.device-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%
}

.device-dot.red {
    background: #F26D6D
}

.device-dot.amber {
    background: #F5C451
}

.device-dot.green {
    background: #59C46B
}

.live-feed li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0
}

.feed-avatar {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex: none
}

.feed-text {
    flex: 1;
    min-width: 0
}

.feed-text b {
    display: block;
    font-size: 13.5px
}

.feed-text small {
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.feed-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    flex: none
}

.feed-status.is-active {
    background: #E9F9EE;
    color: var(--green)
}

.feed-status.is-idle {
    background: #FDF3E1;
    color: #B5790A
}

.device-card-foot {
    display: flex;
    gap: 22px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border)
}

.mini-stat b {
    display: block;
    font-size: 18px;
    font-family: 'Sora', sans-serif
}

.mini-stat small {
    font-size: 11.5px;
    color: var(--ink-soft)
}

.floaty-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 10px 14px;
    z-index: 3;
    animation: float 5s ease-in-out infinite;
}

.floaty-card i {
    font-size: 18px;
    color: var(--primary)
}

.floaty-card b {
    display: block;
    font-size: 12.5px
}

.floaty-card small {
    font-size: 11px;
    color: var(--ink-soft)
}

.floaty-1 {
    top: -18px;
    right: -6px;
    animation-delay: .2s
}

.floaty-2 {
    bottom: -46px;
    left: -40px;
    animation-delay: 1.4s
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
    position: relative
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 1.8s ease-out infinite
}

@keyframes pulse {
    0% {
        opacity: .6;
        transform: scale(1)
    }

    100% {
        opacity: 0;
        transform: scale(2.6)
    }
}

@media(prefers-reduced-motion:reduce) {

    .floaty-card,
    .pulse-dot::after {
        animation: none
    }
}

/* ---------------------------------- Logo marquee ---------------------------------- */
.logo-strip {
    padding: 34px 0 44px
}

.logo-strip-label {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 22px
}

.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.marquee-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: scroll-x 28s linear infinite
}

.marquee:hover .marquee-track {
    animation-play-state: paused
}

.client-logo {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: #B7B8C6;
    white-space: nowrap
}

@keyframes scroll-x {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ---------------------------------- Section head ---------------------------------- */
.section-head {
    max-width: 560px;
    margin: 0 auto 48px;
    text-align: center
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700
}

.section-head p {
    margin-top: 14px;
    font-size: 16px;
    color: var(--ink-soft)
}

.section-head.light h2,
.section-head.light p {
    color: #fff
}

.section-head.light p {
    color: #C7C8E0
}

/* ---------------------------------- Flagship (zigzag) ---------------------------------- */
.flagship {
    padding: 36px 0 20px
}

.flagship-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 56px 0;
    border-top: 1px solid var(--border)
}

.flagship-row:first-of-type {
    border-top: none
}

.flagship-row.is-reverse .flagship-copy {
    order: 2
}

.flagship-row.is-reverse .flagship-media {
    order: 1
}

.flagship-tag {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    background: #EEEDFB;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px
}

.flagship-copy h3 {
    font-size: clamp(21px, 2.4vw, 28px);
    font-weight: 700;
    max-width: 16ch
}

.flagship-copy p {
    margin-top: 14px;
    color: var(--ink-soft);
    font-size: 15.5px;
    max-width: 44ch
}

.check-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--ink)
}

.check-list li::before {
    content: '';
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: #E9F9EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316A34A' stroke-width='2'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E") center/9px no-repeat
}

.flagship-media {
    display: flex;
    justify-content: center
}

.mock {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 22px;
    width: 100%;
    max-width: 400px
}

.mock-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 16px
}

.mock-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border)
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border)
}

.mock-row i {
    color: var(--primary)
}

.mock-row.muted {
    color: var(--ink-soft)
}

.mock-row.muted i {
    color: var(--ink-soft)
}

.mock-time {
    margin-left: auto;
    font-size: 12px;
    color: var(--ink-soft)
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin-top: 16px
}

.mock-chart span {
    flex: 1;
    background: linear-gradient(180deg, var(--primary), var(--primary-2));
    border-radius: 4px 4px 0 0;
    opacity: .85
}

.mock-attendance {
    text-align: center
}

.mock-avatar-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #EEEDFB;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    font-size: 26px;
    color: var(--primary)
}

.mock-attendance-name {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 16px
}

.mock-attendance-time {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 4px
}

.mock-attendance-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px
}

.badge-ok {
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    background: #E9F9EE;
    padding: 6px 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.mock-chat {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px
}

.chat-bubble.left {
    align-self: flex-start;
    background: #F1F1F6;
    border-bottom-left-radius: 4px
}

.chat-bubble.right {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px
}

.chat-typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: #F1F1F6;
    border-radius: 14px;
    border-bottom-left-radius: 4px
}

.chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9CA0B4;
    animation: typing 1.2s infinite
}

.chat-typing span:nth-child(2) {
    animation-delay: .2s
}

.chat-typing span:nth-child(3) {
    animation-delay: .4s
}

@keyframes typing {

    0%,
    60%,
    100% {
        opacity: .3;
        transform: translateY(0)
    }

    30% {
        opacity: 1;
        transform: translateY(-3px)
    }
}

.client-logo {
    height: 200px !important;
    width: 400px !important;
}

.client .logo-img {
    width: 150px !important;
    border-radius: 5px !important;
}

/* ---------------------------------- Secondary features grid ---------------------------------- */
.grid-features {
    padding: 20px 0 80px
}

.fx-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden
}

.fx {
    background: var(--surface);
    padding: 28px 24px
}

.fx i {
    font-size: 22px;
    color: var(--primary)
}

.fx h4 {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-top: 14px
}

.fx p {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--ink-soft)
}

/* ---------------------------------- How it works ---------------------------------- */
.how {
    padding: 70px 0;
    background: #F3F2FB
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: var(--maxw);
    margin: 0 auto
}

.how-steps li {
    text-align: left
}

.how-num {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    margin-bottom: 16px
}

.how-steps h4 {
    font-size: 17px;
    font-weight: 600
}

.how-steps p {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--ink-soft)
}

/* ---------------------------------- Stats band ---------------------------------- */
.stats-band {
    background: var(--surface-dark);
    padding: 54px 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center
}

.stat b {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    color: #fff;
    font-weight: 700
}

.stat span {
    font-size: 13.5px;
    color: #9EA0C0;
    margin-top: 6px;
    display: block
}

/* ---------------------------------- Testimonials ---------------------------------- */
.testimonials {
    background: var(--surface-dark);
    padding: 20px 0 84px
}

.testi-carousel {
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden
}

.testi-track {
    display: flex;
    transition: transform .5s cubic-bezier(.65, 0, .35, 1)
}

.testi-slide {
    flex: 0 0 100%;
    background: #181A34;
    border: 1px solid #2B2D57;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center
}

.testi-slide blockquote {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 19px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5
}

.testi-slide figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 26px
}

.testi-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12.5px;
    font-weight: 700
}

.testi-slide figcaption b {
    display: block;
    font-size: 14px;
    color: #fff
}

.testi-slide figcaption small {
    font-size: 12.5px;
    color: #9EA0C0
}

.testi-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px
}

.testi-controls button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #33355E;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .15s
}

.testi-controls button:hover {
    background: #20224A
}

.testi-dots {
    display: flex;
    gap: 8px
}

.testi-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3A3C68;
    cursor: pointer;
    transition: background .2s, width .2s
}

.testi-dots span.is-active {
    background: var(--accent);
    width: 20px;
    border-radius: 4px
}

/* ---------------------------------- Pricing ---------------------------------- */
.pricing {
    padding: 80px 0
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch
}

.price-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative
}

.price-card.is-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px)
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px
}

.price-card h3 {
    font-size: 16px;
    font-weight: 600
}

.price {
    margin-top: 14px;
    font-family: 'Sora', sans-serif
}

.price span {
    font-size: 32px;
    font-weight: 700
}

.price-card ul {
    margin: 22px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1
}

.price-card ul li {
    font-size: 13.5px;
    color: var(--ink-soft);
    padding-left: 20px;
    position: relative
}

.price-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700
}

.price-card .btn {
    width: 100%
}

/* ---------------------------------- FAQ ---------------------------------- */
.faq {
    padding: 20px 0 90px
}

.faq-wrap {
    max-width: 760px
}

.faq-item {
    border-bottom: 1px solid var(--border)
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 22px 4px;
    font-family: 'Sora', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    text-align: left;
    color: var(--ink)
}

.faq-q i {
    flex: none;
    font-size: 14px;
    color: var(--primary);
    transition: transform .25s
}

.faq-item.is-open .faq-q i {
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease
}

.faq-a p {
    padding: 0 4px 22px;
    color: var(--ink-soft);
    font-size: 14.5px;
    max-width: 64ch
}

/* ---------------------------------- Final CTA ---------------------------------- */
.final-cta {
    padding: 80px 0 96px;
    text-align: center
}

.final-cta-inner h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700
}

.final-cta-inner p {
    margin-top: 14px;
    color: var(--ink-soft);
    font-size: 16px
}

.final-cta-inner .btn {
    margin-top: 28px
}

/* ---------------------------------- Footer ---------------------------------- */
.site-footer {
    background: #271e93 !important;
    color: #B7B8C6;
    padding-top: 64px
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
   
    padding-bottom: 48px
}

.footer-mark {
    height: 40px;
    border-radius: 6px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 13.5px;
    max-width: 32ch;
    color: #fff
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px
}

.social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    transition: background .15s, color .15s
}

.footer-col h5 {
    font-family: 'Sora', sans-serif;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 16px
}

.footer-col a {
    display: block;
    font-size: 13.5px;
    padding: 6px 0;
    color: #fff;
}
.footer-col a .list{
    padding-right: 10px;
}
.footer-col a i{
    padding-right:;
}
.footer-col a:hover {
    color: #fff
}

.footer-bottom {
    border-top: 1px solid #fff;
    padding: 20px 24px;
    font-size: 12.5px;
    color: #fff;
}

/* ---------------------------------- Responsive ---------------------------------- */
@media(max-width:980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .hero-visual {
        order: -1;
        max-width: 440px;
        margin: 0 auto
    }

    .fx-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto
    }

    .price-card.is-featured {
        transform: none
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        row-gap: 32px
    }
}

@media(max-width:760px) {

    .main-nav,
    .header-actions-desktop {
        display: none
    }

    .nav-toggle {
        display: flex
    }

    .site-header.is-open .main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 8px 24px 20px;
        gap: 2px;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .site-header.is-open .main-nav>a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border)
    }

    .site-header.is-open .main-nav .header-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-top: 16px;
    }

    .site-header.is-open .main-nav .header-actions .btn {
        width: 100%
    }

    .flagship-row {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0
    }

    .flagship-row.is-reverse .flagship-copy,
    .flagship-row.is-reverse .flagship-media {
        order: 0
    }

    .fx-grid {
        grid-template-columns: 1fr
    }

    .footer-inner {
        grid-template-columns: 1fr
    }
}




/* ==========================================================================
   Contact Us page — additive only, loaded after home.css + navbar-footer.css
   ========================================================================== */



/* ---------- info cards ---------- */
.contact-cards {
    padding: 48px 0 8px
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #EEEDFB;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 16px
}

.contact-card h4 {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 600
}

.contact-card p {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.6
}

.contact-card p a {
    color: var(--ink-soft)
}

/* ---------- form + map ---------- */
.contact-main {
    padding: 48px 0 90px
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch
}

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px
}

.contact-form-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 19px;
    font-weight: 700
}

.contact-form-sub {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--ink-soft)
}

.contact-form-card form {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.contact-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #FAFAFC;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 96px
}

.contact-form-card select {
    color: var(--ink-soft)
}

.captcha-label {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-top: 2px
}

.captcha-input {
    max-width: 220px
}

.contact-submit {
    width: 100%;
    margin-top: 4px
}

.form-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    margin-top: 18px
}

.form-alert.is-success {
    background: #E9F9EE;
    color: #15803D
}

.form-alert.is-error {
    background: #FEEBEE;
    color: #B91C3C
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    min-height: 420px
}

.contact-map iframe {
    display: block
}

@media (max-width:900px) {
    .contact-cards-grid {
        grid-template-columns: 1fr
    }

    .contact-main-grid {
        grid-template-columns: 1fr
    }

    .contact-map {
        min-height: 320px
    }
}

@media (max-width:600px) {
    .contact-form-card .form-row {
        grid-template-columns: 1fr
    }
}











