/* Forms */

.amcos-forms-page,
.amcos-forms-page *{
    box-sizing:border-box;
}

.amcos-forms-page{
    --green:#075b27;
    --deep:#163a25;
    --dark:#043c1a;
    --gold:#d9a900;
    --yellow:#efd05b;
    --cream:#f7f5ed;

    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    overflow:hidden;
    color:var(--deep);
    font-family:Montserrat,Arial,sans-serif;
}

.amcos-forms-page a{
    text-decoration:none;
}

.forms-shell{
    width:min(1380px,calc(100% - 80px));
    margin:0 auto;
}


/* Hero */

.forms-hero{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 88% 40%,rgba(217,169,0,.11),transparent 30%),
        radial-gradient(circle at 73% 82%,rgba(7,91,39,.08),transparent 27%),
        linear-gradient(110deg,#faf8f1 0%,#fff 53%,#f7f8f2 100%);
}

.forms-hero-grid{
    min-height:720px;
    display:grid;
    grid-template-columns:minmax(0,.98fr) minmax(500px,.92fr);
    align-items:center;
    gap:70px;
    padding:72px 0;
}

.forms-hero-copy{
    position:relative;
    z-index:3;
}

.forms-eyebrow{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:30px;
    color:#997500;
    font-size:11px;
    font-weight:800;
    letter-spacing:2.5px;
}

.forms-eyebrow span{
    width:42px;
    height:3px;
    background:var(--gold);
}

.forms-hero h1{
    max-width:650px;
    margin:0;
    color:var(--deep);
    font-family:"Playfair Display",Georgia,serif;
    font-size:72px;
    line-height:1.04;
    letter-spacing:-2px;
    font-weight:400;
}

.forms-hero h1 span{
    display:block;
    color:var(--green);
}

.forms-hero-copy > p{
    max-width:640px;
    margin:28px 0 0;
    color:#6c746f;
    font-size:16px;
    line-height:1.85;
}


/* Buttons */

.forms-actions{
    display:flex;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:30px;
    margin-top:34px;
}

.forms-primary-btn{
    min-height:72px;
    padding:0 25px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:45px;
    background:var(--green);
    color:#fff !important;
    box-shadow:0 14px 30px rgba(7,91,39,.12);
    transition:.25s ease;
}

.forms-primary-btn:hover{
    background:var(--dark);
    color:#fff !important;
    transform:translateY(-2px);
}

.forms-btn-arrow{
    color:var(--yellow);
    font-size:19px;
}

.forms-primary-btn span:first-child{
    font-size:12px;
    font-weight:700;
}

.forms-other{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.forms-other-label{
    color:#997500;
    font-size:8px;
    font-weight:800;
    letter-spacing:2px;
}

.forms-links{
    display:flex;
    gap:10px;
}

.forms-link{
    min-height:66px;
    min-width:175px;
    padding:10px 14px;
    display:flex;
    align-items:center;
    gap:11px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(22,58,37,.11);
    color:var(--deep) !important;
    transition:.25s ease;
}

.forms-link:last-child{
    min-width:235px;
}

.forms-link:hover{
    background:#fff;
    border-color:rgba(217,169,0,.42);
    transform:translateY(-2px);
    box-shadow:0 12px 26px rgba(22,58,37,.08);
}

.forms-link-icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f1f1e9;
    color:var(--green);
}

.forms-link-icon svg{
    display:block;
    width:17px !important;
    height:17px !important;
}

.forms-link-copy{
    display:flex;
    flex-direction:column;
}

.forms-link-copy small{
    margin-bottom:3px;
    color:#9b7900;
    font-size:7px;
    font-weight:800;
    letter-spacing:1.2px;
}

.forms-link-copy strong{
    color:var(--deep);
    font-size:10px;
    line-height:1.25;
}

.forms-link-arrow{
    margin-left:auto;
    color:var(--gold);
}


/* Hero Art */

.forms-visual{
    position:relative;
    height:540px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.forms-ring{
    position:absolute;
    border-radius:50%;
    border:1px solid rgba(7,91,39,.12);
}

.forms-ring-one{
    width:470px;
    height:470px;
    right:-20px;
}

.forms-ring-two{
    width:350px;
    height:350px;
    right:40px;
    border-color:rgba(217,169,0,.14);
}

.form-card{
    position:relative;
    z-index:3;
    width:390px;
    height:465px;
    padding:42px 42px 35px;
    background:#fff;
    box-shadow:0 28px 60px rgba(22,58,37,.13);
    animation:formFloat 5.5s ease-in-out infinite;
}

.form-card-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:35px;
}

.form-card-top span{
    color:#8a938d;
    font-size:7px;
    font-weight:800;
    letter-spacing:2px;
}

.form-logo{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--green);
    color:var(--yellow);
    font-family:"Playfair Display",Georgia,serif;
    font-size:16px;
    font-weight:700;
}

.form-title-line{
    width:58%;
    height:9px;
    margin-bottom:27px;
    background:var(--deep);
}

.form-field{
    margin-bottom:22px;
}

.form-field small{
    display:block;
    margin-bottom:8px;
    color:#9a9f9b;
    font-size:6px;
    font-weight:800;
    letter-spacing:1.3px;
}

.form-field span{
    display:block;
    width:100%;
    height:11px;
    border-bottom:1px solid #d9ddd9;
}

.form-checks{
    display:flex;
    gap:18px;
    margin-top:29px;
}

.form-check{
    display:flex;
    align-items:center;
    gap:7px;
    color:#7c847e;
    font-size:7px;
    font-weight:700;
}

.form-check i{
    width:15px;
    height:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #cfd4cf;
}

.form-check.active i{
    border-color:var(--green);
    background:var(--green);
}

.form-check.active i::after{
    content:"✓";
    color:#fff;
    font-size:9px;
}

.form-signature{
    position:absolute;
    left:42px;
    bottom:38px;
    width:110px;
}

.form-signature small{
    display:block;
    margin-bottom:8px;
    color:#9a9f9b;
    font-size:6px;
    font-weight:800;
    letter-spacing:1px;
}

.form-signature span{
    display:block;
    height:1px;
    background:#ccd1cc;
}

.form-pen{
    position:absolute;
    z-index:5;
    right:40px;
    bottom:52px;
    width:145px;
    height:16px;
    border-radius:10px;
    background:linear-gradient(90deg,var(--green) 0 82%,var(--gold) 82%);
    transform:rotate(-36deg);
    box-shadow:0 9px 18px rgba(22,58,37,.13);
    animation:penMove 4s ease-in-out infinite;
}

.form-pen::before{
    content:"";
    position:absolute;
    left:-15px;
    top:3px;
    border-top:5px solid transparent;
    border-bottom:5px solid transparent;
    border-right:16px solid #b8a474;
}

.form-badge{
    position:absolute;
    z-index:6;
    right:-20px;
    top:85px;
    width:120px;
    min-height:52px;
    padding:0 14px;
    display:flex;
    align-items:center;
    gap:9px;
    background:#fff;
    box-shadow:0 12px 28px rgba(22,58,37,.09);
    color:#59675e;
    font-size:8px;
    font-weight:700;
    animation:badgeFloat 4.5s ease-in-out infinite;
}

.form-badge i{
    width:10px;
    height:10px;
    border-radius:50%;
    background:var(--gold);
}


/* Library */

.forms-library{
    padding:105px 0;
    background:#fff;
}

.forms-heading{
    display:grid;
    grid-template-columns:1fr 430px;
    gap:70px;
    align-items:end;
    margin-bottom:55px;
}

.forms-section-label{
    display:flex;
    align-items:center;
    gap:13px;
    margin-bottom:22px;
    color:#997500;
    font-size:9px;
    font-weight:800;
    letter-spacing:2px;
}

.forms-section-label::before{
    content:"";
    width:40px;
    height:3px;
    background:var(--gold);
}

.forms-heading h2{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:56px;
    line-height:1.06;
    font-weight:400;
}

.forms-heading h2 span{
    display:block;
    color:var(--green);
}

.forms-heading > p{
    margin:0;
    color:#717973;
    font-size:14px;
    line-height:1.8;
}


/* Empty */

.forms-empty{
    min-height:430px;
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    border:1px solid rgba(22,58,37,.12);
}

.forms-empty-art{
    position:relative;
    min-height:430px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:
        radial-gradient(circle,rgba(7,91,39,.08),transparent 42%),
        #f7f7f2;
}

.empty-form-sheet{
    position:relative;
    z-index:2;
    width:180px;
    height:235px;
    padding:30px 25px;
    background:#fff;
    box-shadow:0 15px 35px rgba(22,58,37,.10);
    animation:emptyForm 4.8s ease-in-out infinite;
}

.empty-form-sheet strong{
    display:block;
    width:65%;
    height:9px;
    margin-bottom:30px;
    background:var(--green);
}

.empty-form-sheet span{
    display:block;
    height:1px;
    margin-top:23px;
    background:#d7dbd7;
}

.empty-form-mark{
    position:absolute;
    z-index:4;
    right:calc(50% - 125px);
    bottom:82px;
    width:70px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--yellow);
    color:var(--green);
    font-size:27px;
    font-weight:800;
    box-shadow:0 12px 25px rgba(217,169,0,.16);
}

.forms-empty-copy{
    padding:65px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.forms-status{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:22px;
    color:#997500;
    font-size:8px;
    font-weight:800;
    letter-spacing:1.8px;
}

.forms-status i{
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--gold);
}

.forms-empty-copy h3{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:48px;
    line-height:1.08;
    font-weight:400;
}

.forms-empty-copy h3 span{
    display:block;
    color:var(--green);
}

.forms-empty-copy p{
    max-width:600px;
    margin:23px 0 0;
    color:#717973;
    font-size:14px;
    line-height:1.8;
}


/* CTA */

.forms-final{
    background:var(--yellow);
}

.forms-final-inner{
    min-height:255px;
    padding:55px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.forms-final-copy small{
    display:block;
    margin-bottom:16px;
    color:#75600b;
    font-size:8px;
    font-weight:800;
    letter-spacing:2px;
}

.forms-final-copy h2{
    margin:0;
    font-family:"Playfair Display",Georgia,serif;
    font-size:44px;
    font-weight:400;
}

.forms-final-copy p{
    max-width:750px;
    margin:13px 0 0;
    color:#5e5d45;
    font-size:13px;
    line-height:1.7;
}

.forms-final-btn{
    width:215px;
    min-height:76px;
    flex:0 0 215px;
    padding:0 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:var(--green);
    color:#fff !important;
    transition:.25s ease;
}

.forms-final-btn:hover{
    background:var(--dark);
    transform:translateY(-2px);
}

.forms-final-btn span{
    font-size:11px;
    font-weight:700;
}

.forms-final-btn strong{
    color:var(--yellow);
    font-size:20px;
}


/* Motion */

@keyframes formFloat{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-8px)}
}

@keyframes penMove{
    0%,100%{transform:rotate(-36deg) translate(0,0)}
    50%{transform:rotate(-36deg) translate(8px,-5px)}
}

@keyframes badgeFloat{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-8px)}
}

@keyframes emptyForm{
    0%,100%{transform:translateY(0) rotate(-2deg)}
    50%{transform:translateY(-9px) rotate(1deg)}
}


/* Tablet */

@media(max-width:1050px){

    .forms-shell{
        width:calc(100% - 50px);
    }

    .forms-hero-grid{
        grid-template-columns:1fr;
    }

    .forms-visual{
        max-width:650px;
        width:100%;
        margin:0 auto;
    }

    .forms-heading{
        grid-template-columns:1fr;
        gap:22px;
    }

    .forms-empty{
        grid-template-columns:1fr;
    }
}


/* Mobile */

@media(max-width:720px){

    .forms-shell{
        width:calc(100% - 34px);
    }

    .forms-hero-grid{
        padding:50px 0 55px;
        gap:30px;
    }

    .forms-hero h1{
        font-size:46px;
        letter-spacing:-1px;
    }

    .forms-hero-copy > p{
        font-size:14px;
    }

    .forms-actions{
        flex-direction:column;
        align-items:stretch;
        gap:24px;
    }

    .forms-primary-btn{
        width:100%;
        min-height:62px;
    }

    .forms-links{
        flex-direction:column;
    }

    .forms-link,
    .forms-link:last-child{
        width:100%;
        min-width:0;
    }

    .forms-visual{
        height:440px;
    }

    .form-card{
        width:300px;
        height:390px;
        padding:30px;
    }

    .form-badge{
        right:-8px;
    }

    .forms-ring-one{
        width:350px;
        height:350px;
        right:-110px;
    }

    .forms-ring-two{
        width:270px;
        height:270px;
        right:-65px;
    }

    .forms-library{
        padding:70px 0;
    }

    .forms-heading h2{
        font-size:40px;
    }

    .forms-empty-art{
        min-height:340px;
    }

    .forms-empty-copy{
        padding:40px 25px;
    }

    .forms-empty-copy h3{
        font-size:38px;
    }

    .forms-final-inner{
        min-height:auto;
        padding:45px 0;
        flex-direction:column;
        align-items:flex-start;
        gap:30px;
    }

    .forms-final-copy h2{
        font-size:38px;
    }

    .forms-final-btn{
        width:100%;
        min-height:68px;
        flex-basis:auto;
    }
}


/* Reduced Motion */

@media(prefers-reduced-motion:reduce){

    .amcos-forms-page *,
    .amcos-forms-page *::before,
    .amcos-forms-page *::after{
        animation:none !important;
        transition:none !important;
    }
}