/* Flip The Script Consulting — site clone styles */

:root {
    --fts-bg: #161616;
    --fts-gold: #cf8f17;
    --fts-gold-hover: #fdb01f;
    --fts-gold-active: #fed3a8;
    --fts-text: #f7f7f7;
    --fts-text-muted: #a4a4a4;
    --fts-text-dark: #0f0e0e;
    --fts-font-body: 'Montserrat', arial, sans-serif;
    --fts-font-logo: 'Archivo Black', arial, sans-serif;
    --fts-font-heading: 'Libre Baskerville', Georgia, serif;
    --fts-container-sm: 100%;
    --fts-container-md: 984px;
    --fts-container-lg: 1160px;
    --fts-container-xl: 1280px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body.fts-body {
    margin: 0;
    font-family: var(--fts-font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--fts-text);
    background-color: var(--fts-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul {
    margin: 0;
    padding-left: 1.3em;
}

.fts-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.fts-main {
    flex: 1;
}

.fts-container {
    width: 100%;
    max-width: var(--fts-container-sm);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 1024px) {
    .fts-container {
        max-width: var(--fts-container-md);
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 1280px) {
    .fts-container {
        max-width: var(--fts-container-lg);
    }
}

@media (min-width: 1536px) {
    .fts-container {
        max-width: var(--fts-container-xl);
    }
}

/* Header & navigation */
.fts-header {
    background-color: var(--fts-bg);
}

.fts-nav {
    padding: 24px;
    position: relative;
    z-index: 100;
}

.fts-nav__inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    max-width: var(--fts-container-xl);
    margin: 0 auto;
}

.fts-nav__toggle {
    display: flex;
    background: none;
    border: none;
    color: var(--fts-text);
    cursor: pointer;
    padding: 6px;
    width: 15%;
}

.fts-logo {
    color: var(--fts-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.fts-logo__text {
    font-family: var(--fts-font-heading);
    font-size: 22px;
    font-weight: 400;
    display: inline-block;
    max-width: 100%;
}

.fts-logo--mobile {
    width: 70%;
    text-align: center;
    justify-content: center;
}

.fts-logo--center {
    display: none;
}

.fts-nav__links {
    display: none;
}

.fts-nav__link {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: inherit;
    color: var(--fts-text);
    padding: 6px 8px;
    font-weight: 400;
    white-space: nowrap;
}

.fts-nav__link:hover,
.fts-nav__link.is-active {
    color: var(--fts-gold);
}

.fts-nav__link.is-active {
    font-weight: 700;
    border-bottom: 1px solid var(--fts-gold);
    padding-bottom: 2px;
    margin-bottom: -3px;
}

@media (min-width: 1024px) {
    .fts-nav {
        padding: 16px 0;
    }

    .fts-nav__toggle,
    .fts-logo--mobile {
        display: none;
    }

    .fts-logo--center {
        display: block;
        flex: 1;
        text-align: center;
    }

    .fts-nav__inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .fts-nav__links {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .fts-nav__links--left {
        justify-content: flex-start;
    }

    .fts-nav__links--right {
        justify-content: flex-end;
    }

    .fts-nav__link {
        padding-left: 32px;
    }

    .fts-nav__links .fts-nav__link:first-child {
        padding-left: 0;
    }
}

/* Mobile drawer */
.fts-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 85vw;
    max-width: 400px;
    height: 100%;
    background: var(--fts-bg);
    z-index: 10002;
    padding: 56px 24px 24px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.fts-drawer.is-open {
    transform: translateX(0);
}

.fts-drawer__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

.fts-drawer__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--fts-text);
    cursor: pointer;
    padding: 6px;
}

.fts-drawer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fts-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    min-width: 200px;
    padding: 16px 24px;
    color: var(--fts-text-muted);
    font-size: 22px;
    border-bottom: 1px solid rgba(76, 76, 76, 0.5);
}

.fts-drawer__link:hover,
.fts-drawer__link.is-active {
    color: var(--fts-gold);
}

body.fts-nav-open {
    overflow: hidden;
}

/* Hero */
.fts-hero {
    min-height: 500px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 24px 72px;
}

@media (min-width: 1024px) {
    .fts-hero {
        min-height: 75vh;
    }
}

.fts-hero__title {
    font-family: var(--fts-font-logo);
    font-size: 35px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 16px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.12);
}

.fts-hero__subtitle {
    font-size: 22px;
    color: #fff;
    margin: 0 0 24px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .fts-hero__title {
        font-size: 42px;
    }
}

@media (min-width: 1280px) {
    .fts-hero__title {
        font-size: 54px;
    }
}

@media (min-width: 1536px) {
    .fts-hero__title {
        font-size: 56px;
    }
}

/* Buttons */
.fts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 8px 32px;
    font-family: var(--fts-font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.fts-btn--primary {
    background-color: var(--fts-gold);
    color: #000;
}

.fts-btn--primary:hover {
    background-color: var(--fts-gold-hover);
}

/* Sections */
.fts-section {
    padding: 40px 0;
    background-color: var(--fts-bg);
}

@media (min-width: 1024px) {
    .fts-section {
        padding: 56px 0;
    }
}

.fts-section__title {
    font-family: var(--fts-font-logo);
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 40px;
    line-height: 1.4;
}

.fts-section__title--gold {
    color: var(--fts-gold);
}

@media (min-width: 768px) {
    .fts-section__title {
        font-size: 33px;
    }
}

/* Split layout (10 years section) */
.fts-split {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .fts-split {
        flex-direction: row;
        margin: 0 -24px;
    }

    .fts-split__media,
    .fts-split__content {
        flex: 1;
        padding: 0 24px 48px;
    }
}

.fts-split__image {
    width: 100%;
    display: block;
}

.fts-split__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.fts-split__title {
    font-family: var(--fts-font-logo);
    font-size: 28px;
    text-transform: uppercase;
    color: var(--fts-text);
    margin: 0 0 24px;
    text-align: center;
    line-height: 1.25;
}

@media (min-width: 1024px) {
    .fts-split__title {
        text-align: left;
        font-size: 33px;
    }
}

.fts-split__text {
    color: var(--fts-text-muted);
    font-size: 22px;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

@media (min-width: 1024px) {
    .fts-split__text {
        text-align: left;
    }
}

/* Content cards */
.fts-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .fts-cards {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 -12px;
    }

    .fts-card {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 12px 24px;
    }
}

@media (min-width: 1024px) {
    .fts-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

.fts-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fts-card__image-wrap {
    margin-bottom: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.fts-card__image {
    width: 365px;
    max-width: 100%;
    height: 365px;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 767px) {
    .fts-card__image {
        width: calc(100vw - 48px);
        height: calc(100vw - 48px);
        max-width: 365px;
        max-height: 365px;
    }
}

.fts-card__heading {
    font-size: 22px;
    font-weight: 400;
    color: var(--fts-text);
    margin: 0 0 16px;
    line-height: 1.25;
}

.fts-card__body {
    color: var(--fts-text-muted);
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
}

.fts-card__body ul {
    text-align: left;
    display: inline-block;
}

/* Page title (Services, etc.) */
.fts-page-title {
    font-family: var(--fts-font-logo);
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--fts-gold);
    text-align: center;
    margin: 0 0 40px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .fts-page-title {
        font-size: 33px;
    }
}

/* Reviews banner */
.fts-reviews {
    position: relative;
    min-height: 500px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)),
        url('/images/reviews-bg.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.fts-reviews__title {
    font-family: var(--fts-font-logo);
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .fts-reviews__title {
        font-size: 33px;
    }
}

/* Contact page */
.fts-contact-grid {
    display: grid;
    gap: 48px;
}

@media (min-width: 768px) {
    .fts-contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.fts-subscribe {
    text-align: center;
    padding: 40px 0;
}

.fts-subscribe__title {
    font-family: var(--fts-font-logo);
    font-size: 28px;
    text-transform: uppercase;
    color: var(--fts-gold);
    margin: 0 0 24px;
}

.fts-form {
    max-width: 480px;
    margin: 0 auto;
}

.fts-form--wide {
    max-width: none;
}

.fts-form__group {
    margin-bottom: 16px;
    text-align: left;
}

.fts-form__label {
    display: block;
    font-size: 14px;
    color: var(--fts-text-muted);
    margin-bottom: 6px;
}

.fts-form__input,
.fts-form__textarea {
    width: 100%;
    padding: 12px;
    font-family: var(--fts-font-body);
    font-size: 16px;
    border: 1px solid rgba(76, 76, 76, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: var(--fts-text);
    border-radius: 0;
}

.fts-form__input:focus,
.fts-form__textarea:focus {
    outline: 2px solid var(--fts-gold);
    outline-offset: 0;
}

.fts-form__textarea {
    min-height: 120px;
    resize: vertical;
}

.fts-form__note {
    font-size: 12px;
    color: var(--fts-text-muted);
    margin-top: 16px;
    line-height: 1.5;
}

.fts-form__note a {
    color: var(--fts-gold);
    text-decoration: underline;
}

.fts-form__note a:hover {
    color: var(--fts-gold-hover);
}

.fts-contact-info__title {
    font-size: 22px;
    color: var(--fts-text);
    margin: 0 0 16px;
}

.fts-contact-info__text {
    color: var(--fts-text-muted);
    margin: 0 0 24px;
    line-height: 1.5;
}

.fts-contact-info__brand {
    font-family: var(--fts-font-logo);
    font-size: 22px;
    color: var(--fts-gold);
    margin: 0;
}

.fts-alert {
    padding: 12px 16px;
    margin-bottom: 24px;
    background: rgba(207, 143, 23, 0.2);
    border: 1px solid var(--fts-gold);
    color: var(--fts-text);
}

.fts-alert--error {
    background: rgba(180, 40, 40, 0.2);
    border-color: #c44;
}

/* Footer */
.fts-footer {
    background-color: var(--fts-bg);
    padding: 56px 0;
}

.fts-footer__inner {
    text-align: center;
}

.fts-footer__copy {
    margin: 0;
    font-size: 14px;
    color: #a9a9a9;
}

/* Cookie banner */
.fts-cookie {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: 24px;
    max-width: 400px;
    margin-left: auto;
    z-index: 9999;
    background: var(--fts-gold);
    color: var(--fts-text-dark);
    padding: 16px;
    border-radius: 7px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: bottom 1s ease-in;
}

.fts-cookie.is-hidden {
    bottom: -500px;
}

.fts-cookie__title {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 8px;
    line-height: 1.25;
}

.fts-cookie__text {
    font-size: 16px;
    margin: 0 0 16px;
    line-height: 1.5;
    max-height: 200px;
    overflow-y: auto;
}

.fts-cookie__accept {
    min-height: 40px;
    padding: 4px 16px;
    font-size: 12px;
    background: var(--fts-bg);
    color: #dbdbdb;
}

.fts-cookie__accept:hover {
    background: #000;
}

@media (min-width: 768px) {
    .fts-cookie {
        max-height: 500px;
    }

    .fts-cookie__text {
        max-height: 300px;
    }
}

/* Compact header spacer */
.fts-header--compact + .fts-main .fts-section:first-child {
    padding-top: 24px;
}
