/* ==========================================================================
   OnHand Solutions - Custom Styling Extension
   Clearwave Modern Corporate Facilities & Workspace Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   MANDATORY GOOGLE ADS COMPLIANT WHITE RUNNING TICKER
   -------------------------------------------------------------------------- */
.white-running-ticker {
    background: #ffffff !important;
    color: #0D1E1C !important;
    border-top: 2px solid #1A7A6E !important;
    border-bottom: 2px solid #1A7A6E !important;
    overflow: hidden !important;
    padding: 14px 0 !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 99 !important;
    box-shadow: 0 4px 20px rgba(26, 122, 110, 0.12) !important;
}

.ticker-track {
    display: inline-block !important;
    white-space: nowrap !important;
    animation: tickerScroll 42s linear infinite !important;
}

.ticker-track:hover {
    animation-play-state: paused !important;
}

.ticker-item {
    display: inline-block !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #0D1E1C !important;
    padding: 0 32px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

.ticker-item span.bullet {
    color: #1A7A6E !important;
    margin-right: 12px !important;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.nav,
.onhand-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(244, 250, 250, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(26, 122, 110, 0.15) !important;
    box-shadow: 0 2px 14px rgba(13, 30, 28, 0.05) !important;
}

.reveal {
    opacity: 1 !important;
    transform: none !important;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0D1E1C;
    letter-spacing: -0.02em;
}

.brand-logo .brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1A7A6E;
    box-shadow: 0 0 10px rgba(26, 122, 110, 0.4);
}

.brand-logo .sub-badge {
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(26, 122, 110, 0.1);
    color: #1A7A6E;
    border: 1px solid rgba(26, 122, 110, 0.25);
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3A5C58;
    transition: color 0.2s ease;
    padding: 6px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1A7A6E;
    font-weight: 700;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1A7A6E;
    border-radius: 2px;
}

.btn-teal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1A7A6E;
    color: #FFFFFF !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 100px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(26, 122, 110, 0.25);
}

.btn-teal:hover {
    background: #2A9D8F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 122, 110, 0.35);
}

.btn-teal-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid #1A7A6E;
    color: #1A7A6E !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 100px;
    transition: all 0.25s ease;
}

.btn-teal-outline:hover {
    background: rgba(26, 122, 110, 0.08);
}

/* --------------------------------------------------------------------------
   SUBPAGE HERO & CONTENT
   -------------------------------------------------------------------------- */
.subpage-hero {
    padding: 70px 24px 50px;
    background: linear-gradient(180deg, #DFF0EE 0%, #E8F4F2 100%);
    border-bottom: 1px solid rgba(26, 122, 110, 0.12);
}

.subpage-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-main-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0D1E1C;
    line-height: 1.18;
    margin-bottom: 18px;
}

.hero-main-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #1A7A6E;
}

.hero-lead {
    font-size: 1.12rem;
    color: #3A5C58;
    line-height: 1.8;
    max-width: 780px;
}

.subpage-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

/* --------------------------------------------------------------------------
   CARDS & GRIDS
   -------------------------------------------------------------------------- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

.corporate-card {
    background: #FFFFFF;
    border: 1px solid rgba(13, 30, 28, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(13, 30, 28, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.corporate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 122, 110, 0.12);
    border-color: rgba(26, 122, 110, 0.3);
}

.corporate-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.corporate-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.corporate-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1A7A6E;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.corporate-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0D1E1C;
    margin-bottom: 12px;
    line-height: 1.3;
}

.corporate-card-desc {
    font-size: 0.94rem;
    color: #3A5C58;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.pill-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(26, 122, 110, 0.08);
    color: #1A7A6E;
    padding: 4px 10px;
    border-radius: 100px;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   FORM CONTROLS & CALCULATORS
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0D1E1C;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: #FFFFFF;
    border: 1.5px solid rgba(13, 30, 28, 0.15);
    border-radius: 10px;
    padding: 12px 16px;
    color: #0D1E1C;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1A7A6E;
    box-shadow: 0 0 0 3px rgba(26, 122, 110, 0.15);
}

/* --------------------------------------------------------------------------
   ACCORDION FAQ
   -------------------------------------------------------------------------- */
.faq-box {
    background: #FFFFFF;
    border: 1px solid rgba(13, 30, 28, 0.08);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(13, 30, 28, 0.03);
}

.faq-q {
    padding: 22px 26px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0D1E1C;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-q:hover {
    color: #1A7A6E;
}

.faq-a {
    padding: 0 26px 24px;
    font-size: 0.95rem;
    color: #3A5C58;
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   SUBPAGE FOOTER
   -------------------------------------------------------------------------- */
.onhand-footer {
    background: #0D1E1C;
    color: #FFFFFF;
    padding: 70px 24px 35px;
    font-family: 'DM Sans', sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; }
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #2A9D8F;
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #5BBFB5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.5);
}
