/* =====================================================================
 *  GOLWEL SECURITY SERVICES  -  Core Brand Stylesheet
 *  Phase 1: Foundation
 * ---------------------------------------------------------------------
 *  Design language: authoritative, professional, trustworthy.
 *  Dark green dominant + gold accents. Display: Fraunces. Body: Manrope.
 * =================================================================== */

/* ----------  DESIGN TOKENS  ---------------------------------------- */
:root {
    /* Brand colours (from logo) */
    --green-900: #002a00;
    --green-800: #003200;
    --green:     #003f00;   /* primary */
    --green-600: #0a5a0a;
    --green-300: #5c8a5c;
    --green-050: #eef3ee;

    --gold-700:  #b87d18;
    --gold:      #eca434;   /* secondary */
    --gold-300:  #f3c477;
    --gold-050:  #fdf6e9;

    /* Neutrals */
    --ink:       #1a1f1a;
    --slate:     #4a544a;
    --muted:     #7a847a;
    --line:      #e2e6e2;
    --paper:     #ffffff;
    --cloud:     #f6f8f6;

    /* Feedback */
    --success:   #1e7e34;
    --danger:    #c0392b;
    --warning:   #d68910;
    --info:      #2471a3;

    /* Typography */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:    'Manrope', 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Spacing / shape */
    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 42, 0, 0.06);
    --shadow:    0 8px 30px rgba(0, 42, 0, 0.10);
    --shadow-lg: 0 20px 50px rgba(0, 42, 0, 0.16);

    --container: 1200px;
    --header-h:  84px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--green-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-700); }
ul  { list-style: none; }

/* ----------  TYPOGRAPHY  ------------------------------------------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.18;
    color: var(--green);
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; color: var(--slate); }

.lead { font-size: 1.18rem; color: var(--slate); line-height: 1.7; }

.display-serif { font-family: var(--font-display); }

/* ----------  LAYOUT  ----------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.section-tint { background: var(--cloud); }
.section-green {
    background: var(--green);
    color: #fff;
}
.section-green h1, .section-green h2, .section-green h3 { color: #fff; }
.section-green p { color: rgba(255, 255, 255, 0.82); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ----------  SECTION HEADINGS  ------------------------------------- */
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 28px; height: 2px;
    background: var(--gold);
    display: inline-block;
}

/* ----------  BUTTONS  ---------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    padding: 15px 30px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease,
                background .18s ease, color .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
    background: var(--gold);
    color: var(--green-900);
    box-shadow: 0 6px 18px rgba(236, 164, 52, 0.35);
}
.btn-gold:hover { background: var(--gold-300); color: var(--green-900); }

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

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

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--green); }

.btn-lg { padding: 18px 38px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ----------  CARDS  ------------------------------------------------ */
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease,
                border-color .25s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--gold-300);
}
.card-body { padding: 28px; }
.card-img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* Service / feature card with top accent */
.card-accent { position: relative; }
.card-accent::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.card-accent:hover::before { transform: scaleX(1); }

.icon-badge {
    width: 58px; height: 58px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: var(--green-050);
    color: var(--green);
    margin-bottom: 18px;
    transition: background .25s ease, color .25s ease;
}
.card:hover .icon-badge { background: var(--gold); color: var(--green-900); }

/* ----------  BADGES / PILLS  --------------------------------------- */
.pill {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--green-050);
    color: var(--green);
}
.pill-gold { background: var(--gold-050); color: var(--gold-700); }

/* ----------  UTILITIES  -------------------------------------------- */
.text-center { text-align: center; }
.text-gold   { color: var(--gold-700); }
.text-green  { color: var(--green); }
.text-white  { color: #fff; }
.text-muted  { color: var(--muted); }
.mt-0 { margin-top: 0; }   .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .5rem; } .mb-1 { margin-bottom: .5rem; }
.mt-2 { margin-top: 1rem; }  .mb-2 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mb-3 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 2.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 32px 0; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }

/* ----------  ANIMATIONS  ------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.reveal {
    opacity: 0;
    animation: fadeUp .7s ease forwards;
}
.reveal.d1 { animation-delay: .1s; }
.reveal.d2 { animation-delay: .2s; }
.reveal.d3 { animation-delay: .3s; }
.reveal.d4 { animation-delay: .4s; }

/* ----------  RESPONSIVE GRID COLLAPSE  ----------------------------- */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .section { padding: 72px 0; }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .container { padding: 0 18px; }
    .btn { width: 100%; }
    .flex-between { flex-direction: column; gap: 1rem; align-items: stretch; }
}

/* End of golwel.css */
