﻿/*
Theme Name: Made Manufacturing
Theme URI: https://www.madefactory.co.za/
Author: Made Manufacturing
Author URI: https://www.madefactory.co.za/
Description: A proudly South African contract manufacturer theme for Made Manufacturing (MADE). Faithful, lightweight classic theme with a green and gold protea-inspired design, Fraunces and Archivo typography, and one-click demo import. Specialising in free-issue filling, packing and production solutions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: made-manufacturing
Tags: business, manufacturing, custom-logo, custom-menu, featured-images, translation-ready, one-column, two-columns, right-sidebar, full-width-template
*/
/* =========================================================
   Made Manufacturing - Site Stylesheet
   Palette drawn from the brand logo: protea green and gold
   ========================================================= */

:root {
    --green-900: #14351c;
    --green-800: #1d4a27;
    --green-700: #2d6a35;
    --green-600: #3a7d43;
    --green-100: #e3eee2;
    --gold-500: #e3a81c;
    --gold-600: #c98f0e;
    --gold-100: #faf0d7;
    --cream: #faf7f0;
    --paper: #ffffff;
    --ink: #21281f;
    --ink-soft: #56604f;
    --line: #e4ddcf;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Archivo", "Helvetica Neue", sans-serif;

    --radius: 14px;
    --shadow-sm: 0 2px 10px rgba(20, 53, 28, 0.07);
    --shadow-md: 0 12px 32px rgba(20, 53, 28, 0.12);
    --container: 1180px;
    --header-h: 86px;
}

/* ---------- Reset & base ---------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold-600);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--green-900);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 200;
    background: var(--green-800);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--green-700);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-800);
    color: #fff;
}

.btn-gold {
    background: var(--gold-500);
    color: var(--green-900);
}

.btn-gold:hover {
    background: var(--gold-600);
    color: var(--green-900);
}

.btn-outline {
    background: transparent;
    border-color: var(--green-700);
    color: var(--green-800);
}

.btn-outline:hover {
    background: var(--green-700);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--green-900);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
}

.brand img {
    width: 170px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav ul a {
    display: block;
    padding: 10px 16px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 999px;
}

.site-nav ul a:hover {
    color: var(--green-700);
    background: var(--green-100);
}

.site-nav ul a.is-active {
    color: var(--green-800);
    background: var(--green-100);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--green-700);
    color: var(--green-800);
    font-size: 1.2rem;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(227, 168, 28, 0.16), transparent 50%),
        linear-gradient(105deg, rgba(20, 53, 28, 0.94) 0%, rgba(29, 74, 39, 0.86) 45%, rgba(20, 53, 28, 0.55) 100%),
        url("assets/img/hero-filling-line.jpg") center / cover no-repeat;
    color: #fff;
    overflow: hidden;
    padding: 110px 0 130px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-500);
    border: 1px solid rgba(227, 168, 28, 0.45);
    border-radius: 999px;
    padding: 8px 18px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    color: #fff;
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-500);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* ---------- Sections ---------- */

.section {
    padding: 88px 0;
}

.section-alt {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 640px;
    margin-bottom: 52px;
}

.section-head.is-centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 14px;
}

.section-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gold-500);
}

.section-head.is-centered .section-kicker::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gold-500);
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    margin-bottom: 16px;
}

.section-head p {
    color: var(--ink-soft);
}

/* ---------- Cards ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 26px;
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-600);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--green-100);
    color: var(--green-700);
    font-size: 1.45rem;
    margin-bottom: 20px;
}

.card:hover .card-icon {
    background: var(--gold-100);
    color: var(--gold-600);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-weight: 600;
}

/* ---------- Split / about preview ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-media {
    position: relative;
}

.split-intro {
    margin-bottom: 56px;
}

.split-media .media-panel {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(227, 168, 28, 0.25), transparent 55%),
        linear-gradient(160deg, var(--green-800), var(--green-600));
    border-radius: 24px;
    padding: 48px 40px;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.media-panel i {
    font-size: 2.4rem;
    color: var(--gold-500);
    margin-bottom: 18px;
    display: block;
}

.media-panel blockquote {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-style: italic;
    line-height: 1.45;
    margin-bottom: 14px;
}

.media-panel cite {
    font-style: normal;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.split-media::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -22px;
    bottom: -22px;
    border-radius: 24px;
    background: repeating-linear-gradient(45deg, var(--gold-500) 0 6px, transparent 6px 14px);
    opacity: 0.6;
    z-index: -1;
}

.media-photo {
    position: relative;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.media-photo img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 520px;
    object-fit: cover;
}

.media-photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 26px 22px;
    background: linear-gradient(to top, rgba(20, 53, 28, 0.92), rgba(20, 53, 28, 0));
    color: #fff;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.4;
}

.checklist {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.checklist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.checklist li i {
    color: var(--green-700);
    margin-top: 5px;
}

.checklist li strong {
    color: var(--green-900);
}

.split-content .btn {
    margin-top: 30px;
}

/* ---------- Stats ---------- */

.stats {
    background:
        radial-gradient(ellipse at 15% 80%, rgba(227, 168, 28, 0.16), transparent 55%),
        var(--green-900);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 36px;
    text-align: center;
}

.stat i {
    font-size: 1.8rem;
    color: var(--gold-500);
    margin-bottom: 14px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-value .suffix {
    color: var(--gold-500);
}

.stat-label {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

/* ---------- CTA band ---------- */

.cta-band {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
        linear-gradient(120deg, var(--gold-500), var(--gold-600));
    border-radius: 24px;
    padding: 60px 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: var(--shadow-md);
}

.cta-band h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--green-900);
    max-width: 560px;
}

.cta-band p {
    color: rgba(20, 53, 28, 0.8);
    margin-top: 8px;
}

.cta-band .btn {
    background: var(--green-900);
    color: #fff;
    flex-shrink: 0;
}

.cta-band .btn:hover {
    background: var(--green-800);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    background:
        radial-gradient(ellipse at 85% 10%, rgba(227, 168, 28, 0.18), transparent 50%),
        linear-gradient(150deg, var(--green-900), var(--green-700));
    color: #fff;
    padding: 78px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--gold-500);
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb [aria-current="page"] {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Values / about ---------- */

.value-list {
    display: grid;
    gap: 22px;
}

.value-item {
    display: flex;
    gap: 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.value-item i {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--gold-100);
    color: var(--gold-600);
    font-size: 1.25rem;
}

.value-item h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.value-item p {
    color: var(--ink-soft);
    font-size: 0.97rem;
}

/* ---------- Services page ---------- */

.service-block {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-block:hover {
    border-color: var(--green-600);
    box-shadow: var(--shadow-md);
}

.service-block-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(150deg, var(--green-700), var(--green-600));
    color: #fff;
    font-size: 1.7rem;
}

.service-block h3 {
    font-size: 1.55rem;
    margin-bottom: 12px;
}

.service-block > div > p {
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-100);
    color: var(--green-800);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.88rem;
    font-weight: 500;
}

.tag-list li i {
    color: var(--green-700);
    font-size: 0.8rem;
}

/* ---------- Industries strip ---------- */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 18px;
}

.industry-grid .industry {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 18px;
    text-align: center;
    font-weight: 500;
    color: var(--green-900);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.industry-grid .industry:hover {
    transform: translateY(-4px);
    border-color: var(--gold-500);
}

.industry i {
    display: block;
    font-size: 1.6rem;
    color: var(--gold-600);
    margin-bottom: 12px;
}

/* ---------- Process steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
    counter-reset: step;
}

.step {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 26px 28px;
    box-shadow: var(--shadow-sm);
}

.step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: -18px;
    left: 22px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    background: var(--gold-500);
    color: var(--green-900);
    border-radius: 999px;
    padding: 6px 16px;
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* ---------- Contact page ---------- */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-info-card {
    background:
        radial-gradient(ellipse at 20% 15%, rgba(227, 168, 28, 0.2), transparent 55%),
        linear-gradient(160deg, var(--green-900), var(--green-700));
    color: #fff;
    border-radius: 24px;
    padding: 42px 36px;
    box-shadow: var(--shadow-md);
}

.contact-info-card h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.contact-info-card > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

.contact-list {
    display: grid;
    gap: 20px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-list i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--gold-500);
}

.contact-list strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
}

.contact-list a {
    color: #fff;
    font-weight: 500;
}

.contact-list a:hover {
    color: var(--gold-500);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.contact-social a:hover {
    background: var(--gold-500);
    color: var(--green-900);
}

/* ---------- Forms ---------- */

.contact-form {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 42px 36px;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field.is-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--green-900);
}

.form-field label .req {
    color: var(--gold-600);
}

.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--cream);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 13px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(45, 106, 53, 0.15);
}

.form-field input.has-error,
.form-field textarea.has-error,
.form-field select.has-error {
    border-color: #b3261e;
}

.field-error {
    color: #b3261e;
    font-size: 0.85rem;
    min-height: 1em;
}

.form-note {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-top: 16px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 26px;
    font-size: 0.97rem;
}

.alert i {
    margin-top: 3px;
}

.alert-success {
    background: var(--green-100);
    border: 1px solid var(--green-600);
    color: var(--green-900);
}

.alert-error {
    background: #fdecea;
    border: 1px solid #e7a39e;
    color: #8c1d18;
}

/* ---------- Map ---------- */

.map-wrap {
    margin-top: 56px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    line-height: 0;
}

.map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

/* ---------- Back to top ---------- */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: var(--green-800);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    box-shadow: var(--shadow-md);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-600);
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding: 70px 24px 50px;
}

.footer-brand {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand span {
    color: var(--gold-500);
    font-size: 1rem;
    display: block;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-about p {
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.footer-tagline {
    color: var(--gold-500);
    font-weight: 600;
}

.footer-tagline i {
    margin-right: 8px;
}

.site-footer h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 11px;
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
    color: var(--gold-500);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--gold-500);
    margin-top: 5px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
    color: var(--gold-500);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer-social a:hover {
    background: var(--gold-500);
    color: var(--green-900);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
    font-size: 0.88rem;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

/* ---------- Reveal animation ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .split,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 820px) {
    :root {
        --header-h: 74px;
    }

    .brand img {
        width: 140px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 24px 24px;
        display: none;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin-bottom: 16px;
    }

    .site-nav ul a {
        padding: 14px 16px;
        font-size: 1.05rem;
    }

    .nav-cta {
        justify-content: center;
    }

    .hero {
        padding: 80px 0 110px;
    }

    .section {
        padding: 64px 0;
    }

    .service-block {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }

    .cta-band {
        padding: 44px 28px;
    }

    .contact-form,
    .contact-info-card {
        padding: 32px 24px;
    }

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

@media (max-width: 540px) {
    .footer-grid {
        grid-template-columns: 1fr;
        padding-top: 52px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   WordPress integration overrides
   ========================================================= */

/* WordPress admin bar offset for the sticky header */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

/* Active nav state from wp_nav_menu classes (mirrors .is-active) */
.site-nav ul li.current-menu-item > a,
.site-nav ul li.current_page_item > a,
.site-nav ul li.current-menu-ancestor > a {
    color: var(--green-800);
    background: var(--green-100);
    font-weight: 600;
}

/* wp_nav_menu outputs <ul class="menu"> with no list styling reset of its own */
.site-nav ul.menu { list-style: none; margin: 0; padding: 0; }

/* Custom logo support (matches the hard-coded brand img sizing) */
.brand .custom-logo,
.brand img.custom-logo {
    width: 170px;
    height: auto;
}

/* Generic WordPress alignment / caption helpers */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.9rem; color: var(--ink-soft); }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* =========================================================
   Contact Form 7 styling to match the native form design
   ========================================================= */

.contact-form .wpcf7 { width: 100%; }

.contact-form .wpcf7 .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .wpcf7 .form-field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .wpcf7 .form-field.is-full { grid-column: 1 / -1; }

.contact-form .wpcf7 label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--green-900);
    display: block;
}

.contact-form .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 8px; }

.contact-form .wpcf7 input.wpcf7-form-control,
.contact-form .wpcf7 select.wpcf7-form-control,
.contact-form .wpcf7 textarea.wpcf7-form-control {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--cream);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 13px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.contact-form .wpcf7 input.wpcf7-form-control:focus,
.contact-form .wpcf7 select.wpcf7-form-control:focus,
.contact-form .wpcf7 textarea.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(45, 106, 53, 0.15);
}

.contact-form .wpcf7 .req { color: var(--gold-600); }

.contact-form .wpcf7 button.btn { margin-top: 4px; }

/* CF7 inline validation + response messages */
.contact-form .wpcf7 .wpcf7-not-valid-tip {
    color: #b3261e;
    font-size: 0.85rem;
    margin-top: 6px;
}

.contact-form .wpcf7 .wpcf7-not-valid {
    border-color: #b3261e !important;
}

.contact-form .wpcf7-response-output {
    border-radius: 12px;
    padding: 16px 20px !important;
    margin: 22px 0 4px !important;
    font-size: 0.97rem;
}

.contact-form .wpcf7 form.sent .wpcf7-response-output {
    background: var(--green-100);
    border: 1px solid var(--green-600) !important;
    color: var(--green-900);
}

.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.failed .wpcf7-response-output,
.contact-form .wpcf7 form.spam .wpcf7-response-output {
    background: #fdecea;
    border: 1px solid #e7a39e !important;
    color: #8c1d18;
}

.contact-form .wpcf7-spinner { margin: 14px auto 0; display: block; }

@media (max-width: 820px) {
    .contact-form .wpcf7 .form-grid { grid-template-columns: 1fr; }
}
