/* ============================================
   TRUHLÁŘSTVÍ BEROUN — Design System
   Palette: warm oak, deep forest, cream, brass
   Signature: hand-drawn grain texture overlays
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Sans+3:wght@300;400;500;600&family=Josefin+Sans:wght@300;400;600&display=swap');

/* ── Tokens ─────────────────────────────────── */
:root {
    --oak: #8B5E3C;
    --oak-dark: #5C3A1E;
    --oak-light: #C49A6C;
    --forest: #2D3A2E;
    --forest-mid: #3D5140;
    --cream: #F8F3EC;
    --cream-dark: #EDE4D8;
    --brass: #B08850;
    --brass-light: #D4AF78;
    --charcoal: #1A1A18;
    --text: #2A2520;
    --text-muted: #6B5E52;
    --white: #FFFEF9;

    --ff-display: 'Playfair Display', Georgia, serif;
    --ff-body: 'Source Sans 3', system-ui, sans-serif;
    --ff-label: 'Josefin Sans', sans-serif;

    --radius-sm: 2px;
    --radius: 4px;
    --radius-lg: 8px;

    --shadow-card: 0 4px 24px rgba(92, 58, 30, 0.10);
    --shadow-hover: 0 8px 40px rgba(92, 58, 30, 0.18);

    --transition: 0.3s ease;
    --max-w: 1240px;
    --gutter: clamp(20px, 5vw, 64px);
}

/* ── Reset & Base ───────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    background: var(--cream);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ── Grain Overlay (signature element) ─────── */
.grain::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.045'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* ── Typography ─────────────────────────────── */
.display-xl {
    font-family: var(--ff-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.display-lg {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.display-md {
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1.25;
}

.display-sm {
    font-family: var(--ff-display);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
}

.label {
    font-family: var(--ff-label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.body-lg {
    font-size: 1.125rem;
    line-height: 1.7;
}

.body-md {
    font-size: 1rem;
    line-height: 1.65;
}

.body-sm {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ── Layout Utilities ───────────────────────── */
.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: clamp(64px, 8vw, 120px);
}

.section-sm {
    padding-block: clamp(40px, 5vw, 72px);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 24px;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.items-center {
    align-items: center;
}

.gap-sm {
    gap: 12px;
}

.gap-md {
    gap: 24px;
}

.gap-lg {
    gap: 40px;
}

/* ── Color Utilities ────────────────────────── */
.bg-forest {
    background: var(--forest);
}

.bg-oak {
    background: var(--oak);
}

.bg-cream {
    background: var(--cream);
}

.bg-cream-dk {
    background: var(--cream-dark);
}

.bg-charcoal {
    background: var(--charcoal);
}

.text-white {
    color: white;
}

.text-cream {
    color: var(--cream);
}

.text-oak {
    color: var(--oak);
}

.text-brass {
    color: var(--brass);
}

.text-muted {
    color: var(--text-muted);
}

/* ── Buttons ────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--ff-label);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--oak);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--oak-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(92, 58, 30, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-brass {
    background: var(--brass);
    color: var(--white);
}

.btn-brass:hover {
    background: var(--oak);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--oak);
    border: 1.5px solid var(--oak);
}

.btn-ghost:hover {
    background: var(--oak);
    color: var(--white);
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── Navigation ─────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all var(--transition);
    /* Gradient overlay so links are readable over dark hero at top */
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
}

.nav.scrolled {
    background: rgba(248, 243, 236, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(92, 58, 30, 0.1);
}

/* Nav items white when over hero (not scrolled) */
.nav:not(.scrolled) .nav-brand {
    color: rgba(255, 255, 255, 0.95);
}

.nav:not(.scrolled) .nav-brand small {
    color: rgba(255, 255, 255, 0.55);
}

.nav:not(.scrolled) .nav-link {
    color: rgba(39, 26, 26, 0.75);
}

.nav:not(.scrolled) .nav-link:hover {
    color: rgb(24, 18, 18);
}

.nav:not(.scrolled) .nav-link::after {
    background: rgba(255, 255, 255, 0.7);
}

.nav:not(.scrolled) .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.nav:not(.scrolled) .nav-hamburger span {
    background: rgba(255, 255, 255, 0.85);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-mark {
    width: 40px;
    height: 40px;
    background: var(--oak);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-logo-mark svg {
    width: 24px;
    height: 24px;
}

.nav-brand {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--oak-dark);
    line-height: 1.1;
}

.nav-brand small {
    display: block;
    font-family: var(--ff-label);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--ff-label);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--oak);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--oak-dark);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--oak);
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 8px;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--oak-dark);
    transition: all var(--transition);
    transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-top: 1px solid var(--cream-dark);
    padding: 24px var(--gutter) 32px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile .nav-link {
    font-size: 0.85rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--cream-dark);
    color: var(--text);
}

.nav-mobile .nav-link:last-child {
    border-bottom: none;
}

.nav-mobile .btn {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}

/* ── Hero ───────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(60px, 8vw, 100px);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #2D3A2E 0%, #1A1A18 60%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://truhlarstviberoun.cz/wp-content/uploads/photo-gallery/Kuchy%C5%88_7/%C4%8Derven08_033.jpg') center/cover no-repeat;
    opacity: 0.3;
    mix-blend-mode: luminosity;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(26, 26, 24, 0.95) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-eyebrow-line {
    width: 36px;
    height: 1px;
    background: var(--brass-light);
}

.hero-title {
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--brass-light);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.72);
    max-width: 520px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}

.hero-badge-num {
    font-family: var(--ff-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brass-light);
    line-height: 1;
}

.hero-badge-text {
    font-family: var(--ff-label);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    right: var(--gutter);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    writing-mode: vertical-rl;
    font-family: var(--ff-label);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

/* ── Section Headers ────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header .label {
    color: var(--brass);
    margin-bottom: 12px;
    display: block;
}

.section-header h2 {
    color: var(--oak-dark);
}

.section-header p {
    color: var(--text-muted);
    max-width: 540px;
    margin: 16px auto 0;
}

/* ── Stats Bar ──────────────────────────────── */
.stats-bar {
    background: var(--forest);
    padding: 40px 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    text-align: center;
}

.stat-item {
    padding: 16px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--brass-light);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.stat-label {
    font-family: var(--ff-label);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

/* ── About Section ──────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 52%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 6px solid var(--cream);
    box-shadow: var(--shadow-card);
}

.about-badge-year {
    position: absolute;
    top: 24px;
    left: -16px;
    background: var(--oak);
    color: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.about-badge-year strong {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-badge-year span {
    font-family: var(--ff-label);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    opacity: 0.8;
}

.about-content .label {
    color: var(--brass);
    display: block;
    margin-bottom: 12px;
}

.about-content h2 {
    color: var(--oak-dark);
    margin-bottom: 24px;
}

.about-divider {
    width: 48px;
    height: 2px;
    background: var(--brass);
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.highlight-icon {
    width: 32px;
    height: 32px;
    background: var(--cream-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 16px;
    height: 16px;
    color: var(--oak);
}

.highlight-text strong {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
}

.highlight-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Services Cards ─────────────────────────── */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.service-card-body {
    padding: 28px 28px 32px;
}

.service-card-tag {
    display: inline-block;
    background: var(--cream-dark);
    color: var(--oak);
    padding: 4px 10px;
    border-radius: 2px;
    font-family: var(--ff-label);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.service-card h3 {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--oak-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.service-card-link {
    font-family: var(--ff-label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--oak);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition);
}

.service-card-link:hover {
    gap: 14px;
}

.service-card-link svg {
    width: 16px;
    height: 16px;
}

/* ── Process ────────────────────────────────── */
.process-bg {
    background: var(--cream-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--oak-light), transparent);
}

.process-step {
    text-align: center;
    padding: 0 20px 0;
    position: relative;
}

.process-step-num {
    width: 64px;
    height: 64px;
    background: var(--white);
    border: 2px solid var(--oak-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--oak);
    position: relative;
    z-index: 1;
}

.process-step h4 {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--oak-dark);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ── Gallery / Portfolio ────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    position: relative;
}

.gallery-item:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 5;
}

.gallery-item:nth-child(3) {
    grid-column: span 5;
}

.gallery-item:nth-child(4) {
    grid-column: span 4;
}

.gallery-item:nth-child(5) {
    grid-column: span 4;
}

.gallery-item:nth-child(6) {
    grid-column: span 4;
}

.gallery-img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 24, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    font-family: var(--ff-label);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: white;
    text-transform: uppercase;
}

/* ── Testimonials ───────────────────────────── */
.testimonials-bg {
    background: var(--forest);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star {
    color: var(--brass-light);
    font-size: 1rem;
}

.testimonial-quote {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--oak);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.testimonial-location {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--ff-label);
    letter-spacing: 0.06em;
}

/* ── Materials ──────────────────────────────── */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.material-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--cream-dark);
    transition: all var(--transition);
}

.material-item:hover {
    border-color: var(--oak-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.material-swatch {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 12px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.material-name {
    font-family: var(--ff-label);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Contact Section ────────────────────────── */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

/* Simple contact — horizontal row of 4 items */
.contact-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.contact-simple .contact-detail {
    padding: 32px 24px;
    margin-bottom: 0;
    padding-bottom: 32px;
    border-bottom: none;
    border-right: 1px solid var(--cream-dark);
    flex-direction: column;
    gap: 12px;
}

.contact-simple .contact-detail:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .contact-simple {
        grid-template-columns: 1fr 1fr;
    }
    .contact-simple .contact-detail:nth-child(2) {
        border-right: none;
    }
    .contact-simple .contact-detail:nth-child(odd) {
        border-right: 1px solid var(--cream-dark);
    }
    .contact-simple .contact-detail:nth-child(1),
    .contact-simple .contact-detail:nth-child(2) {
        border-bottom: 1px solid var(--cream-dark);
    }
}

@media (max-width: 420px) {
    .contact-simple {
        grid-template-columns: 1fr;
    }
    .contact-simple .contact-detail {
        border-right: none !important;
        border-bottom: 1px solid var(--cream-dark);
    }
    .contact-simple .contact-detail:last-child {
        border-bottom: none;
    }
}

.contact-info .label {
    color: var(--brass);
    display: block;
    margin-bottom: 12px;
}

.contact-info h2 {
    color: var(--oak-dark);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cream-dark);
}

.contact-detail:last-of-type {
    border-bottom: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--cream-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--oak);
}

.contact-detail-label {
    font-family: var(--ff-label);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.contact-detail-value a {
    transition: color var(--transition);
}

.contact-detail-value a:hover {
    color: var(--oak);
}

/* ── Form ───────────────────────────────────── */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.form-card h3 {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    color: var(--oak-dark);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--ff-label);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: var(--ff-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--oak);
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 32px;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--forest-mid);
    margin: 0 auto 16px;
}

.form-success h4 {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    color: var(--oak-dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-muted);
}

/* ── Footer ─────────────────────────────────── */
.footer {
    background: var(--charcoal);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand h3 {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 260px;
    margin-bottom: 28px;
    line-height: 1.65;
}

.footer-heading {
    font-family: var(--ff-label);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass-light);
    margin-bottom: 20px;
}

.footer-link {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--white);
}

.footer-contact-item {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-contact-item a:hover {
    color: var(--brass-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Page Hero (inner pages) ────────────────── */
.page-hero {
    padding-top: 140px;
    padding-bottom: 72px;
    background: linear-gradient(135deg, var(--forest) 0%, var(--oak-dark) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.breadcrumb a,
.breadcrumb span {
    font-family: var(--ff-label);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.25);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 540px;
}

/* ── Accordion ──────────────────────────────── */
.accordion-item {
    border-bottom: 1px solid var(--cream-dark);
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.accordion-trigger h4 {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--oak-dark);
}

.accordion-icon {
    width: 28px;
    height: 28px;
    background: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.accordion-icon svg {
    width: 14px;
    height: 14px;
    color: var(--oak);
    transition: transform var(--transition);
}

.accordion-item.open .accordion-icon {
    background: var(--oak);
}

.accordion-item.open .accordion-icon svg {
    color: white;
    transform: rotate(45deg);
}

.accordion-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.accordion-body-inner {
    padding: 0 0 28px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Price Cards ────────────────────────────── */
.price-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: all var(--transition);
}

.price-card.featured {
    border-color: var(--oak);
    position: relative;
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--oak);
    color: white;
    font-family: var(--ff-label);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 2px;
    white-space: nowrap;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.price-category {
    font-family: var(--ff-label);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 8px;
}

.price-card h3 {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    color: var(--oak-dark);
    margin-bottom: 16px;
}

.price-range {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    color: var(--oak);
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cream-dark);
}

.price-list {
    margin-bottom: 32px;
}

.price-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.price-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--oak-light);
    flex-shrink: 0;
    margin-top: 6px;
}

/* ── Map Embed ──────────────────────────────── */
.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
    background: var(--cream-dark);
    position: relative;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 12px;
}

.map-placeholder svg {
    width: 40px;
    height: 40px;
    color: var(--oak-light);
}

/* ── Back to top ────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--oak);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(92, 58, 30, 0.3);
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--oak-dark);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ── Animations ─────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrap {
        max-width: 480px;
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .process-steps::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-image-accent {
        width: 40%;
        bottom: -16px;
        right: -12px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .form-card {
        padding: 24px;
    }
}

/* ── Print ──────────────────────────────────── */
@media print {

    .nav,
    .back-to-top,
    .hero-scroll {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 32px;
    }
}



