:root{
    --red:#e3262e;
    --blue:#0875c9;
    --green:#36a936;
    --yellow:#f7c600;
    --text:#1f2630;
    --muted:#5d6570;
    --cream:#fffaf0;
    --card:#ffffff;
    --shadow:0 8px 22px rgba(22,39,64,.12);
    --soft-shadow:0 5px 18px rgba(22,39,64,.10);
}

*{box-sizing:border-box}
html,body{margin:0}
body{
    font-family:Arial, Helvetica, sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at 20% 12%, rgba(247,198,0,.08), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(8,117,201,.07), transparent 32%),
        #fffdf8;
}

.site-header{
    background:#fff;
    box-shadow:0 1px 10px rgba(0,0,0,.05);
}
.header-inner{
    max-width:1500px;
    margin:0 auto;
    height:126px;
    padding:15px 48px;
    display:grid;
    grid-template-columns:330px 1fr 210px;
    align-items:center;
}
.brand img{
    width:300px;
    display:block;
}
.header-contact{
    justify-self:center;
    line-height:1.8;
    font-size:16px;
}
.contact-icon{color:var(--blue);font-weight:700;margin-right:10px}
.header-actions{
    justify-self:end;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
}
.member-btn{
    background:linear-gradient(#ef3639,#d71922);
    color:#fff;
    text-decoration:none;
    border-radius:14px;
    padding:10px 27px;
    font-weight:700;
    box-shadow:0 4px 10px rgba(227,38,46,.25);
}
.socials{display:flex;gap:12px}
.socials a{
    width:40px;height:40px;border-radius:50%;
    display:grid;place-items:center;
    color:var(--blue);
    text-decoration:none;
    border:1px solid #d5dde8;
    font-weight:800;
    font-size:23px;
    background:#fff;
}
.socials a:nth-child(2){color:var(--red)}
.socials a:hover{transform:translateY(-2px)}

.main-nav{
    background:linear-gradient(180deg,#087bd0,#0069b9);
}
.nav-inner{
    max-width:1500px;
    margin:0 auto;
    height:56px;
    padding:0 48px;
    display:flex;
    align-items:center;
    gap:30px;
}
.nav-inner>a{
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    font-size:15px;
    font-weight:800;
    height:56px;
    display:flex;
    align-items:center;
    position:relative;
    letter-spacing:.01em;
}
.nav-inner>a.active:after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:0;
    height:5px;
    background:var(--yellow);
}
.search{
    margin-left:auto;
    display:flex;
    height:38px;
}
.search input{
    width:215px;
    border:0;
    border-radius:10px 0 0 10px;
    padding:0 14px;
    font-size:16px;
    outline:none;
}
.search button{
    width:42px;border:0;
    background:var(--yellow);
    color:#fff;
    font-size:26px;
    font-weight:800;
    border-radius:0 10px 10px 0;
}

.page{padding:0 48px 40px}
.content-grid{
    max-width:1405px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 365px;
    gap:28px;
}
.hero-card{
    min-height:398px;
    background:#fffdf5;
    border-radius:0 0 14px 14px;
    box-shadow:var(--soft-shadow);
    overflow:hidden;
    position:relative;
    display:grid;
    grid-template-columns:48% 52%;
}
.hero-copy{
    position:relative;
    z-index:2;
    padding:72px 30px 30px 95px;
}
.script{
    font-family:"Comic Sans MS", "Trebuchet MS", cursive;
    font-size:43px;
    line-height:1;
    margin-bottom:8px;
    color:#111;
}
.hero-copy h1{
    margin:0 0 20px;
    font-size:35px;
    line-height:1.18;
    font-weight:900;
}
.hero-copy h1 span{display:block}
.red{color:var(--red)} .blue{color:var(--blue)} .green{color:var(--green)} .yellow{color:#e7a700}
.red-bg{background:var(--red)} .blue-bg{background:var(--blue)} .green-bg{background:var(--green)} .yellow-bg{background:var(--yellow)}
.hero-copy p{
    margin:0 0 18px;
    font-size:16px;
    line-height:1.55;
}
.primary-btn,.wide-btn,.small-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#fff;
    background:linear-gradient(#1085dc,#006fc1);
    text-decoration:none;
    border-radius:12px;
    font-weight:800;
    box-shadow:0 5px 12px rgba(8,117,201,.24);
}
.primary-btn{padding:12px 18px}
.primary-btn span,.wide-btn span{font-size:26px;line-height:.5}
.slider-dots{
    position:absolute;
    bottom:20px;
    left:265px;
    display:flex;
    gap:14px;
}
.slider-dots i{width:9px;height:9px;border-radius:50%;display:block}

.hero-visual{
    position:relative;
    overflow:hidden;
}
.hero-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.yellow-arc{
    position:absolute;
    z-index:3;
    left:-40px;top:-35px;
    width:95px;height:510px;
    border-left:13px solid var(--yellow);
    border-radius:55% 0 0 55%;
}

.doodle{position:absolute;z-index:4}
.sun{
    left:29px;top:34px;width:58px;height:58px;border:2px solid var(--yellow);border-radius:50%;
}
.sun:before,.sun:after{content:"";position:absolute;background:var(--yellow)}
.sun:before{width:2px;height:82px;left:27px;top:-13px;box-shadow:0 0 0 transparent;transform:rotate(90deg)}
.sun:after{width:82px;height:2px;left:-13px;top:27px}
.heart:before{content:"♡";font-size:56px;color:var(--red);font-family:Arial;position:absolute}
.heart{left:36px;top:210px}
.cloud:before{content:"☁";font-size:70px;color:var(--blue);font-family:Arial;position:absolute}
.cloud{left:330px;top:26px}
.flower:before{content:"✿";font-size:55px;color:var(--green);font-family:Arial;position:absolute}
.flower{left:430px;top:190px}

.sidebar{
    grid-column:2;
    grid-row:1 / span 2;
    display:flex;
    flex-direction:column;
    gap:20px;
    padding-top:21px;
}
.widget{
    background:#fff;
    border-radius:10px;
    box-shadow:var(--shadow);
    overflow:hidden;
}
.widget-title{
    min-height:52px;
    display:flex;
    align-items:center;
    gap:13px;
    padding:0 27px;
    color:#fff;
}
.widget-title h2{
    margin:0;
    font-size:20px;
    text-transform:uppercase;
    letter-spacing:.02em;
}
.red-title{background:linear-gradient(#ef2b32,#d91e26)}
.yellow-title{background:linear-gradient(#ffcf00,#f2b900)}
.title-icon{font-size:21px}
.event-row{
    display:grid;
    grid-template-columns:58px 1fr 72px;
    align-items:center;
    gap:14px;
    padding:16px 20px;
    border-bottom:1px solid #eee2d7;
}
.date-box{
    width:58px;height:56px;
    border-radius:7px;
    background:#fff8ef;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.date-box strong{font-size:27px;line-height:1;font-weight:900}
.date-box span{font-size:13px;font-weight:900;margin-top:3px}
.red-date{color:var(--red)}
.green-date{color:var(--green)}
.yellow-date{color:#e3aa00}
.event-text b{display:block;font-size:15px;margin-bottom:5px}
.event-text small{font-size:14px}
.pill{
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
    border-radius:18px;
    padding:8px 12px;
    text-align:center;
}
.red-pill{background:linear-gradient(#ef3338,#d61b23)}
.wide-btn{
    margin:18px auto 14px;
    width:270px;
    height:35px;
}
.news-row{
    display:grid;
    grid-template-columns:92px 1fr;
    gap:15px;
    align-items:center;
    padding:14px 23px 0;
}
.news-row img{
    width:92px;height:66px;
    object-fit:cover;
    border-radius:8px;
}
.news-row b{color:var(--blue);font-size:15px}
.news-row p{margin:5px 0 0;font-size:14px;line-height:1.35}

.offers-card{
    grid-column:1;
    background:#fff;
    border-radius:13px;
    box-shadow:var(--soft-shadow);
    padding:18px;
}
.section-heading h2{
    margin:0 0 10px;
    color:var(--blue);
    text-transform:uppercase;
    font-size:24px;
}
.color-lines{display:flex;gap:8px;margin-bottom:19px}
.color-lines i{width:40px;height:3px;display:block}
.color-lines i:nth-child(1){background:var(--red)}
.color-lines i:nth-child(2){background:#8ac3e7}
.color-lines i:nth-child(3){background:var(--green)}
.color-lines i:nth-child(4){background:var(--yellow)}
.offers-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}
.offer{
    border:1px solid #efe5d8;
    border-radius:12px;
    min-height:256px;
    text-align:center;
    padding:18px 20px 15px;
    box-shadow:0 4px 12px rgba(43,31,19,.08);
}
.offer-icon{
    width:80px;height:80px;
    border-radius:50%;
    color:#fff;
    display:grid;
    place-items:center;
    margin:0 auto 16px;
    box-shadow:inset 0 8px 12px rgba(255,255,255,.22), 0 6px 11px rgba(0,0,0,.13);
}
.offer-icon span{font-size:42px;line-height:1}
.offer h3{
    text-transform:uppercase;
    font-size:15px;
    margin:0 0 13px;
}
.offer p{
    font-size:15px;
    line-height:1.55;
    margin:0 0 14px;
}
.small-btn{
    min-width:118px;
    padding:9px 15px;
    border-radius:8px;
    font-size:13px;
}
.values-bar{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    overflow:hidden;
    border-radius:10px;
    margin-bottom:20px;
}
.value{
    min-height:60px;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
    text-transform:uppercase;
    font-weight:900;
}
.value span{font-size:40px}
.value b{font-size:17px}

@media(max-width:1100px){
    .header-inner{grid-template-columns:260px 1fr; height:auto; gap:12px}
    .brand img{width:250px}
    .header-actions{grid-column:2}
    .content-grid{grid-template-columns:1fr}
    .sidebar{grid-column:1; grid-row:auto; padding-top:0}
    .hero-card{grid-template-columns:1fr}
    .hero-visual{min-height:290px}
    .offers-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
    .page,.nav-inner,.header-inner{padding-left:18px;padding-right:18px}
    .nav-inner{height:auto;flex-wrap:wrap;gap:15px;padding-top:10px;padding-bottom:10px}
    .search{width:100%;margin-left:0}
    .search input{width:100%}
    .header-inner{display:flex;flex-direction:column;align-items:flex-start}
    .header-contact,.header-actions{justify-self:start;align-items:flex-start}
    .hero-copy{padding:45px 25px}
    .script{font-size:34px}
    .hero-copy h1{font-size:31px}
    .offers-grid,.values-bar{grid-template-columns:1fr}
    .event-row{grid-template-columns:58px 1fr}
    .pill{grid-column:2;justify-self:start}
    .wide-btn{width:calc(100% - 35px)}
}
