/* ===========================
   REHAB DESIGN SYSTEM
   =========================== */

/* Tokens */
:root {
    --rehab-color-primary: #005BBB;
    --rehab-color-primary-light: #EAF2FF;
    --rehab-color-accent: #0088CC;
    --rehab-color-text: #222222;
    --rehab-color-text-muted: #666666;
    --rehab-color-border: #E0E4EA;
    --rehab-color-bg: #FFFFFF;
    --rehab-color-bg-soft: #F7F9FC;

    --rehab-font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --rehab-font-size-base: 16px;
    --rehab-font-size-small: 14px;
    --rehab-font-size-smaller: 13px;
    --rehab-font-size-h1: 40px;
    --rehab-font-size-h2: 30px;
    --rehab-font-size-h3: 24px;

    --rehab-space-2: 2px;
    --rehab-space-4: 4px;
    --rehab-space-8: 8px;
    --rehab-space-12: 12px;
    --rehab-space-16: 16px;
    --rehab-space-24: 24px;
    --rehab-space-32: 32px;
    --rehab-space-40: 40px;
    --rehab-space-64: 64px;

    --rehab-radius-sm: 4px;
    --rehab-radius-md: 8px;
    --rehab-radius-pill: 999px;

    --rehab-shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.06);
}

@media (max-width: 768px) {
    :root {
        --rehab-font-size-h1: 30px;
        --rehab-font-size-h2: 24px;
        --rehab-font-size-h3: 20px;
    }
}

/* Global */
body {
    font-family: var(--rehab-font-base);
    font-size: var(--rehab-font-size-base);
    color: var(--rehab-color-text);
    background: var(--rehab-color-bg);
}

p {
    margin-bottom: var(--rehab-space-16);
    color: var(--rehab-color-text);
}

/* ========= Components ========= */

/* Badge */
.badge {
    display: inline-block;
    background: var(--rehab-color-primary-light);
    color: var(--rehab-color-primary);
    font-size: var(--rehab-font-size-smaller);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: var(--rehab-space-4) var(--rehab-space-12);
    border-radius: var(--rehab-radius-pill);
    margin-bottom: var(--rehab-space-16);
    line-height: 1.2;
    white-space: nowrap;
}

/* Hero */
.hero-title {
    font-size: var(--rehab-font-size-h1);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--rehab-space-16);
    color: var(--rehab-color-text);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--rehab-color-text-muted);
    margin-bottom: var(--rehab-space-8);
}

/* Section Titles */
.section-title {
    font-size: var(--rehab-font-size-h2);
    font-weight: 700;
    margin-bottom: var(--rehab-space-16);
    color: var(--rehab-color-text);
}

.section-intro {
    font-size: 17px;
    max-width: 720px;
    color: var(--rehab-color-text-muted);
    margin-bottom: var(--rehab-space-32);
}

/* Buttons */
.btn-primary,
.elementor-button.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--rehab-space-8);
    padding: var(--rehab-space-12) var(--rehab-space-24);
    background: var(--rehab-color-primary);
    color: #fff;
    font-weight: 600;
    border-radius: var(--rehab-radius-md);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover,
.elementor-button.btn-primary:hover {
    background: #004799;
    transform: translateY(-1px);
}

.btn-secondary,
.elementor-button.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--rehab-space-8);
    padding: var(--rehab-space-12) var(--rehab-space-24);
    background: transparent;
    color: var(--rehab-color-primary);
    font-weight: 600;
    border-radius: var(--rehab-radius-md);
    border: 1px solid var(--rehab-color-primary-light);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover,
.elementor-button.btn-secondary:hover {
    background: var(--rehab-color-primary-light);
    border-color: var(--rehab-color-primary);
}

/* Cards */
.card {
    background: #fff;
    border-radius: var(--rehab-radius-md);
    border: 1px solid var(--rehab-color-border);
    padding: var(--rehab-space-24);
    box-shadow: var(--rehab-shadow-soft);
}

.card h3 {
    font-size: var(--rehab-font-size-h3);
    margin-bottom: var(--rehab-space-8);
}

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

.hero {
    /* Η .section ήδη δίνει vertical padding */
}

.hero-content {
    max-width: 560px;
}

/* Δεξιά στήλη με εικόνα */
.hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-media img {
    width: 100%;
    height: auto;
    border-radius: var(--rehab-radius-md);
    box-shadow: var(--rehab-shadow-soft);
    object-fit: cover;
    max-width: 520px;
}

/* Λίγο πιο “σφιχτό” layout σε μεγάλες οθόνες */
@media (min-width: 1024px) {
    .hero {
        padding-top: var(--rehab-space-64);
        padding-bottom: var(--rehab-space-64);
    }
}


.card p {
    color: var(--rehab-color-text-muted);
}
