/* =========================================================
   Yu Sleep — Custom Stylesheet
   Clean Bootstrap 5 build (no Mobirise dependencies)
   ========================================================= */

:root {
    --yu-blue:       #0d4f8b;
    --yu-blue-dark:  #093a68;
    --yu-blue-light: #1a6bb0;
    --yu-accent:     #ff6b35;
    --yu-accent-dark:#e85a26;
    --yu-text:       #2b2b2b;
    --yu-muted:      #5b6470;
    --yu-bg-soft:    #f4f8fc;
    --yu-bg-card:    #ffffff;
    --yu-border:     #e3e8ef;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--yu-text);
    line-height: 1.7;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    color: var(--yu-text);
    margin-bottom: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: var(--yu-text);
    line-height: 1.3;
}

a {
    color: var(--yu-blue);
    text-decoration: none;
    transition: color .2s ease;
}
a:hover {
    color: var(--yu-blue-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    padding: 0.85rem 0;
}

.brand-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--yu-blue);
    letter-spacing: -0.5px;
}

.brand-text sup {
    font-size: 0.6rem;
    color: var(--yu-blue-light);
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--yu-text) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover {
    color: var(--yu-blue) !important;
}

.btn-cta {
    background-color: var(--yu-accent);
    color: #fff;
    border: 2px solid var(--yu-accent);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    transition: all 0.25s ease;
    text-transform: none;
}
.btn-cta:hover,
.btn-cta:focus {
    background-color: var(--yu-accent-dark);
    border-color: var(--yu-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
}

.btn-outline-primary {
    border-color: var(--yu-blue);
    color: var(--yu-blue);
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
}
.btn-outline-primary:hover {
    background-color: var(--yu-blue);
    border-color: var(--yu-blue);
    color: #fff;
}

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
    background: linear-gradient(135deg, #f4f8fc 0%, #e8f1fa 100%);
    padding: 4rem 0;
}

.hero-bottle {
    max-height: 480px;
    filter: drop-shadow(0 12px 30px rgba(13, 79, 139, 0.18));
}

.hero-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--yu-blue-dark);
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.hero-text {
    font-size: 1.05rem;
    color: var(--yu-muted);
    margin-bottom: 1rem;
}

.hero-bullets {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.hero-bullets > div {
    font-weight: 500;
    color: var(--yu-text);
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
}
.hero-bullets i {
    color: #2bb673;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.hero-buttons .btn {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .hero-title { font-size: 1.6rem; }
    .hero-section { padding: 2.5rem 0; }
}

/* =========================================================
   TITLE BANDS (Blue section headers)
   Each title gets its own dedicated blue band
   ========================================================= */
.title-band {
    background: linear-gradient(90deg, var(--yu-blue) 0%, var(--yu-blue-light) 100%);
    padding: 2.25rem 0;
    margin: 0;
    text-align: center;
    position: relative;
}

.title-band::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.55);
    margin: 0.85rem auto 0;
    border-radius: 2px;
}

.title-band-text {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    padding: 0 1rem;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .title-band { padding: 1.6rem 0; }
    .title-band-text { font-size: 1.4rem; }
}

/* =========================================================
   GENERIC CONTENT SECTION
   ========================================================= */
.content-section {
    padding: 3.5rem 0;
}
.content-section .lead-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--yu-text);
    margin-bottom: 1.75rem;
}

/* =========================================================
   TRUST BADGES (Why Choose)
   ========================================================= */
.trust-section {
    background-color: var(--yu-bg-soft);
    padding: 3.5rem 0;
}

.trust-card {
    background-color: var(--yu-bg-card);
    border-radius: 14px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--yu-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(13, 79, 139, 0.12);
}
.trust-card img {
    max-height: 110px;
    margin: 0 auto 1rem;
    object-fit: contain;
}
.trust-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--yu-blue);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    letter-spacing: 0.4px;
}
.trust-card p {
    font-size: 0.95rem;
    color: var(--yu-muted);
    margin-bottom: 0;
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-section {
    background-color: #fafbfd;
}

.review-card {
    background-color: #fff;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--yu-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(13, 79, 139, 0.10);
}

.review-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.review-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--yu-blue);
    margin-bottom: 0.15rem;
}

.review-location {
    font-size: 0.9rem;
    color: var(--yu-muted);
    margin-bottom: 0.6rem;
}

.review-stars {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--yu-text);
}
.review-stars .verified {
    font-weight: 700;
    color: #2bb673;
    margin-left: 0.4rem;
    font-size: 0.85rem;
}

.review-text {
    font-size: 0.98rem;
    color: var(--yu-text);
    margin-bottom: 0;
    font-style: italic;
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing-section {
    background-color: var(--yu-bg-soft);
}
.pricing-sub {
    font-size: 1.1rem;
    color: var(--yu-muted);
    margin-bottom: 2rem;
}
.pricing-img {
    max-width: 100%;
    transition: transform 0.3s ease;
}
.pricing-img:hover {
    transform: scale(1.01);
}

/* =========================================================
   INGREDIENTS / BENEFITS BLOCKS
   ========================================================= */
.ingredient-block,
.benefit-block {
    background-color: #fff;
    border-left: 4px solid var(--yu-blue);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 6px rgba(13, 79, 139, 0.05);
    transition: box-shadow 0.25s ease, border-left-width 0.25s ease;
}
.ingredient-block:hover,
.benefit-block:hover {
    box-shadow: 0 6px 14px rgba(13, 79, 139, 0.10);
    border-left-width: 6px;
}
.ingredient-block h3,
.benefit-block h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--yu-blue);
    margin-bottom: 0.5rem;
}
.ingredient-block p,
.benefit-block p {
    margin-bottom: 0;
    color: var(--yu-text);
}

/* =========================================================
   TRUST POINTS
   ========================================================= */
.trust-points {
    background-color: var(--yu-bg-soft);
}
.trust-point {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--yu-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trust-point:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(13, 79, 139, 0.10);
}
.trust-num {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--yu-blue), var(--yu-blue-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 1rem;
    box-shadow: 0 6px 14px rgba(13, 79, 139, 0.25);
}
.trust-point h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--yu-blue);
    margin-bottom: 0.6rem;
}
.trust-point p {
    color: var(--yu-muted);
    font-size: 0.97rem;
    margin-bottom: 0;
}

/* =========================================================
   GUARANTEE
   ========================================================= */
.guarantee-section {
    background: linear-gradient(135deg, #fff5ef 0%, #fff 100%);
    padding: 3.5rem 0;
    border-top: 1px solid var(--yu-border);
    border-bottom: 1px solid var(--yu-border);
}
.guarantee-badge {
    max-width: 240px;
}
.guarantee-title {
    font-size: 1.65rem;
    color: var(--yu-blue-dark);
    font-weight: 900;
    margin-bottom: 1rem;
}
.guarantee-section p {
    color: var(--yu-text);
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-section {
    background-color: var(--yu-bg-soft);
}
.accordion-item {
    border: 1px solid var(--yu-border);
    margin-bottom: 0.75rem;
    border-radius: 10px !important;
    overflow: hidden;
    background: #fff;
}
.accordion-button {
    font-weight: 600;
    color: var(--yu-blue-dark);
    background-color: #fff;
    font-size: 1.02rem;
    padding: 1.1rem 1.25rem;
}
.accordion-button:not(.collapsed) {
    background-color: var(--yu-blue);
    color: #fff;
    box-shadow: none;
}
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}
.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.15);
    border-color: var(--yu-blue);
}
.accordion-body {
    padding: 1.15rem 1.25rem;
    color: var(--yu-text);
    line-height: 1.7;
    background-color: #fcfdff;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta-section {
    background: linear-gradient(135deg, var(--yu-blue-dark) 0%, var(--yu-blue) 100%);
    padding: 3.5rem 0;
    color: #fff;
    text-align: center;
}
.final-bottle {
    max-height: 280px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25));
}
.final-price {
    color: #d4e6f6;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.final-price .strike {
    text-decoration: line-through;
    opacity: 0.75;
}
.final-price-now {
    font-size: 1.9rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background-color: #0a2c4d;
    color: #d4e0ed;
    padding: 2.5rem 0 1.5rem;
    text-align: center;
}
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.4rem;
}
.footer-nav a {
    color: #d4e0ed;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-nav.legal {
    margin-top: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-nav.legal a {
    font-size: 0.88rem;
    color: #b1c4d9;
}

.footer-disclaimer {
    max-width: 760px;
    margin: 1.25rem auto 1rem;
    font-size: 0.82rem;
    line-height: 1.7;
    color: #98aec5;
    opacity: 0.85;
}

.footer-copy {
    font-size: 0.92rem;
    color: #b1c4d9;
    margin-bottom: 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-copy small {
    font-size: 0.75rem;
    opacity: 0.6;
    line-height: 1.7;
    display: inline-block;
    margin-top: 0.5rem;
}

/* =========================================================
   LEGAL PAGES (Disclaimer / Privacy / Terms)
   ========================================================= */
.legal-section {
    background-color: #fafbfd;
}
.legal-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--yu-blue-dark);
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--yu-blue);
    display: inline-block;
}
.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--yu-blue);
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
}
.legal-section p {
    color: var(--yu-text);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.legal-section ul {
    margin-bottom: 1.25rem;
    padding-left: 1.4rem;
}
.legal-section ul li {
    margin-bottom: 0.45rem;
    color: var(--yu-text);
    line-height: 1.65;
}
.legal-section a {
    color: var(--yu-blue);
    font-weight: 500;
    text-decoration: underline;
}
.legal-section a:hover {
    color: var(--yu-blue-dark);
}
.legal-updated {
    background-color: #e8f1fa;
    border-left: 4px solid var(--yu-blue);
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    color: var(--yu-blue-dark);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

/* Contact page */
.contact-card {
    background: #fff;
    border: 1px solid var(--yu-border);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(13, 79, 139, 0.06);
}
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--yu-border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row i {
    color: var(--yu-blue);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.contact-row strong {
    color: var(--yu-blue-dark);
    font-weight: 700;
}

/* =========================================================
   JS-DRIVEN STATE CLASSES
   ========================================================= */
#topNav.scrolled {
    box-shadow: 0 4px 14px rgba(13, 79, 139, 0.10);
}

.fade-init {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-init.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   RESPONSIVE TWEAKS
   ========================================================= */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 0.75rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--yu-border);
    }
    .navbar .nav-link {
        padding: 0.6rem 0 !important;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .content-section { padding: 2.25rem 0; }
    .hero-section { padding: 2rem 0; }
    .footer-nav { gap: 0.3rem 0.9rem; }
    .final-price-now { font-size: 1.5rem; }
    .guarantee-title { font-size: 1.3rem; }
    .ingredient-block, .benefit-block {
        padding: 1rem 1.15rem;
    }
}
