/* =========================================================================
   Base layout for the simple content pages (Privacy Policy, Terms, Sitemap).
   The older pages carry this layout in their own <style> blocks; these pages
   load it from here, then hilltop-theme.css adds the landing page look.
   ========================================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    color: white;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    padding: 6rem 2rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    list-style: none;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    display: block;
}

.mobile-menu-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    cursor: pointer;
}

.social-media {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    transition: all 0.3s;
}

/* Page banner */
.services-hero {
    background-image: url('../image/hilltop-hero-bg.jpg');
    background-position: 62% center;
}

/* Content card */
.legal-section {
    padding: 4rem 2rem 5rem;
}

.legal-card {
    max-width: 900px;
    margin: -5rem auto 0;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 24px;
    padding: 3rem 3.5rem;
    box-shadow: 0 20px 45px rgba(40, 32, 30, 0.1);
}

.legal-updated {
    display: inline-block;
    background: var(--ht-yellow);
    color: var(--ht-ink);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.legal-card h2 {
    font-family: var(--ht-display);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--ht-ink);
    margin: 2.25rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-card h2::before {
    content: '';
    width: 6px;
    height: 1.4rem;
    border-radius: 6px;
    background: var(--ht-red);
}

.legal-card h2:first-of-type {
    margin-top: 0.5rem;
}

.legal-card p,
.legal-card li {
    color: var(--ht-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.legal-card p {
    margin-bottom: 0.9rem;
}

.legal-card ul {
    margin: 0 0 1rem 1.25rem;
}

.legal-card li {
    margin-bottom: 0.4rem;
}

.legal-card li::marker {
    color: var(--ht-red);
}

.legal-card strong {
    color: var(--ht-ink);
}

.legal-card a {
    color: var(--ht-red);
    font-weight: 600;
}

.legal-contact {
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    border-radius: 18px;
    background: var(--ht-cream);
    border-left: 5px solid var(--ht-yellow);
}

/* Sitemap */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.sitemap-group {
    background: var(--ht-cream);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
}

.sitemap-group h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.sitemap-group h3 a {
    font-family: var(--ht-display);
    font-weight: 400;
    font-size: 1.35rem;
    text-transform: uppercase;
    color: var(--ht-ink);
    text-decoration: none;
}

.sitemap-group h3 a:hover {
    color: var(--ht-red);
}

.sitemap-group h3 i {
    color: var(--ht-red);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(244, 182, 37, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.sitemap-group ul {
    list-style: none;
    margin: 0;
}

.sitemap-group li {
    margin: 0 0 0.35rem;
}

.sitemap-group li a {
    color: var(--ht-muted);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
}

.sitemap-group li a::before {
    content: '\203A';
    color: var(--ht-red);
    font-weight: 700;
    margin-right: 0.5rem;
}

.sitemap-group li a:hover {
    color: var(--ht-red);
}

/* Footer */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.6rem;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.8rem;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.action-btn {
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.quick-links,
footer .contact-info,
.opening-hours {
    list-style: none;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a {
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.quick-links a i {
    margin-right: 8px;
    font-size: 0.7rem;
}

footer .contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

footer .contact-info i {
    margin-right: 12px;
    margin-top: 4px;
}

footer .contact-info div {
    font-size: 0.9rem;
    word-break: break-word;
}

footer .contact-info a.phone-number {
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.opening-hours {
    margin-bottom: 1.75rem;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding: 1.25rem 0;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
}

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

@media (max-width: 600px) {
    .legal-section {
        padding: 3rem 1rem 4rem;
    }

    .legal-card {
        padding: 2rem 1.4rem;
        margin-top: -3.5rem;
    }

    .sitemap-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}
