/* Robot Hastanesi Core UI */

/* ================================
   1. Design Tokens
================================ */

:root {
    --rh-primary: #0b55bd;
    --rh-primary-light: #1464e9;
    --rh-primary-dark: #062a62;

    --rh-navy: #061a3d;
    --rh-navy-soft: #082452;

    --rh-bg: #f8fbff;
    --rh-bg-soft: #f3f7ff;
    --rh-white: #ffffff;

    --rh-text: #101828;
    --rh-text-soft: #667085;
    --rh-muted: #98a2b3;

    --rh-border: #e5eaf3;

    --rh-success: #16a34a;
    --rh-whatsapp: #25d366;
    --rh-danger: #ef4444;

    --rh-radius-sm: 10px;
    --rh-radius-md: 18px;
    --rh-radius-lg: 28px;
    --rh-radius-xl: 36px;

    --rh-shadow-sm: 0 2px 8px rgba(6, 26, 61, 0.04);
    --rh-shadow-md: 0 10px 35px rgba(6, 26, 61, 0.08);
    --rh-shadow-lg: 0 20px 60px rgba(6, 26, 61, 0.12);

    --rh-container: 1280px;
    --rh-transition: all .25s ease;

    --rh-font-family: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --rh-heading-weight: 800;
    --rh-body-weight: 400;
}


/* ================================
   0. Global Font Base
================================ */
body,
button,
input,
select,
textarea,
.elementor-widget,
.elementor-heading-title {
    font-family: var(--rh-font-family) !important;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: var(--rh-text);
    background: #ffffff;
}

/* ================================
   2. Layout Helpers
================================ */

.rh-section {
    padding: 80px 20px;
}

.rh-section-soft {
    background: var(--rh-bg-soft);
}

.rh-container {
    width: 100%;
    max-width: var(--rh-container);
    margin-left: auto;
    margin-right: auto;
}

.rh-grid {
    display: grid;
    gap: 24px;
}

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

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

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

/* ================================
   3. Typography
================================ */

.rh-title-xl {
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.05;
    font-weight: var(--rh-heading-weight);
    letter-spacing: -0.04em;
    color: var(--rh-navy);
}

.rh-title-lg {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    font-weight: var(--rh-heading-weight);
    letter-spacing: -0.03em;
    color: var(--rh-navy);
}

.rh-title-md {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    font-weight: var(--rh-heading-weight);
    color: var(--rh-navy);
}

.rh-text {
    color: var(--rh-text);
}

.rh-text-soft {
    color: var(--rh-text-soft);
}

/* ================================
   4. Buttons
================================ */

.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    text-decoration: none !important;
    transition: var(--rh-transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.rh-btn-primary {
    background: linear-gradient(135deg, var(--rh-primary), var(--rh-primary-dark));
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(11, 85, 189, .22);
}

.rh-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(11, 85, 189, .28);
}

.rh-btn-secondary {
    border-color: rgba(11,85,189,.25);
    color: var(--rh-primary) !important;
    background: #ffffff;
}

.rh-btn-secondary:hover {
    background: var(--rh-bg-soft);
}

.rh-btn-whatsapp {
    background: var(--rh-whatsapp);
    color: #ffffff !important;
}

.rh-btn-dark {
    background: var(--rh-navy);
    color: #ffffff !important;
}

/* ================================
   5. Cards & Badges
================================ */

.rh-card {
    background: var(--rh-white);
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-radius-md);
    padding: 28px;
    box-shadow: var(--rh-shadow-sm);
    transition: var(--rh-transition);
}

.rh-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--rh-shadow-md);
}

.rh-card-soft {
    background: linear-gradient(180deg, #ffffff, var(--rh-bg-soft));
}

.rh-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: #eef5ff;
    color: var(--rh-primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: var(--rh-heading-weight);
    text-transform: uppercase;
    letter-spacing: .02em;
}

.rh-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    color: var(--rh-primary);
}

/* ================================
   6. CTA / Trust Helpers
================================ */

.rh-cta-band {
    background: linear-gradient(135deg, var(--rh-navy), var(--rh-primary));
    color: #ffffff;
    border-radius: var(--rh-radius-xl);
    padding: 42px;
    box-shadow: var(--rh-shadow-lg);
}

.rh-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.rh-trust-item {
    background: #ffffff;
    border: 1px solid var(--rh-border);
    border-radius: var(--rh-radius-md);
    padding: 18px;
    box-shadow: var(--rh-shadow-sm);
}

/* ================================
   7. Responsive
================================ */

@media (max-width: 1024px) {
    .rh-grid-4,
    .rh-trust-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    .rh-section {
        padding: 56px 16px;
    }

    .rh-grid-2,
    .rh-grid-3,
    .rh-grid-4,
    .rh-trust-bar {
        grid-template-columns: 1fr;
    }

    .rh-btn {
        width: 100%;
    }

    .rh-card {
        padding: 22px;
    }

    .rh-cta-band {
        padding: 28px;
        border-radius: var(--rh-radius-lg);
    }
}
