:root {
    --primary-color: #cfc8ba;
    --primary-dark: #26251f;
    --secondary-color: #a39c8f;
    --success-color: #6fae6f;
    --danger-color: #c96a52;
    --warning-color: #d9a441;
    --info-color: #8a9a94;
    --bg-color: #1a1a18;
    --surface-color: #232320;
    --header: #b8874a;
    --header-dark: #8f6a38;
    --header-bg: #111110;
    --border-color: rgba(236, 231, 223, 0.14);
    --text-color: #ece7df;
}

h1, h2, h3, .logo, .hero-kicker, .editorial-num, .testimonial-text {
    font-family: 'Fraunces', Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* Accessibility */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--header);
    color: var(--header-bg);
    padding: 12px 20px;
    z-index: 1000;
    border-radius: 0;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* Header / navigation */
.site-header {
    background-color: rgba(17, 17, 16, 0.88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-color);
    text-decoration: none;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 0;
    border: none;
    background: var(--header);
    color: var(--header-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Fraunces', Georgia, serif;
}

.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.nav-btn {
    position: relative;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 8px 4px;
    margin: 0 12px;
    text-decoration: none;
    border-radius: 0;
    border-bottom: none;
    font-weight: 400;
    font-size: 1rem;
    font-family: 'Fraunces', Georgia, serif;
    text-transform: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s ease;
}

.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-btn:hover {
    background-color: transparent;
    color: var(--header);
    transform: translateY(-1px);
}

.nav-btn.active {
    color: var(--header);
    font-weight: 600;
    font-style: italic;
    font-size: 1rem;
    text-decoration: none;
}

.nav-btn.active::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--header);
}

.lang-toggle {
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 700;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 6px;
}

.menu-items a.active {
    color: var(--header);
    font-weight: 700;
    background-color: rgba(184, 135, 74, 0.1);
}

.dropdown-toggle::after {
    content: '▾';
    margin-left: 4px;
    font-size: 0.8em;
}

.dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background-color: var(--header-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 50;
    padding: 6px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: flex;
}

.dropdown-menu .nav-btn {
    width: 100%;
}

.hamburger-menu {
    display: none;
    position: relative;
}

.hamburger-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: 1px solid var(--header);
    background: transparent;
    color: var(--header);
    padding: 9px 16px;
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 0.9rem;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.hamburger-icon:hover,
.hamburger-icon.active {
    background: var(--header);
    color: var(--header-bg);
}

.hamburger-icon:focus-visible {
    outline: 2px solid var(--header);
    outline-offset: 4px;
}

.hamburger-icon .bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 13px;
    flex-shrink: 0;
}

.hamburger-icon .bars div {
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-icon.active .bars div:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger-icon.active .bars div:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active .bars div:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.menu-items {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 130%;
    right: 0;
    min-width: 180px;
    background-color: var(--header-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 10;
}

.menu-items.open {
    display: flex;
}

.menu-items a {
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-color);
}

.menu-items a:hover {
    background-color: rgba(184, 135, 74, 0.1);
    color: var(--header);
}

.button-container {
    display: none;
}

.hamburger-menu {
    display: block;
}

.contact-layout {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: flex-start;
    }

    .contact-left {
      flex: 1 1 45%;
    }

    .contact-right {
      flex: 1 1 45%;
    }

    .contact-form {
      background: var(--surface-color);
      color: var(--text-color);
      border-radius: 0;
      border: 1px solid var(--border-color);
      border-top: 2px solid var(--header);
      box-shadow: none;
      padding: 32px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .contact-form h2 {
      margin-top: 0;
      margin-bottom: 6px;
      color: var(--header);
    }

    .contact-form label {
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--header);
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid var(--border-color);
      border-radius: 0;
      font-size: 1rem;
      background: rgba(236, 231, 223, 0.05);
      color: var(--text-color);
      font-family: inherit;
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
      color: rgba(255,255,255,0.5);
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      outline: none;
      border-color: var(--header);
      background: rgba(255,255,255,0.12);
    }

    .contact-form button {
      background-color: var(--header);
      color: var(--header-bg);
      border: none;
      clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
      padding: 12px 22px;
      border-radius: 0;
      cursor: pointer;
      font-weight: 600;
      font-family: 'Fraunces', Georgia, serif;
      font-style: italic;
      font-size: 1rem;
      transition: background-color 0.2s ease;
    }

    .contact-form button:hover {
      background-color: var(--header-dark);
      color: var(--header-bg);
    }

    @media (max-width: 768px) {
      .contact-layout {
        flex-direction: column;
      }
    }
/* Hero */

.hero {
    background: linear-gradient(rgba(17,17,16,0.55), rgba(17,17,16,0.75)), url('../images/house-1.jpg') no-repeat center center;
    background-size: cover;
    color: var(--text-color);
    text-align: center;
    padding: 90px 20px;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 2.6rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero p {
    margin: 0 0 28px;
    font-size: 1.15rem;
    opacity: 0.92;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero .btn {
    display: inline-block;
    background-color: var(--header);
    border: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    color: var(--header-bg);
    padding: 13px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero .btn:hover {
    background-color: var(--header-dark);
    color: var(--header-bg);
}

/* Simple page hero (no image) */

.page-hero {
    background: var(--header-bg);
    color: var(--text-color);
    padding: 64px 5vw 48px;
    border-bottom: 1px solid var(--border-color);
    clip-path: none;
    margin-bottom: 0;
}

.page-hero.has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero h1 {
    font-size: 2.6rem;
    margin: 0 0 16px;
    line-height: 1.1;
}

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 620px;
    margin: 0;
    line-height: 1.6;
}

.page-hero .hero-kicker,
.page-hero h1,
.page-hero p {
    opacity: 0;
    animation: hero-fade-up 0.7s ease forwards;
}

.page-hero .hero-kicker { animation-delay: 0.05s; }
.page-hero h1 { animation-delay: 0.15s; }
.page-hero p { animation-delay: 0.3s; }

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
    .page-hero {
        padding: 44px 24px 36px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Split hero -> text panel + framed inset photo (no overlay text on image) */

.hero-split {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    background: var(--header-bg);
    min-height: 420px;
}

.hero-split-text {
    position: static;
    z-index: 1;
    background: transparent;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 4vw 40px 5vw;
}

.hero-kicker {
    display: inline-block;
    align-self: flex-start;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
    color: var(--header);
    font-weight: 500;
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    background: transparent;
    border: 1px solid var(--header);
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 20px;
}

.hero-split-text h1 {
    font-size: 2.6rem;
    font-style: normal;
    line-height: 1.1;
    margin: 0 0 10px;
    font-weight: 600;
}

.hero-split-text h2 {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--header);
    margin: 0 0 14px;
    font-weight: 400;
    font-family: 'Fraunces', Georgia, serif;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: word-in 0.7s ease forwards;
}

.hero-word.accent {
    color: inherit;
    font-weight: 300;
}

.hero-word:nth-child(1) { animation-delay: 0.15s; }
.hero-word:nth-child(2) { animation-delay: 0.5s; }

@keyframes word-in {
    to { opacity: 1; transform: translateY(0); }
}

.hero-split-text p {
    font-size: 1.05rem;
    color: var(--secondary-color);
    max-width: 420px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-split-text .btn-primary {
    align-self: flex-start;
}

.hero-split-image {
    position: relative;
    padding: 28px 28px 28px 0;
    display: flex;
}

.hero-split-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 1px solid var(--border-color);
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-split-text {
        padding: 40px 24px 28px;
        order: 2;
    }

    .hero-split-image {
        padding: 24px 24px 0;
        order: 1;
    }

    .hero-split-image img {
        min-height: 240px;
    }

    .hero-split-text h1 {
        font-size: 2.1rem;
    }
}

/* Marquee */

.marquee {
    background: var(--header-bg);
    color: var(--header);
    overflow: hidden;
    white-space: nowrap;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee-track {
    display: inline-flex;
    width: max-content;
    animation: marquee-scroll 26s linear infinite;
}

.marquee-track span {
    padding: 0 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.05rem;
    font-family: 'Inter', Arial, sans-serif;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Stats counter */

.stats-section {
    background: transparent;
    padding: 60px 20px;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    text-align: center;
}

.stat-item {
    padding: 0 20px;
    border-left: 1px solid var(--border-color);
}

.stat-item:first-child {
    border-left: none;
}

.stat-number {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 3rem;
    font-weight: 500;
    color: var(--header);
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 10px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 640px) {
    .stat-number {
        font-size: 2.4rem;
    }
}

/* Editorial numbered list */

.editorial-list {
    margin-top: 10px;
}

.editorial-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 4px;
    border-bottom: 1px solid var(--border-color);
    transition: padding-left 0.3s ease, border-color 0.3s ease;
}

.editorial-item:hover {
    padding-left: 14px;
    border-bottom-color: var(--header);
}

.editorial-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--header);
    opacity: 0.35;
    min-width: 64px;
    flex-shrink: 0;
}

.editorial-item h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.editorial-item p {
    margin: 0;
    color: var(--secondary-color);
    line-height: 1.5;
}

/* Work / Projects grid (Projektjeink) */

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: var(--border-color);
    margin-top: 28px;
}

.work-item {
    position: relative;
    overflow: hidden;
    background-color: var(--header-bg);
}

.work-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    filter: grayscale(0.35);
    transition: transform 0.6s ease, filter 0.4s ease;
}

.work-item:hover img {
    transform: scale(1.04);
    filter: grayscale(0);
}

.work-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(0deg, rgba(17,17,16,0.9), transparent);
    color: var(--text-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.work-item:nth-child(odd) {
    margin-top: 32px;
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-item:nth-child(odd) {
        margin-top: 0;
    }
}

/* Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
    gap: 4px;
    margin-top: 28px;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    transition: opacity 0.7s ease;
}

.gallery-grid a:nth-child(4n+1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.1);
    transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.gallery-grid a.reveal:nth-child(1) { transition-delay: 0s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(2) { transition-delay: 0.1s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(3) { transition-delay: 0.2s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(4) { transition-delay: 0.3s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(5) { transition-delay: 0.4s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(6) { transition-delay: 0.5s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(7) { transition-delay: 0.6s, 0s, 0s; }
.gallery-grid a.reveal:nth-child(8) { transition-delay: 0.7s, 0s, 0s; }

@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 130px;
    }

    .gallery-grid a:nth-child(4n+1) {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Lightbox */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(28, 37, 48, 0.9);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    max-height: 100%;
}

.lightbox img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 80px);
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--header);
    border-radius: 50%;
    background: var(--header-bg);
    color: var(--header);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: var(--header);
    color: var(--header-bg);
    transform: scale(1.08);
}

@media (max-width: 480px) {
    .lightbox {
        padding: 16px;
    }

    .lightbox-close {
        top: -14px;
        right: -14px;
        width: 32px;
        height: 32px;
    }
}

/* Featured image */

.featured-image {
    max-width: 1100px;
    margin: -60px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 0;
}

.featured-image img {
    width: 100%;
    display: block;
    border-radius: 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.03);
}

/* Highlight banner */

.promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.highlight-banner {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    background: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--header);
    border-radius: 0;
    padding: 28px 32px;
    margin-top: 0;
    box-shadow: none;
}

.highlight-banner .icon-circle {
    background-color: transparent;
    border: 1px solid var(--header);
    color: var(--header);
    flex-shrink: 0;
    margin-bottom: 0;
}

.highlight-banner-text {
    flex: 1;
    min-width: 220px;
}

.highlight-banner-text h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.highlight-banner-text p {
    margin: 0;
    opacity: 0.92;
}

.highlight-banner .btn-primary {
    flex-shrink: 0;
}

/* Layout */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.lead {
    color: var(--secondary-color);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.lead-line {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.35;
    margin-bottom: 16px;
}

.lead-line strong {
    color: var(--header);
}

.card p strong {
    color: var(--primary-color);
}

.card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 30px;
    box-shadow: none;
}

.card + .card {
    margin-top: 24px;
}

.card:hover {
    border-color: var(--header);
}

.card,
.service-card,
.feature-card {
    transition: border-color 0.25s ease;
}

/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Icons */

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid var(--header);
    color: var(--header);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.icon-circle svg {
    width: 26px;
    height: 26px;
}

/* Feature grid (why us) */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.feature-card {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 26px;
    box-shadow: none;
}

.feature-card:hover,
.service-card:hover {
    border-color: var(--header);
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
}

.feature-card p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Testimonials — stacked pull-quotes */

.testimonial-grid {
    display: flex;
    flex-direction: column;
    max-width: 760px;
    margin-top: 28px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border-radius: 0;
    padding: 36px 0;
    box-shadow: none;
    border-top: 1px solid var(--border-color);
}

.testimonial-card:first-child {
    border-top: none;
    padding-top: 0;
}

.testimonial-stars {
    color: var(--header);
    opacity: 0.7;
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.testimonial-text {
    font-style: italic;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--text-color);
    margin: 0 0 18px;
    line-height: 1.5;
}

.testimonial-author {
    margin: 0;
    margin-top: auto;
    padding-top: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    color: var(--header);
}

.testimonial-author span {
    display: inline;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-top: 2px;
}

.testimonial-author span::before {
    content: ' — ';
}

.testimonial-card.reveal {
    transition: opacity 0.5s ease;
}

.testimonial-grid .testimonial-card.reveal:nth-child(1) { transition-delay: 0s, 0s, 0s; }
.testimonial-grid .testimonial-card.reveal:nth-child(2) { transition-delay: 0.12s, 0s, 0s; }
.testimonial-grid .testimonial-card.reveal:nth-child(3) { transition-delay: 0.24s, 0s, 0s; }

/* Timeline */

.timeline {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    border-left: 2px solid rgba(184, 135, 74, 0.35);
}

.timeline li {
    position: relative;
    padding: 0 0 22px 26px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--header);
}

.timeline strong {
    display: block;
    color: var(--header);
    font-family: 'Fraunces', Georgia, serif;
}

.timeline li.reveal-left {
    transform: translateX(-110px);
}

.timeline li.reveal-right {
    transform: translateX(110px);
}

.timeline li.reveal-left.visible,
.timeline li.reveal-right.visible {
    transform: none;
}

.timeline li.reveal {
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline li.reveal:nth-child(1) { transition-delay: 0s; }
.timeline li.reveal:nth-child(2) { transition-delay: 0.4s; }
.timeline li.reveal:nth-child(3) { transition-delay: 0.8s; }
.timeline li.reveal:nth-child(4) { transition-delay: 1.2s; }
.timeline li.reveal:nth-child(5) { transition-delay: 1.6s; }

/* About page */

.about-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-item {
    flex: 1;
    min-width: 220px;
}

.about-title {
    color: var(--header);
    margin: 4px 0 12px;
}

.about-text {
    line-height: 1.6;
}

.about-image {
    max-width: 220px;
    border-radius: 0;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 24px;
    box-shadow: none;
    border-top: 2px solid var(--header);
}

.service-card.reveal {
    transition: opacity 0.5s ease, transform 0.4s ease, box-shadow 0.25s ease;
}

.services-grid .service-card.reveal:nth-child(1) { transition-delay: 0s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(2) { transition-delay: 0.1s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(3) { transition-delay: 0.2s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(4) { transition-delay: 0.3s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(5) { transition-delay: 0.4s, 0s, 0s; }
.services-grid .service-card.reveal:nth-child(6) { transition-delay: 0.5s, 0s, 0s; }

.service-card h3 {
    margin-top: 0;
    color: var(--text-color);
}

.tip-icon {
    animation: tip-glow 2.6s ease-in-out infinite;
}

@keyframes tip-glow {
    0%, 100% { background-color: rgba(184, 135, 74, 0.12); transform: scale(1); }
    50% { background-color: rgba(184, 135, 74, 0.28); transform: scale(1.06); }
}

/* Contact */

.contact-left .card {
    border-top: 2px solid var(--header);
}

.contact-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 10px;
    margin: 0 -10px;
    border-radius: 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.contact-row:first-child {
    padding-top: 0;
}

.contact-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.contact-row:hover {
    background-color: rgba(184, 135, 74, 0.06);
}

.contact-row .icon-circle {
    flex-shrink: 0;
    margin-bottom: 0;
    transition: transform 0.25s ease;
}

.contact-row:hover .icon-circle {
    transform: scale(1.08);
}

.contact-label {
    display: block;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

/* CTA */

.cta-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--header);
    color: var(--text-color);
    border-radius: 0;
    padding: 40px;
    text-align: center;
}

.cta-card h2 {
    margin-top: 0;
    color: var(--header);
}

.cta-card p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--header);
    border: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    color: var(--header-bg);
    padding: 13px 26px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    transition: background-color 0.2s ease, gap 0.2s ease;
}

.btn-primary::after {
    content: '\2192';
    font-style: normal;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--header-dark);
    color: var(--header-bg);
    gap: 14px;
}

/* Pricing */

.price-tag {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Fraunces', Georgia, serif;
    color: var(--header);
    margin: 12px 0 4px;
    margin-top: auto;
    padding-top: 12px;
}

.price-note {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* FAQ accordion */

.faq-item {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: none;
    padding: 6px 24px;
}

.faq-item + .faq-item {
    margin-top: 14px;
}

.faq-item summary {
    cursor: pointer;
    padding: 16px 0;
    font-weight: bold;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--header);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 0 0 18px;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Tips / articles */

.tip-card p {
    color: var(--secondary-color);
    line-height: 1.5;
}

/* Back to top */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
}

.back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--header-bg);
    border: 1px solid var(--header);
    color: var(--header);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.back-to-top a:hover {
    transform: translateY(-3px);
    background-color: var(--header);
    color: var(--header-bg);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Chatbot widget */

.chatbot {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 95;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.chatbot-toggle {
    width: 56px;
    height: 56px;
    border: 1px solid var(--header);
    border-radius: 50%;
    background: var(--header-bg);
    color: var(--header);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.chatbot-toggle:hover {
    transform: translateY(-3px);
    background-color: var(--header);
    color: var(--header-bg);
}

.chatbot-toggle svg {
    width: 26px;
    height: 26px;
}

.chatbot-window {
    display: none;
    flex-direction: column;
    width: 320px;
    max-width: calc(100vw - 48px);
    height: 420px;
    max-height: calc(100vh - 160px);
    background-color: var(--surface-color);
    border: 1px solid var(--header);
    border-radius: 0;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin-top: 14px;
}

.chatbot.open .chatbot-window {
    display: flex;
}

.chatbot-header {
    background: var(--header-bg);
    color: var(--header);
    padding: 14px 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--header);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-bot {
    align-self: flex-start;
    background-color: rgba(236, 231, 223, 0.08);
    color: var(--text-color);
    border-bottom-left-radius: 4px;
}

.chat-user {
    align-self: flex-end;
    background-color: var(--header);
    color: var(--header-bg);
    border-bottom-right-radius: 4px;
}

.chatbot-input-row {
    display: flex;
    border-top: 1px solid var(--border-color);
    padding: 10px;
    gap: 8px;
}

.chatbot-input-row input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-family: inherit;
    background: transparent;
    color: var(--text-color);
    outline: none;
}

.chatbot-input-row input:focus {
    border-color: var(--header);
}

.chatbot-input-row button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--header);
    border-radius: 50%;
    background-color: transparent;
    color: var(--header);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.chatbot-input-row button:hover {
    background-color: var(--header);
    color: var(--header-bg);
}

.chatbot-input-row button svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 480px) {
    .chatbot {
        right: 16px;
        top: 80px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

/* Footer */

.site-footer {
    background-color: var(--header-bg);
    color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 28px 20px;
    margin-top: 60px;
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--header);
}

/* Survey wizard form */

#surveyForm {
    border-top: 4px solid var(--header);
}

#surveyForm label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
}

#surveyForm input[type="text"],
#surveyForm input[type="tel"],
#surveyForm input[type="email"],
#surveyForm input[type="number"],
#surveyForm select,
#surveyForm textarea {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 10px 12px;
}

#surveyForm select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9803f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 38px;
    cursor: pointer;
}

#surveyForm select:hover {
    border-color: rgba(184, 135, 74, 0.4);
}

#surveyForm input:focus,
#surveyForm select:focus,
#surveyForm textarea:focus {
    outline: 2px solid var(--header);
    outline-offset: 1px;
    border-color: var(--header);
}

#surveyForm input[type="file"] {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
}

#surveyForm textarea {
    resize: vertical;
    font-family: Arial, sans-serif;
}

.grid.two,
.grid.three {
    display: grid;
    gap: 0 20px;
}

.grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.grid.three {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 700px) {
    .grid.two,
    .grid.three {
        grid-template-columns: 1fr;
    }
}

.compact-input {
    max-width: 160px;
}

.inline-check {
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
}

.inline-check input {
    width: auto;
}

.section-help {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 16px;
}

.hint {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* Wizard progress */

.wizard-progress {
    margin-bottom: 28px;
}

.wizard-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.wizard-progress-top strong {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    color: var(--header);
}

.wizard-progress-top span {
    font-weight: 700;
}

.wizard-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(184, 135, 74, 0.15);
    overflow: hidden;
}

.wizard-fill {
    height: 100%;
    background: var(--header);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
}

.wizard-nav {
    margin-top: 10px;
}

/* Range sliders */

.range-field {
    gap: 8px !important;
}

.range-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 700;
}

.range-value {
    font-weight: 700;
}

.quick-range {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.quick-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: currentColor;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.quick-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: currentColor;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Photo preview */

.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.photo-preview .thumb {
    margin: 0;
    text-align: center;
}

.photo-preview .thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.photo-preview .thumb figcaption {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Buttons (wizard uses .btn, site uses .btn-primary) */

.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background-color: var(--header);
    color: #fff;
}

.btn.secondary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn.ghost {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.hidden {
    display: none !important;
}

/* Status messages */

.status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.92rem;
    margin-top: 16px;
}

.status.info {
    background: rgba(21, 146, 125, 0.12);
    color: #0f6b5a;
}

.status.success {
    background: rgba(40, 167, 69, 0.12);
    color: #1e7e34;
}

.status.warn {
    background: rgba(255, 193, 7, 0.18);
    color: #8a6400;
}

/* Result card */

.result-brand {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: var(--header);
    font-weight: 700;
    margin-bottom: 4px;
}

.result-subtitle {
    color: var(--secondary-color);
    margin-top: -6px;
    margin-bottom: 20px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px 24px;
    margin-bottom: 20px;
}

.result-grid p {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
}

.result-grid strong {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--secondary-color);
}

.chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    width: fit-content;
}

.chip.ok {
    background: rgba(40, 167, 69, 0.15);
    color: #1e7e34;
}

.chip.warn {
    background: rgba(255, 193, 7, 0.2);
    color: #8a6400;
}

.chip.risk {
    background: rgba(220, 53, 69, 0.15);
    color: #a51c2c;
}

.recommendation {
    background: var(--bg-color);
    border-left: 3px solid var(--header);
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 0.92rem;
    color: var(--primary-color);
}

.report-actions {
    margin-top: 24px;
}
