/* Custom Styles for The Helper Group - Senior Concierge & Estate Liaison */

:root {
    --thg-primary: #1e3d30;       /* Deep Forest / Sage Green */
    --thg-primary-hover: #152c23;
    --thg-primary-light: #2c5846;
    --thg-secondary: #3b82f6;     /* Slate Blue Accent */
    --thg-accent: #c48c46;        /* Warm Gold / Amber */
    --thg-accent-light: #fef8ee;
    --thg-bg: #fbfbfa;            /* Warm Off-White */
    --thg-surface: #f3f6f4;       /* Soft Sage-tinted Surface */
    --thg-surface-card: #ffffff;
    --thg-text: #1a202c;
    --thg-text-muted: #5a6a7e;
    --thg-border: rgba(30, 61, 48, 0.1);
    --thg-radius-sm: 12px;
    --thg-radius: 20px;
    --thg-radius-lg: 28px;
    --thg-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --thg-shadow: 0 12px 24px -4px rgba(20, 45, 34, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
    --thg-shadow-lg: 0 24px 38px -6px rgba(20, 45, 34, 0.12), 0 10px 16px -4px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--thg-text);
    background-color: var(--thg-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

/* Glassmorphism Navigation */
.navbar {
    background: rgba(251, 251, 250, 0.88) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--thg-border);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: var(--thg-shadow-sm);
    padding: 0.65rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--thg-primary) !important;
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.navbar-brand .brand-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--thg-surface);
    color: var(--thg-primary);
    border: 1px solid var(--thg-border);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    margin-left: 0.6rem;
    font-weight: 700;
}

.nav-link {
    color: var(--thg-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--thg-primary) !important;
    background-color: var(--thg-surface);
}

.btn-phone {
    font-weight: 600;
    color: var(--thg-primary);
    background: var(--thg-surface);
    border: 1px solid var(--thg-border);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-phone:hover {
    background: var(--thg-primary);
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
    background: radial-gradient(circle at 80% 20%, rgba(196, 140, 70, 0.08) 0%, rgba(251, 251, 250, 0) 50%),
                radial-gradient(circle at 10% 80%, rgba(30, 61, 48, 0.06) 0%, rgba(251, 251, 250, 0) 50%);
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #eaf1ed;
    color: var(--thg-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(30, 61, 48, 0.15);
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--thg-primary);
    margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--thg-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Custom Buttons */
.btn-thg-primary {
    background-color: var(--thg-primary);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--thg-shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-thg-primary:hover {
    background-color: var(--thg-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--thg-shadow);
}

.btn-thg-outline {
    background-color: transparent;
    color: var(--thg-primary);
    border: 2px solid var(--thg-primary);
    border-radius: 50px;
    padding: 0.85rem 1.85rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-thg-outline:hover {
    background-color: var(--thg-surface);
    color: var(--thg-primary);
    transform: translateY(-2px);
}

/* Trust Bar */
.trust-bar {
    background: #ffffff;
    border-radius: var(--thg-radius);
    padding: 1.25rem 2rem;
    border: 1px solid var(--thg-border);
    box-shadow: var(--thg-shadow-sm);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--thg-primary);
}

.trust-item svg {
    color: var(--thg-accent);
    flex-shrink: 0;
}

/* Service Pillars Section */
.pillar-card {
    background: #ffffff;
    border-radius: var(--thg-radius-lg);
    border: 1px solid var(--thg-border);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--thg-shadow-sm);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--thg-shadow-lg);
    border-color: rgba(30, 61, 48, 0.25);
}

.pillar-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.badge-concierge {
    background: #eaf3ed;
    color: var(--thg-primary);
}

.badge-placement {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-estate {
    background: var(--thg-accent-light);
    color: #925f1d;
}

.pillar-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--thg-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pillar-desc {
    color: var(--thg-text-muted);
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    color: var(--thg-text);
}

.feature-list li svg {
    color: var(--thg-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Feature Item Box in Grid */
.service-feature-card {
    background: #ffffff;
    border-radius: var(--thg-radius);
    border: 1px solid var(--thg-border);
    padding: 1.75rem;
    transition: all 0.25s ease;
    height: 100%;
}

.service-feature-card:hover {
    box-shadow: var(--thg-shadow);
    border-color: var(--thg-primary);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf1ed;
    color: var(--thg-primary);
    margin-bottom: 1.25rem;
}

.feature-icon-wrapper.gold {
    background: var(--thg-accent-light);
    color: var(--thg-accent);
}

.feature-icon-wrapper.blue {
    background: #e0f2fe;
    color: #0284c7;
}

/* Section Headings */
.section-tag {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--thg-accent);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--thg-primary);
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--thg-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* Attorney B2B Hub Banner */
.attorney-banner {
    background: linear-gradient(135deg, var(--thg-primary) 0%, #12241c 100%);
    border-radius: var(--thg-radius-lg);
    padding: 3.5rem 3rem;
    color: #ffffff;
    box-shadow: var(--thg-shadow-lg);
    position: relative;
    overflow: hidden;
}

.attorney-banner h3 {
    color: #ffffff;
    font-weight: 800;
    font-size: 2rem;
}

.attorney-banner p {
    color: #c9d6cf;
    font-size: 1.05rem;
}

.attorney-badge {
    background: rgba(196, 140, 70, 0.25);
    color: #f6d8a8;
    border: 1px solid rgba(196, 140, 70, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-weight: 700;
}

/* Pricing Section */
.pricing-card {
    background: #ffffff;
    border-radius: var(--thg-radius);
    border: 1px solid var(--thg-border);
    padding: 2.25rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--thg-primary);
    box-shadow: var(--thg-shadow);
}

.pricing-card.featured::before {
    content: "Best Value";

    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--thg-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--thg-primary);
    margin: 1rem 0 0.5rem 0;
}

.pricing-price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--thg-text-muted);
}

/* Story / About Section */
.story-image-card {
    border-radius: var(--thg-radius-lg);
    overflow: hidden;
    box-shadow: var(--thg-shadow);
    border: 1px solid var(--thg-border);
}

.founder-quote {
    font-style: italic;
    background: var(--thg-surface);
    border-left: 4px solid var(--thg-primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--thg-radius-sm) var(--thg-radius-sm) 0;
    margin: 1.5rem 0;
    color: var(--thg-primary);
    font-weight: 500;
}

/* FAQ Accordion */
.accordion-item {
    background-color: #ffffff;
    border: 1px solid var(--thg-border);
    border-radius: var(--thg-radius-sm) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 700;
    color: var(--thg-primary);
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--thg-surface);
    color: var(--thg-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--thg-border);
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--thg-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Contact & Consultation Box */
.contact-card {
    background: linear-gradient(135deg, var(--thg-primary) 0%, #162f24 100%);
    border-radius: var(--thg-radius-lg);
    padding: 3.5rem 2.5rem;
    color: #ffffff;
    box-shadow: var(--thg-shadow-lg);
}

.contact-card .form-control, .contact-card .form-select {
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--thg-text);
}

.contact-card .form-control:focus, .contact-card .form-select:focus {
    box-shadow: 0 0 0 4px rgba(196, 140, 70, 0.3);
    border-color: var(--thg-accent);
}

/* Footer */
footer {
    background-color: #ffffff;
    border-top: 1px solid var(--thg-border);
    padding: 4rem 0 2rem 0;
}

.footer-link {
    color: var(--thg-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

.legal-notice {
    font-size: 0.8rem;
    color: #8c9ba5;
    line-height: 1.5;
}

/* Dropdown Navigation Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    display: none;
    min-width: 16rem;
    padding: 0.5rem;
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: var(--thg-text);
    text-align: left;
    list-style: none;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid var(--thg-border);
    border-radius: var(--thg-radius-sm);
    box-shadow: var(--thg-shadow);
}

.dropdown-menu.show {
    display: block;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.65rem 1rem;
    clear: both;
    font-weight: 500;
    color: var(--thg-text);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: var(--thg-primary);
    background-color: var(--thg-surface);
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.4em;
    vertical-align: 0.2em;
    content: "";
    border-top: 0.35em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* Mobile Floating Call Button */
.mobile-call-fab {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1060;
    background: var(--thg-primary);
    color: #ffffff;
    border-radius: 50px;
    padding: 0.75rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(30, 61, 48, 0.35);
    transition: all 0.25s ease;
    animation: fab-pulse 2.5s ease-in-out infinite;
}

.mobile-call-fab:hover,
.mobile-call-fab:focus {
    background: var(--thg-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(30, 61, 48, 0.45);
    animation: none;
}

@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(30, 61, 48, 0.35); }
    50%       { box-shadow: 0 6px 28px rgba(30, 61, 48, 0.55), 0 0 0 6px rgba(30, 61, 48, 0.08); }
}
