/* ---------- Tokens ---------- */
:root {
    --cream: #f6f0e3;
    --cream-2: #fbf6ec;
    --paper: #ffffff;
    --ink: #1c2733;
    --ink-soft: #3a4a5a;
    --muted: #6b7785;
    --navy: #1f3a4a;
    --navy-deep: #14273a;
    --gold: #b08a3a;
    --gold-soft: #c9a04a;
    --rule: #e3d8bf;
    --shadow: 0 18px 40px -22px rgba(20, 39, 58, 0.35);
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy-deep); margin: 0 0 .5em; line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.005em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
.container { width: min(1140px, 92%); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.6em;
}
.eyebrow.centered, .centered { text-align: center; }
.section-lede { color: var(--ink-soft); max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: 0.85em 1.6em;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--navy);
    color: var(--cream-2);
    border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--navy-deep);
    border-color: var(--navy-deep);
}
.btn-ghost:hover { background: var(--navy-deep); color: var(--cream-2); }
.btn-block { width: 100%; padding: 1em 1.6em; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 240, 227, 0.94);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--rule);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy-deep);
}
.brand:hover { color: var(--gold); }
.brand-icon { width: 42px; height: 42px; color: var(--navy); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--navy-deep);
}
.brand-tag {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}
.nav-list a {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.98rem;
    padding: 0.4rem 0;
    position: relative;
}
.nav-list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.nav-list a:hover::after { transform: scaleX(1); }

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--navy);
    color: var(--cream-2);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
}
.phone-link:hover { background: var(--gold); color: var(--navy-deep); }
.phone-link svg { width: 16px; height: 16px; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 40px; height: 40px;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle .bar {
    display: block; width: 22px; height: 2px; background: var(--navy-deep); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateX(2px) translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateX(2px) translateY(0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(176,138,58,0.10), transparent 60%),
        linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
    border-bottom: 1px solid var(--rule);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(31,58,74,0.04) 0 1px, transparent 1px 14px);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.hero-content .lede {
    font-size: 1.18rem;
    color: var(--ink-soft);
    max-width: 50ch;
    margin-bottom: 1.6em;
}
.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem 2rem;
    color: var(--ink-soft);
    font-weight: 500;
}
.hero-points li { display: flex; align-items: center; gap: 0.55rem; }
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}
.hero-card-inner { position: relative; }
.badge {
    position: absolute;
    top: -1.2rem;
    right: -1.2rem;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-deep);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 12px 24px -10px rgba(176,138,58,0.55);
    border: 4px solid var(--cream-2);
    transform: rotate(-6deg);
}
.badge-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1; }
.badge-text { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; margin-top: 4px; }
.machine { width: 100%; height: auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-about { background: var(--cream); }
.section-services { background: var(--cream-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-brands { background: var(--cream); }
.section-area { background: var(--cream-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-contact { background: var(--navy-deep); color: var(--cream-2); }
.section-contact h2,
.section-contact h3 { color: #fff; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

/* About values */
.value-list {
    display: grid;
    gap: 1.25rem;
    align-self: stretch;
}
.value-list li {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--gold);
    padding: 1.25rem 1.4rem;
    border-radius: 4px;
}
.value-list h3 { margin-bottom: 0.25em; color: var(--navy-deep); }
.value-list p { margin: 0; color: var(--ink-soft); }

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.service-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 1.75rem 1.5rem;
    transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.service-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--navy);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid var(--rule);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: 0.4em; }
.service-card p { margin: 0; color: var(--ink-soft); }

/* Brands */
.brand-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin: 2.5rem auto 1.5rem;
    max-width: 900px;
}
.brand-list li {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--navy-deep);
    background: var(--paper);
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.brand-list li:hover {
    background: var(--navy);
    color: var(--cream-2);
    transform: translateY(-2px);
}
.brand-note { color: var(--muted); font-style: italic; margin-top: 0.5rem; }

/* Service area */
.area-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 1.5rem;
}
.area-col {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--navy);
    padding: 1.5rem 1.4rem;
    border-radius: 4px;
}
.area-col h3 {
    color: var(--navy-deep);
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed var(--rule);
}
.area-col ul { display: grid; gap: 0.4rem; }
.area-col li {
    color: var(--ink-soft);
    font-size: 0.98rem;
    padding-left: 1.1rem;
    position: relative;
}
.area-col li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.65em;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.area-note { color: var(--muted); font-style: italic; }

/* Contact */
.contact-inner { align-items: stretch; }
.section-contact .eyebrow { color: var(--gold-soft); }
.section-contact p { color: rgba(246, 240, 227, 0.85); }
.contact-meta {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}
.contact-meta li {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(246,240,227,0.15);
}
.contact-meta li:last-child { border-bottom: 1px solid rgba(246,240,227,0.15); }
.contact-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-soft);
}
.contact-value { color: var(--cream-2); font-size: 1.05rem; font-weight: 500; }
.contact-value[href]:hover { color: var(--gold-soft); }

.contact-form {
    background: var(--cream-2);
    color: var(--ink);
    border-radius: 8px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row .field { margin-bottom: 1rem; }
.field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}
.field .optional { font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.field input,
.field textarea {
    font-family: var(--sans);
    font-size: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--rule);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(31,58,74,0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note {
    font-size: 0.85rem;
    color: #000000;
    text-align: center;
    margin: 0.85rem 0 0;
}
.form-status {
    margin: 0.75rem 0 0;
    font-weight: 600;
    text-align: center;
    min-height: 1.4em;
}
.form-status.success { color: #2f6f3a; }
.form-status.error { color: #a8412a; }

/* Footer */
.site-footer { background: #0f1d2c; color: #c9d3dc; }
.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    padding: 3rem 0 2rem;
}
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; }
.footer-brand p { color: rgba(201,211,220,0.75); margin: 0.4rem 0 0; max-width: 32ch; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-cols h4 {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 0.85rem;
}
.footer-cols ul { display: grid; gap: 0.5rem; }
.footer-cols a { color: #c9d3dc; }
.footer-cols a:hover { color: var(--gold-soft); }
.footer-bottom {
    border-top: 1px solid rgba(201,211,220,0.12);
    padding: 1.1rem 0;
    font-size: 0.85rem;
    color: rgba(201,211,220,0.65);
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-card { order: -1; max-width: 460px; margin: 0 auto; }
    .two-col { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav-list {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--cream-2);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        border-bottom: 1px solid var(--rule);
        box-shadow: var(--shadow);
        display: none;
    }
    .nav-list.is-open { display: flex; }
    .nav-list a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--rule); }
    .nav-list li:last-child a { border-bottom: 0; }
    .primary-nav { gap: 0.6rem; position: relative; }
    .phone-link span { display: none; }
    .phone-link { padding: 0.55rem; }
    .phone-link svg { width: 18px; height: 18px; }
    .header-inner { padding: 0.7rem 0; }
    .brand-tag { display: none; }
}
@media (max-width: 560px) {
    .field-row { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; align-items: flex-start; }
    .contact-meta li { grid-template-columns: 1fr; gap: 0.15rem; padding: 0.75rem 0; }
    .badge { width: 90px; height: 90px; top: -0.8rem; right: -0.8rem; }
    .badge-num { font-size: 1.6rem; }
}
