:root {
    --bg: #f4efe6;
    --card: #ffffff;
    --text: #22201b;
    --muted: #5c5648;
    --brand: #9a6a2f;
    --brand-dark: #714c20;
    --line: #ddd2c0;
    --accent: #274039;
    --shadow: 0 12px 35px rgba(39, 64, 57, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Tahoma", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 0%, #efe3cf 0%, transparent 40%),
        radial-gradient(circle at 100% 20%, #e8dcc9 0%, transparent 35%),
        var(--bg);
    line-height: 1.6;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.topbar {
    background: #1f332d;
    color: #f3ede0;
    font-size: 0.88rem;
    padding: 10px 0;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
}

.topbar a {
    color: #f9ddab;
    text-decoration: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(10px);
    background: rgba(244, 239, 230, 0.92);
    border-bottom: 1px solid var(--line);
}

.btn-link {
    display: inline-block;
    color: var(--brand);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.btn-link:hover {
    transform: translateX(5px);
    text-decoration: underline;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo small {
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
}

nav a:hover,
nav a.active {
    background: #e6d9c3;
    color: var(--brand-dark);
}

.hero-slider {
    width: 100%;
    height: clamp(500px, 70vh, 750px);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    background-color: #1f332d;
}

.hero-figure {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.hero-figure-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.visual-badge {
    position: absolute;
    top: 20px;
    left: 24px;
    background: var(--brand);
    color: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.03em;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.swiper-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 31, 28, 0.9) 0%, rgba(20, 31, 28, 0.3) 60%, transparent 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fffaf0;
    max-width: 800px;
    padding: 0 80px;
}

.slide-content h2 {
    font-size: clamp(2rem, 1.5rem + 3.5vw, 4.2rem);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin: 0 0 16px;
    line-height: 1.1;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: #f1e6d4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet {
    background: #f2cb86 !important;
    opacity: 0.6 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 5px !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #f2cb86 !important;
    transform: scale(0.8);
}

.hero {
    padding: 50px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.hero-main {
    background: linear-gradient(145deg, #1f332d, #274039 60%, #345147);
    color: #f9f6ef;
    border-radius: 26px;
    padding: 38px;
    box-shadow: var(--shadow);
}

.hero-main h1 {
    margin: 0 0 16px;
    font-size: clamp(1.7rem, 1.2rem + 2.1vw, 3rem);
    line-height: 1.2;
}

.hero-main p {
    margin: 0 0 20px;
    color: #e9dfcf;
}

.hero-list {
    margin: 0;
    padding-left: 18px;
    color: #f5ddaf;
}

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

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
}

.btn-primary {
    background: #f2cb86;
    color: #35240f;
}

.btn-secondary {
    border: 1px solid #f2cb86;
    color: #f2cb86;
}

.hero-side {
    background: var(--card);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
    align-content: start;
}

.side-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.kpi {
    padding: 18px;
    border-radius: 16px;
    background: #f7f2e8;
    border: 1px solid #e7ddcc;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.kpi:hover {
    transform: translateX(4px);
    border-color: var(--brand);
}

.kpi-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--brand);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.kpi-icon svg {
    width: 22px;
    height: 22px;
}

.kpi-text strong {
    display: block;
    color: var(--brand-dark);
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.visual-stage {
    margin-top: 10px;
    min-height: 240px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.visual-label {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--brand);
    padding: 6px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

section {
    padding: 30px 0;
}

.section-title {
    margin: 0 0 16px;
    font-size: clamp(1.35rem, 1rem + 1vw, 2rem);
    color: #2e2922;
}

.section-intro {
    margin: 0 0 24px;
    color: var(--muted);
    max-width: 78ch;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: var(--card);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.card h3 {
    margin-top: 0;
    font-size: 1.06rem;
    color: var(--brand-dark);
}

.card p {
    margin-bottom: 0;
    color: #4f4a3f;
}

.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.step {
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    position: relative;
}

.step:before {
    counter-increment: step;
    content: counter(step);
    display: inline-grid;
    place-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e7d5b3;
    color: #3f2e1b;
    font-weight: 700;
    margin-bottom: 10px;
}

.chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    background: #efe5d4;
    color: #4e3a21;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    border: 1px solid #decfb6;
}

/* Terminology Matrix */
.matrix {
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.matrix table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.matrix th {
    background: var(--brand-dark);
    color: #fff;
    text-align: left;
    padding: 18px 24px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.matrix td {
    padding: 20px 24px;
    border-bottom: 1px solid #f0e6d6;
    font-size: 0.98rem;
    color: #444;
}

.matrix tr:last-child td {
    border-bottom: none;
}

.matrix tr:nth-child(even) td {
    background: #fdfaf5;
}

.matrix strong {
    color: var(--brand-dark);
    display: block;
}

.matrix .status-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f1e6d4;
    color: #714c20;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
}

details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
}

summary {
    cursor: pointer;
    font-weight: 700;
    color: #403526;
}

details+details {
    margin-top: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 16px;
}

.gallery-card {
    min-height: 280px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    padding: 24px;
    display: flex;
    align-items: end;
    color: #fff8ec;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gallery-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.gallery-card>div {
    position: relative;
    z-index: 2;
}

.gallery-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
    color: #f2cb86;
}

.gallery-card.one,
.gallery-card.two,
.gallery-card.three {
    background-color: #2e2922;
}

.cta {
    background: linear-gradient(140deg, #2b443c, #406357);
    color: #f9f2e4;
    border-radius: 22px;
    padding: 32px;
}

.cta a {
    color: #ffd992;
}

footer {
    margin-top: 34px;
    background:
        linear-gradient(180deg, rgba(242, 163, 29, 0.05), transparent 18%),
        #050505;
    color: #f4eee3;
    padding: 26px 0 20px;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    gap: 14px 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.city-block {
    display: grid;
    gap: 10px;
    min-width: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.0));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.city-block:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 163, 29, 0.45);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

.city-title {
    display: inline-block;
    padding-left: 12px;
    position: relative;
    color: #f5f1e8;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 0;
}

.city-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 3px;
    height: 16px;
    background: #f2a31d;
    border-radius: 999px;
}

.city-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #b6b6b6;
    font-size: 0.82rem;
    line-height: 1.25;
}

.svc-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.04);
    color: #d8d8d8;
    white-space: nowrap;
}

.footer-meta {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    padding: 18px 0 8px;
}

.footer-meta h3 {
    margin: 0 0 10px;
    color: #f5f1e8;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-meta p {
    margin: 0 0 8px;
    color: #b8b8b8;
}

footer a {
    color: #f2a31d;
    text-decoration: none;
}

.copy {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 10px;
    padding-top: 14px;
    font-size: 0.9rem;
    color: #8d8d8d;
}

/* FAQ Accordion */
.faq-item {
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--brand);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--brand-dark);
}

.faq-answer {
    padding: 0 20px 20px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Location Tags */
.loc-tag {
    font-size: 0.8rem;
    color: var(--brand);
    background: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #f2e6d6;
    font-weight: 600;
}

/* Blog Premium UI */
.featured-post {
    margin-bottom: 60px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #f2e6d6;
}

.featured-img {
    flex: 1 1 500px;
    min-height: 400px;
}

.featured-content {
    flex: 1 1 400px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #fdfaf5 100%);
}

.featured-category {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.featured-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--brand-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.featured-excerpt {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.premium-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(135, 99, 58, 0.08);
    border-color: var(--brand);
}

.card-img-wrap {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: var(--brand-dark);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--brand-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-summary {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.nav-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.nav-chip {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-chip:hover,
.nav-chip.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 5px 15px rgba(135, 99, 58, 0.2);
}

@media (max-width: 768px) {
    .featured-content {
        padding: 40px;
    }

    .featured-title {
        font-size: 1.8rem;
    }
}

.hero-grid,
.grid,
.steps,
.city-grid,
.gallery {
    grid-template-columns: 1fr;
}

.footer-meta {
    grid-template-columns: 1fr;
}

.hero {
    padding-top: 48px;
}

.hero-main,
.hero-side,
.cta {
    padding: 24px;
}
/* Contact Page Premium UI */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.contact-card {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 25px 60px rgba(0,0,0,0.04);
}

.contact-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--brand-dark);
    margin-bottom: 30px;
}

.fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fields label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

.fields input, 
.fields select, 
.fields textarea {
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.fields input:focus, 
.fields select:focus, 
.fields textarea:focus {
    border-color: var(--brand);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(135, 99, 58, 0.1);
}

.fields textarea {
    height: 150px;
    resize: none;
}

.office-card {
    background: var(--brand-dark);
    color: #fff;
    padding: 40px;
    border-radius: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.office-card h3 {
    color: var(--brand);
    margin-top: 0;
    margin-bottom: 30px;
    font-family: 'Outfit', sans-serif;
}

.info-item {
    margin-bottom: 30px;
}

.info-item strong {
    display: block;
    color: var(--brand);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.info-item div, 
.info-item a {
    font-size: 1rem;
    line-height: 1.6;
    color: #eee;
    text-decoration: none;
}

.info-item a:hover {
    color: var(--brand);
}

/* Showcase Panels on Contact */
.showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 80px;
}

.showcase-card {
    height: 350px;
    border-radius: 24px;
    padding: 35px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-card:hover {
    transform: translateY(-10px);
}

.showcase-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 70%);
    z-index: 1;
}

.showcase-card div {
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
    line-height: 1.6;
}

.showcase-card strong {
    display: block;
    color: var(--brand);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
}

.showcase-card.one { background-image: url('../img/gallery/dome.png'); }
.showcase-card.two { background-image: url('../img/gallery/stone.png'); }
.showcase-card.three { background-image: url('../img/gallery/interior.png'); }

/* FAQ Card styling */
.faq-card {
    background: #fdfaf5;
    padding: 60px;
    border-radius: 30px;
    border: 1px solid #efe4d5;
    margin-bottom: 80px;
}

.faq-card details {
    border-bottom: 1px solid #efe4d5;
    padding: 20px 0;
}

.faq-card summary {
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--brand-dark);
}

.faq-card p {
    margin-top: 15px;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .contact-grid, .showcase {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 30px;
    }
}
