/* palette: aubergine-copper */
:root {
  --primary-color: #2D1B50;
  --secondary-color: #4A2F7A;
  --accent-color: #A06830;
  --background-color: #F5F0FF;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(160, 104, 48, 0.3);
  --shadow-color: rgba(0,0,0,0.05);
  
  /* Fonts */
  --font-display: 'Playfair Display', serif;
  --font-serif: 'Source Serif 4', serif;
  --font-sans: 'DM Sans', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Typography Scale */
h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    line-height: 0.9;
    color: var(--primary-color);
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    color: var(--primary-color);
}

h3 {
    font-family: var(--font-serif);
    font-size: clamp(18px, 2.8vw, 28px);
    font-weight: 600;
    color: var(--secondary-color);
}

h4 {
    font-family: var(--font-serif);
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 600;
    color: var(--secondary-color);
}

p {
    font-size: clamp(14px, 1.6vw, 17px);
    color: var(--text-color);
}

/* Heritage Luxury Elements */
.section-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 600;
}

.card {
    border: 1px solid var(--accent-color);
    box-shadow: none;
    background: #FFFFFF;
    padding: 24px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-4px);
}

hr {
    border: none;
    border-top: 1px solid var(--accent-color);
    max-width: 60px;
    margin: 24px auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 32px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
    cursor: pointer;
}

.btn-filled {
    background-color: var(--primary-color);
    color: #F5F0FF;
    border: 1px solid var(--primary-color);
}

.btn-filled:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Header & Menu CSS-only */
.site-header {
    background: var(--secondary-color);
    position: relative;
    width: 100%;
    z-index: 1000;
}

.header-inner {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 40px;
    width: auto;
}

.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
}

.burger-btn .bar {
    width: 100%;
    height: 2px;
    background-color: #F5F0FF;
    transition: all 0.28s ease-in-out;
}

.site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    z-index: 999;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.site-nav a {
    color: #F5F0FF;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--accent-color);
}

#menu-toggle:checked ~ .site-nav {
    display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
    transform: translateY(8px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 768px) {
    .burger-btn {
        display: none;
    }
    .site-nav {
        display: flex !important;
        position: static;
        padding: 0;
        background: transparent;
        border-top: none;
    }
    .site-nav ul {
        flex-direction: row;
        gap: 24px;
    }
    .site-nav a {
        font-size: 0.95rem;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
}

/* Card Cascading Delays */
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }
.card:nth-child(4) { animation-delay: 0.36s; }
.card:nth-child(5) { animation-delay: 0.48s; }

/* 1. Hero Section (diagonal-split) */
.hero-section {
    display: flex;
    flex-direction: column;
    min-height: 72vh;
    background: var(--background-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 48px 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: repeating-linear-gradient(45deg, rgba(160, 104, 48, 0.03) 0px, rgba(160, 104, 48, 0.03) 2px, transparent 2px, transparent 10px);
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-content .section-kicker {
    text-align: left;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-subtitle {
    margin-bottom: 32px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.hero-image {
    height: 300px;
    background: url('./img/bg.jpg') no-repeat center/cover;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
    }
    .hero-content {
        width: 50%;
        padding: 80px 48px;
    }
    .hero-image {
        width: 50%;
        height: auto;
        clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* 2. Stats Section */
.stats-section {
    padding: 48px 16px;
    background: #FFFFFF;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    text-align: center;
}

.stat-item {
    padding: 16px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    color: var(--accent-color);
    font-weight: 700;
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .stats-section {
        padding: 80px 24px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 3. Features Section */
.features-section {
    padding: 48px 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .features-section {
        padding: 80px 24px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .feature-card:nth-child(4) {
        grid-column: span 1;
    }
}

/* 4. Checklist Section */
.checklist-section {
    padding: 48px 16px;
    background: #FFFFFF;
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.check-icon {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

@media (min-width: 768px) {
    .checklist-section {
        padding: 80px 24px;
    }
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* 5. Comparison Table Section */
.comparison-section {
    padding: 48px 16px;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border: 1px solid var(--accent-color);
}

.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: #FFFFFF;
    font-family: var(--font-serif);
}

.text-positive {
    color: #2D1B50;
    font-weight: 600;
}

.text-negative {
    color: #888888;
}

@media (min-width: 768px) {
    .comparison-section {
        padding: 80px 24px;
    }
}

/* 6. Testimonials Section */
.testimonials-section {
    padding: 48px 16px;
    background: #FFFFFF;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 12px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .testimonials-section {
        padding: 80px 24px;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 7. Contact + FAQ Section */
.contact-faq-section {
    padding: 48px 16px;
    background: var(--background-color);
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    margin-bottom: 16px;
}

.info-details p {
    margin-bottom: 12px;
}

.contact-form {
    background: #FFFFFF;
    padding: 24px;
    border: 1px solid var(--accent-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--accent-color);
    background-color: var(--background-color);
    color: var(--dark-color);
    font-family: var(--font-sans);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.85rem;
}

/* FAQ Subsection */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.faq-item {
    background: #FFFFFF;
    padding: 20px;
    border-left: 4px solid var(--accent-color);
}

.faq-item h4 {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .contact-faq-section {
        padding: 80px 24px;
    }
    .contact-faq-grid {
        grid-template-columns: 1fr 1fr;
    }
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #F5F0FF;
    padding: 40px 16px;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.site-footer img[alt="logo"] {
    filter: brightness(0) invert(1);
    max-height: 40px;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #F5F0FF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.8;
}
.footer-copy p {color: #F5F0FF;}
@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .footer-links {
        flex-direction: row;
        gap: 20px;
    }
}