/* ==========================================================================
   We The Patriots Shop — style-modern.css
   Replaces css/style-desktop.css. Mobile-first, responsive, no jQuery needed.
   ========================================================================== */

:root {
    --navy:        #0B3364;
    --navy-deep:   #0B2F5B;
    --navy-card:   #0F3F79;
    --red:         #AE2B04;
    --crimson:     #C1121A;
    --claret:      #AA0C23;
    --ink:         #111111;
    --paper:       #ffffff;
    --muted:       #6D6161;
    --footer-bg:   #202020;

    --font-body:    'Roboto', system-ui, sans-serif;
    --font-display: 'Roboto Slab', Georgia, serif;

    --radius: 14px;
    --shadow: 0 10px 30px rgb(0 0 0 / 0.35);
    --container: 960px;
}

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

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--ink);
    background-color: var(--paper);
    line-height: 1.55;
}

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

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

/* ---------- Reveal-on-scroll (replaces WOW.js) ---------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.from-left  { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal.from-left, .reveal.from-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

.button1 {
    display: inline-block;
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--paper);
    background: linear-gradient(180deg, #C43509, var(--red));
    border: 0;
    border-radius: 999px;
    padding: 0.9em 1.8em;
    cursor: pointer;
    box-shadow: 0 6px 18px rgb(0 0 0 / 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.button1:hover  { filter: brightness(1.08); transform: translateY(-2px); }
.button1:active { transform: translateY(0); }
.button1:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #F5B942;
    outline-offset: 2px;
}
.button1:disabled { opacity: 0.6; cursor: wait; transform: none; }

.button-login {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    color: #cfcfcf;
    background: transparent;
    border: 1px solid #4a4a4a;
    border-radius: 6px;
    padding: 0.4em 0.9em;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.button-login:hover { background: #333; color: #fff; }

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

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(rgb(8 20 40 / 0.35), rgb(8 20 40 / 0.55)),
        url('../images/background-top2.jpg') center / cover no-repeat;
}

.hero-logo {
    padding: clamp(16px, 3vw, 32px) clamp(16px, 4vw, 44px) 0;
}
.hero-logo img {
    height: clamp(96px, 14vw, 170px);
    width: auto;
}

.hero-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    width: min(1200px, 94%);
    margin: clamp(8px, 2vw, 24px) auto clamp(32px, 4vw, 48px);
}

/* Stacked headline blocks — the page's signature */
.hero-title { justify-self: center; width: min(420px, 100%); }

.hero-title .line1,
.hero-title .line2,
.hero-title .line3 {
    padding: 0.15em 0.35em;
    line-height: 1.1;
}
.hero-title .line1 {
    background: var(--navy);
    color: var(--paper);
    font-size: clamp(2rem, 6vw, 3.1rem);
    font-weight: 200;
    letter-spacing: 0.02em;
    text-align: center;
}
.hero-title .line2 {
    background: var(--paper);
    color: var(--navy);
    font-size: clamp(2rem, 6vw, 3.1rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-align: center;
}
.hero-title .line3 {
    background: var(--red);
    color: var(--paper);
    font-size: clamp(3.2rem, 11vw, 6.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-align: center;
    line-height: 0.95;
    padding-bottom: 0.2em;
}

.testimonials {
    display: grid;
    gap: 14px;
    align-content: start;
}
.testimonial-div {
    border: 1px dashed var(--crimson);
    border-radius: 10px;
    background-color: rgb(255 255 255 / 0.85);
    backdrop-filter: blur(2px);
    max-width: 460px;
    padding: 18px 20px;
}
.testimonial-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}
.testimonial-name {
    margin: 10px 0 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
}

.hero-band {
    background-color: rgb(0 0 0 / 0.7);
    padding: clamp(20px, 3vw, 32px) 0;
    text-align: center;
}
.hero-band p.lead {
    margin: 0 auto 20px;
    max-width: 62ch;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--paper);
}

/* Two columns from tablet up; headline shown first on phones */
@media (min-width: 860px) {
    .hero-grid { grid-template-columns: 1.2fr 1fr; }
    .hero-title { order: 2; }
    .testimonials { order: 1; }
}

/* ---------- Video section ---------- */

.video-section {
    background:
        url('../images/lincoln.jpg') center / cover no-repeat;
    background-color: var(--paper);
    padding: clamp(40px, 6vw, 72px) 0;
}
@media (min-width: 1024px) {
    .video-section {
        background-image: url('../images/goodbye.png'), url('../images/lincoln.jpg');
        background-repeat: no-repeat, no-repeat;
        background-position: right center, center;
        background-size: auto, cover;
        background-attachment: fixed, scroll;
    }
}
.video-section h2 {
    margin: 0 auto;
    max-width: 30ch;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.4vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.video-frame {
    margin: clamp(28px, 5vw, 56px) auto 0;
    width: min(720px, 100%);
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    border: clamp(6px, 1.2vw, 12px) solid var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: #000;
}
.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ---------- Lead form section ---------- */

.form-section {
    background-color: var(--navy-deep);
    padding-bottom: clamp(48px, 7vw, 90px);
    scroll-margin-top: 20px;
}
.section-divider {
    width: min(900px, 92%);
    height: clamp(48px, 8vw, 100px);
    margin: 0 auto clamp(32px, 5vw, 50px);
    transform: translateY(-40%);
    background: var(--paper);
    border-radius: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
    width: min(920px, 92%);
    margin-inline: auto;
}
@media (min-width: 860px) {
    .form-grid { grid-template-columns: 1.05fr 1fr; }
}

.form-pitch h2 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--paper);
    line-height: 1.15;
}
.form-pitch ol {
    margin: 0;
    padding-left: 1.3em;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 300;
    color: var(--paper);
    line-height: 1.6;
}
.form-pitch li + li { margin-top: 0.6em; }

.form-card {
    background-color: var(--navy-card);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: clamp(20px, 4vw, 30px);
}

.form-error {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgb(193 18 26 / 0.15);
    border: 1px solid var(--crimson);
    color: #FFD9D9;
    font-size: 0.95rem;
    font-weight: 400;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 14px;
}
@media (min-width: 480px) {
    .field-row.two { grid-template-columns: 1fr 1fr; }
}

.fieldname {
    margin: 14px 0 6px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #C9D6E8;
}
.fieldname .req { color: #FF8A80; }

.form-card input[type="text"],
.form-card input[type="tel"],
.form-card input[type="email"],
.form-card input[type="number"],
.form-card select.custom-select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background-color: var(--paper);
    border: 2px solid var(--paper);
    border-radius: 8px;
    padding: 0.65em 0.8em;
    transition: border-color 0.15s ease;
}
.form-card input:focus,
.form-card select.custom-select:focus {
    border-color: #F5B942;
    outline: none;
}

/* Hide number-input spinners (captcha) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }

.captcha-box {
    margin: 14px auto 0;
    width: min(240px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #EEEEEE;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 12px;
}
.captcha-box .question {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--ink);
    white-space: nowrap;
}
.captcha-box input {
    width: 90px;
    font-size: 1.35rem;
    text-align: center;
}

.form-submit { margin: 20px 0 0; text-align: center; }

.form-smallprint {
    margin: 18px 0 0;
    font-size: 0.75rem;
    font-weight: 300;
    color: #A9B8CE;
    text-align: center;
}

/* ---------- Copy blocks ---------- */

.copy-block {
    padding: clamp(44px, 6vw, 70px) 0;
    text-align: center;
}
.copy-block h2 {
    margin: 0 auto;
    max-width: 34ch;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.6vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
}
.copy-block p {
    margin: 22px auto 0;
    max-width: 68ch;
    font-size: clamp(1.05rem, 2.4vw, 1.4rem);
    font-weight: 300;
    line-height: 1.5;
}
.copy-block .cta { margin-top: 36px; }

/* ---------- Category rows ---------- */

.aisle {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    padding: clamp(28px, 4vw, 44px) clamp(16px, 4vw, 44px);
}
.aisle-media img {
    width: min(500px, 100%);
    margin-inline: auto;
    border-radius: 10px;
    box-shadow: 0 0 18px rgb(0 0 0 / 0.45);
}
.aisle-copy { text-align: center; }
.title_aisle {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.6vw, 2.25rem);
    font-weight: 400;
    color: var(--paper);
    line-height: 1.2;
}
.title_second_line {
    margin: 8px 0 0;
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    font-weight: 300;
    color: var(--paper);
}

@media (min-width: 760px) {
    .aisle { grid-template-columns: 1fr 1fr; }
    .aisle.media-right .aisle-media { order: 2; }
    .aisle.media-right .aisle-copy  { order: 1; text-align: right; }
    .aisle.media-left  .aisle-copy  { text-align: left; }
}

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

.site-footer {
    background-color: var(--footer-bg);
    padding: 10px clamp(12px, 3vw, 20px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}
.site-footer p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--muted);
}
.site-footer a { color: inherit; }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
