/* Hallmark · macrostructure: product-showcase-editorial */
/* Self-critique: Philosophy=4 Hierarchy=4 Execution=4 Specificity=4 Restraint=4 Variety=3 */
/* Cloudnine Beddings — Component styles.
 * References tokens from tokens.css. Layout primitives from style.css.
 */

/* ══════════════════════════════════════════
   KEYFRAMES & ANIMATIONS
   ══════════════════════════════════════════ */

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════════ */

.cn-topbar {
    background: var(--primary);
    color: var(--accent-light);
    text-align: center;
    padding: 10px 16px;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.4px;
}

.cn-topbar .cn-topbar__dot {
    color: var(--accent);
    margin-right: 4px;
    animation: pulse 2s infinite;
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */

.cn-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 246, 250, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(12, 31, 61, 0.06);
    padding: 14px 0;
    transition: all var(--duration) var(--ease);
}

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

.cn-nav__logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.cn-nav__logo em {
    font-style: normal;
    color: var(--accent);
}

.cn-nav__links {
    display: none;
    gap: 28px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-muted);
}

.cn-nav__links a {
    transition: color 0.25s;
}

.cn-nav__links a:hover {
    color: var(--primary);
}

.cn-nav__cta {
    background: var(--primary);
    color: var(--accent-light);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--duration) var(--ease);
    border: none;
    cursor: pointer;
}

.cn-nav__cta:hover {
    background: var(--accent);
    color: var(--white);
}

.cn-nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.cn-nav__toggle span {
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

@media (min-width: 768px) {
    .cn-nav__links {
        display: flex;
    }
    .cn-nav__toggle {
        display: none;
    }
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */

.cn-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 31, 61, 0.02), rgba(232, 117, 42, 0.06));
    pointer-events: none;
}

.cn-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
    align-items: center;
}

.cn-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 117, 42, 0.12);
    border: 1px solid rgba(232, 117, 42, 0.25);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.76rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeUp 0.7s ease;
}

.cn-hero__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.cn-hero h1 {
    font-size: var(--text-hero);
    color: var(--primary);
    line-height: 1.08;
    margin-bottom: 14px;
    animation: fadeUp 0.7s ease 0.1s both;
}

.cn-hero h1 span {
    color: var(--accent);
    display: block;
    font-style: italic;
}

.cn-hero__sub {
    font-size: var(--text-md);
    color: var(--text-muted);
    margin-bottom: 24px;
    animation: fadeUp 0.7s ease 0.15s both;
}

.cn-hero__checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
    animation: fadeUp 0.7s ease 0.2s both;
}

.cn-hero__checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
}

.cn-hero__check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--white);
    flex-shrink: 0;
}

.cn-hero__check-icon svg {
    width: 12px;
    height: 12px;
}

.cn-hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    animation: fadeUp 0.7s ease 0.25s both;
}

.cn-hero__image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    animation: fadeUp 0.7s ease 0.3s both;
}

.cn-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cn-hero__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 31, 61, 0.08), transparent);
    pointer-events: none;
}

.cn-hero__stat {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 10px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.cn-hero__stat strong {
    color: var(--accent);
    display: block;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .cn-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        padding: 80px 0;
    }
}

/* ══════════════════════════════════════════
   SECTION (shared)
   ══════════════════════════════════════════ */

.cn-section {
    padding: 56px 0;
}

.cn-section__label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.cn-section__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.cn-section__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 500px;
}

.cn-section--warm {
    background: var(--bg-warm);
}

.cn-section--dark {
    background: var(--primary);
    color: var(--white);
}

.cn-section--dark .cn-section__label {
    color: var(--accent-light);
}

.cn-section--dark .cn-section__title {
    color: var(--white);
}

.cn-section--dark .cn-section__desc {
    color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
    .cn-section {
        padding: 72px 0;
    }
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */

.cn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    border: none;
}

.cn-btn--primary {
    background: var(--primary);
    color: var(--accent-light);
}

.cn-btn--primary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cn-btn--outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.cn-btn--outline:hover {
    background: var(--primary);
    color: var(--white);
}

.cn-btn--accent {
    background: var(--accent);
    color: var(--white);
}

.cn-btn--accent:hover {
    background: var(--accent-light);
    color: var(--primary);
    transform: translateY(-2px);
}

.cn-btn--sm {
    padding: 11px 22px;
    font-size: 0.84rem;
}

.cn-btn--outline-light {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
}

.cn-btn--outline-light:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* ══════════════════════════════════════════
   LINK ARROW
   ══════════════════════════════════════════ */

.cn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
}

.cn-link:hover {
    color: var(--primary);
}

.cn-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s;
}

.cn-link:hover svg {
    transform: translateX(3px);
}

/* ══════════════════════════════════════════
   CATEGORIES
   ══════════════════════════════════════════ */

.cn-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cn-categories__card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
}

.cn-categories__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.cn-categories__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cn-categories__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(12, 31, 61, 0.7));
    pointer-events: none;
}

.cn-categories__label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .cn-categories__grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }
}

/* ══════════════════════════════════════════
   OFFERS
   ══════════════════════════════════════════ */

.cn-offers__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cn-offer {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 20px 16px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    color: var(--white);
}

.cn-offer:hover {
    transform: scale(1.02);
}

.cn-offer--flash {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--accent), #c25a1a);
    min-height: 140px;
}

.cn-offer--combo {
    background: linear-gradient(135deg, #1a3a5c, #2d5a8a);
}

.cn-offer--deal {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.cn-offer--fest {
    background: linear-gradient(135deg, #d46a20, #ff8c3a);
}

.cn-offer__tag {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    margin-bottom: 2px;
}

.cn-offer__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 700;
}

.cn-offer__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50px;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (min-width: 768px) {
    .cn-offers__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .cn-offer--flash {
        grid-column: 1 / -1;
    }
}

/* ══════════════════════════════════════════
   BEST SELLERS
   ══════════════════════════════════════════ */

.cn-bestsellers__scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.cn-bestsellers__scroll::-webkit-scrollbar {
    height: 3px;
}

.cn-bestsellers__scroll::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.cn-product {
    min-width: 250px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--duration) var(--ease);
}

.cn-product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cn-product__img {
    height: 170px;
    position: relative;
    overflow: hidden;
}

.cn-product__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.cn-product:hover .cn-product__img img {
    transform: scale(1.05);
}

.cn-product__body {
    padding: 18px;
}

.cn-product__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.cn-product__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.cn-product__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
}

.cn-product__link:hover {
    gap: 8px;
    color: var(--primary);
}

.cn-product__tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
    color: var(--white);
}

.cn-product__tag--best {
    background: var(--accent);
}

.cn-product__tag--premium {
    background: var(--accent);
}

.cn-product__tag--luxury {
    background: var(--primary);
    color: var(--accent-light);
}

/* ══════════════════════════════════════════
   WHY CLOUDNINE (split with features)
   ══════════════════════════════════════════ */

.cn-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}

.cn-split__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.cn-split__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cn-split h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.cn-split p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cn-split__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.cn-split__feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text);
}

.cn-split__feat::before {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(232, 117, 42, 0.15);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.cn-split--16-10 .cn-split__img {
    aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
    .cn-split {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .cn-split--reversed {
        direction: rtl;
    }
    .cn-split--reversed > * {
        direction: ltr;
    }
}

/* ══════════════════════════════════════════
   MATTRESS FINDER
   ══════════════════════════════════════════ */

.cn-finder {
    background: var(--primary);
    border-radius: var(--radius-xl);
    padding: 40px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cn-finder::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(232, 117, 42, 0.08);
}

.cn-finder > * {
    position: relative;
    z-index: 2;
}

.cn-finder h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 10px;
}

.cn-finder p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ══════════════════════════════════════════
   PEPS EXPERIENCE (horizontal scroll cards)
   ══════════════════════════════════════════ */

.cn-peps__scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.cn-peps__scroll::-webkit-scrollbar {
    height: 3px;
}

.cn-peps__scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.cn-peps__card {
    min-width: 150px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 22px 16px;
    text-align: center;
    transition: all var(--duration) var(--ease);
    color: var(--white);
}

.cn-peps__card:hover {
    background: rgba(232, 117, 42, 0.1);
    border-color: rgba(232, 117, 42, 0.3);
    transform: translateY(-2px);
}

.cn-peps__name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.cn-peps__type {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ══════════════════════════════════════════
   HOSPITALITY
   ══════════════════════════════════════════ */

.cn-hospitality__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.cn-hospitality__feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text);
}

.cn-hospitality__feat::before {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   SLEEP BANNER
   ══════════════════════════════════════════ */

.cn-sleep-banner {
    border-radius: var(--radius-xl);
    background: var(--bg-warm);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cn-sleep-banner h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.cn-sleep-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 18px;
}

/* ══════════════════════════════════════════
   WHY BUY DIRECT (dark grid)
   ══════════════════════════════════════════ */

.cn-direct__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cn-direct__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 20px 16px;
    transition: all var(--duration) var(--ease);
}

.cn-direct__card:hover {
    background: rgba(232, 117, 42, 0.08);
    border-color: rgba(232, 117, 42, 0.2);
}

.cn-direct__card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 3px;
}

.cn-direct__card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) {
    .cn-direct__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ══════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════ */

.cn-stories {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cn-story {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--accent);
}

.cn-story__stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.cn-story__text {
    font-size: 0.88rem;
    color: var(--text);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 10px;
}

.cn-story__author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.cn-stories__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.cn-stories__badge {
    background: var(--bg-warm);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
}

/* ══════════════════════════════════════════
   EXPERIENCE CENTRE (full-width banner)
   ══════════════════════════════════════════ */

.cn-experience {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
}

.cn-experience img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cn-experience::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 31, 61, 0.75);
    z-index: 1;
}

.cn-experience > * {
    position: relative;
    z-index: 2;
}

.cn-experience h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--white);
    margin-bottom: 6px;
}

.cn-experience h2 span {
    color: var(--accent-light);
    font-style: italic;
}

.cn-experience p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* ══════════════════════════════════════════
   FAMILY (membership grid)
   ══════════════════════════════════════════ */

.cn-family__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.cn-family__card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.cn-family__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cn-family__icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.cn-family__text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
}

.cn-family__cta {
    text-align: center;
}

/* ══════════════════════════════════════════
   HELP (support cards)
   ══════════════════════════════════════════ */

.cn-help__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cn-help__card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    border: 1px solid transparent;
}

.cn-help__card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.cn-help__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(232, 117, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 10px;
}

.cn-help__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
}

.cn-help__desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .cn-help__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */

.cn-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 48px 0 28px;
}

.cn-footer__top {
    text-align: center;
    margin-bottom: 32px;
}

.cn-footer__logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.cn-footer__logo em {
    font-style: normal;
    color: var(--accent-light);
}

.cn-footer__tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

.cn-footer__motto {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--accent-light);
    margin-top: 6px;
}

.cn-footer__divider {
    width: 50px;
    height: 2px;
    background: var(--accent);
    margin: 20px auto;
    opacity: 0.35;
}

.cn-footer__bottom {
    text-align: center;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ══════════════════════════════════════════
   WHATSAPP FAB
   ══════════════════════════════════════════ */

.cn-fab {
    position: fixed;
    bottom: 20px;
    right: 18px;
    z-index: 99;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    animation: float 3s ease-in-out infinite;
}

.cn-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.cn-fab svg {
    width: 26px;
    height: 26px;
    fill: var(--white);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 360px) {
    .cn-hero h1 {
        font-size: 1.9rem;
    }
    .cn-hero__btns {
        flex-direction: column;
    }
    .cn-btn {
        width: 100%;
    }
    .cn-categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════════════════
   ACCESSIBILITY
   ══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .cn-hero__badge,
    .cn-hero h1,
    .cn-hero__sub,
    .cn-hero__checks,
    .cn-hero__btns,
    .cn-hero__image,
    .cn-fab {
        animation: none !important;
        transition: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
