/* ============================================================
   WARNER & ASSOCIATES PLLC — global.css
   MigsFlow Web Design
   ============================================================ */

/* ============================================================
   FONTS — @font-face declarations
   ============================================================ */

/* Playfair Display */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display-v40-latin-700.woff2') format('woff2');
}

/* Sail */
@font-face {
    font-family: 'Sail';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/sail-v17-latin-regular.woff2') format('woff2');
}

/* Poppins */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/poppins-v24-latin-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2');
}

/* Inter */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-200.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}

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

:root {
    /* Colors */
    --color-dark-green: #1F3D28;
    --color-gold: #B2A376;
    --color-body: #4A4C56;
    --color-bg: #F5F4F1;
    --color-form-bg: #0D1A12;
    --color-form-bg-light: #F8FAFB;
    --color-form-card: #25312A;
    --color-placeholder: #777980;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-border: #E0DFDB;


    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-accent: 'Sail', cursive;
    --font-body: 'Poppins', sans-serif;
    --font-ui: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1200px;
    --container-padding: 0 12px;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Transitions */
    --transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-body);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark-green);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-body);
    line-height: 1.7;
}

/* ============================================================
   CONTAINER
   ============================================================ */

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

/* ============================================================
   SECTION BADGE (the small pill label e.g. "WHO ARE WE")
   ============================================================ */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--color-dark-green);
    border-radius: 999px;
    padding: 5px 14px;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-dark-green);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.section-badge img {
    width: 14px;
    height: 14px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

/* Primary — dark green fill */
.btn-primary {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border-color: var(--color-dark-green);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--color-dark-green);
}

/* Outline — transparent with dark green border */
.btn-outline {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border-color: var(--color-dark-green);
}
.btn-outline:hover {
    background-color: var(--color-dark-green);
    color: var(--color-white);
}
.btn-outline:hover img.btn-arrow {
    filter: brightness(0) invert(1);
}

/* Outline white — for use on dark backgrounds */
.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-dark-green);
}

/* Arrow icon inside button */
.btn img.btn-arrow {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.btn {
    background: white;
}

/* ============================================================
   TOP NAV BAR (email / phone / socials strip)
   ============================================================ */

#top-bar {
    background-color: var(--color-dark-green);
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-white);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 1;
}

.top-bar-contact a:hover {
    opacity: 1;
}

.top-bar-contact a img {
    width: 14px;
    height: 14px;
}

.top-bar-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-socials a img {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.top-bar-socials a:hover img {
    opacity: 1;
}

/* ============================================================
   MAIN NAVIGATION
   ============================================================ */

#main-nav {
    background-color: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 1rem 0rem 1rem 0rem;
}

/* Logo */
.nav-logo {
    flex-shrink: 0;
}

.nav-logo img {
    height: 40px;
    width: auto;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.nav-logo-name {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nav-logo-name strong {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark-green);
    line-height: 1.2;
}

.nav-logo-name span {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--color-body);
    letter-spacing: 0.08em;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-body);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-dark-green);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-dark-green);
}

.nav-mobile-menu a.active {
    color: var(--color-dark-green);
    font-weight: bold;
}

/* Nav CTA button */
.nav-cta {
    flex-shrink: 0;
}

/* Hamburger — mobile only */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark-green);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X when open */
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Menu — animated slide down */
.nav-mobile-menu {
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
    padding: 0 24px;
    border-top: 1px solid var(--color-border);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.3s ease;
}

.nav-mobile-menu.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 16px 24px 24px;
}

.nav-mobile-menu a {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-body);
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-mobile-menu a:last-child {
    border-bottom: none;
}

.nav-mobile-menu a:hover {
    color: var(--color-dark-green);
}

.nav-mobile-menu .btn {
    margin-top: 12px;
    justify-content: center;
}





.btn-quote-2 {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-dark-green);
    border: 2px solid var(--color-dark-green);
    border-radius: 999px;
    padding: 5px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-quote-text-2 {
    background-color: var(--color-white);
    color: var(--color-dark-green);
    border-radius: 999px;
    padding: 13px 26px;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
    transition: var(--transition);
}


.btn-quote-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
}


/* ============================================================
   PAGE HERO BANNER (used on all inner pages — not home)
   ============================================================ */

.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.page-hero picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark green overlay */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(31, 61, 40, 0.82);
    z-index: -1;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 24px;
}

/* Small pill label */
.page-hero-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    padding: 5px 16px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--color-white);
    margin-bottom: 14px;
}

.page-hero h1 {
    color: var(--color-white);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 12px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

.breadcrumb-sep {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ============================================================
   CTA BANNER SECTION (Discuss Your Legal Needs...)
   ============================================================ */

#cta-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 1200px;
    min-width: 300px;
    margin: 2rem auto;
}

#cta-banner picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#cta-banner picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13, 26, 18, 0.95) 0%,
        rgba(13, 26, 18, 0.88) 45%,
        rgba(13, 26, 18, 0.25) 100%
    );
    z-index: -1;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    padding: 60px 48px;
    max-width: 540px;
}

.cta-banner-content h2 {
    color: var(--color-white);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 14px;
}

.cta-banner-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* ============================================================
   FOOTER
   ============================================================ */

#footer {
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark-green);
}

#footer picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#footer picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.footer-inner {
    position: relative;
    z-index: 1;
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* Footer brand col */
.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.footer-logo-circle img {
    width: 40px;
    height: 40px;
}

.footer-brand-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand-name strong {
    font-family: var(--font-ui);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.footer-brand-name span {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-brand p {
    color: rgba(255, 255, 255, .89);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 240px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    /* border: 1px solid rgba(255, 255, 255, 0.25); */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-socials a img {
    width: 30px;
    height: 30px;
}

/* Footer columns */
.footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 1);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-white);
}

/* Footer contact col */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact-item img {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item a,
.footer-contact-item span {
    color: rgba(255, 255, 255, .9);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    line-height: 1.5;
}


.footer-contact-item a {
    text-decoration: underline;
}

.footer-contact-item a:hover {
    color: var(--color-white);
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom p {
    color: white;
    font-family: var(--font-ui);
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--color-white);
}

/* ============================================================
   PAGE BACKGROUND TEXTURE (main-bg.svg)
   ============================================================ */

.has-bg-texture {
    position: relative;
}

.has-bg-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/main-bg.svg');
    background-repeat: repeat;
    background-size: 900px auto;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.has-bg-texture > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-center { text-align: center; }
.text-white { color: var(--color-white) !important; }
.text-green { color: var(--color-dark-green) !important; }
.text-gold { color: var(--color-gold) !important; }

.section-pad { padding: var(--section-padding); }

.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;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .nav-links {
        gap: 20px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */


@media (max-width: 1200px) {

    #cta-banner {
        margin: 1.5rem 25px;
    }

}


@media (max-width: 768px) {
    :root {
        --section-padding: 56px 0;
    }

    /* Top bar — hide on small screens */
    #top-bar {
        display: none;
    }

    /* Nav */
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        margin: 0.75rem;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-contact-item a {
        word-break: break-all;
    }

    #cta-banner {
        margin: 1.5rem 25px;
    }

    .cta-banner-content {
        padding: 40px 24px;
    }

    /* Page hero */
    .page-hero-content {
        padding: 48px 20px;
    }
}

@media (max-width: 480px) {
    .top-bar-contact a:first-child {
        display: none;
    }
}


.btn-quote {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-white);
    border: 2px solid var(--color-dark-green);
    border-radius: 999px;
    padding: 5px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-quote-text {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border-radius: 999px;
    padding: 13px 26px;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
    transition: var(--transition);
}


.btn-quote-2 {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-dark-green);
    border-radius: 999px;
    padding: 5px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-quote-text-2 {
    background-color: var(--color-white);
    color: var(--color-dark-green);
    border-radius: 999px;
    padding: 13px 26px;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
    transition: var(--transition);
}


.btn-quote-arrow, .btn-quote-arrow-2, .btn-hero-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
}

.btn-quote-arrow img, .btn-quote-arrow-2 img, .btn-hero-arrow img {
    height: 15px;
}