* {
    box-sizing: border-box;
}

:root {
    --navy: #0b2435;
    --green: #1f6f5b;
    --light: #f4f6f5;
    --line: #dfe5e2;
    --text: #18242a;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Noto Sans Arabic", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

html[dir="rtl"] body {
    font-family: "Noto Sans Arabic", "Inter", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}


/* CONTENEDORES GENERALES */

.section {
    padding: 100px 32px;
}

.section-inner {
    max-width: 1280px;
    margin: auto;
}

.section-label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 700;
}

.section-title {
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    margin: 12px 0 20px;
    color: var(--navy);
}

.section-intro {
    max-width: 700px;
    font-size: 18px;
    color: #59656a;
}


/* BOTONES */

.btn {
    display: inline-block;
    padding: 13px 20px;
    border: 1px solid currentColor;
    font-weight: 700;
    font-size: 14px;
}

.btn-primary {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.btn-dark {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}


/* PÁGINAS INTERNAS */

.page-hero {
    background: var(--light);
    padding: 110px 32px 80px;
}

.page-hero-inner {
    max-width: 1280px;
    margin: auto;
}

.page-content {
    padding: 80px 32px;
}


/* TARJETAS GENERALES */

.card {
    background: #fff;
    padding: 32px;
    min-height: 190px;
}

.card h3 {
    margin: 0 0 10px;
    color: var(--navy);
}

.card p {
    color: #657177;
    font-size: 14px;
}

.subsection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.subsection-grid .card {
    min-height: 220px;
}


/* RTL GENERAL */

[dir="rtl"] .page-hero,
[dir="rtl"] .page-content {
    text-align: right;
}


/* RESPONSIVE GENERAL */

@media (max-width: 900px) {

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

@media (max-width: 600px) {

    .section,
    .page-content,
    .page-hero {
        padding: 70px 20px;
    }

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