/* =========================
   1. Box-Sizing Reset
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =========================
   2. Margin Reset
========================= */
* {
    margin: 0;
}

/* =========================
   3. Body Defaults
========================= */
body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* =========================
   4. Media Defaults
========================= */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* =========================
   5. Form Elements
========================= */
input,
button,
textarea,
select {
    font: inherit;
}

/* =========================
   6. Typography
========================= */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* =========================
   7. Root Defaults
========================= */
#root,
#__next {
    isolation: isolate;
}

/* =========================
   8. Links
========================= */
a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   9. Lists
========================= */
ul,
ol {
    list-style: none;
    padding: 0;
}

/* =========================
   10. Buttons
========================= */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* =========================
   11. Tables
========================= */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* =========================
   12. Base Typography
========================= */
html {
    font-size: 16px;
}

:root {
    --color-bg: #efefef;
    --color-card: #ffffff;
    --color-text: #111;
    --color-accent: #c59d5f;

    --radius: 7px;
    --spacing: 24px;
}

/* =========================
   Body
========================= */
body {
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 18px;
    padding: 30px;
    font-family: Helvetica, sans-serif;
}

/* =========================
   Typography
========================= */
h1 {
    font-size: 32px;
    font-weight: 700;
}

h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

p {
    opacity: 0.8;
}

/* =========================
   Layout
========================= */
header {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    gap: 40px;
}

/* Desktop Layout */
@media (min-width: 768px) {
    header {
        grid-template-columns: 2fr 1fr;
        gap: 60px;
    }

    .header-address {
        grid-column: span 2;
    }
}

/* =========================
   Card Style
========================= */
.header-contact,
.header-about,
.header-address {
    background: var(--color-card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* =========================
   About Section
========================= */
.header-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .header-about {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
}

.header-about__image {
    width: 140px;
}

.header-about__details h2 {
    color: var(--color-accent);
    font-weight: 500;
}

/* =========================
   Contact List
========================= */
.header-contact ul {
    margin-top: 15px;
}

.header-contact li {
    margin-bottom: 10px;
}

.header-contact a {
    font-weight: 500;
}

/* =========================
   Address
========================= */
.header-address p {
    line-height: 1.6;
}

/* =========================
   Spacer
========================= */
.spacer-m {
    height: 20px;
}