/* ═══════════════════════════════════════════
   Room360 Site - site.css
   Shared styles for landing + contact pages
═══════════════════════════════════════════ */

:root {
    --navy:    #0a2540;
    --navy2:   #0f3460;
    --blue:    #0f4c75;
    --blue2:   #1b6ca8;
    --accent:  #2196f3;
    --accent2: #63b3ed;
    --white:   #ffffff;
    --off:     #f7f9fc;
    --border:  #e8edf5;
    --text:    #1a2332;
    --muted:   #6b7a90;
    --success: #10b981;
    --wa:      #25d366;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--navy);
    line-height: 1.2;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ── */
#mainNav {
    transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
    padding-top: 20px;
    padding-bottom: 20px;
}
#mainNav .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.5px;
    transition: color .3s;
}
#mainNav .navbar-brand span { color: var(--accent2); }
#mainNav .nav-link {
    color: rgba(255,255,255,.82);
    font-weight: 500;
    font-size: .9rem;
    transition: color .2s;
    padding: 6px 14px;
}
#mainNav .nav-link:hover { color: #fff; }
#mainNav .navbar-toggler {
    border-color: rgba(255,255,255,.4);
}
#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNav.scrolled {
    background: rgba(255,255,255,.97) !important;
    backdrop-filter: blur(12px);
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 0 2px 20px rgba(10,37,64,.09);
}
#mainNav.scrolled .navbar-brand { color: var(--navy); }
#mainNav.scrolled .nav-link     { color: var(--muted); }
#mainNav.scrolled .nav-link:hover { color: var(--navy); }
#mainNav.scrolled .navbar-toggler {
    border-color: rgba(10,37,64,.25);
}
#mainNav.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810,37,64,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.btn-nav-cta {
    background: var(--accent);
    color: #fff !important;
    border-radius: 7px;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: .88rem !important;
    box-shadow: 0 3px 12px rgba(33,150,243,.3);
    transition: background .2s, transform .2s, box-shadow .2s !important;
}
.btn-nav-cta:hover {
    background: #1976d2 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(33,150,243,.4) !important;
    color: #fff !important;
}

/* ── SECTION SHARED ── */
.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
}
.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    font-family: 'DM Sans', sans-serif;
    max-width: 560px;
    margin: 0 auto;
}

/* ── TRUST BAR ── */
.trust-bar {
    background: var(--off);
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: .87rem;
    font-weight: 500;
    white-space: nowrap;
}
.trust-item i { color: var(--accent); font-size: 1.05rem; }

/* ── FEATURES ── */
.feature-card {
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 26px;
    height: 100%;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    opacity: 0;
    transition: opacity .25s;
}
.feature-card:hover {
    border-color: var(--accent2);
    box-shadow: 0 8px 30px rgba(10,37,64,.1);
    transform: translateY(-3px);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--blue), var(--accent));
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: #fff; margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(15,76,117,.22);
}
.feature-card h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 9px;
    color: var(--navy);
}
.feature-card p {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ── HOW IT WORKS ── */
.step-number {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem; font-weight: 700;
    color: var(--accent);
    margin: 0 auto 20px;
    box-shadow: 0 0 0 8px var(--off);
    position: relative; z-index: 1;
}
.step-connector {
    position: absolute;
    top: 34px;
    left: calc(50% + 44px);
    right: calc(-50% + 44px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    z-index: 0;
}
.step-wrap { position: relative; }
.step-wrap h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.step-wrap p {
    font-size: .87rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ── WHO FOR ── */
.audience-card {
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    transition: all .2s;
    background: var(--white);
    height: 100%;
}
.audience-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 22px rgba(10,37,64,.09);
}
.audience-icon { font-size: 1.9rem; display: block; margin-bottom: 12px; }
.audience-card h6 {
    font-family: 'DM Sans', sans-serif;
    font-size: .92rem; font-weight: 700;
    color: var(--navy); margin-bottom: 7px;
}
.audience-card p {
    font-size: .82rem; color: var(--muted);
    line-height: 1.55; margin: 0;
}

/* ── DARK BAND ── */
.dark-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    position: relative; overflow: hidden;
}
.dark-band::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ── CTA SECTION ── */
.cta-section { background: var(--off); }

/* ── FOOTER ── */
.site-footer {
    background: var(--navy);
}
.site-footer .footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; font-weight: 700; color: #fff;
}
.site-footer .footer-brand span { color: var(--accent2); }
.site-footer .footer-brand small {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: .73rem; color: rgba(255,255,255,.32);
    font-weight: 400; margin-top: 2px;
}
.site-footer .footer-link {
    color: rgba(255,255,255,.42);
    font-size: .84rem; font-weight: 500;
    transition: color .2s;
}
.site-footer .footer-link:hover { color: #fff; }
.site-footer .footer-copy {
    font-size: .78rem;
    color: rgba(255,255,255,.28);
}

/* ── WHATSAPP BOUNCE BUTTON ── */
.wa-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 9999;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.65rem;
    box-shadow: 0 6px 22px rgba(37,211,102,.5);
    animation: wa-bounce 2.2s infinite;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.wa-float:hover {
    color: #fff;
    transform: scale(1.1) !important;
    box-shadow: 0 8px 28px rgba(37,211,102,.65);
    animation: none;
}
@keyframes wa-bounce {
    0%, 100% { transform: translateY(0);    }
    20%       { transform: translateY(-10px); }
    40%       { transform: translateY(-4px);  }
    60%       { transform: translateY(-7px);  }
    80%       { transform: translateY(-2px);  }
}
.wa-tooltip {
    position: absolute;
    right: 68px;
    background: #fff;
    color: var(--text);
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    font-family: 'DM Sans', sans-serif;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ── CONTACT PAGE ── */
.contact-hero {
    background: linear-gradient(150deg, var(--navy) 0%, var(--blue) 100%);
    padding: 140px 0 80px;
    position: relative; overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 50px 50px;
}
.contact-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(10,37,64,.08);
    padding: 36px;
}
.contact-info-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--blue), var(--accent));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #fff; flex-shrink: 0;
}
.contact-info-label {
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    color: var(--muted); margin-bottom: 3px;
}
.contact-info-value {
    font-size: .95rem; font-weight: 600; color: var(--navy);
}
.contact-info-value a { color: var(--blue2); }
.contact-info-value a:hover { color: var(--accent); }

/* Form styles */
.form-label { font-weight: 600; font-size: .88rem; color: var(--navy); }
.form-control, .form-select {
    border-radius: 8px; padding: 11px 14px;
    border: 1.5px solid var(--border);
    font-size: .9rem; color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--blue2);
    box-shadow: 0 0 0 3px rgba(27,108,168,.12);
    outline: none;
}
.form-control::placeholder { color: #b0bec5; }
.btn-send {
    background: var(--blue);
    color: #fff; border: none;
    border-radius: 9px; padding: 13px 32px;
    font-weight: 700; font-size: .95rem;
    transition: background .2s, transform .15s;
    width: 100%;
}
.btn-send:hover {
    background: var(--blue2);
    transform: translateY(-1px);
    color: #fff;
}

/* Alert messages */
.msg-success {
    background: #e6f4ea; border: 1px solid #a7d7b0;
    color: #2d7a3a; border-radius: 9px;
    padding: 14px 18px; font-size: .9rem; font-weight: 500;
}
.msg-error {
    background: #fdecea; border: 1px solid #f5c0bb;
    color: #c0392b; border-radius: 9px;
    padding: 14px 18px; font-size: .9rem; font-weight: 500;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .step-connector { display: none; }
}
@media (max-width: 767px) {
    .trust-item { font-size: .8rem; }
    .contact-card { padding: 24px 18px; }
    .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; font-size: 1.45rem; }
}
