/* =========================================================
   ECAMEC
   General styles
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    /* Brand */
    --color-orange: #e95b0c;
    --color-light-gray: #d1d2d3;
    --color-gray: #5b5c5a;
    --color-dark: #30383a;

    /* Neutrals */
    --color-white: #ffffff;
    --color-black: #111111;

    /* Backgrounds */
    --bg-main: #30383a;
    --bg-secondary: #383f41;
    --bg-soft: #42494b;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #d1d2d3;
    --text-muted: #9ea3a5;

    /* Borders */
    --border-light: rgba(255, 255, 255, 0.12);
    --border-medium: rgba(255, 255, 255, 0.20);

    /* Layout */
    --container-width: 1380px;
    --container-padding: 32px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.18);

    /* Motion */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    min-height: 100vh;

    background: var(--bg-main);

    color: var(--text-primary);

    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;

    background: none;

    color: inherit;

    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;

    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);

    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(42px, 6vw, 86px);
}

h2 {
    font-size: clamp(34px, 4vw, 58px);
}

h3 {
    font-size: clamp(24px, 2vw, 34px);
}

p {
    color: var(--text-secondary);
}

strong {
    font-weight: 600;
}


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

.container {
    width: min(
        calc(100% - (var(--container-padding) * 2)),
        var(--container-width)
    );

    margin: 0 auto;
}

.section {
    position: relative;

    padding: 120px 0;
}

.section--compact {
    padding: 80px 0;
}

.section--light {
    background: var(--color-white);

    color: var(--color-dark);
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-label {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: var(--color-orange);

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-label::before {
    content: "";

    width: 24px;
    height: 2px;

    background: var(--color-orange);
}

.section-title {
    max-width: 900px;

    margin-bottom: 24px;
}

.section-description {
    max-width: 720px;

    margin-bottom: 0;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 22px;

    border-radius: var(--radius-pill);

    font-size: 14px;
    font-weight: 600;

    transition:
        background var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        transform var(--transition-base);
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--color-orange);

    color: var(--color-white);
}

.button--primary:hover {
    background: #ff6a16;
}

.button--outline {
    border: 1px solid var(--border-medium);

    color: var(--color-white);
}

.button--outline:hover {
    background: rgba(255, 255, 255, 0.06);

    border-color: rgba(255, 255, 255, 0.32);
}


/* =========================================================
   SURFACES
========================================================= */

.surface {
    background: var(--bg-secondary);

    border: 1px solid var(--border-light);

    border-radius: var(--radius-lg);
}

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


/* =========================================================
   UTILITIES
========================================================= */

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

.text-light {
    color: var(--text-secondary);
}

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

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

.hidden {
    display: none !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    :root {
        --container-padding: 24px;
    }

    .section {
        padding: 90px 0;
    }

    .section--compact {
        padding: 64px 0;
    }

}


@media (max-width: 640px) {

    :root {
        --container-padding: 18px;
    }

    body {
        font-size: 15px;
    }

    .section {
        padding: 72px 0;
    }

    .section--compact {
        padding: 52px 0;
    }

    .section-description {
        font-size: 16px;
    }

}