/* RESET & BASE TYPOGRAPHY --------------------------------------------------- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background: #F0EFEA;
    color: #3B3B3F;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: #3B3B3F; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px dashed #D6A665; outline-offset: 2px; }
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    padding: 0;
}
:root {
    --primary: #3B3B3F;
    --secondary: #D6A665;
    --accent: #F0EFEA;
    --danger: #dc3545;
    --info: #60b3f7;
    --art-purple: #5D47C3;
    --art-coral: #FF708A;
    --art-green: #5EBF8D;
    --art-blue: #3CA8E0;
    --art-orange: #FDB64B;
    --art-pink: #F796AE;
}

/* BRAND FONTS --------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.01em;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.18;
}
h2 { font-size: 1.8rem; margin-bottom: 20px; }
h3 { font-size: 1.2rem; margin-bottom: 16px; font-weight: 600; }
h4, h5, h6 { margin-bottom: 10px; }

p { font-size: 1rem; margin-bottom: 20px; }
strong { font-weight: 700; }
ul, ol { margin-left: 24px; margin-bottom: 20px; }
li { margin-bottom: 12px; }

/* LAYOUT --------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 0; /* Will be overridden by sections */
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 12px 0 rgba(61, 45, 98, 0.08), 0 0.5px 2px 0 rgba(220,167,101,0.06);
}

@media (max-width: 768px) {
    .section { padding: 28px 8px; margin-bottom: 32px; border-radius: 14px; }
}

/* HEADER & NAV STYLES --------------------------------------------------- */
header {
    background: #fff7ef;
    border-bottom: 3px solid var(--secondary);
    box-shadow: 0 2px 10px -4px #d6a6652F;
    position: relative;
    z-index: 90;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 16px 0;
    gap: 0;
}
header img { height: 48px; }
nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
}
nav a {
    padding: 8px 0 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.18s, border 0.18s;
    position: relative;
}
nav a:hover, nav a.active {
    color: var(--art-coral);
    border-bottom: 2px solid var(--art-coral);
}
.cta-btn {
    background: var(--secondary);
    color: var(--primary);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.07em;
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 50px 15px 50px 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 12px 0 #f796ae1a;
    margin-left: 28px;
    transition: background 0.18s, color 0.18s, transform 0.2s;
    position: relative;
}
.cta-btn:hover, .cta-btn:focus {
    background: var(--art-coral);
    color: #fff;
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 6px 24px 0 #f796ae3a;
}

/* MOBILE MENU --------------------------------------------------- */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 16px;
    right: 18px;
    background: var(--art-coral);
    color: #fff;
    border-radius: 14px;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 101;
    box-shadow: 0 3px 8px #f796ae41;
    cursor: pointer;
    transition: background 0.16s, transform 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: var(--art-purple);
    color: #fff;
    transform: scale(1.05);
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background: #fff7ef;
    box-shadow: -12px 0 24px 0 #5d47c319;
    overflow-x: hidden;
    z-index: 1001;
    padding: 36px 0 0 0;
    transition: width 0.34s cubic-bezier(.6, .2, .1, 1);
}
.mobile-menu.active {
    width: 95vw;
    min-width: 260px;
    max-width: 352px;
    box-shadow: -18px 0 48px 0 #ff708a28;
}
.mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: var(--art-pink);
    color: #fff;
    font-size: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    border: none;
    z-index: 1201;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px #f796ae48;
    transition: background .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: var(--art-orange);
}
.mobile-menu nav.mobile-nav {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    align-items: flex-start;
}
.mobile-nav a {
    font-size: 1.13rem;
    padding: 12px 28px 12px 28px;
    border-radius: 11px 0 20px 11px;
    background: none;
    color: var(--art-purple);
    width: 100%;
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    transition: background 0.13s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--art-coral);
    color: #fff;
}

@media (max-width: 1050px) {
    nav, .cta-btn { display: none !important; }
    .mobile-menu-toggle { display: flex; }
}
@media (max-width: 768px) {
    header .container { padding-right: 0; }
}

/* SECTION & FLEX PATTERNS --------------------------------------------------- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 14px 0 #3ca8e02d;
    margin-bottom: 20px;
    position: relative;
    padding: 32px 20px 24px 20px;
    min-width: 280px;
    flex: 1 0 240px;
    transition: box-shadow 0.2s, transform 0.2s;
    border-left: 7px solid var(--art-purple);
}
.card:hover {
    box-shadow: 0 8px 32px #5ebf8d34;
    transform: translateY(-4px) scale(1.02) rotate(-1deg);
    border-left: 7px solid var(--art-coral);
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff7ef;
    border-radius: 28px;
    box-shadow: 0 4px 18px -6px #d6a66530;
    color: #232323;
    margin-bottom: 20px;
    flex: 1 0 340px;
    min-width: 220px;
    max-width: 500px;
    transition: box-shadow 0.15s, transform 0.15s;
}
.testimonial-card:hover {
    box-shadow: 0 8px 30px -6px #f796ae50;
    transform: scale(1.015) rotate(-0.7deg);
}
.testimonial-card p { font-size: 1.06rem; color: #262626; margin-bottom: 4px; }
.testimonial-card span {
    font-size: .98rem;
    font-weight: 600;
    color: var(--art-coral);
    margin-left: 10px;
}
.star-rating {
    font-size: 1.17rem;
    color: var(--art-orange);
    letter-spacing: 0.1em;
    margin-left: auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

@media (max-width: 900px) {
    .content-grid, .card-container { flex-direction: column; gap: 16px; }
    .testimonial-card { margin-left: 0; }
}
@media (max-width: 768px) {
    .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
    .testimonial-card { max-width: 98%; margin-left: 0; }
}

.service-list, .team-bios, .review-cards, .ranking-cards, .guide-cards, .side-by-side-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 18px;
}
.service-list > div, .team-bios > div, .review-cards > div, .ranking-cards > div, .guide-cards > div, .side-by-side-cards > div {
    background: #fff;
    border-radius: 19px;
    padding: 28px 20px 14px 20px;
    min-width: 220px;
    flex: 1 0 220px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 8px #f0efeac9;
    transition: transform 0.17s, box-shadow 0.2s;
    margin-bottom: 10px;
    position: relative;
}
.service-list > div:hover, .team-bios > div:hover, .review-cards > div:hover, .guide-cards > div:hover, .side-by-side-cards > div:hover {
    transform: scale(1.01) rotate(-0.5deg);
    box-shadow: 0 6px 22px -3px #5d47c31b, 0 3px 12px #ffd70017;
}

@media (max-width: 600px) {
    .service-list, .team-bios, .review-cards, .ranking-cards, .guide-cards, .side-by-side-cards {
        flex-direction: column;
        gap: 14px;
    }
    .service-list > div, .team-bios > div, .review-cards > div, .ranking-cards > div, .guide-cards > div {
        padding: 20px 10px 10px 14px;
    }
}

/* TABLES --------------------------------------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 10px #3ca8e016;
    font-size: 1.06rem;
}
thead tr {
    background: var(--art-blue);
    color: #fff;
}
thead th, tfoot th {
    padding: 15px 8px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.08em;
    letter-spacing: .04em;
}
tbody td {
    padding: 13px 8px;
    border-bottom: 1px solid #e8ecef;
}
tbody tr:nth-child(even) {
    background: #f0efeac2;
}
tbody tr:hover { background: #F796AE22; transition: background 0.2s; }

/* BADGES --------------------------------------------------- */
.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--art-orange);
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.28rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 1px 8px #FDB64B33;
    margin-bottom: 10px;
}

/* ACCORDION (faq-accordion) ----------------------------------- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 22px;
}
.faq-accordion > div {
    background: #fff;
    border-radius: 14px;
    padding: 15px 18px;
    box-shadow: 0 1px 8px #5ebf8d18;
    transition: box-shadow 0.2s, background 0.15s;
}
.faq-accordion > div:hover { background: #5ebf8d17; box-shadow: 0 4px 18px #5ebf8d37; }
.faq-accordion h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--art-purple); }

/* FORMS --------------------------------------------------- */
label { font-weight: 600; color: var(--primary); margin-right: 6px; }
input[type="search"], select {
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--art-blue);
    border-radius: 11px;
    padding: 7px 14px;
    margin-right: 10px;
    background: #fff;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px #d6a66524;
    transition: border 0.16s;
}
input[type="search"]:focus, select:focus {
    border: 2px solid var(--art-coral);
}

/* BUTTONS --------------------------------------------------- */
button, .btn, input[type="submit"], input[type="button"] {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    background: var(--art-green);
    color: #fff;
    border: none;
    border-radius: 15px 28px 15px 35px;
    padding: 12px 22px;
    cursor: pointer;
    box-shadow: 0 2px 10px #5ebf8d23;
    transition: background 0.16s, color 0.13s, transform 0.2s;
    margin-right: 8px;
}
button:hover, .btn:hover, input[type="submit"]:hover {
    background: var(--art-coral);
    color: #fff;
    transform: scale(1.03) rotate(-0.5deg);
}
input[type="submit"]:active, button:active {
    background: var(--art-orange);
    color: #fff;
}

/* LINKS --------------------------------------------------- */
a, .cta-btn, .btn, .mobile-nav a {
    transition: background-color 0.16s, color 0.16s, transform 0.14s;
}
a:hover:not(.cta-btn):not(.btn), a:focus {
    color: var(--art-purple);
    text-decoration: underline;
}

/* GUIDE CATEGORIES ----------------------------------------- */
.guide-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
    list-style-type: disco;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.07rem;
    margin-bottom: 12px;
}
.guide-categories li {
    background: var(--art-blue);
    color: #fff;
    padding: 6px 16px;
    border-radius: 12px 3px 16px 7px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* FOOTER --------------------------------------------------- */
footer {
    background: #fff7ef;
    border-top: 4px solid var(--art-orange);
    box-shadow: 0 -5px 16px #ffd70025;
    padding: 40px 0 24px 0;
    margin-top: 60px;
}
footer .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 36px;
    justify-content: space-between;
    position: relative;
}
footer nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1rem;
    margin-bottom: 18px;
}
footer nav a {
    color: var(--art-purple);
    font-weight: 700;
    transition: color 0.16s;
}
footer nav a:hover { color: var(--art-coral); }
.footer-contact {
    color: var(--primary);
    font-size: 0.97rem;
    margin-bottom: 18px;
}
footer p {
    margin-bottom: 0;
    margin-top: 6px;
    color: #8a8a8e;
}
footer img {
    height: 48px;
}
@media (max-width: 900px) {
    footer .container { flex-direction: column; gap: 0; padding: 0 14px; }
    footer nav { margin-bottom: 8px; }
}

/* COOKIE CONSENT BANNER --------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #FFF2DA;
    color: #2e1202;
    box-shadow: 0 -3px 28px #d6a6655c;
    z-index: 3000;
    padding: 20px 8px 16px 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    font-size: 1.04rem;
    border-top: 3px solid var(--art-orange);
    animation: cookie-slide-in .6s cubic-bezier(.6,.3,.3,1);
}
.cookie-banner .cookie-buttons {
    display: flex;
    gap: 14px;
}
.cookie-banner button {
    background: var(--art-orange);
    color: #fff;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 13px 6px 13px 6px;
    box-shadow: 0 2px 8px #FDB64B32;
    transition: background 0.14s;
}
.cookie-banner button:hover {
    background: var(--art-coral);
}
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; font-size: .98rem; padding: 15px 5px 12px 4px; }
}

@keyframes cookie-slide-in {
    from { transform: translateY(80px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
    position: fixed;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(59,59,63,0.42);
    z-index: 3300;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fade-in 0.2s;
}
.cookie-modal {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 13px 46px #5d47c329;
    padding: 34px 28px 24px 28px;
    min-width: 260px;
    max-width: 96vw;
    display: flex;
    flex-direction: column;
    gap: 17px;
    position: relative;
    font-size: 1.09rem;
    animation: modal-in 0.3s cubic-bezier(.65,.02,.3,1);
}
.cookie-modal h2 { font-size: 1.4rem; margin-bottom: 10px; }
.cookie-category {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 9px 0 6px 0;
}
.cookie-category label { font-weight: 700; color: var(--art-blue); margin-bottom: 0; }
.cookie-category input[type="checkbox"] {
    accent-color: var(--art-coral);
    width: 19px; height: 19px;
}
.cookie-category .category-fixed {
    background: var(--art-green);
    color: #fff;
    font-size: .95rem;
    padding: 3px 7px;
    border-radius: 8px;
    margin-left: 12px; font-weight: 600;
}
.cookie-modal .modal-actions { display: flex; gap: 12px; margin-top: 12px; }
.cookie-modal .modal-actions button { background: var(--art-orange); color: #fff; padding: 8px 16px; border-radius: 10px 4px 10px 6px; }
.cookie-modal .modal-actions button:hover { background: var(--art-coral); }
.cookie-modal .cookie-modal-close {
    position: absolute;
    top: 12px;
    right: 22px;
    font-size: 2rem;
    background: transparent;
    color: #bbb;
    border: none;
    cursor: pointer;
    transition: color .13s;
}
.cookie-modal .cookie-modal-close:hover { color: var(--art-coral); }
@keyframes modal-in { from { opacity:0; transform: scale(.77);} to {opacity:1; transform: scale(1);} }
@keyframes fade-in { 0% {opacity:0;} 100% {opacity:1;} }

/* ARTISTIC STYLING: PALETTE, SHAPES, MICRO-ANIMATION -------------------------------------------- */
.card, .card-container > .card, .testimonial-card, .side-by-side-cards > div, .ranking-cards > div {
    border-radius: 20px 40px 16px 30px;
    box-shadow: 0 2px 18px 0 #5d47c323;
}
.card::before, .testimonial-card::before {
    content: '';
    display: block;
    position: absolute;
    top: -45px; left: -17px;
    width: 70px; height: 50px;
    z-index: 0;
    background: var(--art-coral);
    opacity: 0.16;
    filter: blur(14px);
    border-radius: 50% 40% 35% 70%;
    pointer-events: none;
}
.card:hover::after, .testimonial-card:hover::after {
    content: '';
    position: absolute;
    bottom: -28px; right: -16px;
    width: 55px; height: 45px;
    background: var(--art-green);
    opacity: .14;
    filter: blur(11px);
    border-radius: 20% 80% 60% 40%;
    z-index: 0;
    pointer-events: none;
}

h1, h2, h3, h4 {
    background: linear-gradient(87deg, var(--art-blue) 13%, var(--art-coral) 84%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-btn, button, .btn {
    animation: bounce-btn 2.2s infinite cubic-bezier(.57,.15,.38,1.65);
}
@keyframes bounce-btn {
    0%, 80%, 100% {transform: translateY(0) rotate(0);}
    17% {transform: translateY(-2px) rotate(-1.5deg);}
    35% {transform: translateY(3px) rotate(1.5deg);}
    50% {transform: translateY(-1px) rotate(-1deg);}
}

/* SCROLLBAR (for aesthetics) ------------------------------------ */
::-webkit-scrollbar { width: 11px; background: #F0EFEA; }
::-webkit-scrollbar-thumb { background: #d6a66566; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #ff708a44; }

/* UTILITIES ---------------------------------------------------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px !important; } .mb-8 { margin-bottom: 8px !important; }
.mt-16 { margin-top: 16px !important; } .mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; } .mb-24 { margin-bottom: 24px !important; }
.pt-8 { padding-top: 8px !important; } .pb-8 { padding-bottom: 8px !important; }
.pt-16 { padding-top: 16px !important; } .pb-16 { padding-bottom: 16px !important; }

/* RESPONSIVE TYPOGRAPHY (NO clamp()) ------------------------ */
@media (max-width: 520px) {
    html { font-size: 15px; }
    h1 { font-size: 1.55rem; }
    h2 { font-size: 1.18rem; }
    h3 { font-size: 1.07rem; }
}

/* END ------------------------------------------------------ */
