/* ================================================
   WEBORA — Editorial Light
   ================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink:          #111111;
    --ink-2:        #2A2622;
    --ink-3:        #6B6157;
    --paper:        #F5F1EB;
    --paper-2:      #EEE8DE;
    --paper-3:      #E5DDD0;
    --hairline:     rgba(17,17,17,.10);

    --accent:       #B4502A;
    --accent-2:     #8C3B1E;
    --accent-ink:   #F5F1EB;

    --pm-bg:        #111111;
    --pm-bg-card:   #1A1A1A;

    --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
    --font-mono:    'JetBrains Mono', 'SF Mono', Consolas, monospace;

    --r-xs:  3px;
    --r-sm:  6px;
    --r-md:  10px;
    --r-pill: 999px;

    --shadow-sm:  0 1px 4px rgba(17,17,17,.08);
    --shadow-md:  0 4px 24px rgba(17,17,17,.10);
    --shadow-lg:  0 12px 48px rgba(17,17,17,.12);

    --transition: .3s cubic-bezier(.4,0,.2,1);
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

.mono {
    font-family: var(--font-mono);
    letter-spacing: .03em;
}

/* ================================================
   CUSTOM CURSOR (desktop only)
   ================================================ */

.cursor-dot,
.cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity .3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--ink);
    top: 0; left: 0;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(17,17,17,.3);
    top: 0; left: 0;
    transition: width .2s var(--ease-out), height .2s var(--ease-out), border-color .2s ease;
}

.cursor-ring.is-link {
    width: 56px;
    height: 56px;
    border-color: var(--accent);
}

@media (hover: none), (max-width: 1023px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .08em;
    color: var(--ink-3);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.022em;
    color: var(--ink);
    margin-bottom: 16px;
    font-optical-sizing: auto;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--ink-3);
    line-height: 1.75;
    max-width: 520px;
}

.section-header {
    margin-bottom: 64px;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: .9rem;
    padding: 13px 28px;
    border-radius: var(--r-pill);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
    letter-spacing: .01em;
}

.btn-primary:hover {
    background: var(--accent-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(180,80,42,.3);
}

.btn-ghost {
    color: var(--ink-3);
    background: transparent;
    border: 1.5px solid var(--hairline);
    padding: 12px 28px;
}

.btn-ghost:hover {
    color: var(--ink);
    border-color: rgba(17,17,17,.25);
}

.btn-header {
    background: var(--ink);
    color: var(--paper);
    font-size: .85rem;
    padding: 10px 22px;
    border-radius: var(--r-pill);
    letter-spacing: .01em;
    transition: background var(--transition);
}

.btn-header:hover { background: var(--ink-2); }

.btn-full { width: 100%; justify-content: center; }

/* ================================================
   HEADER
   ================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition), border-bottom var(--transition);
    padding: 0 clamp(24px, 5vw, 80px);
}

.site-header.scrolled {
    background: rgba(245,241,235,.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    font-optical-sizing: auto;
    letter-spacing: -.02em;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: -.02em;
    color: var(--ink);
    font-optical-sizing: auto;
}

.logo-dot { color: var(--accent); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.main-nav a {
    font-size: .875rem;
    color: var(--ink-3);
    text-decoration: none;
    position: relative;
    transition: color var(--transition);
    letter-spacing: .005em;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease-out);
}

.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--ink); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    margin-left: auto;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .3s ease, opacity .3s ease;
    border-radius: 2px;
}

.mobile-toggle.active span:first-child { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle.active span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */

.hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    column-gap: 60px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px clamp(24px, 5vw, 80px) 0;
}

.hero-left {
    padding-bottom: 60px;
    animation: heroFadeIn .8s var(--ease-out) .15s both;
}

.hero-eyebrow {
    margin-bottom: 28px;
    color: var(--ink-3);
    font-size: .85rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 6rem);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--ink);
    font-optical-sizing: auto;
    margin-bottom: 28px;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-desc {
    font-size: 1.0625rem;
    color: var(--ink-3);
    line-height: 1.75;
    max-width: 440px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

/* Hero visual — right column */
.hero-right {
    position: relative;
    padding-bottom: 60px;
    animation: heroFadeIn .9s var(--ease-out) .35s both;
}

/* Browser mockup */
.hm-browser {
    width: 100%;
    background: #1A1A1A;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(17,17,17,.08);
    font-family: var(--font-sans);
}

.hm-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #111111;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.hm-dots {
    display: flex;
    gap: 5px;
}

.hm-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.hm-dots i:nth-child(1) { background: #ff5f57; }
.hm-dots i:nth-child(2) { background: #febc2e; }
.hm-dots i:nth-child(3) { background: #28c840; }

.hm-url {
    font-family: var(--font-mono);
    font-size: 9px;
    color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px;
    padding: 3px 10px;
    margin-left: 8px;
    letter-spacing: .02em;
}

.hm-page {
    background: var(--paper);
    padding: 14px 16px;
}

.hm-page-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--hairline);
}

.hm-page-brand {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -.02em;
    font-optical-sizing: auto;
}

.hm-page-brand em {
    color: var(--accent);
    font-style: normal;
}

.hm-page-cta {
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 7px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
}

.hm-page-hero {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hairline);
}

.hm-page-eyebrow {
    font-family: var(--font-mono);
    font-size: 7px;
    color: var(--ink-3);
    margin-bottom: 6px;
    letter-spacing: .05em;
}

.hm-page-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -.02em;
    font-optical-sizing: auto;
    margin-bottom: 6px;
}

.hm-page-title em {
    font-style: italic;
    color: var(--accent);
}

.hm-page-sub {
    font-size: 8px;
    color: var(--ink-3);
    line-height: 1.5;
}

.hm-page-projects {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hairline);
}

.hm-project {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hm-project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hm-proj-cat {
    font-family: var(--font-mono);
    font-size: 6px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hm-project-info strong {
    font-size: 8px;
    font-weight: 500;
    color: var(--ink);
}

.hm-proj-bar {
    height: 3px;
    background: var(--paper-3);
    border-radius: var(--r-pill);
    overflow: hidden;
}

.hm-proj-fill {
    height: 100%;
    background: var(--accent);
    border-radius: var(--r-pill);
}

.hm-page-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hm-page-stats > div { text-align: center; }

.hm-page-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    font-optical-sizing: auto;
}

.hm-page-stats span {
    font-family: var(--font-mono);
    font-size: 6px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Floating card */
.hero-float-card {
    position: absolute;
    bottom: 80px;
    left: -20px;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.hfc-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(34,197,94,.2);
    animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
    50%       { box-shadow: 0 0 0 8px rgba(34,197,94,.06); }
}

.hero-float-card strong {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink);
}

.hero-float-card span {
    display: block;
    font-family: var(--font-mono);
    font-size: .62rem;
    color: var(--ink-3);
}

/* Hero stats strip */
.hero-stats-strip {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--hairline);
    padding-top: 40px;
    padding-bottom: 60px;
    animation: heroFadeIn 1s var(--ease-out) .5s both;
}

.hero-stat {
    flex: 1;
    text-align: center;
}

.hero-stat:first-child { text-align: left; }
.hero-stat:last-child  { text-align: right; }

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-optical-sizing: auto;
}

.stat-label {
    display: block;
    font-size: .68rem;
    color: var(--ink-3);
    margin-top: 4px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-stat-div {
    width: 1px;
    height: 40px;
    background: var(--hairline);
    flex-shrink: 0;
}

/* ================================================
   CLIENTS BAR
   ================================================ */

.clients-bar {
    background: var(--paper-2);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 24px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.clients-label-wrap {
    flex-shrink: 0;
    padding: 0 clamp(24px, 4vw, 60px);
    border-right: 1px solid var(--hairline);
}

.clients-label {
    color: var(--ink-3);
    font-size: .7rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.clients-overflow {
    overflow: hidden;
    flex: 1;
}

.clients-track {
    display: flex;
    align-items: center;
    animation: marqueeScroll 28s linear infinite;
    width: max-content;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.client-logo {
    padding: 0 40px;
    border-right: 1px solid var(--hairline);
    white-space: nowrap;
    height: 36px;
    display: flex;
    align-items: center;
}

.client-logo em {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--ink-3);
    letter-spacing: -.01em;
    font-optical-sizing: auto;
    transition: color var(--transition);
}

.client-logo:hover em { color: var(--ink); }

/* ================================================
   SERVICES — Editorial list
   ================================================ */

.services {
    padding: 120px 0;
    border-bottom: 1px solid var(--hairline);
}

.services-list {
    border-top: 1px solid var(--hairline);
}

.service-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    padding: 56px 0;
    align-items: start;
    cursor: default;
    transition: background var(--transition);
    border-radius: var(--r-sm);
}

.service-num {
    font-size: .75rem;
    color: var(--ink-3);
    padding-top: 6px;
    letter-spacing: .08em;
}

.service-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.service-header-row h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-optical-sizing: auto;
    line-height: 1.1;
}

.service-icon-wrap {
    width: 44px;
    height: 44px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-3);
    flex-shrink: 0;
    transition: border-color var(--transition), color var(--transition);
}

.service-row:hover .service-icon-wrap {
    border-color: var(--accent);
    color: var(--accent);
}

.service-main > p {
    font-size: 1rem;
    color: var(--ink-3);
    line-height: 1.75;
    max-width: 600px;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags li {
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--ink-3);
    border: 1px solid var(--hairline);
    border-radius: var(--r-pill);
    padding: 4px 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: border-color var(--transition), color var(--transition);
}

.service-row:hover .service-tags li {
    border-color: rgba(17,17,17,.2);
    color: var(--ink-2);
}

.service-divider {
    height: 1px;
    background: var(--hairline);
}

/* ================================================
   ABOUT
   ================================================ */

.about {
    padding: 120px 0;
    border-bottom: 1px solid var(--hairline);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--ink-3);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 480px;
}

.about-values {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--hairline);
}

.value-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--hairline);
    cursor: default;
}

.value-num {
    font-size: .7rem;
    color: var(--ink-3);
    padding-top: 3px;
    flex-shrink: 0;
    width: 24px;
    letter-spacing: .05em;
    transition: color var(--transition);
}

.value-item:hover .value-num { color: var(--accent); }

.value-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -.01em;
}

.value-body p {
    font-size: .9rem;
    color: var(--ink-3);
    line-height: 1.65;
}

/* ================================================
   PORTFOLIO — 3-column grid
   ================================================ */

.portfolio {
    padding-top: 120px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--hairline);
}

.portfolio-section-header {
    margin-bottom: 48px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--hairline);
    border-left: 1px solid var(--hairline);
}

.portfolio-card {
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    background: var(--paper);
    transition: background var(--transition);
}

.portfolio-card:hover {
    background: var(--paper-2);
}

/* Browser mockup cards */
.portfolio-preview {
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: var(--paper-2);
    border-bottom: 1px solid var(--hairline);
    flex-shrink: 0;
}

/* Phone mockup cards need more height */
.portfolio-preview.pm-preview--phone {
    height: 440px;
    background: var(--paper-3);
    padding: 20px 16px;
}

.portfolio-info {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-cat {
    display: block;
    font-family: var(--font-mono);
    font-size: .65rem;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.portfolio-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -.015em;
    line-height: 1.2;
    margin-bottom: 8px;
    font-optical-sizing: auto;
}

.portfolio-info p {
    font-size: .875rem;
    color: var(--ink-3);
    line-height: 1.6;
}

/* ================================================
   PROCESS — Simple list
   ================================================ */

.process {
    padding: 120px 0;
    border-bottom: 1px solid var(--hairline);
}

.process-list {
    border-top: 1px solid var(--hairline);
}

.process-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    padding: 56px 0;
    border-bottom: 1px solid var(--hairline);
    align-items: start;
}

.process-num {
    font-size: .75rem;
    color: var(--ink-3);
    padding-top: 6px;
    letter-spacing: .08em;
}

.process-body h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 14px;
    font-optical-sizing: auto;
    line-height: 1.1;
}

.process-body p {
    font-size: 1rem;
    color: var(--ink-3);
    line-height: 1.75;
    max-width: 560px;
}

/* ================================================
   TESTIMONIALS — Carousel
   ================================================ */

.testimonials {
    padding: 120px 0;
    border-bottom: 1px solid var(--hairline);
}

.testi-carousel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 48px;
}

.testi-track {
    position: relative;
    min-height: 240px;
}

.testi-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .45s ease, transform .45s var(--ease-out);
    pointer-events: none;
}

.testi-slide.active {
    opacity: 1;
    transform: none;
    position: relative;
    pointer-events: auto;
}

.testi-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 0.8;
    color: var(--paper-3);
    margin-bottom: -12px;
    font-weight: 400;
    font-optical-sizing: auto;
}

.testi-quote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--ink);
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    font-optical-sizing: auto;
    max-width: 720px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 500;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.testi-author span {
    display: block;
    font-size: .72rem;
    color: var(--ink-3);
    letter-spacing: .04em;
}

.testi-stars {
    margin-left: auto;
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.testi-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding-bottom: 6px;
}

.testi-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--hairline);
    background: transparent;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    cursor: pointer;
}

.testi-btn:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.testi-count {
    font-size: .7rem;
    color: var(--ink-3);
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ================================================
   CONTACT
   ================================================ */

.contact {
    padding: 120px 0;
    border-bottom: 1px solid var(--hairline);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--ink-3);
    line-height: 1.75;
    max-width: 400px;
    margin-bottom: 40px;
    margin-top: 16px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    overflow: hidden;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--paper);
    text-decoration: none;
    transition: background var(--transition);
}

.contact-channel:hover { background: var(--paper-2); }

.channel-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-3);
    flex-shrink: 0;
    transition: border-color var(--transition), color var(--transition);
}

.contact-channel:hover .channel-icon {
    border-color: var(--accent);
    color: var(--accent);
}

.contact-channel > div strong {
    display: block;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.contact-channel > div span {
    display: block;
    font-size: .75rem;
    color: var(--ink-3);
    letter-spacing: .04em;
}

.channel-arrow {
    margin-left: auto;
    color: var(--ink-3);
    font-size: 1rem;
    transition: transform var(--transition), color var(--transition);
    flex-shrink: 0;
}

.contact-channel:hover .channel-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

.contact-form-wrap {
    background: var(--paper-2);
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-of-type { margin-bottom: 24px; }

.form-group label {
    display: block;
    font-size: .8rem;
    font-weight: 500;
    color: var(--ink-2);
    margin-bottom: 8px;
    letter-spacing: .01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: .9375rem;
    color: var(--ink);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180,80,42,.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6157' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ================================================
   FOOTER
   ================================================ */

.site-footer {
    background: var(--paper);
    padding-top: 80px;
}

.footer-wordmark {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 14vw, 13rem);
    font-weight: 400;
    color: var(--paper-3);
    letter-spacing: -0.04em;
    line-height: 0.85;
    font-optical-sizing: auto;
    padding: 0 clamp(24px, 5vw, 80px);
    user-select: none;
    overflow: hidden;
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px clamp(24px, 5vw, 80px) 48px;
    border-top: 1px solid var(--hairline);
    margin-top: 40px;
    flex-wrap: wrap;
}

.footer-bottom .mono {
    color: var(--ink-3);
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    font-size: .875rem;
    color: var(--ink-3);
    transition: color var(--transition);
}

.footer-nav a:hover { color: var(--ink); }

.back-to-top {
    color: var(--ink-3);
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--transition);
}

.back-to-top:hover { color: var(--accent); }

/* ================================================
   SCROLL REVEAL (lightweight IntersectionObserver)
   ================================================ */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ================================================
   REDUCED MOTION
   ================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }

    .reveal,
    .hero-left,
    .hero-right,
    .hero-stats-strip {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .hero-float-card { animation: none; }
    .hfc-pulse        { animation: none; }
    .clients-track    { animation: none; }
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1023px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 100px;
    }

    .hero-right { display: none; }

    .hero-stats-strip {
        grid-column: 1;
        gap: 32px;
    }

    .hero-stat { text-align: left !important; flex: none; }
    .hero-stat-div { display: none; }

    .about-layout { grid-template-columns: 1fr; gap: 60px; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .testi-carousel { grid-template-columns: 1fr; gap: 32px; }
    .testi-nav { justify-content: flex-start; }
    .testi-track { min-height: 280px; }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }

    .site-header { padding: 0 20px; }
    .header-inner { gap: 16px; }
    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 72px 0 0;
        background: var(--paper);
        padding: 48px clamp(24px, 6vw, 60px);
        gap: 28px;
        z-index: 999;
        border-top: 1px solid var(--hairline);
    }
    .main-nav.open a { font-size: 1.4rem; color: var(--ink); }
    .mobile-toggle { display: flex; }
    .btn-header { display: none; }

    .hero { padding-top: 90px; }
    .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }

    .services, .about, .portfolio, .process, .testimonials, .contact {
        padding: 80px 0;
    }

    .service-row,
    .process-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 40px 0;
    }
    .service-num,
    .process-num { display: none; }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-preview {
        height: 280px;
    }

    .portfolio-preview.pm-preview--phone {
        height: 380px;
    }

    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }

    .footer-wordmark { font-size: clamp(3.5rem, 16vw, 6rem); }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-nav { flex-wrap: wrap; gap: 16px; }
}

/* ================================================
   MOCKUP COMPONENT SYSTEM
   ================================================ */

/* Browser Frame */
.pm-browser {
    width: 92%;
    max-width: 700px;
    background: #161616;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 24px 64px rgba(0,0,0,.5),
        0 0 0 1px rgba(255,255,255,.07),
        0 0 60px rgba(99,102,241,.08);
    font-family: var(--font-sans);
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

.pm-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    background: #050508;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.pm-dots {
    display: flex;
    gap: 5px;
}

.pm-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.pm-dots i:nth-child(1) { background: #ff5f57; }
.pm-dots i:nth-child(2) { background: #febc2e; }
.pm-dots i:nth-child(3) { background: #28c840; }

.pm-url {
    font-size: 9px;
    color: #4a4a5a;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    padding: 3px 12px;
    margin-left: 8px;
    letter-spacing: .02em;
}

/* Mockup Body - Dark Theme */
.pm-body {
    background: var(--pm-glow, #07070b);
    padding: 18px 20px;
    position: relative;
    flex: 1;
    overflow: hidden;
}

.pm-body.pm-dark {
    background: #111111;
}

.pm-body::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--pm-accent, rgba(99,102,241,.12)) 0%, transparent 65%);
    pointer-events: none;
    opacity: .5;
}

/* Split layout for consulting card */
.pm-body--split {
    display: flex;
    padding: 0 !important;
}

.pm-body--split::after {
    display: none;
}

.pm-split {
    flex: 1;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pm-split--left {
    border-right: 1px solid rgba(255,255,255,.05);
}

/* Mockup Navigation */
.pm-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.pm-nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-logo {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.pm-brand-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.pm-badge {
    font-size: 7px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--pm-badge-bg, rgba(99,102,241,.1));
    border: 1px solid var(--pm-badge-border, rgba(99,102,241,.25));
    color: var(--pm-badge-color, #818cf8);
}

.pm-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
}

.pm-nav-date {
    font-size: 8px;
    color: #4a4a58;
}

.pm-btn-sm {
    font-size: 8px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* Metrics */
.pm-metrics {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.pm-metrics-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pm-metric {
    background: #1A1A1A;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    padding: 14px;
}

.pm-metric-label {
    display: block;
    font-size: 8px;
    color: #4a4a58;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.pm-metric-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #f0f4ff;
    line-height: 1;
    margin-bottom: 4px;
}

.pm-metric-trend,
.pm-metric-sub {
    display: block;
    font-size: 8px;
    color: #4a4a58;
}

.pm-metric-trend--up {
    color: #22c55e;
}

/* Chart & Details Row */
.pm-details-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
}

.pm-chart-col {
    background: #1A1A1A;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    padding: 14px;
}

.pm-chart-title {
    font-size: 9px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 16px;
}

.pm-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
}

.pm-bar {
    flex: 1;
    background: rgba(59,130,246,.18);
    border-radius: 3px 3px 0 0;
    position: relative;
    transition: background .3s ease;
}

.pm-bar span {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    color: #4a5568;
}

.pm-bar--active {
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
    box-shadow: 0 0 8px rgba(59,130,246,.35);
}

.pm-bar--dim {
    background: rgba(59,130,246,.07);
}

/* Table */
.pm-table-col {
    background: #1A1A1A;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
}

.pm-table-header {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    font-size: 7px;
    font-weight: 600;
    color: #4a5568;
    padding: 10px 14px;
    background: #0f151d;
    border-bottom: 1px solid rgba(255,255,255,.05);
    text-transform: uppercase;
    letter-spacing: .07em;
}

.pm-table-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    font-size: 9px;
    color: #94a3b8;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    align-items: center;
}

.pm-table-row:last-child {
    border-bottom: none;
}

.pm-status {
    font-size: 7px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}

.pm-status--success {
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.18);
    color: #22c55e;
}

.pm-status--info {
    background: rgba(59,130,246,.12);
    border: 1px solid rgba(59,130,246,.18);
    color: #60a5fa;
}

.pm-saha-pro {
    background:
        radial-gradient(circle at 82% 20%, rgba(59,130,246,.16), transparent 34%),
        linear-gradient(160deg, #07111f, #080a10 58%);
}

.pm-saha-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.pm-saha-summary span {
    display: block;
    color: #64748b;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 4px;
}

.pm-saha-summary strong {
    display: block;
    color: #f8fafc;
    font-size: 18px;
    letter-spacing: -.02em;
}

.pm-saha-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(34,197,94,.18);
    background: rgba(34,197,94,.08);
    color: #86efac;
    font-size: 8px;
    font-weight: 700;
}

.pm-saha-pulse i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34,197,94,.75);
}

.pm-saha-pro .pm-metric,
.pm-saha-pro .pm-chart-col,
.pm-saha-pro .pm-table-col {
    background: rgba(15,23,42,.72);
    border-color: rgba(148,163,184,.1);
}

.pm-saha-pro .pm-table-header {
    background: rgba(2,6,23,.45);
}

.pm-details-row--ops {
    grid-template-columns: 1.05fr 1.45fr;
}

.pm-medpoint-pro {
    background:
        radial-gradient(circle at 78% 18%, rgba(16,185,129,.18), transparent 32%),
        linear-gradient(160deg, #061210, #07100f 52%, #050807);
}

.pm-medpoint-pro .pm-nav {
    margin-bottom: 12px;
}

.pm-med-nav {
    color: rgba(220,252,231,.55);
    font-size: 8px;
    font-weight: 600;
}

.pm-med-hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 14px;
    align-items: stretch;
}

.pm-med-copy {
    padding: 4px 0 0;
}

.pm-med-copy > span {
    color: #34d399;
    display: block;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pm-med-copy h4 {
    color: #f0fdf4;
    font-size: 21px;
    line-height: 1.08;
    letter-spacing: -.03em;
    max-width: 310px;
    margin-bottom: 8px;
}

.pm-med-copy p {
    color: rgba(220,252,231,.58);
    font-size: 10px;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 13px;
}

.pm-med-trust {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    align-items: center;
    gap: 6px 8px;
    max-width: 270px;
}

.pm-med-trust strong {
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.pm-med-trust span {
    color: rgba(220,252,231,.52);
    font-size: 8px;
}

.pm-med-panel {
    border-radius: 16px;
    padding: 11px;
    background: rgba(240,253,244,.075);
    border: 1px solid rgba(187,247,208,.12);
    box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

.pm-med-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 9px;
}

.pm-med-panel-head span {
    color: rgba(220,252,231,.52);
    font-size: 8px;
    font-weight: 700;
}

.pm-med-panel-head strong {
    color: #86efac;
    font-size: 14px;
}

.pm-med-doctor {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    background: rgba(3,7,18,.35);
    border: 1px solid rgba(255,255,255,.06);
    margin-bottom: 9px;
}

.pm-med-doctor i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#d1fae5,#10b981);
    color: #064e3b;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.pm-med-doctor strong,
.pm-med-doctor span {
    display: block;
}

.pm-med-doctor strong {
    color: #f0fdf4;
    font-size: 10px;
    margin-bottom: 3px;
}

.pm-med-doctor span {
    color: #34d399;
    font-size: 8px;
}

.pm-med-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 9px;
}

.pm-med-slots span {
    text-align: center;
    border-radius: 9px;
    padding: 6px 0;
    color: rgba(220,252,231,.58);
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.06);
    font-size: 8px;
    font-weight: 700;
}

.pm-med-slots .active {
    background: #10b981;
    color: #052e25;
}

.pm-med-cta {
    border-radius: 10px;
    padding: 8px;
    background: linear-gradient(135deg,#34d399,#10b981);
    color: #052e25;
    text-align: center;
    font-size: 9px;
    font-weight: 900;
}

.pm-med-services {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.pm-med-services div {
    border-radius: 12px;
    padding: 11px 12px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.07);
}

.pm-med-services span,
.pm-med-services strong {
    display: block;
}

.pm-med-services span {
    color: rgba(220,252,231,.5);
    font-size: 8px;
    margin-bottom: 5px;
}

.pm-med-services strong {
    color: #f0fdf4;
    font-size: 10px;
}

/* Split Layout Content (Consulting card) */
.pm-eyebrow {
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pm-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
}

.pm-subtext {
    font-size: 9px;
    color: #4a4a58;
    line-height: 1.65;
    margin-bottom: 18px;
}

.pm-cta-sm {
    display: inline-block;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 7px 16px;
    border-radius: 3px;
    margin-bottom: 22px;
}

.pm-stats-inline {
    display: flex;
    gap: 10px;
}

.pm-stat-block {
    flex: 1;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    padding: 12px 10px;
    text-align: center;
    background: #130e1a;
}

.pm-stat-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.pm-stat-label {
    display: block;
    font-size: 7px;
    color: #4a4a58;
    margin-top: 3px;
}

/* Review & Expertise Cards */
.pm-review-card {
    background: #131320;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    padding: 14px 15px;
    margin-bottom: 12px;
}

.pm-stars {
    font-size: 9px;
    color: #f59e0b;
    margin-bottom: 8px;
}

.pm-review-text {
    font-size: 9px;
    color: #8b8b9e;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 10px;
}

.pm-review-author {
    font-size: 7px;
    color: #4a4a58;
    font-weight: 600;
}

.pm-expertise-card {
    background: #131320;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    padding: 14px 15px;
}

.pm-expertise-title {
    font-size: 9px;
    font-weight: 700;
    color: #edecf4;
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.pm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pm-tag {
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.2);
    font-size: 8px;
    padding: 4px 9px;
    border-radius: 4px;
    color: #a5b4fc;
}

/* Search Bar */
.pm-search-bar {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 8px 13px;
    font-size: 8px;
    color: #4a4a58;
    margin-bottom: 16px;
}

/* Course Grid */
.pm-courses {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.pm-courses-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pm-course-card {
    background: #100d1e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
}

.pm-course-card--featured {
    border-color: rgba(139,92,246,.2);
    box-shadow: 0 0 14px rgba(124,58,237,.12);
}

.pm-course-img {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-course-body {
    padding: 10px 10px 12px;
}

.pm-course-name {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
    line-height: 1.3;
}

.pm-course-meta {
    display: block;
    font-size: 7px;
    color: #4a4a58;
    margin-bottom: 7px;
}

.pm-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pm-course-rating {
    font-size: 7px;
    color: #f59e0b;
}

.pm-course-price {
    font-size: 9px;
    font-weight: 700;
}

.pm-footer-stats {
    display: flex;
    gap: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.pm-footer-stat {
    font-size: 8px;
    color: #4a4a58;
}

.pm-footer-stat strong {
    font-size: 9px;
    font-weight: 700;
}

/* Tags Row (MedPoint) */
.pm-tags-row {
    display: flex;
    gap: 7px;
    margin-bottom: 14px;
    overflow: hidden;
}

.pm-filter-tag {
    font-size: 8px;
    padding: 5px 12px;
    border-radius: 100px;
    font-weight: 600;
    white-space: nowrap;
    background: var(--pm-glow, #0d1f1c);
    color: #4a6560;
    border: 1px solid rgba(var(--pm-accent-rgb, 16,185,129), .15);
}

.pm-filter-tag--active {
    background: linear-gradient(135deg, var(--pm-accent), var(--pm-accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* Doctor Cards */
.pm-doctor-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.pm-doctor-card {
    background: #0c1a17;
    border: 1px solid rgba(16,185,129,.12);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-doctor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.pm-doctor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pm-doctor-name {
    display: block;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 2px;
}

.pm-doctor-spec {
    display: block;
    font-size: 8px;
    margin-bottom: 4px;
}

.pm-doctor-detail {
    display: block;
    font-size: 7px;
    color: #4a6560;
}

.pm-doctor-badge {
    font-size: 7px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
    border: 1px solid;
}

.pm-stats-row {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(16,185,129,.1);
}

.pm-stat-item {
    flex: 1;
    text-align: center;
}

.pm-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.pm-stat-desc {
    display: block;
    font-size: 7px;
    color: #4a6560;
    margin-top: 3px;
}

/* ================================================
   PHONE MOCKUP SYSTEM
   ================================================ */

.pm-phone {
    width: 188px;
    aspect-ratio: 390 / 844;
    background:
        linear-gradient(145deg, #30313a 0%, #070709 36%, #1b1c22 100%);
    border-radius: 31px;
    padding: 5px;
    box-shadow:
        0 24px 54px rgba(0,0,0,.5),
        0 8px 18px rgba(0,0,0,.35),
        inset 0 0 0 1px rgba(255,255,255,.18),
        inset 0 0 0 2px rgba(0,0,0,.42),
        0 0 28px rgba(99,102,241,.09);
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    transform: rotate(-1.5deg);
}

.pm-phone::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -13px;
    height: 18px;
    border-radius: 999px;
    background: rgba(0,0,0,.46);
    filter: blur(13px);
    z-index: -1;
}

.pm-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 17px;
    background: #000;
    border-radius: 12px;
    z-index: 20;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.pm-phone-screen {
    border-radius: 27px;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: var(--font-sans);
    position: relative;
    background: #0f172a;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
/* hide scrollbar */
.pm-phone-screen::-webkit-scrollbar { display: none; }
.pm-phone-screen { -ms-overflow-style: none; scrollbar-width: none; }

.pm-phone-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 34px;
    padding: 12px 17px 5px;
    font-size: 7.5px;
    font-weight: 800;
    color: #f8fafc;
    position: relative;
    z-index: 10;
}

.pm-phone-status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.pm-phone-status > span,
.pm-phone-status-icons {
    min-width: 44px;
}

.pm-phone-status-icons {
    justify-content: flex-end;
}

.pm-phone-status svg {
    max-width: 12px;
    height: auto;
}

.pm-phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px 9px;
    gap: 8px;
}

.pm-phone-eyebrow {
    display: block;
    font-size: 6.5px;
    color: rgba(248,250,252,.54);
    margin-bottom: 1px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pm-phone-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    color: #f8fafc;
    line-height: 1.15;
}

.pm-phone-sub {
    display: block;
    font-size: 7.5px;
    margin-top: 2px;
    color: rgba(226,232,240,.62);
}

.pm-phone-timer {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 7px;
    color: #f59e0b;
    font-weight: 700;
    white-space: nowrap;
}

.pm-app-booking .pm-phone-screen {
    background:
        linear-gradient(180deg, rgba(59,130,246,.16), rgba(15,23,42,0) 34%),
        #0f172a;
}

.pm-app-fitness .pm-phone-screen {
    background:
        linear-gradient(180deg, rgba(245,158,11,.14), rgba(15,15,15,0) 30%),
        #0b0b0c;
}

.pm-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #fff;
    font-size: 7px;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(37,99,235,.38);
    flex: 0 0 auto;
}

.pm-phone .pm-avatar {
    width: 25px;
    height: 25px;
    display: grid;
    font-size: 7px;
}

.pm-service-card {
    margin: 0 13px 10px;
    padding: 10px 11px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.09);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #f8fafc;
}

.pm-service-card strong,
.pm-service-card small,
.pm-service-card span,
.pm-service-label {
    display: block;
}

.pm-service-card strong {
    font-size: 10px;
    line-height: 1.2;
    margin: 2px 0 3px;
}

.pm-service-card small {
    font-size: 7px;
    color: rgba(226,232,240,.58);
}

.pm-service-card > span {
    font-size: 10px;
    font-weight: 800;
    color: #93c5fd;
}

.pm-service-label {
    font-size: 5.5px;
    color: rgba(226,232,240,.48);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .08em;
}

/* Date picker */
.pm-phone-dates {
    display: flex;
    gap: 6px;
    padding: 0 13px 11px;
    overflow: hidden;
}

.pm-date {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 6px 0;
    border-radius: 11px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
}

.pm-date--active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: transparent;
    box-shadow: 0 3px 12px rgba(59,130,246,.4);
}

.pm-date-day {
    display: block;
    font-size: 6px;
    color: #94a3b8;
    margin-bottom: 1px;
}

.pm-date--active .pm-date-day {
    color: rgba(255,255,255,.7);
}

.pm-date-num {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
}

.pm-date--active .pm-date-num {
    color: #fff;
}

/* Time slots */
.pm-phone-slots {
    padding: 0 13px 10px;
}

.pm-slot-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.pm-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pm-slot {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    text-align: center;
    padding: 10px 4px;
    font-size: 14px;
    color: #94a3b8;
}

.pm-slot--active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(59,130,246,.3);
}

.pm-slot--disabled {
    background: #131c27;
    border-color: rgba(255,255,255,.04);
    color: #334155;
    text-decoration: line-through;
}

.pm-slot-title {
    display: block;
    font-size: 7.5px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.pm-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.pm-slot {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    text-align: center;
    padding: 6px 3px;
    font-size: 7.5px;
    color: #94a3b8;
}

.pm-slot--active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59,130,246,.3);
}

.pm-slot--disabled {
    background: #131c27;
    border-color: rgba(255,255,255,.04);
    color: #334155;
    text-decoration: line-through;
}

/* Phone CTA Button */
.pm-phone-cta {
    margin: 0 13px 9px;
    border-radius: 12px;
    text-align: center;
    padding: 10px;
    font-size: 8.5px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg,#60a5fa,#2563eb);
    box-shadow: 0 4px 16px rgba(59,130,246,.35);
    letter-spacing: 0;
}

.pm-checkout-row {
    margin: auto 13px 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(226,232,240,.65);
    font-size: 7px;
}

.pm-checkout-row strong {
    color: #f8fafc;
    font-size: 10px;
}

/* Phone Tab Bar */
.pm-phone-tabbar {
    display: flex;
    justify-content: space-around;
    padding: 8px 9px 6px;
    border-top: 1px solid rgba(255,255,255,.06);
    background: rgba(5,5,8,.26);
    margin-top: auto;
}

.pm-tab {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 6px;
    color: #334155;
    background: none;
    border: none;
    padding: 0;
    cursor: default;
}

.pm-tab--active {
    color: #3b82f6;
}

.pm-tab--muted svg {
    opacity: .4;
}

.pm-tab svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.pm-home-indicator {
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,.22);
    margin: 0 auto 5px;
    flex: 0 0 auto;
}

.pm-workout-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 13px 8px;
}

.pm-workout-hero div {
    border-radius: 13px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    padding: 9px 8px;
}

.pm-workout-hero span {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: 6px;
    margin-bottom: 2px;
}

.pm-workout-hero strong {
    display: block;
    color: #fff;
    font-size: 10.5px;
}

/* Progress Ring (FitCore) */
.pm-phone-progress {
    text-align: center;
    padding: 3px 0 9px;
    position: relative;
}

.pm-progress-ring {
    width: 110px;
    height: 110px;
    display: inline-block;
}

.pm-progress-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-52%, -58%);
    text-align: center;
}

.pm-progress-pct {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.pm-progress-label {
    display: block;
    font-size: 10px;
    color: #555;
}

.pm-phone-mini-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 13px;
    font-family: var(--font-sans);
    margin-bottom: 12px;
}

.pm-phone-mini-stats strong {
    font-size: 16px;
    font-weight: 700;
}

.pm-progress-ring {
    width: 76px;
    height: 76px;
    display: inline-block;
}

.pm-progress-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-57%, -62%);
    text-align: center;
}

.pm-progress-pct {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.pm-progress-label {
    display: block;
    font-size: 5px;
    color: #555;
}

.pm-phone-mini-stats {
    display: flex;
    justify-content: center;
    gap: 11px;
    font-size: 6px;
    font-family: var(--font-sans);
    margin-bottom: 7px;
}

.pm-phone-mini-stats strong {
    font-size: 10px;
    font-weight: 700;
}

/* Exercise List */
.pm-exercise-list {
    padding: 0 13px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pm-exercise {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 8px 9px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.pm-exercise--active {
    background: #f59e0b;
}

.pm-exercise-check {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #fff;
    flex-shrink: 0;
}

.pm-exercise--done {
    color: #fff;
}

.pm-exercise-name {
    font-size: 8.5px;
    font-weight: 600;
    display: block;
}

.pm-exercise-meta {
    font-size: 6.5px;
    display: block;
}

.pm-exercise-status {
    margin-left: auto;
    font-size: 6.5px;
    white-space: nowrap;
}

/* ================================================
   MOCKUP REFINEMENTS
   ================================================ */

.hm-url,
.pm-url,
.ios-status,
.pm-phone-status {
    display: none !important;
}

.hm-chrome::after,
.pm-chrome::after {
    content: "";
    display: block;
    height: 12px;
    width: 128px;
    margin-left: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.06);
}

.hm-browser {
    transform: none !important;
}

.hm-phone {
    right: -10px;
    bottom: -8px;
    width: 130px;
    transform: none !important;
}

.hm-safe-top {
    height: 18px;
}

.hm-app-head {
    padding: 26px 11px 8px;
}

.hm-app-card {
    margin: 0 9px 8px;
}

.hm-project-list {
    margin: 0 9px 8px;
}

.pm-phone {
    width: 194px;
    border-radius: 34px;
    padding: 6px;
    transform: none !important;
    box-shadow:
        0 26px 50px rgba(0,0,0,.36),
        0 6px 18px rgba(0,0,0,.22),
        inset 0 0 0 1px rgba(255,255,255,.16),
        inset 0 0 0 2px rgba(0,0,0,.42);
}

.pm-phone::before {
    left: 22px;
    right: 22px;
    bottom: -11px;
    height: 16px;
    background: rgba(0,0,0,.34);
}

.pm-phone-notch {
    width: 66px;
    height: 18px;
    top: 12px;
    border-radius: 999px;
}

.pm-phone-screen {
    border-radius: 28px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
}

.pm-phone-header {
    padding: 40px 14px 10px !important;
}

.pm-phone-title {
    font-size: 13px;
    line-height: 1.08;
}

.pm-phone-sub {
    font-size: 7px;
}

.pm-phone-timer {
    padding: 5px 8px;
    font-size: 7px;
}

.pm-phone .pm-avatar {
    width: 26px;
    height: 26px;
}

.pm-phone-dates {
    gap: 7px;
    padding: 0 14px 12px;
}

.pm-date {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 0;
}

.pm-phone-slots {
    padding: 0 14px 10px;
}

.pm-slot-title {
    font-size: 7.5px;
    margin-bottom: 9px;
}

.pm-slots-grid {
    gap: 6px;
}

.pm-slot {
    font-size: 7.5px;
    padding: 7px 3px;
}

.pm-service-card,
.pm-workout-hero,
.pm-exercise-list {
    margin-left: 14px;
    margin-right: 14px;
}

.pm-service-card {
    margin-bottom: 11px;
}

.pm-checkout-row,
.pm-phone-cta {
    margin-left: 14px;
    margin-right: 14px;
}

.pm-phone-cta {
    padding: 10px;
    font-size: 8.5px;
}

.pm-phone-tabbar {
    padding: 8px 10px 6px;
}

.pm-tab {
    gap: 2px;
    font-size: 6px;
}

.pm-tab svg {
    width: 12px;
    height: 12px;
}

.pm-progress-ring {
    width: 74px;
    height: 74px;
}

.pm-workout-hero div {
    padding: 9px 8px;
}

.pm-exercise {
    padding: 9px;
}

.pm-exercise-name {
    font-size: 8px;
}

.pm-exercise-meta,
.pm-exercise-status {
    font-size: 6px;
}

.pm-consulting-pro {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 16px;
    background:
        radial-gradient(circle at 12% 18%, rgba(248,113,113,.12), transparent 32%),
        linear-gradient(160deg, #120910, #090a0f 62%);
}

.pm-consulting-copy {
    padding: 8px 2px 0;
}

.pm-consulting-copy .pm-headline {
    max-width: 320px;
    margin-bottom: 12px;
}

.pm-consulting-copy .pm-subtext {
    max-width: 300px;
    margin-bottom: 18px;
    color: #9f9faf;
}

.pm-consulting-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pm-consulting-kpis div {
    border-radius: 12px;
    padding: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
}

.pm-consulting-kpis strong,
.pm-consulting-kpis span {
    display: block;
}

.pm-consulting-kpis strong {
    font-size: 18px;
    color: #fff;
    margin-bottom: 5px;
}

.pm-consulting-kpis span {
    font-size: 8px;
    color: #8f8fa0;
    line-height: 1.45;
}

.pm-consulting-aside {
    display: grid;
    gap: 10px;
}

.pm-consulting-quote,
.pm-consulting-list,
.pm-consulting-cta {
    border-radius: 14px;
}

.pm-consulting-quote,
.pm-consulting-list {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    padding: 14px;
}

.pm-consulting-quote strong,
.pm-consulting-quote p,
.pm-consulting-quote span {
    display: block;
}

.pm-consulting-quote strong {
    color: #fff;
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.pm-consulting-quote p {
    color: #b3b3c1;
    font-size: 9px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.pm-consulting-quote span {
    color: #74748a;
    font-size: 7px;
    font-weight: 700;
}

.pm-consulting-list {
    display: grid;
    gap: 8px;
}

.pm-consulting-list span {
    color: #fca5a5;
    font-size: 8px;
    font-weight: 700;
}

.pm-consulting-cta {
    padding: 10px 12px;
    background: linear-gradient(135deg, #fb7185, #e11d48);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    text-align: center;
}

.pm-academy-pro {
    background:
        radial-gradient(circle at 78% 16%, rgba(168,85,247,.18), transparent 28%),
        linear-gradient(160deg, #0f0b1d, #0a0a10 58%);
}

.pm-academy-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px;
    margin-bottom: 14px;
}

.pm-academy-copy span {
    display: block;
    color: #c4b5fd;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.pm-academy-copy h4 {
    color: #fff;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -.03em;
    max-width: 300px;
    margin-bottom: 9px;
}

.pm-academy-copy p {
    color: #a3a3b8;
    font-size: 10px;
    line-height: 1.6;
    max-width: 300px;
}

.pm-academy-highlight {
    align-self: start;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}

.pm-academy-highlight span,
.pm-academy-highlight strong,
.pm-academy-highlight small {
    display: block;
}

.pm-academy-highlight span {
    color: #a78bfa;
    font-size: 8px;
    font-weight: 700;
    margin-bottom: 6px;
}

.pm-academy-highlight strong {
    color: #fff;
    font-size: 22px;
    margin-bottom: 6px;
}

.pm-academy-highlight small {
    color: #8f8fa6;
    font-size: 8px;
    line-height: 1.5;
}

.pm-academy-tracks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.pm-academy-track {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
}

.pm-academy-track strong,
.pm-academy-track span,
.pm-academy-track em {
    display: block;
}

.pm-academy-track strong {
    color: #fff;
    font-size: 10px;
    margin-bottom: 6px;
}

.pm-academy-track span {
    color: #9f9fb5;
    font-size: 8px;
    line-height: 1.45;
    min-height: 24px;
}

.pm-academy-track em {
    margin-top: 10px;
    color: #c4b5fd;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.pm-academy-stats {
    display: flex;
    gap: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.pm-academy-stats span {
    color: #8f8fa5;
    font-size: 8px;
}

.pm-academy-stats strong {
    color: #fff;
    font-size: 10px;
    margin-right: 4px;
}

/* --------------------------------
   Pro Mockup Layer
   -------------------------------- */

.hm-phone--pro {
    width: 158px;
    right: 18px;
    bottom: -18px;
    padding: 0;
    background: transparent;
    border-radius: 34px;
    box-shadow: none;
    transform: none !important;
}

.hm-phone--pro::before {
    content: "";
    position: absolute;
    inset: 20px -24px -18px -30px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 38% 42%, rgba(99,102,241,.24), transparent 52%),
        linear-gradient(135deg, rgba(129,140,248,.11), rgba(14,14,20,0) 58%);
    filter: blur(16px);
    opacity: .9;
    z-index: -1;
}

.hm-phone--pro .hm-side,
.hm-phone--pro .hm-di {
    display: none;
}

.hm-pro-device {
    position: relative;
    aspect-ratio: 9 / 19.45;
    border-radius: 35px;
    padding: 5px;
    background:
        linear-gradient(145deg, #424651 0%, #151821 20%, #030407 50%, #242833 100%);
    box-shadow:
        0 28px 56px rgba(0,0,0,.48),
        0 8px 18px rgba(99,102,241,.12),
        inset 0 0 0 1px rgba(255,255,255,.2),
        inset 0 0 0 2px rgba(0,0,0,.5);
}

.hm-pro-device::before,
.hm-pro-device::after {
    content: "";
    position: absolute;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.06));
    opacity: .75;
}

.hm-pro-device::before {
    left: -1px;
    top: 62px;
    height: 42px;
}

.hm-pro-device::after {
    right: -1px;
    top: 92px;
    height: 48px;
}

.hm-pro-island {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 13px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 68% 50%, rgba(40,45,58,.72) 0 2px, transparent 2.5px),
        #020204;
    box-shadow: 0 0 0 1px rgba(255,255,255,.035), 0 3px 9px rgba(0,0,0,.42);
    z-index: 5;
}

.hm-pro-screen {
    background:
        radial-gradient(circle at 50% 0%, rgba(129,140,248,.2), transparent 34%),
        linear-gradient(180deg, rgba(7,7,11,.08), rgba(7,7,11,.72) 74%),
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,0) 18%),
        #090a12;
    border-radius: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.075);
}

.hm-pro-screen::before,
.hm-pro-screen::after {
    position: absolute;
    top: 15px;
    z-index: 4;
    color: rgba(255,255,255,.9);
    font-size: 6.5px;
    font-weight: 700;
    line-height: 1;
}

.hm-pro-screen::before {
    content: "9:41";
    left: 15px;
}

.hm-pro-screen::after {
    content: "";
    right: 15px;
    width: 20px;
    height: 7px;
    border-radius: 2px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.86) 0 5px, transparent 5px 7px, rgba(255,255,255,.86) 7px 12px, transparent 12px 14px, rgba(255,255,255,.86) 14px 20px);
    opacity: .78;
}

.hm-pro-safe {
    height: 39px;
}

.hm-pro-head {
    padding: 0 12px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hm-pro-head span {
    display: block;
    color: rgba(236,239,255,.6);
    font-size: 4.4px;
    letter-spacing: .1em;
    font-weight: 700;
    text-transform: uppercase;
}

.hm-pro-head strong {
    display: block;
    color: #fff;
    font-size: 9.7px;
    line-height: 1.05;
    margin-top: 3px;
    letter-spacing: -.025em;
}

.hm-pro-chip {
    border: 1px solid rgba(129,140,248,.35);
    background: rgba(129,140,248,.1);
    border-radius: 999px;
    min-width: 34px;
    padding: 3px 6px;
    color: #fff;
    font-size: 5.3px;
    font-weight: 700;
    font-family: inherit;
}

.hm-pro-highlight {
    margin: 0 10px 8px;
    border-radius: 16px;
    padding: 10px 10px 11px;
    background:
        radial-gradient(circle at 92% 0%, rgba(139,92,246,.34), transparent 40%),
        linear-gradient(145deg, rgba(99,102,241,.22), rgba(14,14,20,.78)),
        rgba(255,255,255,.045);
    border: 1px solid rgba(129,140,248,.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.hm-pro-highlight small,
.hm-pro-highlight strong,
.hm-pro-highlight p {
    display: block;
}

.hm-pro-highlight small {
    color: rgba(236,239,255,.6);
    font-size: 4.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
}

.hm-pro-highlight strong {
    color: #fff;
    font-size: 11.8px;
    line-height: 1.08;
    margin: 5px 0 4px;
    letter-spacing: -.03em;
}

.hm-pro-highlight p {
    color: rgba(236,239,255,.55);
    font-size: 4.6px;
    line-height: 1.45;
}

.hm-pro-list {
    margin: 0 10px 8px;
    display: grid;
    gap: 5px;
}

.hm-pro-list article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    align-items: center;
    min-height: 31px;
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(99,102,241,.08), rgba(255,255,255,.035)),
        rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.065);
    padding: 7px 8px;
}

.hm-pro-list strong,
.hm-pro-list span,
.hm-pro-list em {
    display: block;
}

.hm-pro-list strong {
    color: #fff;
    font-size: 5.75px;
    line-height: 1.1;
    letter-spacing: -.015em;
}

.hm-pro-list span {
    color: rgba(236,239,255,.44);
    font-size: 4.35px;
    margin-top: 2px;
    line-height: 1.2;
}

.hm-pro-list em {
    color: #a5b4fc;
    font-style: normal;
    font-weight: 650;
    font-size: 4.7px;
}

.hm-pro-footer {
    margin-top: auto;
    padding: 8px 11px 7px;
    border-top: 1px solid rgba(255,255,255,.05);
    display: flex;
    justify-content: center;
    gap: 5px;
}

.hm-pro-footer span {
    width: 15px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
}

.hm-pro-footer .active {
    background: #a5b4fc;
}

.hm-phone--pro .hm-home {
    width: 42px;
    height: 3px;
    margin: 0 auto 7px;
    background: rgba(255,255,255,.55);
}

@media (max-width: 768px) {
    .hm-phone--pro {
        width: 120px;
        right: 4px;
        bottom: -12px;
    }

    .hm-phone--pro::before {
        inset: 18px -12px -12px -18px;
        filter: blur(12px);
    }

    .hm-pro-device {
        border-radius: 28px;
        padding: 4px;
    }

    .hm-pro-screen {
        border-radius: 24px;
    }
}

.pm-phone--clean {
    width: 204px;
    transform: none !important;
    border-radius: 34px;
    padding: 6px;
    box-shadow:
        0 24px 48px rgba(0,0,0,.36),
        inset 0 0 0 1px rgba(255,255,255,.16),
        inset 0 0 0 2px rgba(0,0,0,.4);
}

.pm-phone--clean .pm-phone-notch {
    width: 72px;
    height: 18px;
    top: 12px;
    border-radius: 999px;
}

.pm-phone--clean .pm-phone-screen {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}

.pm-phone--clean .pm-phone-screen::before,
.pm-phone--clean .pm-phone-screen::after {
    content: "";
    position: absolute;
    top: 14px;
    z-index: 22;
    pointer-events: none;
}

.pm-phone--clean .pm-phone-screen::before {
    content: "9:41";
    left: 17px;
    color: rgba(255,255,255,.88);
    font-size: 6.6px;
    font-weight: 750;
    line-height: 1;
}

.pm-phone--clean .pm-phone-screen::after {
    right: 16px;
    width: 20px;
    height: 7px;
    border-radius: 2px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.86) 0 5px, transparent 5px 7px, rgba(255,255,255,.86) 7px 12px, transparent 12px 14px, rgba(255,255,255,.86) 14px 20px);
    opacity: .75;
}

.ios-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
}

.ios-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 14px 8px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    mask-image: linear-gradient(180deg, transparent 0, #000 34px, #000 calc(100% - 18px), transparent 100%);
}

.ios-scroll::-webkit-scrollbar {
    display: none;
}

.ios-scroll::after {
    content: "";
    position: absolute;
    top: 62px;
    right: 4px;
    width: 2px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255,255,255,.26);
    opacity: .65;
    pointer-events: none;
    animation: iosThumbDrift 4.8s ease-in-out infinite;
}

.pm-phone--clean:hover .ios-scroll {
    scroll-behavior: smooth;
}

.pm-phone--clean:hover .ios-scroll > * {
    animation: iosContentPeek 2.4s cubic-bezier(.4,0,.2,1) both;
}

.ios-safe {
    height: 40px;
    flex: 0 0 auto;
}

.ios-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 9px;
    gap: 10px;
}

.ios-top small,
.ios-top h4 {
    display: block;
}

.ios-top small {
    color: rgba(235,241,255,.58);
    font-size: 6.2px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    margin-bottom: 2px;
}

.ios-top h4 {
    color: #fff;
    font-size: 12.5px;
    line-height: 1.1;
}

.ios-top button {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.12);
    border-radius: 999px;
    min-width: 42px;
    padding: 5px 9px;
    color: #fff;
    font-size: 6.2px;
    font-weight: 800;
    font-family: inherit;
}

.ios-app--booking {
    background:
        radial-gradient(circle at 50% 0%, rgba(96,165,250,.24), transparent 34%),
        linear-gradient(180deg, rgba(59,130,246,.18), rgba(15,23,42,0) 28%),
        #0f172a;
}

.ios-card {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.09);
}

.ios-service {
    padding: 10px;
    margin-bottom: 8px;
}

.ios-service span,
.ios-service strong,
.ios-service p {
    display: block;
}

.ios-service span {
    color: rgba(219,234,254,.78);
    font-size: 6.2px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    margin-bottom: 4px;
}

.ios-service strong {
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    margin-bottom: 3px;
}

.ios-service p {
    color: rgba(235,241,255,.6);
    font-size: 6.2px;
}

.ios-section {
    margin-bottom: 8px;
}

.ios-section p {
    color: rgba(226,232,240,.72);
    font-size: 6.2px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.ios-day-grid,
.ios-time-grid {
    display: grid;
    gap: 6px;
}

.ios-day-grid {
    grid-template-columns: repeat(4, 1fr);
}

.ios-time-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ios-day-grid button,
.ios-time-grid button {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;
    background: rgba(255,255,255,.06);
    color: #dbe4f8;
    font-size: 6.3px;
    line-height: 1.2;
    padding: 6px 3px;
    font-family: inherit;
    text-align: center;
}

.ios-day-grid button strong {
    display: block;
    margin-top: 1px;
    font-size: 8.7px;
}

.ios-day-grid button.active,
.ios-time-grid button.active {
    background: linear-gradient(135deg,#60a5fa,#2563eb);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}

.ios-time-grid button.muted {
    opacity: .42;
    text-decoration: line-through;
}

.ios-summary {
    margin-top: 2px;
    padding: 8px 0 10px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.ios-summary div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ios-summary span {
    color: rgba(235,241,255,.62);
    font-size: 6px;
}

.ios-summary strong {
    color: #fff;
    font-size: 10px;
}

.ios-summary button {
    width: 100%;
    border: none;
    border-radius: 11px;
    padding: 9px;
    background: linear-gradient(135deg,#60a5fa,#2563eb);
    color: #fff;
    font-size: 7.4px;
    font-weight: 800;
    font-family: inherit;
}

.ios-staff article {
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 12px;
    padding: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
}

.ios-staff span {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg,#60a5fa,#2563eb);
    color: #fff;
    font-size: 6px;
    font-weight: 800;
    flex: 0 0 auto;
}

.ios-staff strong,
.ios-staff em {
    display: block;
}

.ios-staff strong {
    color: #fff;
    font-size: 7px;
    line-height: 1.15;
}

.ios-staff em {
    color: rgba(235,241,255,.56);
    font-size: 5.5px;
    font-style: normal;
    margin-top: 1px;
}

.ios-app--fitness {
    background:
        radial-gradient(circle at 50% 0%, rgba(251,146,60,.28), transparent 32%),
        linear-gradient(180deg, rgba(249,115,22,.2), rgba(11,11,12,0) 29%),
        #0b0b0c;
}

.ios-app--fitness .ios-safe {
    height: 43px;
}

.ios-app--fitness .ios-top h4 {
    font-size: 11.4px;
    max-width: 86px;
}

.ios-metric-grid {
    margin-bottom: 9px;
    padding: 9px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ios-metric-grid div span,
.ios-metric-grid div strong {
    display: block;
}

.ios-metric-grid div span {
    color: rgba(255,255,255,.56);
    font-size: 6px;
    margin-bottom: 2px;
}

.ios-metric-grid div strong {
    color: #fff;
    font-size: 10px;
}

.ios-ring {
    width: 76px;
    height: 76px;
    margin: 0 auto 9px;
    border-radius: 50%;
    background:
        conic-gradient(#f97316 0 68%, rgba(255,255,255,.12) 68% 100%);
    padding: 7px;
}

.ios-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #121216;
    border: 1px solid rgba(255,255,255,.1);
    display: grid;
    place-items: center;
    text-align: center;
}

.ios-ring-inner strong,
.ios-ring-inner span {
    display: block;
}

.ios-ring-inner strong {
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.ios-ring-inner span {
    color: rgba(255,255,255,.55);
    font-size: 5.5px;
    margin-top: 1px;
}

.ios-workout-list {
    display: grid;
    gap: 5px;
    margin-bottom: 8px;
}

.ios-workout-list article {
    border-radius: 10px;
    padding: 7px 9px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
}

.ios-workout-list article strong,
.ios-workout-list article span {
    display: block;
}

.ios-workout-list article strong {
    font-size: 8px;
    color: #fff;
    margin-bottom: 2px;
}

.ios-workout-list article span {
    font-size: 6px;
    color: rgba(255,255,255,.52);
}

.ios-workout-list .done strong {
    color: #d1d5db;
}

.ios-workout-list .active {
    background: linear-gradient(135deg,#f59e0b,#f97316);
    border-color: transparent;
}

.ios-workout-list .active strong,
.ios-workout-list .active span {
    color: #251607;
}

.ios-summary--fit button {
    background: linear-gradient(135deg,#f97316,#fb923c);
}

.ios-summary--fit div strong {
    color: #fed7aa;
}

.ios-tabbar {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 7px 24px 6px;
    display: flex;
    justify-content: space-between;
    flex: 0 0 auto;
    background: rgba(5,8,14,.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -8px 18px rgba(0,0,0,.16);
}

.ios-tabbar span {
    width: 11px;
    height: 11px;
    border-radius: 4px;
    background: rgba(255,255,255,.16);
}

.ios-tabbar .active {
    background: #60a5fa;
}

.ios-app--fitness .ios-tabbar .active {
    background: #fb923c;
}

.ios-app--fitness .ios-summary {
    padding-bottom: 9px;
}

@keyframes iosContentPeek {
    0% { transform: translateY(0); }
    42% { transform: translateY(-22px); }
    100% { transform: translateY(-14px); }
}

@keyframes iosThumbDrift {
    0%, 100% {
        transform: translateY(0);
        opacity: .3;
    }
    45% {
        transform: translateY(38px);
        opacity: .72;
    }
}

