:root{
    --ey-blue:#0b2f5b;
    --ey-dark:#071b33;
    --ey-orange:#f58220;
    --ey-soft:#f5f8fc;
    --ey-border:#e2eaf3;
    --ey-text:#26384d;
    --ey-muted:#6b7c90;
    --ey-white:#ffffff;
    --ey-green:#16733a;
    --ey-red:#a51f1f;
    --ey-yellow:#a75a00;
    --ey-radius:22px;
    --ey-shadow:0 18px 45px rgba(7,27,51,.10);
}

*{
    box-sizing:border-box;
}

.ey-page{
    font-family:inherit;
    color:var(--ey-text);
    background:#fff;
}

.ey-container{
    width:min(1180px, calc(100% - 32px));
    margin:0 auto;
}

.ey-hero{
    padding:70px 0 55px;
    background:
        radial-gradient(circle at top left, rgba(245,130,32,.16), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    overflow:hidden;
}

.ey-hero-grid{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:45px;
    align-items:center;
}

.ey-badge,
.ey-section-tag{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(245,130,32,.12);
    color:#b95708;
    font-weight:800;
    font-size:14px;
    margin-bottom:16px;
}

.ey-hero h1{
    font-size:clamp(34px, 5vw, 58px);
    line-height:1.05;
    color:var(--ey-dark);
    margin:0 0 20px;
    letter-spacing:-1.4px;
}

.ey-hero p{
    font-size:18px;
    line-height:1.75;
    color:var(--ey-muted);
    margin:0 0 28px;
}

.ey-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:26px;
}

.ey-btn,
.ey-submit,
.ey-pdf-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:13px 22px;
    border-radius:14px;
    border:0;
    font-weight:900;
    text-decoration:none;
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.ey-btn:hover,
.ey-submit:hover,
.ey-pdf-btn:hover{
    transform:translateY(-2px);
}

.ey-btn-primary,
.ey-submit{
    background:linear-gradient(135deg, var(--ey-orange), #ff9b3d);
    color:#fff;
    box-shadow:0 12px 26px rgba(245,130,32,.28);
}

.ey-btn-light{
    background:#fff;
    color:var(--ey-blue);
    border:1px solid var(--ey-border);
}

.ey-pdf-btn{
    width:100%;
    margin-top:10px;
    background:linear-gradient(135deg, var(--ey-blue), #174a86);
    color:#fff;
    box-shadow:0 12px 26px rgba(11,47,91,.20);
}

.ey-pdf-btn:disabled{
    opacity:.45;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;
}

.ey-mini-stats{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
}

.ey-mini-stats div{
    background:rgba(255,255,255,.78);
    border:1px solid rgba(226,234,243,.9);
    border-radius:16px;
    padding:15px;
    box-shadow:0 8px 24px rgba(7,27,51,.06);
}

.ey-mini-stats strong{
    display:block;
    color:var(--ey-blue);
    font-size:21px;
    margin-bottom:4px;
}

.ey-mini-stats span{
    display:block;
    color:var(--ey-muted);
    font-size:13px;
    line-height:1.4;
}

.ey-hero-image img,
.ey-card img,
.ey-content img{
    width:100%;
    height:auto;
    display:block;
    border-radius:var(--ey-radius);
}

.ey-hero-image img{
    box-shadow:var(--ey-shadow);
}

.ey-calculator,
.ey-info,
.ey-content,
.ey-faq,
.ey-cta,
.ey-table-section{
    padding:70px 0;
}

.ey-info,
.ey-faq,
.ey-table-section{
    background:var(--ey-soft);
}

.ey-section-head{
    max-width:820px;
    margin:0 auto 34px;
    text-align:center;
}

.ey-section-head h2{
    font-size:clamp(28px, 4vw, 42px);
    color:var(--ey-dark);
    margin:0 0 12px;
    letter-spacing:-.8px;
}

.ey-section-head p{
    color:var(--ey-muted);
    font-size:17px;
    line-height:1.7;
    margin:0;
}

.ey-calc-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:28px;
    align-items:start;
}

.ey-form,
.ey-result{
    background:#fff;
    border:1px solid var(--ey-border);
    border-radius:var(--ey-radius);
    box-shadow:var(--ey-shadow);
}

.ey-form{
    padding:26px;
}

.ey-form-title h3,
.ey-form-subtitle h4{
    margin:0 0 6px;
    color:var(--ey-dark);
}

.ey-form-title p,
.ey-form-subtitle p{
    margin:0 0 18px;
    color:var(--ey-muted);
    font-size:14px;
    line-height:1.5;
}

.ey-form-subtitle{
    margin:18px 0 8px;
    padding-top:16px;
    border-top:1px solid var(--ey-border);
}

.ey-field{
    margin-bottom:16px;
}

.ey-field label{
    display:block;
    font-weight:900;
    color:var(--ey-dark);
    margin-bottom:8px;
}

.ey-field input,
.ey-field select{
    width:100%;
    height:50px;
    border:1px solid var(--ey-border);
    border-radius:14px;
    padding:0 14px;
    font-size:15px;
    color:var(--ey-dark);
    background:#fff;
    outline:none;
}

.ey-field input:focus,
.ey-field select:focus{
    border-color:var(--ey-orange);
    box-shadow:0 0 0 4px rgba(245,130,32,.14);
}

.ey-submit{
    width:100%;
    font-size:16px;
    margin-top:4px;
}

.ey-form-note{
    font-size:13px;
    line-height:1.55;
    color:var(--ey-muted);
    margin:14px 0 0;
}

.ey-result{
    min-height:410px;
    padding:26px;
    background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ey-result-empty{
    min-height:350px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:var(--ey-muted);
    border:2px dashed var(--ey-border);
    border-radius:18px;
    padding:24px;
}

.ey-result-empty strong{
    color:var(--ey-dark);
    font-size:22px;
    margin-bottom:8px;
}

.ey-result-box h3{
    color:var(--ey-dark);
    font-size:26px;
    margin:0 0 18px;
}

.ey-result-status{
    padding:15px;
    border-radius:16px;
    font-weight:900;
    margin-bottom:18px;
}

.ey-status-success{
    background:#eaf8ef;
    color:var(--ey-green);
}

.ey-status-warning{
    background:#fff6e8;
    color:var(--ey-yellow);
}

.ey-status-danger{
    background:#ffecec;
    color:var(--ey-red);
}

.ey-result-list{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
    margin:0;
}

.ey-result-item{
    background:#fff;
    border:1px solid var(--ey-border);
    border-radius:16px;
    padding:16px;
}

.ey-result-item span{
    display:block;
    color:var(--ey-muted);
    font-size:13px;
    margin-bottom:6px;
}

.ey-result-item strong{
    display:block;
    color:var(--ey-dark);
    font-size:18px;
    line-height:1.35;
}

.ey-result-highlight{
    background:#f3f8ff;
    border-color:#bdd7f2;
}

.ey-result-note{
    margin-top:16px;
    padding:14px;
    border-radius:14px;
    background:#eef5ff;
    color:#24405f;
    font-size:14px;
    line-height:1.6;
}

.ey-warning-note{
    background:#fff6e8;
    color:#8b4d00;
}

.ey-eyt-box{
    margin-bottom:18px;
    padding:20px;
    border-radius:20px;
    background:linear-gradient(135deg, #fff7ef, #ffffff);
    border:2px solid rgba(245,130,32,.30);
}

.ey-eyt-badge{
    display:inline-flex;
    padding:7px 13px;
    border-radius:999px;
    background:var(--ey-orange);
    color:#fff;
    font-size:12px;
    font-weight:900;
    margin-bottom:10px;
}

.ey-eyt-box h3{
    margin:0 0 8px;
    color:var(--ey-dark);
    font-size:22px;
}

.ey-eyt-box p{
    margin:0;
    color:var(--ey-text);
    line-height:1.7;
}

.ey-card-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;
}

.ey-card{
    background:#fff;
    border:1px solid var(--ey-border);
    border-radius:var(--ey-radius);
    overflow:hidden;
    box-shadow:0 12px 30px rgba(7,27,51,.07);
}

.ey-card h3{
    color:var(--ey-dark);
    font-size:22px;
    margin:20px 20px 8px;
}

.ey-card p{
    color:var(--ey-muted);
    line-height:1.65;
    margin:0 20px 22px;
}

.ey-content-grid{
    display:grid;
    grid-template-columns:1fr .85fr;
    gap:36px;
    align-items:center;
}

.ey-content h2{
    color:var(--ey-dark);
    font-size:clamp(28px, 4vw, 42px);
    margin:0 0 16px;
}

.ey-content p{
    color:var(--ey-muted);
    font-size:17px;
    line-height:1.8;
}

.ey-content-actions{
    margin-top:20px;
}

.ey-responsive-table{
    width:100%;
    overflow-x:auto;
    background:#fff;
    border:1px solid var(--ey-border);
    border-radius:20px;
    box-shadow:0 12px 30px rgba(7,27,51,.06);
}

.ey-responsive-table table{
    width:100%;
    min-width:760px;
    border-collapse:collapse;
}

.ey-responsive-table th,
.ey-responsive-table td{
    padding:16px;
    border-bottom:1px solid var(--ey-border);
    text-align:left;
    vertical-align:top;
}

.ey-responsive-table th{
    background:#f4f8fd;
    color:var(--ey-dark);
    font-weight:900;
}

.ey-responsive-table td{
    color:var(--ey-text);
    line-height:1.55;
}

.ey-responsive-table tr:last-child td{
    border-bottom:0;
}

.ey-table-note{
    margin:16px 0 0;
    color:var(--ey-muted);
    font-size:14px;
    line-height:1.7;
}

.ey-faq-list{
    max-width:850px;
    margin:0 auto;
    display:grid;
    gap:14px;
}

.ey-faq details{
    background:#fff;
    border:1px solid var(--ey-border);
    border-radius:18px;
    padding:18px 20px;
    box-shadow:0 8px 24px rgba(7,27,51,.05);
}

.ey-faq summary{
    cursor:pointer;
    font-weight:900;
    color:var(--ey-dark);
}

.ey-faq p{
    color:var(--ey-muted);
    line-height:1.7;
    margin:12px 0 0;
}

.ey-cta{
    background:#fff;
}

.ey-cta-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:34px;
    border-radius:26px;
    background:linear-gradient(135deg, var(--ey-blue), #123f76);
    color:#fff;
    box-shadow:var(--ey-shadow);
}

.ey-cta h2{
    margin:0 0 8px;
    font-size:30px;
}

.ey-cta p{
    margin:0;
    opacity:.88;
    line-height:1.7;
}

.ey-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
}

.ey-modal.active{
    display:block;
}

.ey-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(7,27,51,.68);
}

.ey-modal-box{
    position:relative;
    z-index:2;
    width:min(980px, calc(100% - 28px));
    max-height:88vh;
    overflow:auto;
    margin:6vh auto;
    background:#fff;
    border-radius:24px;
    padding:28px;
    box-shadow:0 25px 70px rgba(0,0,0,.25);
}

.ey-modal-box h2{
    margin:0 42px 18px 0;
    color:var(--ey-dark);
    font-size:30px;
}

.ey-modal-content h3{
    color:var(--ey-dark);
    margin:22px 0 12px;
}

.ey-modal-note{
    margin:16px 0 0;
    background:#fff6e8;
    color:#8b4d00;
    border-radius:14px;
    padding:14px;
    line-height:1.7;
}

.ey-modal-close{
    position:absolute;
    top:18px;
    right:18px;
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:#eef3f8;
    color:var(--ey-dark);
    font-size:28px;
    line-height:1;
    cursor:pointer;
}

body.ey-modal-open{
    overflow:hidden;
}

@media (max-width: 992px){
    .ey-hero-grid,
    .ey-calc-grid,
    .ey-content-grid{
        grid-template-columns:1fr;
    }

    .ey-hero{
        padding:48px 0;
    }

    .ey-card-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 680px){
    .ey-container{
        width:min(100% - 22px, 1180px);
    }

    .ey-hero,
    .ey-calculator,
    .ey-info,
    .ey-content,
    .ey-faq,
    .ey-cta,
    .ey-table-section{
        padding:42px 0;
    }

    .ey-hero p,
    .ey-section-head p,
    .ey-content p{
        font-size:15.5px;
    }

    .ey-hero-actions,
    .ey-cta-box{
        flex-direction:column;
        align-items:stretch;
    }

    .ey-btn{
        width:100%;
    }

    .ey-mini-stats{
        grid-template-columns:1fr;
    }

    .ey-card-grid{
        grid-template-columns:1fr;
    }

    .ey-form,
    .ey-result{
        padding:18px;
        border-radius:18px;
    }

    .ey-result-list{
        grid-template-columns:1fr;
    }

    .ey-result-item strong{
        font-size:17px;
    }

    .ey-cta-box{
        padding:24px;
    }

    .ey-cta h2{
        font-size:24px;
    }

    .ey-modal-box{
        padding:20px;
        margin:4vh auto;
        max-height:92vh;
    }

    .ey-modal-box h2{
        font-size:24px;
    }
}