/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    line-height: 1.5;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-orange {
    background-color: #ffa10e;
    color: #fff;
    border: 1px solid #ffa10e;
    height: 40px;
    width: 120px;
}

.btn-lg {
    font-size: 18px;
    height: 56px;
    width: 176px;
    padding: 16px 32px;
    white-space: nowrap;
}

.btn-dark {
    background-color: #242424;
    color: #fff;
    height: 56px;
    width: 176px;
    padding: 16px 32px;
    font-size: 18px;
}

/* Top Bar */
.top-bar {
    background-color: #242424;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    align-items: center;
}

.phone-icon-white {
    margin-right: 8px;
}

.toll-free {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    line-height: 24px;
}

.phone-number {
    font-size: 14px;
    color: #fff;
    line-height: 24px;
    margin-left: 8px;
}

/* Header */
.header {
    background-color: #fdf3de;
    padding: 24px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-size: 16px;
    color: #22262d;
    line-height: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown {
    gap: 8px;
}

.dropdown-arrow {
    margin-left: 8px;
}

/* Hero Section */
.hero {
    background-color: #fdf3de;
    position: relative;
    padding-bottom: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg img {
    width: 106%;
    height: 108%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: -3%;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    min-height: 656px;
    /*padding: 48px 0 0 0;*/
}

.hero-text {
    max-width: 534px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    /*margin-top: 70px;*/
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 64px;
    color: #1d1d1d;
}

.hero-text h1 .highlight {
    color: #ffa10e;
}

.hero-description {
    font-size: 16px;
    line-height: 24px;
    color: #1a1a1a;
    margin-top: -8px;
}

.hero-image {
    width: 507px;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Calculator Widget */
.calculator-wrapper {
    position: absolute;
    bottom: -52px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.calculator {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    box-shadow: 0 15px 30px rgba(136, 125, 114, 0.08);
    width: 1050px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid #ebebeb;
    padding-right: 25px;
}

.calc-field:last-of-type {
    border-right: none;
    padding-right: 0;
}

.calc-field label {
    font-size: 16px;
    color: #888;
    line-height: 24px;
}

.calc-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.calc-select span {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #000;
    line-height: 32px;
}

.pages-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 160px;
}

.counter-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-btn:hover svg rect {
    fill: #ffa10e;
}

#pagesInput {
    width: 66px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000;
    border: none;
    outline: none;
    background: #fff;
}

.btn-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: #242424;
    border: 1px solid #242424;
    height: 56px;
    width: 200px;
    padding: 2px 7px;
}

.btn-continue span {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #fff;
    line-height: 24px;
}

.btn-continue strong {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    line-height: 24px;
}

/* How It Works Section */
.how-it-works {
    background: #fff;
    padding: 112px 0 112px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 48px;
    color: #1d1d1d;
    text-align: center;
    margin-bottom: 64px;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.step {
    width: 304px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.step-icon {
    width: 80px;
    height: 80px;
}

.step h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 40px;
    color: #1a1a1a;
    min-height: 85px;
}

.step p {
    font-size: 16px;
    line-height: 24px;
    color: #1a1a1a;
}

.step p strong {
    font-weight: 500;
}

.step-arrow {
    padding: 112px 32px 0;
    min-width: 104px;
}

.arrow-circle {
    background: #242424;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Support Section */
.support-section {
    text-align: center;
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.support-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #1a1a1a;
}

/* CTA Banner */
.cta-banner {
    padding-bottom: 112px;
}

.cta-banner .container {
    max-width: 1120px;
}

.cta-content {
    background: #242424;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.cta-text {
    padding: 44px 0 44px 72px;
    max-width: 574px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 48px;
    color: #fff;
    text-align: left;
    margin-bottom: 0;
}

.cta-text p {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.read-terms {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #ffa10e;
    text-decoration: underline;
    text-transform: capitalize;
}

.cta-image {
    width: 449px;
    min-height: 416px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.cta-image img {
    position: absolute;
    height: 100%;
    width: auto;
    min-width: 283.46%;
    left: -193.45%;
    top: 0;
    bottom: 0;
    max-width: none;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #f8f8f8;
    padding-top: 80px;
}

.footer .container {
    padding: 0 16px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    min-height: 288px;
}

.footer-col {
    flex: 1;
}

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

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

.footer-tagline {
    font-size: 16px;
    line-height: 24px;
    color: #888;
    margin-top: 15px;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.visa-icon {
    height: 25px;
    width: auto;
}

.mastercard-icon {
    height: 40px;
    width: auto;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col ul li a {
    font-size: 16px;
    line-height: 24px;
    color: #22262d;
}

.footer-col ul li a:hover {
    color: #ffa10e;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.contact-item span {
    font-size: 16px;
    line-height: 24px;
    color: #22262d;
}

.contact-item:last-child span {
    font-size: 14px;
}

/* Footer Services */
.footer-services {
    padding-bottom: 64px;
}

.footer-services h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 0;
}

.services-grid a {
    font-size: 16px;
    line-height: 24px;
    color: #22262d;
}

.services-grid a:hover {
    color: #ffa10e;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #ebebeb;
    padding: 25px 0 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13.2px;
    line-height: 24px;
    color: #1a1a1a;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .calculator {
        width: 100%;
        max-width: 1050px;
    }

    .hero-content {
        padding: 80px 0;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text {
        align-items: center;
    }

    .hero-image {
        width: 100%;
        max-width: 400px;
    }

    .calculator {
        flex-wrap: wrap;
        gap: 24px;
        width: 100%;
    }

    .calc-field {
        border-right: none;
        padding-right: 0;
    }

    .steps {
        flex-wrap: wrap;
        gap: 48px;
        justify-content: center;
    }

    .step-arrow {
        display: none;
    }

    .cta-content {
        flex-direction: column;
    }

    .cta-text {
        padding: 44px;
        max-width: 100%;
    }

    .cta-image {
        width: 100%;
        height: 300px;
    }

    .cta-image img {
        width: 100%;
        margin-left: 0;
    }

    .footer-main {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer-col {
        min-width: 200px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles - 787px breakpoint */
@media (max-width: 787px) {
    /* Burger Menu */
    .burger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 16px;
        width: 200px;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        z-index: 999;
        padding: 8px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-item {
        font-size: 16px;
        font-weight: 400;
        padding: 12px 20px;
        width: 100%;
    }

    .nav-menu .nav-item:hover {
        background-color: #f5f5f5;
    }

    .nav-menu .dropdown {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav .btn-orange {
        display: none;
    }

    .header .nav {
        position: relative;
    }

    /* Header */
    .header {
        background-color: #fff5e7;
    }

    .nav {
        justify-content: space-between;
    }

    /* Hero Section */
    .hero {
        background-color: #fff5e7;
        padding-bottom: 0;
    }

    .hero-bg {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 0 0;
        min-height: auto;
    }

    .hero-text {
        max-width: 343px;
        align-items: center;
        gap: 24px;
        margin-top: 0;
    }

    .hero-text h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-description {
        text-align: center;
    }

    .hero-image {
        width: 343px;
        order: 1;
        margin-top: 32px;
        margin-bottom: 0;
    }

    /* Calculator */
    .calculator-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        padding: 0 16px 48px;
        background-color: #fff5e7;
        margin-top: -8px;
    }

    .calculator {
        flex-direction: column;
        width: 100%;
        max-width: 343px;
        margin: 0 auto;
        padding: 24px 0;
        box-shadow: none;
        gap: 16px;
    }

    .calc-field {
        width: 100%;
        max-width: 292px;
        margin: 0 auto;
        border-right: none;
        border-bottom: 1px solid #ebebeb;
        padding-right: 0;
        padding-bottom: 17px;
    }

    .calc-field:last-of-type {
        border-bottom: none;
        padding-bottom: 16px;
    }

    .calc-select {
        width: 100%;
    }

    .pages-counter {
        width: 100%;
    }

    .btn-continue {
        width: 200px;
        margin: 0 auto;
    }

    /* How It Works Section */
    .how-it-works {
        padding: 48px 0;
    }

    .section-title {
        font-size: 24px;
        line-height: 48px;
        margin-bottom: 32px;
    }

    .steps {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .step {
        width: 100%;
        max-width: 343px;
        gap: 24px;
    }

    .step h3 {
        font-size: 18px;
        font-weight: 800;
        line-height: 40px;
        min-height: auto;
    }

    .step h3 br {
        display: none;
    }

    .step-arrow {
        padding: 0;
        min-width: auto;
        min-height: auto;
    }

    .arrow-circle {
        transform: rotate(90deg);
    }

    /* Support Section */
    .support-section {
        margin-top: 44px;
    }

    .support-text {
        max-width: 340px;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 48px 16px;
    }

    .cta-banner .container {
        max-width: 100%;
        padding: 0;
    }

    .cta-content {
        flex-direction: column;
        width: 100%;
        max-width: 343px;
        margin: 0 auto;
    }

    .cta-text {
        padding: 24px 24px 32px;
        max-width: 100%;
        gap: 16px;
    }

    .cta-text h2 {
        font-size: 24px;
        line-height: 1.5;
    }

    .read-terms {
        font-size: 16.321px;
    }

    .cta-image {
        width: 100%;
        height: 288px;
        min-height: auto;
    }

    .cta-image img {
        left: -166.45%;
        width: 283.46%;
    }

    /* Footer */
    .footer {
        padding-top: 48px;
    }

    .footer .container {
        padding: 0 24px;
    }

    .footer-main {
        flex-direction: column;
        gap: 0;
        min-height: auto;
    }

    .footer-col {
        min-width: 100%;
        padding-bottom: 16px;
    }

    .footer-col:first-child {
        padding-bottom: 32px;
    }

    .footer-col h4 {
        display: flex;
        align-items: center;
        gap: 18px;
        cursor: pointer;
    }

    .footer-col h4::after {
        content: '';
        width: 14px;
        height: 8px;
        background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .footer-brand h4::after {
        display: none;
    }

    .footer-col ul,
    .contact-item:not(:first-child) {
        display: none;
    }

    .footer-col.footer-brand ul,
    .footer-brand .contact-item {
        display: flex;
    }

    /* Footer Services */
    .footer-services {
        padding-bottom: 32px;
    }

    .footer-services h4 {
        display: flex;
        align-items: center;
        gap: 18px;
        cursor: pointer;
    }

    .footer-services h4::after {
        content: '';
        width: 14px;
        height: 8px;
        background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

    .services-grid {
        display: none;
    }

    /* Footer Bottom */
    .footer-bottom {
        padding: 41px 0 24px;
    }

    .footer-bottom p {
        line-height: 24px;
    }
}

/* Hide burger menu on desktop */
@media (min-width: 788px) {
    .burger-menu {
        display: none;
    }
}
