/* General Theme Colors */
:root {
    --primary: #1e293b;       /* Slate Dark Blue */
    --accent: #d97706;        /* Warm Gold/Amber */
    --accent-hover: #b45309;  /* Darker Gold */
    --bg-main: #fafaf9;       /* Soft stone/white */
    --bg-card: #ffffff;
    --text-main: #292524;     /* Deep stone charcoal */
    --text-muted: #78716c;    /* Soft charcoal */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.max-width-md {
    max-width: 800px;
}

/* Skip link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Header & Nav */
.header {
    background-color: var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #e7e5e4;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e7e5e4;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Stats */
.stats {
    background-color: white;
    padding: 40px 0;
    border-bottom: 1px solid #e7e5e4;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-serif);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: #f5f5f4;
}

.section-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    border-top: 4px solid var(--accent);
}

.step-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 15px;
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background-color: white;
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.trust-content h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.trust-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.trust-list {
    list-style: none;
}

.trust-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.trust-list li i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.25rem;
    margin-top: 4px;
}

.trust-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Services Teaser */
.services-teaser {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.service-card-body {
    padding: 25px;
}

.service-card-body h3 {
    margin-bottom: 15px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.service-card-body p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.link-arrow {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.link-arrow:hover {
    color: var(--accent-hover);
}

/* Services Details Page */
.page-title-section {
    background-color: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title-section h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-title-section p {
    color: #cbd5e1;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-item {
    padding: 80px 0;
}

.service-detail-item.alt-bg {
    background-color: #f5f5f4;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-detail-item h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-detail-item p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* About Page Content */
.about-content {
    padding: 80px 0;
}

.about-content h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.about-content img {
    width: 100%;
    border-radius: 8px;
}

.values {
    background-color: #f5f5f4;
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--bg-card);
    padding: 35px;
    border-radius: 8px;
    text-align: center;
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
}

.value-card p {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: #f5f5f4;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.price .currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--accent);
    margin-right: 10px;
}

/* Contact & Form Section */
.lead-form-section {
    padding: 80px 0;
    background-color: white;
}

.form-container {
    max-width: 800px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.form-header p {
    color: var(--text-muted);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid #d6d3d1;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-consent input {
    margin-top: 4px;
}

.btn-submit {
    justify-self: start;
}

/* FAQ Accordion */
.faq-accordion-section {
    padding: 80px 0;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e7e5e4;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    font-family: var(--font-sans);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Details Page */
.contact-section {
    padding: 80px 0;
}

.contact-details h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-contact {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.contact-info-list .info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-list .info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 4px;
}

.contact-info-list .info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-list .info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-container {
    margin-top: 40px;
}

.map-container h3 {
    margin-bottom: 15px;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0;
    background-color: white;
}

.legal-page h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

.legal-page h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e7e5e4;
    padding-bottom: 10px;
}

.legal-page p, .legal-page ul {
    margin-bottom: 20px;
    color: #44403c;
}

.legal-page ul {
    padding-left: 20px;
}

.legal-page li {
    margin-bottom: 10px;
}

/* Trust Layer Plaque */
.trust-layer {
    background-color: #f5f5f4;
    padding: 60px 0;
    border-top: 1px solid #e7e5e4;
    font-size: 0.85rem;
    color: #57534e;
}

.trust-layer h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.trust-layer p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.trust-layer .disclaimer {
    font-style: italic;
    margin-top: 15px;
}

/* Footer styling */
.footer {
    background-color: var(--primary);
    color: #d6d3d1;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.holding-info {
    font-size: 0.8rem;
    color: #a8a29e;
    max-width: 500px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Thank You and 404 */
.thank-you-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-main);
    text-align: center;
}

.thank-you-container {
    max-width: 600px;
}

.success-icon {
    font-size: 4rem;
    color: #16a34a;
    margin-bottom: 30px;
}

.thank-you-container h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-container p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: white;
    padding: 20px 0;
    z-index: 10000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-container p {
    font-size: 0.85rem;
    color: #e7e5e4;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-cookie-accept:hover {
    background-color: var(--accent-hover);
}

.btn-cookie-refuse {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

/* Responsive Rules */
@media (max-width: 991px) {
    .grid-two-cols, .trust-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .inversion {
        direction: ltr; /* Ensure normal layout on stacked layout */
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--primary);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}

/* Accessibility features */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
}