/* palette: sienna-gold */
:root {
  --primary-color: #5C2B0E;
  --secondary-color: #7D3A16;
  --accent-color: #C9A227;
  --background-color: #FEF3EC;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 32px;
  --main-font: 'DM Serif Display', serif;
  --alt-font: 'Open Sans', sans-serif;
}

@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

/* MINIMAL-LIGHT PRESET RULES */
section{padding:96px 16px} @media(min-width:1024px){section{padding:120px 24px}} body{font-weight:300;line-height:1.9} .card{border:none;box-shadow:0 4px 24px rgba(0,0,0,0.07);border-radius:16px} .btn{border-radius:999px;padding:14px 36px} section+section{border:none}

/* GENERAL STYLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--alt-font);
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.grid {
    display: grid;
    gap: 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: var(--main-font);
    color: var(--dark-color);
    font-weight: 700;
}

h1 { font-size: clamp(32px, 6vw, 64px); line-height: 1.1; }
h2 { font-size: clamp(24px, 4vw, 42px); line-height: 1.2; }
h3 { font-size: clamp(18px, 2.8vw, 28px); font-weight: 600; line-height: 1.3; }
p { font-size: clamp(14px, 1.6vw, 17px); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary-color); }

/* BUTTONS */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    text-align: center;
    min-height: 44px;
    transition: transform .15s, box-shadow .15s, background-color .15s;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn:hover {
    transform: translateY(-2px);
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    color: #fff;
}

/* ANIMATIONS */
@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 {
    transition: transform .25s, box-shadow .25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: .12s; }
.card:nth-child(3) { animation-delay: .24s; }
.card:nth-child(4) { animation-delay: .36s; }

/* HEADER */
.header {
    background-color: var(--background-color);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 40px;
    width: auto;
}
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
}
.bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
.site-nav {
    display: none;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    background-color: var(--background-color);
    padding: 24px;
    box-shadow: var(--shadow-md);
    z-index: 999;
}
.site-nav ul {
    list-style: none;
    text-align: center;
}
.site-nav li {
    margin-bottom: 16px;
}
.site-nav a {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-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: block !important;
        position: static;
        box-shadow: none;
        padding: 0;
    }
    .site-nav ul {
        display: flex;
        gap: 24px;
    }
    .site-nav li {
        margin-bottom: 0;
    }
    .site-nav a { font-size: 16px; }
}

/* HERO: EDITORIAL-BLEED */
.hero {
    display: flex;
    align-items: center;
    text-align: center;
    min-height: 82vh;
}
.hero h1 {
    font-size: clamp(2.8rem, 10vw, 7rem);
    line-height: 1.0;
    margin-bottom: 24px;
}
.hero .accent {
    color: var(--accent-color);
}
.hero-divider {
    border: none;
    border-top: 2px solid var(--dark-color);
    width: 100px;
    margin: 0 auto 32px;
}
.hero-subtitle {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: left;
}
.hero-subtitle p {
    margin-bottom: 24px;
}

@media(min-width:768px) {
    .hero-subtitle {
        columns: 2;
        column-gap: 48px;
    }
}

/* FEATURES */
.features-grid {
    grid-template-columns: 1fr;
}
.features .card {
    padding: 32px;
    text-align: center;
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.features .card h3 {
    margin-bottom: 12px;
}
@media(min-width:768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width:1024px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* STATS COUNTER */
.stats-counter {
    background-color: var(--secondary-color);
    color: #FEF3EC;
    text-align: center;
}
.stats-counter h2, .stats-counter p {
    color: #FEF3EC;
}
.stats-counter p {
    opacity: 0.9;
}
.stats-grid {
    grid-template-columns: 1fr;
}
.stat-num {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    font-family: var(--main-font);
    line-height: 1;
    color: var(--accent-color);
    animation: count-up 2s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
    counter-reset: n var(--count);
}
.stat-num::after {
    content: counter(n) '%';
}
@keyframes count-up {
    from { --count: 0; }
    to { --count: var(--target); }
}
.stat-label {
    margin-top: 8px;
    font-size: clamp(14px, 1.6vw, 17px);
}
@media(min-width:768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ABOUT + IMAGE */
.about-image .grid {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 48px;
}
.about-image-col img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
}
.about-text-col ul {
    list-style-position: inside;
    padding-left: 8px;
}
.about-text-col li {
    margin-bottom: 8px;
}
@media(min-width:768px) {
    .about-image .grid { grid-template-columns: 1fr 1fr; }
}

/* TESTIMONIALS */
.testimonials-grid {
    grid-template-columns: 1fr;
}
.testimonials .card {
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.quote {
    flex-grow: 1;
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.8;
}
.author {
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 4px;
}
.location {
    font-size: 0.9rem;
    opacity: 0.7;
}
@media(min-width:768px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width:1024px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 16px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}
.item-2 {
    background-color: var(--primary-color);
    border-radius: var(--radius-md);
}
.item-3 {
    background-color: var(--accent-color);
    border-radius: var(--radius-md);
}
.item-4 {
    display: none; /* For mobile simplicity */
}

@media(min-width:768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 220px);
    }
    .item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    .item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
    .item-3 { grid-column: 4 / 5; grid-row: 1 / 2; }
    .item-4 {
        display: block;
        grid-column: 3 / 5;
        grid-row: 2 / 3;
        background-color: var(--secondary-color);
        border-radius: var(--radius-md);
    }
}

/* CONTACT & FAQ */
.contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}
.contact-info-item {
    margin-bottom: 24px;
}
.contact-info-item h4 {
    font-family: var(--alt-font);
    font-weight: 600;
    color: var(--dark-color);
}
.contact-form .form-group {
    margin-bottom: 16px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--alt-font);
    font-size: 16px;
    background-color: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid var(--accent-color);
    border-color: transparent;
}
.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
}
.form-group-checkbox input {
    width: auto;
    margin-top: 5px;
}
.form-group-checkbox label {
    font-size: 0.9rem;
    line-height: 1.5;
}
.contact-form button {
    width: 100%;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}
.faq-item h4 {
    margin-bottom: 8px;
    font-family: var(--alt-font);
    font-weight: 600;
}
@media(min-width:768px) {
    .contact-grid { grid-template-columns: 1fr 1.2fr; }
    .faq-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* FOOTER */
.footer {
    background-color: var(--dark-color);
    color: #f0f0f0;
    padding: 48px 0;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}
.footer-logo img {
    height: 36px;
    filter: brightness(0) invert(1);
}
.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-nav a {
    color: #f0f0f0;
    opacity: 0.8;
}
.footer-nav a:hover {
    opacity: 1;
    color: var(--accent-color);
}
.footer-copy {
    font-size: 0.9rem;
    opacity: 0.6;
}
@media(min-width:768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-logo { margin-right: auto; }
    .footer-nav { margin-right: 24px; }
}