/* ==============================================
   PRO100OSAGO — Apple-Style Design System
   Светлая, минималистичная, премиальная
   ============================================== */

/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
    /* Colors — Apple-inspired palette */
    --apple-bg: #fbfbfd;
    --apple-surface: #ffffff;
    --apple-surface-secondary: #f5f5f7;
    --apple-surface-tertiary: #fafafa;
    --apple-text: #1d1d1f;
    --apple-text-secondary: #6e6e73;
    --apple-text-tertiary: #86868b;
    --apple-border: rgba(0, 0, 0, 0.08);
    --apple-border-strong: rgba(0, 0, 0, 0.12);

    /* Brand Blue — Apple-style */
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-blue-light: #e8f4fd;
    --apple-blue-bg: rgba(0, 113, 227, 0.06);

    /* Accent colors */
    --apple-green: #34c759;
    --apple-green-bg: rgba(52, 199, 89, 0.08);
    --apple-orange: #ff9500;
    --apple-orange-bg: rgba(255, 149, 0, 0.08);
    --apple-red: #ff3b30;
    --apple-red-bg: rgba(255, 59, 48, 0.08);
    --apple-purple: #af52de;
    --apple-purple-bg: rgba(175, 82, 222, 0.08);
    --apple-teal: #5ac8fa;
    --apple-indigo: #5856d6;
    --apple-cyan: #32ade6;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;

    /* Font Sizes */
    --fs-hero: clamp(2.5rem, 5vw, 4.5rem);
    --fs-h1: clamp(2rem, 4vw, 3.5rem);
    --fs-h2: clamp(1.75rem, 3vw, 2.5rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
    --fs-h4: 1.125rem;
    --fs-body: 1rem;
    --fs-body-lg: 1.125rem;
    --fs-small: 0.875rem;
    --fs-xs: 0.75rem;
    --fs-caption: 0.8125rem;

    /* Font Weights */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 980px;

    /* Shadows — soft Apple-style */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;

    /* Container */
    --container-max: 1120px;
    --container-padding: 1.5rem;

    /* Header */
    --header-height: 52px;
}

/* ===== Base Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--apple-bg);
    color: var(--apple-text);
    line-height: 1.5;
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--apple-blue);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
    color: var(--apple-blue-hover);
}

/* ===== Container ===== */
.a-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.a-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== Header — Apple-style fixed nav ===== */
.a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(251, 251, 253, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--apple-border);
    transition: all var(--duration-normal) var(--ease-out);
}

.a-header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.a-header__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: var(--fw-bold);
    font-size: var(--fs-body-lg);
    color: var(--apple-text);
    letter-spacing: -0.02em;
}

.a-header__brand img {
    height: 32px;
}

.a-header__nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.a-header__link {
    padding: 0.375rem 0.75rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-regular);
    color: var(--apple-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
    opacity: 0.8;
}

.a-header__link:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.04);
    color: var(--apple-text);
}

.a-header__link.active {
    opacity: 1;
    font-weight: var(--fw-semibold);
}

.a-header__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    background: var(--apple-blue);
    color: #fff;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
}

.a-header__cta:hover {
    background: var(--apple-blue-hover);
    color: #fff;
}

.a-header__phone {
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--apple-text);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity var(--duration-fast);
}

.a-header__phone:hover {
    opacity: 1;
    color: var(--apple-text);
}

/* Mobile menu toggle */
.a-header__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--apple-text);
}

.a-header__toggle svg {
    width: 20px;
    height: 20px;
}

/* ===== Hero Section ===== */
.a-hero {
    padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.a-hero--gradient {
    background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}

.a-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--fs-caption);
    font-weight: var(--fw-semibold);
    color: var(--apple-blue);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-lg);
}

.a-hero__title {
    font-size: var(--fs-hero);
    font-weight: var(--fw-bold);
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: var(--apple-text);
    margin-bottom: var(--space-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.a-hero__title span {
    background: linear-gradient(90deg, var(--apple-blue), var(--apple-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.a-hero__subtitle {
    font-size: var(--fs-body-lg);
    font-weight: var(--fw-regular);
    color: var(--apple-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.5;
}

.a-hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.a-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-family);
    font-size: var(--fs-body);
    font-weight: var(--fw-medium);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
    white-space: nowrap;
    line-height: 1.3;
}

.a-btn:active {
    transform: scale(0.98);
}

.a-btn--primary {
    background: var(--apple-blue);
    color: #fff;
}

.a-btn--primary:hover {
    background: var(--apple-blue-hover);
    color: #fff;
}

.a-btn--secondary {
    background: transparent;
    color: var(--apple-blue);
    padding: 0.6875rem 1.4375rem;
    border: 1px solid var(--apple-blue);
}

.a-btn--secondary:hover {
    background: var(--apple-blue);
    color: #fff;
}

.a-btn--ghost {
    background: rgba(0, 0, 0, 0.06);
    color: var(--apple-text);
}

.a-btn--ghost:hover {
    background: rgba(0, 0, 0, 0.1);
}

.a-btn--sm {
    padding: 0.5rem 1rem;
    font-size: var(--fs-small);
}

.a-btn--lg {
    padding: 1rem 2rem;
    font-size: var(--fs-body-lg);
    font-weight: var(--fw-semibold);
}

.a-btn--link {
    background: none;
    color: var(--apple-blue);
    padding: 0;
    font-weight: var(--fw-regular);
}

.a-btn--link:hover {
    text-decoration: underline;
}

.a-btn--link::after {
    content: ' ›';
    font-size: 1.2em;
}

/* ===== Section ===== */
.a-section {
    padding: var(--space-4xl) 0;
}

.a-section--gray {
    background: var(--apple-surface-secondary);
}

.a-section__head {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.a-section__eyebrow {
    font-size: var(--fs-caption);
    font-weight: var(--fw-semibold);
    color: var(--apple-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}

.a-section__title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--apple-text);
    margin-bottom: var(--space-md);
}

.a-section__desc {
    font-size: var(--fs-body-lg);
    color: var(--apple-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===== Grid ===== */
.a-grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

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

/* ===== Card ===== */
.a-card {
    background: var(--apple-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--apple-border);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    color: var(--apple-text);
    display: flex;
    flex-direction: column;
}

.a-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--apple-border-strong);
    transform: translateY(-2px);
    color: var(--apple-text);
}

.a-card__media {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--apple-surface-secondary);
}

.a-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.a-card:hover .a-card__media img {
    transform: scale(1.03);
}

.a-card__body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.a-card__eyebrow {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--apple-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-sm);
}

.a-card__title {
    font-size: var(--fs-h4);
    font-weight: var(--fw-semibold);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.a-card__desc {
    font-size: var(--fs-small);
    color: var(--apple-text-secondary);
    line-height: 1.5;
    flex: 1;
}

.a-card__action {
    margin-top: var(--space-md);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--apple-blue);
}

.a-card__action::after {
    content: ' ›';
}

/* Feature Card — icon-based */
.a-feature {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--apple-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--apple-border);
    transition: all var(--duration-normal) var(--ease-out);
}

.a-feature:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--apple-border-strong);
}

.a-feature__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
}

.a-feature__icon--blue {
    background: var(--apple-blue-bg);
    color: var(--apple-blue);
}

.a-feature__icon--green {
    background: var(--apple-green-bg);
    color: var(--apple-green);
}

.a-feature__icon--orange {
    background: var(--apple-orange-bg);
    color: var(--apple-orange);
}

.a-feature__icon--red {
    background: var(--apple-red-bg);
    color: var(--apple-red);
}

.a-feature__icon--purple {
    background: var(--apple-purple-bg);
    color: var(--apple-purple);
}

.a-feature__title {
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-sm);
}

.a-feature__desc {
    font-size: var(--fs-small);
    color: var(--apple-text-secondary);
    line-height: 1.5;
}

/* ===== Stats Row ===== */
.a-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
    padding: var(--space-2xl) 0;
}

.a-stat {
    text-align: center;
}

.a-stat__value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
    color: var(--apple-text);
    line-height: 1.1;
}

.a-stat__value--blue {
    color: var(--apple-blue);
}

.a-stat__label {
    font-size: var(--fs-small);
    color: var(--apple-text-tertiary);
    margin-top: var(--space-xs);
}

/* ===== Badge ===== */
.a-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-full);
}

.a-badge--blue {
    background: var(--apple-blue-bg);
    color: var(--apple-blue);
}

.a-badge--green {
    background: var(--apple-green-bg);
    color: var(--apple-green);
}

.a-badge--orange {
    background: var(--apple-orange-bg);
    color: var(--apple-orange);
}

.a-badge--red {
    background: var(--apple-red-bg);
    color: var(--apple-red);
}

.a-badge--purple {
    background: var(--apple-purple-bg);
    color: var(--apple-purple);
}

/* ===== Form Elements ===== */
.a-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-family);
    font-size: var(--fs-body);
    border: 1px solid var(--apple-border-strong);
    border-radius: var(--radius-md);
    background: var(--apple-surface);
    color: var(--apple-text);
    transition: all var(--duration-fast) var(--ease-out);
    outline: none;
}

.a-input:focus {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.a-input::placeholder {
    color: var(--apple-text-tertiary);
}

.a-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-family);
    font-size: var(--fs-body);
    border: 1px solid var(--apple-border-strong);
    border-radius: var(--radius-md);
    background: var(--apple-surface);
    color: var(--apple-text);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
    outline: none;
}

.a-select:focus {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.a-label {
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--apple-text);
    margin-bottom: 0.375rem;
}

.a-field {
    margin-bottom: var(--space-lg);
}

/* ===== Form Card (CTA) ===== */
.a-form-card {
    background: var(--apple-surface);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--apple-border);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.a-form-card__title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-sm);
}

.a-form-card__desc {
    font-size: var(--fs-small);
    color: var(--apple-text-secondary);
    margin-bottom: var(--space-xl);
}

.a-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.a-form-note {
    font-size: var(--fs-xs);
    color: var(--apple-text-tertiary);
    margin-top: var(--space-md);
    text-align: center;
}

/* ===== Service Card ===== */
.a-service {
    background: var(--apple-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--apple-border);
    padding: var(--space-xl);
    transition: all var(--duration-normal) var(--ease-out);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--apple-text);
}

.a-service:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--apple-border-strong);
    transform: translateY(-2px);
    color: var(--apple-text);
}

.a-service__icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.a-service__title {
    font-size: var(--fs-h4);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-sm);
}

.a-service__desc {
    font-size: var(--fs-small);
    color: var(--apple-text-secondary);
    line-height: 1.5;
    flex: 1;
    margin-bottom: var(--space-lg);
}

.a-service__price {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--apple-text);
    margin-bottom: var(--space-md);
}

.a-service__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem;
    background: var(--apple-blue-bg);
    color: var(--apple-blue);
    border-radius: var(--radius-md);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out);
}

.a-service__btn:hover {
    background: var(--apple-blue);
    color: #fff;
}

/* ===== KPI / Metric Card ===== */
.a-metric {
    background: var(--apple-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--apple-border);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.a-metric:hover {
    box-shadow: var(--shadow-md);
}

.a-metric__value {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--apple-blue);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.a-metric__label {
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--apple-text);
    margin-bottom: 0.25rem;
}

.a-metric__change {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--apple-green);
}

.a-metric__note {
    font-size: var(--fs-xs);
    color: var(--apple-text-tertiary);
    margin-top: var(--space-sm);
}

/* ===== CTA Banner ===== */
.a-cta {
    background: var(--apple-text);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.a-cta__title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.a-cta__desc {
    font-size: var(--fs-body-lg);
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

.a-cta .a-btn--primary {
    background: #fff;
    color: var(--apple-text);
}

.a-cta .a-btn--primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ===== Footer ===== */
.a-footer {
    background: var(--apple-surface-secondary);
    border-top: 1px solid var(--apple-border);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.a-footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.a-footer__brand {
    font-size: var(--fs-body-lg);
    font-weight: var(--fw-bold);
    color: var(--apple-text);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.a-footer__desc {
    font-size: var(--fs-small);
    color: var(--apple-text-tertiary);
    line-height: 1.5;
    max-width: 300px;
}

.a-footer__heading {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--apple-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-md);
}

.a-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.a-footer__link {
    font-size: var(--fs-small);
    color: var(--apple-text-secondary);
    text-decoration: none;
    transition: color var(--duration-fast);
}

.a-footer__link:hover {
    color: var(--apple-text);
}

.a-footer__bottom {
    border-top: 1px solid var(--apple-border);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.a-footer__copy {
    font-size: var(--fs-xs);
    color: var(--apple-text-tertiary);
}

.a-footer__copy a {
    color: var(--apple-text-tertiary);
    text-decoration: underline;
}

/* ===== FAQ Accordion ===== */
.a-faq {
    max-width: 800px;
    margin: 0 auto;
}

.a-faq__item {
    border-bottom: 1px solid var(--apple-border);
}

.a-faq__q {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    color: var(--apple-text);
    text-align: left;
}

.a-faq__q:hover {
    color: var(--apple-blue);
}

.a-faq__arrow {
    transition: transform var(--duration-normal) var(--ease-out);
    font-size: 1.25rem;
    color: var(--apple-text-tertiary);
}

.a-faq__item.open .a-faq__arrow {
    transform: rotate(45deg);
}

.a-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out);
}

.a-faq__item.open .a-faq__a {
    max-height: 300px;
}

.a-faq__a-inner {
    padding-bottom: var(--space-lg);
    font-size: var(--fs-small);
    color: var(--apple-text-secondary);
    line-height: 1.6;
}

/* ===== Tabs ===== */
.a-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--apple-surface-secondary);
    border-radius: var(--radius-md);
    width: fit-content;
    margin: 0 auto var(--space-2xl);
}

.a-tab {
    padding: 0.5rem 1rem;
    font-family: var(--font-family);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--apple-text-secondary);
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.a-tab:hover {
    color: var(--apple-text);
}

.a-tab.active {
    background: var(--apple-surface);
    color: var(--apple-text);
    box-shadow: var(--shadow-xs);
    font-weight: var(--fw-semibold);
}

/* ===== Search ===== */
.a-search {
    position: relative;
    margin-bottom: var(--space-xl);
}

.a-search__input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-family: var(--font-family);
    font-size: var(--fs-body);
    border: 1px solid var(--apple-border-strong);
    border-radius: var(--radius-md);
    background: var(--apple-surface);
    color: var(--apple-text);
    outline: none;
    transition: all var(--duration-fast);
}

.a-search__input:focus {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.a-search__icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--apple-text-tertiary);
    font-size: 1rem;
}

/* ===== Notice / Alert ===== */
.a-notice {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid;
}

.a-notice--info {
    background: var(--apple-blue-bg);
    border-color: rgba(0, 113, 227, 0.15);
}

.a-notice--warning {
    background: var(--apple-orange-bg);
    border-color: rgba(255, 149, 0, 0.2);
}

.a-notice--success {
    background: var(--apple-green-bg);
    border-color: rgba(52, 199, 89, 0.2);
}

.a-notice__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.a-notice__title {
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    margin-bottom: 0.25rem;
}

.a-notice__desc {
    font-size: var(--fs-small);
    color: var(--apple-text-secondary);
    line-height: 1.5;
}

/* ===== Divider ===== */
.a-divider {
    border: none;
    border-top: 1px solid var(--apple-border);
    margin: var(--space-3xl) 0;
}

/* ===== Accessibility ===== */
.a-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.a-skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    background: var(--apple-blue);
    color: #fff;
    border-radius: var(--radius-md);
    z-index: 9999;
    font-weight: var(--fw-semibold);
}

.a-skip-link:focus {
    top: var(--space-md);
}

/* ===== Native Details FAQ ===== */
details.a-faq {
    border-bottom: 1px solid var(--apple-border);
    max-width: 100%;
}

details.a-faq summary.a-faq__q {
    width: 100%;
    padding: var(--space-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    color: var(--apple-text);
    text-align: left;
    list-style: none;
    transition: color var(--duration-fast);
}

details.a-faq summary.a-faq__q::-webkit-details-marker {
    display: none;
}

details.a-faq summary.a-faq__q::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--apple-text-tertiary);
    font-weight: 300;
    transition: transform var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
    margin-left: 1rem;
}

details.a-faq[open] summary.a-faq__q::after {
    content: '−';
}

details.a-faq summary.a-faq__q:hover {
    color: var(--apple-blue);
}

details.a-faq .a-faq__a {
    padding-bottom: var(--space-lg);
    font-size: var(--fs-small);
    color: var(--apple-text-secondary);
    line-height: 1.7;
}

details.a-faq .a-faq__a a {
    color: var(--apple-blue);
    text-decoration: none;
}

details.a-faq .a-faq__a a:hover {
    text-decoration: underline;
}

/* ===== Form Group ===== */
.a-form-group {
    margin-bottom: var(--space-lg);
}

/* ===== Scroll Animations ===== */
@keyframes a-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes a-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.a-animate {
    opacity: 0;
    animation: a-fade-up 0.6s var(--ease-out) forwards;
}

.a-animate--delay-1 {
    animation-delay: 0.1s;
}

.a-animate--delay-2 {
    animation-delay: 0.2s;
}

.a-animate--delay-3 {
    animation-delay: 0.3s;
}

.a-animate--delay-4 {
    animation-delay: 0.4s;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .a-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .a-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .a-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
        --space-4xl: 3.5rem;
        --space-3xl: 2.5rem;
        --header-height: 48px;
    }

    /* nav hidden via position (see unified mobile menu below) */

    .a-header__phone {
        display: none;
    }

    /* toggle visible via unified mobile menu below */

    .a-hero {
        padding-top: calc(var(--header-height) + var(--space-3xl));
    }

    .a-grid--2,
    .a-grid--3,
    .a-grid--4 {
        grid-template-columns: 1fr;
    }

    .a-stats {
        gap: var(--space-xl);
    }

    .a-footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .a-footer__desc {
        margin: 0 auto;
    }

    .a-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .a-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .a-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .a-hero__title {
        font-size: 2rem;
    }

    .a-section__title {
        font-size: 1.5rem;
    }
}

/* Hero 2-column grid responsive */
@media (max-width: 768px) {
    .a-hero .a-container[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .a-hero .a-container[style*="grid-template-columns"] .a-hero__title,
    .a-hero .a-container[style*="grid-template-columns"] .a-hero__subtitle {
        text-align: center !important;
    }

    .a-hero .a-container[style*="grid-template-columns"] .a-hero__actions {
        justify-content: center !important;
    }

    .a-hero .a-container[style*="grid-template-columns"] nav[aria-label] {
        text-align: center;
    }
}

/* === Article Styles === */
.a-article-hero {
    position: relative;
    border-radius: var(--apple-radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    aspect-ratio: 16/9;
    /* Стандартное соотношение */
    background: var(--apple-gray-50);
    box-shadow: var(--apple-shadow-md);
}

.a-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.a-article-hero:hover img {
    transform: scale(1.03);
}

.a-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--apple-text-tertiary);
    align-items: center;
}

.a-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--apple-gray-100);
    border-radius: 999px;
    font-weight: 500;
    color: var(--apple-text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.a-article-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--apple-text-secondary);
    max-width: 720px;
    margin: 0 auto;
}

.a-article-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--apple-text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.a-article-content h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--apple-text-primary);
    font-weight: 600;
}

.a-article-content p {
    margin-bottom: 1.25rem;
}

.a-article-content ul,
.a-article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.a-article-content li {
    margin-bottom: 0.5rem;
}

.a-article-content blockquote {
    border-left: 4px solid var(--apple-blue);
    padding-left: 1.25rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--apple-text-primary);
    background: var(--apple-blue-alpha);
    padding: 1.5rem;
    border-radius: 0 var(--apple-radius-md) var(--apple-radius-md) 0;
}

.a-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--apple-gray-200);
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Tables for Articles */
.a-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.a-article-content th,
.a-article-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--apple-gray-200);
    text-align: left;
}

.a-article-content th {
    font-weight: 600;
    color: var(--apple-text-primary);
    background: var(--apple-gray-50);
}

@media (max-width: 768px) {
    .a-article-hero {
        aspect-ratio: 3/2;
        margin-top: -1rem;
        margin-inline: -1rem;
        border-radius: 0;
    }

    .a-article-content {
        font-size: 1.0625rem;
    }

    .a-article-content h2 {
        font-size: 1.5rem;
    }
}

/* === User Requested Updates (Feb 15) === */

/* 1. Hide Meta & Tags (Правила, 2 мин чтения, даты) */
.a-article-meta,
.a-tag,
.article-meta,
.badge,
.a-hero-simple .a-tag {
    display: none !important;
}

/* 4. Compact "Read Also" Blocks */
.article-related {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--apple-gray-200);
}

.article-related h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--apple-text-primary);
}

/* Если старая верстка использовала просто ссылки или div-ы, форсируем новый Grid */
.article-related__grid,
.article-related .related-articles,
.article-related .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.article-related__item,
.article-related a.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--apple-gray-200);
    border-radius: var(--apple-radius-md);
    overflow: hidden;
    transition: all 0.2s;
}

.article-related__item:hover {
    border-color: var(--apple-blue-alpha);
    transform: translateY(-2px);
    box-shadow: var(--apple-shadow-sm);
}

.article-related__item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--apple-gray-50);
}

.article-related__item span,
.article-related a.card h4 {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--apple-text-primary);
}

/* ==============================================
   UNIFIED HEADER — Mobile Menu & Scroll FX
   ============================================== */

/* Header scroll shadow */
.a-header--scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

/* Mobile overlay */
.a-header__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-normal) var(--ease-out),
        visibility var(--duration-normal) var(--ease-out);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.a-header__overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile slide-in nav */
@media (max-width: 768px) {
    .a-header__nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--apple-surface);
        z-index: 999;
        padding: calc(var(--header-height) + 1.5rem) 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        transition: right var(--duration-normal) var(--ease-out);
        overflow-y: auto;
    }

    .a-header__nav.is-open {
        right: 0;
    }

    .a-header__link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-md);
        opacity: 1;
    }

    .a-header__link:hover,
    .a-header__link.active {
        background: var(--apple-surface-secondary);
    }

    .a-header__toggle {
        display: flex;
        z-index: 1001;
    }
}
/* Universal Footer Styled */
.a-footer { background: var(--apple-surface-secondary); padding: 4rem 0 2rem; margin-top: 4rem; border-top: 1px solid var(--apple-border); font-size: 0.9rem; }
.a-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--apple-border); }
.a-footer__brand { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.a-footer__brand img { height: 28px; }
.a-footer__desc { color: var(--apple-text-secondary); line-height: 1.6; margin-bottom: 1.5rem; max-width: 300px; }
.a-contact-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--apple-text); }
.a-contact-item.small { font-size: 0.85rem; color: var(--apple-text-secondary); }
.a-footer__heading { font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; color: var(--apple-text-secondary); margin-bottom: 1.2rem; }
.a-footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.a-footer__link { color: var(--apple-text-secondary); text-decoration: none; transition: color 0.15s; }
.a-footer__link:hover { color: var(--apple-blue); }
.a-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.8rem; color: var(--apple-text-secondary); }
.scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: white; border: 1px solid var(--apple-border); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.1); opacity: 0; transform: translateY(20px); transition: 0.3s; pointer-events: none; z-index: 99; color: var(--apple-text); cursor: pointer; }
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--apple-blue); color: white; border-color: var(--apple-blue); }

@media (max-width: 992px) { .a-footer__grid { grid-template-columns: 1fr 1fr; } .a-footer__grid > *:first-child { grid-column: span 2; } }
@media (max-width: 600px) { 
    .a-footer__grid { display: block; }
    .a-footer__col { border-bottom: 1px solid var(--apple-border); padding: 1rem 0; }
    .a-footer__heading { margin: 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
    .a-footer__heading::after { content: '+'; font-size: 1.2rem; font-weight: 300; }
    .a-footer__col.open .a-footer__heading::after { content: '−'; }
    .a-footer__links { display: none; margin-top: 1rem; }
    .a-footer__col.open .a-footer__links { display: flex; }
    .a-footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* --- V2 Finance Apple Re-design --- */

/* Typography Overrides */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-lg {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    background: rgba(255, 255, 255, 0.85);
}

/* Dark Mode / Colored Card Variant */
.dark-card {
    background: #1d1d1f;
    color: white;
}
.dark-card .sub-text { color: #a1a1a6; }

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Finance Icons (CSS draw or SVGs) */
.icon-box {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .span-2, .span-3 { grid-column: auto; }
}

/* --- Blog & Articles --- */

/* Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        order: -1; /* Sidebar atop on mobile (or hide/collapse) */
    }
}

/* Sidebar & Filters */
.blog-sidebar {
    position: sticky;
    top: 100px;
    background: transparent;
}

.filter-group {
    margin-bottom: 2rem;
}
.filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
    color: var(--apple-text-secondary);
}
.category-item:hover {
    background: rgba(0,0,0,0.03);
    color: var(--apple-text);
}
.category-item.active {
    background: var(--apple-blue-bg);
    color: var(--apple-blue);
    font-weight: 500;
}
.category-count {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.6;
    background: rgba(0,0,0,0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Search Bar */
.search-wrapper {
    position: relative;
    margin-bottom: 2rem;
}
.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--apple-border);
    border-radius: 12px;
    font-size: 1rem;
    background:white;
    transition: all 0.2s;
}
.search-input:focus {
    outline: none;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}
.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--apple-text-secondary);
    pointer-events: none;
}

/* Article Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--apple-border);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.article-thumb {
    height: 200px;
    background: #f0f0f5;
    position: relative;
    overflow: hidden;
}
.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--apple-text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--apple-text-secondary);
    margin-bottom: 0.75rem;
    align-items: center;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--apple-text);
}
.article-title a {
    text-decoration: none;
    color: inherit;
}
.article-title a:hover {
    color: var(--apple-blue);
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--apple-text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.article-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--apple-border);
    padding-top: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.read-more {
    color: var(--apple-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s;
}
.read-more:hover {
    gap: 0.5rem;
}

/* Skeleton Loader */
/* ... skipped for brevity, implementing functional loader in JS ... */


/* Overrides for Hero Banner Mode */
.a-hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
}
.a-hero__title span {
     /* Ensure gradient text still works or make it white? */
     /* Usually gradient text on dark bg is bad. Reset to white or specific color */
    background: none;
    -webkit-text-fill-color: initial;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.4);
}
