/* palette: burgundy-sand */
:root {
  --primary-color: #6B0F1A;
  --secondary-color: #7D1220;
  --accent-color: #A06830;
  --background-color: #FDF5F5;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.15);
  --shadow-color: rgba(0,0,0,0.07);
  --main-font: 'Nunito', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Universal resets and typography scale */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--alt-font);
    background-color: var(--background-color);
    color: var(--text-color);
    font-weight: 300;
    line-height: 1.8;
}

h1 {
    font-family: var(--main-font);
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

h2 {
    font-family: var(--main-font);
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

h3 {
    font-family: var(--main-font);
    font-size: clamp(18px, 2.8vw, 28px);
    font-weight: 600;
    line-height: 1.4;
    color: var(--secondary-color);
}

h4 {
    font-family: var(--main-font);
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 600;
    line-height: 1.4;
    color: var(--secondary-color);
}

p {
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

/* MINIMAL-LIGHT Preset Styles */
.card {
    border: none;
    box-shadow: 0 4px 24px var(--shadow-color);
    border-radius: 16px;
    background-color: #ffffff;
    padding: 24px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.btn {
    border-radius: 999px;
    padding: 12px 32px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    min-height: 44px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #F5F5F5;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(107, 15, 26, 0.3);
}

section {
    padding: 48px 16px;
}

@media (min-width: 768px) {
    section {
        padding: 96px 24px;
    }
}

/* Header & Navigation (CSS-only Burger) */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    width: 100%;
}

.header-inner {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .header-inner {
        padding: 14px 24px;
    }
}

.logo img {
    height: 40px;
    width: auto;
}

.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
    cursor: pointer;
    z-index: 1000;
}

.burger-btn .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    transition: transform 0.28s, opacity 0.28s;
}

/* Mobile Nav Styles */
.site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 16px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
    display: block;
    padding: 8px 0;
}

.site-nav a:hover {
    color: var(--primary-color);
}

/* Checked state logic for burger animation and mobile menu visibility */
#menu-toggle:checked ~ .burger-btn .bar:first-child {
    transform: translateY(7px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

#menu-toggle:checked ~ .site-nav {
    display: block;
}

/* Desktop Navigation overrides */
@media (min-width: 768px) {
    .burger-btn {
        display: none;
    }
    
    .site-nav {
        display: flex !important;
        position: static;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }
    
    .site-nav ul {
        flex-direction: row;
        gap: 24px;
    }
}

/* Hero Section (circle-image variant) */
.hero-section {
    min-height: 78vh;
    display: flex;
    align-items: center;
    background-color: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 64px;
    }
}

.hero-content {
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-subtitle {
    margin-top: 16px;
    margin-bottom: 24px;
    color: var(--text-color);
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .hero-circle-img {
        width: 380px;
        height: 380px;
    }
}

@media (min-width: 1024px) {
    .hero-circle-img {
        width: 440px;
        height: 440px;
    }
}

/* Stats Section */
.stats-section {
    background-color: var(--secondary-color);
    color: #F5F5F5;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stats-item {
    padding: 16px;
}

.stats-number {
    font-family: var(--main-font);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stats-label {
    font-size: 15px;
    color: #E5E5E5;
}

/* Features Section */
.section-desc {
    max-width: 600px;
    margin: 8px auto 0 auto;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .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;
    }
    .feature-card:nth-child(5) {
        grid-column: span 1;
    }
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

/* Comparison Table Section */
.comparison-section {
    background-color: #ffffff;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    background: #ffffff;
    box-shadow: 0 4px 24px var(--shadow-color);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 16px 24px;
    text-align: left;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--main-font);
    font-weight: 600;
}

.comparison-table td {
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--background-color);
}

/* About+Image Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 56px;
    }
}

.about-image-wrapper {
    width: 100%;
}

.about-img {
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-text-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .about-text-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.testimonial-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary-color);
}

/* Contact + FAQ Section */
.contact-faq-section {
    background-color: var(--background-color);
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-faq-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-intro {
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 24px;
    background-color: #ffffff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.contact-form-wrapper {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--alt-font);
    font-size: 14px;
    background-color: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 13px;
    font-weight: 300;
}

/* FAQ Block */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-item {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow-color);
}

.faq-item h4 {
    margin-bottom: 12px;
}

/* Footer styling */
footer {
    background-color: var(--dark-color);
    color: #F5F5F5;
    padding: 48px 16px;
}

footer img[alt="logo"] {
    filter: brightness(0) invert(1);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer-links-wrapper {
        align-items: flex-end;
    }
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.footer-nav a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 13px;
}

.footer-nav a:hover {
    color: #ffffff;
}

.copyright {
    font-size: 12px;
    color: #999999;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal CSS animation (Chrome 115+) */
@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%;
}

/* Cascade delays for cards */
.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; }