/* ==========================================================
   HCG DESIGN SYSTEM
   Multinational Executive Corporate Framework
========================================================== */


/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root {

    /* ==========================
       TYPOGRAPHY
    ========================== */

    --h1-size: 30px;
    --h2-size: 26px;
    --h3-size: 22px;
    --h4-size: 19px;
    --h5-size: 17px;

    --body-size: 15px;
    --small-size: 14px;

    /* ==========================
       COLORS
    ========================== */

    --primary-text: #111827;
    --secondary-text: #5B6472;

    --accent-color: #D97706;

    --bg-white: #ffffff;
    --bg-light: #fafafa;

    --border-color: #E8EBEF;

    /* ==========================
       LAYOUT
    ========================== */

    --container-width: 1360px;

    /* ==========================
       SPACING
    ========================== */

    --section-padding: 32px;
    --section-padding-mobile: 26px;

    --content-gap: 14px;
    --card-gap: 18px;

    /* ==========================
       COMPONENTS
    ========================== */

    --card-radius: 12px;
    --button-radius: 10px;

    --transition: all .25s ease;

    --soft-shadow:
        0 1px 2px rgba(15,23,42,0.03),
        0 4px 12px rgba(15,23,42,0.04);
}


/* ==========================================================
   GLOBAL RESET
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--bg-white);

    color: var(--secondary-text);

    font-size: var(--body-size);
    font-weight: 400;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
.hcg-h1 {
    font-size: var(--h1-size);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.6px;
    color: var(--primary-text);
    margin: 0 0 16px;
}

h2,
.hcg-h2 {
    font-size: var(--h2-size);
    font-weight: 600;
    line-height: 1.22;
    color: var(--primary-text);
    margin: 0 0 16px;
}

h3,
.hcg-h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    line-height: 1.28;
    color: var(--primary-text);
    margin: 0 0 14px;
}

h4,
.hcg-h4 {
    font-size: var(--h4-size);
    font-weight: 500;
    line-height: 1.32;
    color: var(--primary-text);
    margin: 0 0 12px;
}

h5,
.hcg-h5 {
    font-size: var(--h5-size);
    font-weight: 500;
    line-height: 1.35;
    color: var(--primary-text);
    margin: 0 0 10px;
}

p {
    margin: 0 0 18px;

    color: var(--secondary-text);

    font-size: var(--body-size);

    line-height: 1.75;

    max-width: 72ch;
}

small {
    font-size: var(--small-size);
}


/* ==========================================================
   SECTION SYSTEM
========================================================== */

section,
.hcg-section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}


/* ==========================================================
   CONTAINER SYSTEM
========================================================== */

.hcg-container,
.container,
[class*="container"] {

    width: 100%;
    max-width: var(--container-width);

    margin-left: auto;
    margin-right: auto;

    padding-left: 24px;
    padding-right: 24px;
}


/* ==========================================================
   GRID SPACING
========================================================== */

.row,
.grid {
    gap: var(--card-gap);
}


/* ==========================================================
   CARD SYSTEM
========================================================== */

.hcg-card {

    background: #fff;

    border: 1px solid var(--border-color);

    border-radius: var(--card-radius);

    padding: 18px;

    box-shadow: var(--soft-shadow);

    transition: var(--transition);
}

.hcg-card:hover {
    transform: translateY(-2px);
}


/* ==========================================================
   BUTTON SYSTEM
========================================================== */

button,
.wp-element-button,
.hcg-btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 20px;

    border: 1px solid transparent;
    border-radius: var(--button-radius);

    background: var(--accent-color);
    color: #fff;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    cursor: pointer;

    transition: var(--transition);
}

button:hover,
.wp-element-button:hover,
.hcg-btn:hover {

    transform: translateY(-1px);
}

.hcg-btn-outline {

    background: transparent;
    color: var(--primary-text);

    border: 1px solid #D7DCE3;
}


/* ==========================================================
   IMAGES
========================================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ==========================================================
   SPACING UTILITIES
========================================================== */

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 18px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 18px; }


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 991px) {

    :root {

        --h1-size: 26px;
        --h2-size: 23px;
        --h3-size: 20px;
        --h4-size: 18px;
        --h5-size: 16px;

        --body-size: 14px;

        --section-padding: 26px;
    }

    .hcg-container,
    .container,
    [class*="container"] {

        padding-left: 16px;
        padding-right: 16px;
    }

    p {
        line-height: 1.55;
        max-width: 100%;
    }

    .hcg-card {
        padding: 16px;
    }

    button,
    .wp-element-button,
    .hcg-btn {
        width: 100%;
    }
}