/* =========================================
   CIRCLE ACCOUNTING
   Main stylesheet
========================================= */


/* ---------- BRAND COLOURS ---------- */

:root {
    --green: #004323;
    --green-dark: #002d18;

    --gold: #ab8d3f;

    --cream: #f6f2e9;
    --off-white: #fbfaf7;

    --text: #173127;
    --muted: #647069;

    --border: #dedbd3;
}


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    

    color: var(--text);
    background: var(--off-white);

    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ---------- LAYOUT ---------- */

.container {
    width: min(1180px, 90%);
    margin-inline: auto;
}


/* ---------- TYPOGRAPHY ---------- */

h1,
h2 {
    font-family: "Cormorant Garamond", serif;

    font-weight: 400;
    line-height: 1.05;
    color: var(--green-dark);
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
}

h2 {
    font-size: clamp(2.3rem, 4vw, 4rem);
}

h3 {
    color: var(--green-dark);
    font-size: 1.1rem;
}

p {
    color: var(--muted);
}

.eyebrow {
    color: var(--gold);

    font-size: 0.8rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.18em;

    margin-bottom: 18px;
}


/* ---------- BUTTONS ---------- */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 25px;

    border-radius: 4px;

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-green {
    background: var(--green);
    color: white;
}

.button-green:hover {
    background: var(--green-dark);
}

.button-gold {
    background: var(--gold);
    color: white;
}

.button-outline {
    border: 1px solid var(--green);
    color: var(--green);
}

.button-outline:hover {
    background: var(--green);
    color: white;
}


/* ---------- HEADER ---------- */

.site-header {
    background: var(--off-white);

    border-bottom: 1px solid rgba(0, 67, 35, 0.08);

    position: sticky;
    top: 0;

    z-index: 1000;
}

.nav-wrapper {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    width: 175px;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 35px;
}

.main-nav a {
    font-size: 0.92rem;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--gold);
}


/* ---------- HERO ---------- */

.hero {
    padding: 40px 0 55px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 55px;
    align-items: center;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-text {
    max-width: 520px;

    font-size: 1.2rem;

    margin-top: 30px;
}

.hero-buttons {
    display: flex;

    gap: 16px;

    margin-top: 35px;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    margin-top: 35px;

    color: var(--green);

    text-transform: uppercase;

    font-size: 0.72rem;

    letter-spacing: 0.15em;
}

.hero-services span:not(:last-child)::after {
    content: "|";

    margin-left: 20px;

    color: var(--gold);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;

    border-radius: 180px 0 0 0;
}


/* ---------- INTRO ---------- */

.intro-section {
    background: var(--cream);

    padding: 90px 0;
}

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.intro-grid p {
    font-size: 1.05rem;
}


/* ---------- SECTION HEADING ---------- */

.section-heading-grid {
    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 70px;

    align-items: end;
}


/* ---------- SERVICES ---------- */

.services-section {
    padding: 110px 0;
}

.services-grid {
    margin-top: 55px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.service-card {
    display: flex;

    gap: 25px;

    padding: 35px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 6px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.04);
}

.service-card p {
    margin-top: 10px;
}

.service-icon,
.feature-icon {
    width: 52px;
    height: 52px;

    min-width: 52px;

    border: 1px solid var(--gold);

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: var(--gold);

    font-size: 0.85rem;
}


/* ---------- WHY ---------- */

.why-section {
    padding: 110px 0;

    background: var(--off-white);
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0;

    margin-top: 65px;
}

.feature {
    padding: 0 30px;
}

.feature:first-child {
    padding-left: 0;
}

.feature:not(:last-child) {
    border-right: 1px solid var(--border);
}

.feature h3 {
    margin-top: 22px;
    margin-bottom: 8px;
}


/* ---------- PROCESS ---------- */

.process-section {
    padding: 110px 0;

    background: #eef1ea;
}

.process-section > .container > h2 {
    margin-bottom: 60px;
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 45px;
}

.process-step {
    display: flex;

    gap: 20px;
}

.process-number {
    width: 55px;
    height: 55px;

    min-width: 55px;

    border: 1px solid var(--green);

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: var(--green);
}

.process-step p {
    margin-top: 8px;
}


/* ---------- ABOUT ---------- */

.about-section {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 90px;
}

.about-content h2 {
    max-width: 600px;
}

.about-content p {
    margin-top: 25px;
    margin-bottom: 30px;

    max-width: 560px;
}

.about-content .button {
    align-self: flex-start;
}


/* ---------- CTA ---------- */

.cta-section {
    background: var(--green);
    padding: 90px 0;
}

.cta-grid {
    display: grid;

    grid-template-columns: 1fr auto;

    gap: 60px;

    align-items: center;
}

.cta-section h2 {
    color: white;

    font-size: clamp(2rem, 3vw, 3.5rem);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);

    max-width: 560px;

    margin-top: 15px;
}


/* ---------- FOOTER ---------- */

.site-footer {
    background: var(--green-dark);

    color: white;

    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.3fr 1fr 1fr 1.4fr;

    gap: 60px;
}

.footer-logo {
    width: 180px;

    filter: brightness(0) invert(1);
}

.site-footer h4 {
    margin-bottom: 15px;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.72);

    font-size: 0.9rem;
}

.site-footer a {
    display: block;

    margin-bottom: 8px;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 55px;

    padding-top: 25px;

    border-top:
        1px solid rgba(255, 255, 255, 0.15);

    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.footer-bottom div {
    display: flex;

    gap: 20px;
}

/* ---------- PRICING ---------- */

.pricing-section {
    padding: 110px 0;
    background: var(--cream);
}

.pricing-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.pricing-heading h2 {
    margin-bottom: 20px;
}

.pricing-intro {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    margin-top: 65px;

    align-items: stretch;
}

.pricing-card {
    position: relative;

    background: var(--off-white);

    border: 1px solid var(--border);
    border-radius: 6px;

    padding: 42px 36px;

    display: flex;
    flex-direction: column;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.07);
}

.pricing-card-featured {
    border: 1px solid var(--gold);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.06);
}

.popular-badge {
    position: absolute;

    top: -14px;
    left: 50%;

    transform: translateX(-50%);

    background: var(--gold);
    color: white;

    padding: 6px 18px;

    border-radius: 20px;

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    white-space: nowrap;
}

.pricing-label {
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    margin-bottom: 10px;
}

.pricing-card h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 2rem;
    font-weight: 500;

    margin-bottom: 14px;
}

.pricing-description {
    min-height: 80px;
}

.price {
    margin: 30px 0;

    padding-bottom: 28px;

    border-bottom: 1px solid var(--border);
}

.price-from {
    display: block;

    font-size: 0.75rem;

    color: var(--muted);

    text-transform: uppercase;

    letter-spacing: 0.12em;
}

.price-value {
    display: inline-block;

    font-family: "Cormorant Garamond", serif;

    font-size: 3rem;

    color: var(--green-dark);

    line-height: 1;
}

.price-period {
    color: var(--muted);

    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;

    margin-bottom: 35px;

    flex-grow: 1;
}

.pricing-features li {
    position: relative;

    padding: 10px 0 10px 27px;

    color: var(--text);

    border-bottom:
        1px solid rgba(0, 67, 35, 0.07);

    font-size: 0.92rem;
}

.pricing-features li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--gold);

    font-weight: 700;
}

.pricing-button {
    width: 100%;
}

.pricing-note {
    text-align: center;

    max-width: 680px;

    margin: 35px auto 0;

    font-size: 0.82rem;
}
/* ---------- CONTACT ---------- */

.contact-section {
    padding: 110px 0;
    background: var(--green);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    align-items: start;
}

.contact-intro h2 {
    color: white;
}

.contact-intro > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);

    margin-top: 25px;

    max-width: 500px;
}

.contact-details {
    margin-top: 40px;
}

.contact-details p {
    color: var(--gold);

    margin-top: 22px;
    margin-bottom: 4px;

    font-size: 0.78rem;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.contact-details a,
.contact-details span {
    color: white;
}


.contact-form {
    background: var(--off-white);

    padding: 45px;

    border-radius: 6px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--green-dark);

    font-size: 0.85rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid var(--border);

    background: white;

    padding: 13px 14px;

    font: inherit;

    color: var(--text);

    border-radius: 3px;

    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
}

.form-consent {
    display: flex;

    gap: 10px;

    align-items: flex-start;

    margin-bottom: 25px;
}

.form-consent input {
    margin-top: 4px;
}

.form-consent label {
    color: var(--muted);

    font-size: 0.82rem;
}

.form-submit {
    border: none;

    cursor: pointer;

    width: 100%;
}

.form-status {
    margin-top: 15px;

    font-size: 0.85rem;

    text-align: center;
}
/* ---------- COMPILATION ---------- */

.compilation-card {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: 1.6fr auto;
    gap: 30px;
    align-items: center;

    padding: 32px 38px;
    margin-top: 5px;

    background: var(--off-white);
    border: 1px solid var(--gold);
    border-radius: 6px;
}

.compilation-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.compilation-card p {
    margin: 0;
}

.compilation-action {
    text-align: right;
}

.compilation-action p {
    color: var(--green);
    font-weight: 600;
    margin-bottom: 14px;
}
/* ---------- MOBILE ---------- */

@media (max-width: 900px) {

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-description {
        min-height: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }

    .site-header .button {
        display: none;
    }

    .hero-grid,
    .intro-grid,
    .section-heading-grid,
    .about-grid,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        aspect-ratio: 16 / 10;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }

    .feature {
        padding: 0;

        border: none !important;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 60px 7%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
    .compilation-card {
        grid-column: auto;
        grid-template-columns: 1fr;
        text-align: left;
    }

    .compilation-action {
        text-align: left;
    }
}


@media (max-width: 550px) {

    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-services {
        gap: 10px;
    }

    .hero-services span:not(:last-child)::after {
        margin-left: 10px;
    }

}
/* ========================================
   CIRCLE ACCOUNTING - MOBILE MENU
======================================== */

/* Hidden on desktop */

.mobile-menu-button,
.mobile-menu {
    display: none;
}


/* Show menu button on mobile/tablet only */

@media (max-width: 900px) {

    .nav-wrapper {
        min-height: 75px;
    }

    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        justify-content: center;

        gap: 6px;

        width: 45px;
        height: 45px;

        margin-left: auto;
        padding: 10px;

        border: none;
        background: transparent;

        cursor: pointer;
    }

    .mobile-menu-button span {
        display: block;

        width: 100%;
        height: 2px;

        background: #004323;
        border-radius: 2px;

        transition: 0.3s ease;
    }

    .mobile-menu {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        padding: 25px 5% 30px;

        background: #fbfaf7;
        border-top: 1px solid #dedbd3;

        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }

    .mobile-menu.active {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu a {
        color: #004323;
        font-size: 1rem;
        font-weight: 500;
    }

    .mobile-contact-button {
        padding: 13px 20px;

        background: #ab8d3f;
        color: white !important;

        border-radius: 4px;
        text-align: center;
    }

    /* Change hamburger into X */

    .mobile-menu-button.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}
/* ---------- COMPACT MOBILE HEADER ---------- */

@media (max-width: 900px) {

    /* Reduce header height */
    .nav-wrapper {
        min-height: 60px;
    }

    /* Make logo slightly smaller */
    .logo {
        width: 125px;
    }

    /* Make hamburger button smaller */
    .mobile-menu-button {
        width: 36px;
        height: 36px;
        padding: 7px;
        gap: 5px;
    }

    /* Slimmer hamburger lines */
    .mobile-menu-button span {
        height: 2px;
    }

    /* Adjust X animation for smaller spacing */
    .mobile-menu-button.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-button.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}
/* ---------- CONTACT FORM FEEDBACK ---------- */

.form-status {
    margin-top: 18px;
    min-height: 22px;

    font-size: 0.9rem;
    font-weight: 500;

    text-align: center;
}

.form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
/* ---------- ABOUT FOUNDER SPACING ---------- */

/* Reduce spacing between paragraphs */
.about-content p {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Consistent spacing between paragraphs */
.about-content p + p {
    margin-top: 14px;
}

/* Founder heading */
.about-content h2 {
    margin-bottom: 8px;
}

/* Founder title */
.about-content h2 + p {
    margin-top: 0;
}

/* Meet the Founder label */
.about-content .eyebrow {
    margin-top: 0;
    margin-bottom: 12px;
}
/* ---------- MORE SERVICES ---------- */

.services-coming-soon {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid rgba(171, 141, 63, 0.35);
    max-width: 650px;
}

.services-coming-soon span {
    display: block;
    margin-bottom: 8px;

    color: #ab8d3f;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.services-coming-soon h3 {
    margin: 0 0 10px;

    color: #004323;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    font-weight: 500;
}

.services-coming-soon p {
    margin: 0;
    line-height: 1.7;
}