:root {
    --blue-deep: #0a1f44;
    --blue-mid: #1a3a6e;
    --blue-bright: #1e6fcf;
    --blue-accent: #3b9eff;
    --gold: #f5a623;
    --white: #ffffff;
    --off-white: #f4f7fc;
    --gray: #6b7a99;
    --light-gray: #e8edf7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--blue-deep);
    background: var(--white);
    overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #0a1f44;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.nav-inner {
    max-width: 1280px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 70px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-wrap img {
    height: 58px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
}

.logo-text span {
    color: var(--blue-accent);
}

.nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* ── DROPDOWN FIX — single clean block ── */
.nav-links > li {
    position: relative;
    padding: 0;
}

.nav-links > li > a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    display: block;
    cursor: pointer;
    white-space: nowrap;
}

.nav-links > li > a:hover {
    color: var(--white);
    background: rgba(59, 158, 255, 0.18);
}

/* THE DROPDOWN — one clean definition */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 25, 55, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    min-width: 200px;
    padding: 8px 0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.08);
    z-index: 99999;
    flex-direction: column;
    animation: dropFade 0.2s ease;
}

/* Show on hover — desktop */
.nav-links > li:hover > .dropdown {
    display: flex;
}

/* Show on click — mobile (JS toggles .open) */
.nav-links > li.open > .dropdown {
    display: flex;
}

.dropdown a {
    font-size: 0.85rem !important;
    padding: 11px 20px !important;
    display: block !important;
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: transparent !important;
}

.dropdown a:hover {
    background: rgba(59, 158, 255, 0.2) !important;
    color: #fff !important;
}

@keyframes dropFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-cta {
    background: var(--blue-bright) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
}

.nav-cta:hover {
    background: var(--blue-accent) !important;
}

/* ── HERO ── */
.hero {
    max-height: 100vh;
    background: url(https://weonlyhavebest.com/images/wohb.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(30, 111, 207, 0.35) 0%, transparent 70%);
    z-index: 1;
}

.hero-inner {
    max-width: 1280px;
    margin: auto;
    padding: 80px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 22px;
}

h1 em {
    color: var(--blue-accent);
    font-style: normal;
}

.hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--blue-bright);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 28px rgba(30, 111, 207, 0.45);
}

.btn-primary:hover {
    background: var(--blue-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(59, 158, 255, 0.5);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-outline:hover {
    border-color: var(--blue-accent);
    color: var(--blue-accent);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── SECTION BASE ── */
section {
    padding: 90px 32px;
}

.section-inner {
    max-width: 1280px;
    margin: auto;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--blue-deep);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
}

/* ── BANNERS ── */
.banners-section {
    padding: 70px 32px;
    background: var(--off-white);
}

.banners-inner {
    max-width: 1280px;
    margin: auto;
}

.banners-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 14px;
}

.view-all {
    color: var(--blue-bright);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
}

.view-all:hover { color: var(--blue-accent); }

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.banner-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(10,31,68,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0;
    line-height: 0;
}

.banner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(10,31,68,0.18);
}

.banner-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    vertical-align: top;
    border-radius: 12px;
}

.banner-item.large  { grid-column: span 2; aspect-ratio: 16 / 7; }
.banner-item.tall   { grid-row: span 2; aspect-ratio: unset; }
.banner-item.normal { aspect-ratio: 16 / 9; }
.banner-item.wide   { grid-column: span 3; aspect-ratio: 21 / 5; }
.banner-item.square { aspect-ratio: 4 / 3; }

.banner-item.logo-card {
    aspect-ratio: 4 / 3;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
}

.banner-item.logo-card img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    border-radius: 0;
}

/* ── BLOGS ── */
.blogs-section { background: var(--white); }

.blogs-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 44px;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    transition: all 0.3s;
    background: var(--white);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(10, 31, 68, 0.12);
    border-color: transparent;
}

.blog-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-thumb img { transform: scale(1.06); }

.blog-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--blue-bright);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-body { padding: 22px; }

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.blog-author, .blog-date { font-size: 0.78rem; color: var(--gray); font-weight: 500; }

.blog-dot { width: 3px; height: 3px; background: var(--gray); border-radius: 50%; }

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.45;
    color: var(--blue-deep);
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-excerpt {
    font-size: 0.87rem;
    color: var(--gray);
    line-height: 1.65;
    margin-bottom: 18px;
}

.blog-read {
    color: var(--blue-bright);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-read:hover { gap: 9px; color: var(--blue-accent); }
.blog-read::after { content: '→'; transition: margin 0.2s; }

/* ── CATEGORIES ── */
.cats-section { background: var(--blue-deep); }
.cats-section .section-title { color: var(--white); }
.cats-section .section-tag   { color: var(--blue-accent); }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.cat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.cat-card:hover {
    background: rgba(59, 158, 255, 0.18);
    border-color: rgba(59, 158, 255, 0.4);
    transform: translateY(-4px);
}

.cat-icon  { font-size: 2rem; margin-bottom: 12px; display: block; }
.cat-name  { color: var(--white); font-size: 0.85rem; font-weight: 600; }
.cat-count { color: rgba(255, 255, 255, 0.45); font-size: 0.75rem; margin-top: 4px; }

/* ── TOP BRANDS ── */
.brands-section { background: var(--off-white); }

.brands-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.brand-logo {
    height: 48px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
    transition: all 0.3s;
}

.brand-logo:hover { filter: none; transform: scale(1.08); }

/* ── ABOUT STRIP ── */
.about-strip {
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-mid) 100%);
    padding: 80px 32px;
}

.about-inner {
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 18px;
}

.about-inner p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 28px;
}

.about-feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.feat::before { content: '✓'; color: var(--gold); font-weight: 700; font-size: 1rem; }

/* ── NEWSLETTER ── */
.newsletter { background: var(--white); padding: 80px 32px; text-align: center; }
.newsletter .section-inner { max-width: 640px; }

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 14px;
    color: var(--blue-deep);
}

.newsletter p { color: var(--gray); margin-bottom: 32px; }

.nl-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: auto;
}

.nl-form input {
    flex: 1;
    padding: 13px 18px;
    border-radius: 10px;
    border: 1.5px solid var(--light-gray);
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.nl-form input:focus { border-color: var(--blue-bright); }

.nl-form button {
    background: var(--blue-bright);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
    white-space: nowrap;
}

.nl-form button:hover { background: var(--blue-accent); }

/* ── FOOTER ── */
footer {
    background: var(--blue-deep);
    color: rgba(255, 255, 255, 0.65);
    padding: 70px 32px 32px;
}

.footer-inner { max-width: 1280px; margin: auto; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-top: 16px;
    max-width: 280px;
}

footer h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--blue-accent); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p { font-size: 0.82rem; }

/* ── ANIMATIONS ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeIn 0.7s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes dropFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .nav-links   { display: none; }
    .hero-inner  { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .banner-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .banner-item.large  { grid-column: span 2; aspect-ratio: 16/8; }
    .banner-item.tall   { grid-row: span 1; aspect-ratio: 16/9; }
    .banner-item.wide   { grid-column: span 2; aspect-ratio: 16/6; }
    .blog-grid   { grid-template-columns: 1fr; }
    .cat-grid    { grid-template-columns: repeat(3, 1fr); }
    .about-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
    .banner-grid { grid-template-columns: 1fr; }
    .banner-item.large,
    .banner-item.wide   { grid-column: span 1; }
    .banner-item.tall   { grid-row: span 1; }
    .banner-item.large,
    .banner-item.tall,
    .banner-item.normal,
    .banner-item.wide,
    .banner-item.square,
    .banner-item.logo-card { aspect-ratio: 16/9; }
}