/* palette: claret-gold */
:root {
  --primary-color: #811B2D;
  --secondary-color: #9E2236;
  --accent-color: #C9A227;
  --background-color: #FFF5F7;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: #111111;
  --shadow-color: rgba(0,0,0,0.15);
  --main-font: 'Nunito', sans-serif;
  --alt-font: 'DM Sans', sans-serif;
}

/* Base Reset & Layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--alt-font);
    background-color: #ffffff;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography Scale */
h1 {
    font-family: var(--main-font);
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

h2 {
    font-family: var(--main-font);
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h3 {
    font-family: var(--main-font);
    font-size: clamp(18px, 2.8vw, 28px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

h4 {
    font-family: var(--main-font);
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark-color);
}

p {
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.7;
    color: var(--text-color);
}

/* BOLD-GEOMETRIC Visual Style Presets */

section:nth-child(even) {
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    background-color: var(--background-color);
}

section {
    padding: 64px 16px;
}

@media (min-width: 768px) {
    section {
        padding: 96px 24px;
    }
}

/* Buttons (Bold-Geometric) */
.btn {
    width: 100%;
    max-width: 360px;
    display: inline-block;
    text-align: center;
    padding: 16px 28px;
    font-family: var(--main-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid var(--border-color);
    border-radius: 0 !important;
    background-color: var(--accent-color);
    color: var(--dark-color);
    box-shadow: 6px 6px 0 var(--dark-color);
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
    text-decoration: none;
    min-height: 44px;
}

.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 var(--dark-color);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Cards (Bold-Geometric) */
.card {
    background-color: #ffffff;
    border: 3px solid var(--border-color);
    border-radius: 0 !important;
    box-shadow: 6px 6px 0 var(--primary-color);
    padding: 24px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--primary-color);
}

/* Header & Menu */
header {
    background-color: var(--secondary-color);
    position: relative;
    width: 100%;
    z-index: 1000;
    border-bottom: 4px solid var(--dark-color);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 44px;
    width: auto;
    max-width: 100%;
    height: auto;
}

.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
}

.bar {
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.28s ease;
}

.site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    border-bottom: 4px solid var(--dark-color);
    padding: 16px;
    z-index: 999;
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: block;
    padding: 8px 0;
}

#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);
}

#menu-toggle:checked ~ .site-nav {
    display: block;
}

@media (min-width: 768px) {
    .burger-btn {
        display: none;
    }
    .site-nav {
        display: flex !important;
        position: static;
        background: transparent;
        border: none;
        padding: 0;
    }
    .site-nav ul {
        flex-direction: row;
        gap: 24px;
    }
}

/* Hero Section (vertical-stack) */
.hero {
    display: flex;
    flex-direction: column;
    min-height: 72vh;
    padding: 0;
}

.hero-text-container {
    background-color: var(--primary-color);
    padding: 48px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-content p {
    color: #F5F5F5;
    margin: 20px auto 32px;
    max-width: 600px;
}

.hero-content .btn {
    margin: 0 auto;
}

.hero-image-container {
    height: 50vh;
    min-height: 300px;
    background-image: url('./img/bg.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Expert Quote */
.expert-quote {
    background-color: #ffffff;
}

.quote-text {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.quote-author {
    font-family: var(--main-font);
    font-style: normal;
    font-weight: 600;
    color: var(--text-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 16px;
}

@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;
    }
}

/* Stats Section */
.stats {
    background-color: var(--secondary-color) !important;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--main-font);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: #F5F5F5;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.testimonial-card .stars {
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* About Section */
.grid-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.about-img-container img {
    width: 100%;
    height: auto;
    border: 4px solid var(--dark-color);
    box-shadow: 8px 8px 0 var(--accent-color);
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .grid-about {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact & FAQ Combined */
.contact-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 12px;
    font-size: 16px;
}

.contact-form {
    background-color: #ffffff;
    border: 3px solid var(--dark-color);
    padding: 24px;
    box-shadow: 8px 8px 0 var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--dark-color);
    font-family: var(--alt-font);
    font-size: 15px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 14px;
    font-weight: 400;
}

@media (min-width: 768px) {
    .contact-faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FAQ Container (Open list) */
.faq-container {
    border-top: 4px solid var(--dark-color);
    padding-top: 48px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.faq-item h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* Scroll Reveal */
@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%;
}

/* 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; }

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #ffffff;
    padding: 48px 16px;
    border-top: 4px solid var(--accent-color);
}

footer img[alt="logo"] {
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.footer-nav a {
    color: #F5F5F5;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 14px;
    color: #999999;
}

@media (min-width: 768px) {
    .footer-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .footer-nav {
        flex-direction: row;
        gap: 24px;
    }
    .copyright {
        width: 100%;
        margin-top: 24px;
        text-align: center;
    }
}