/*
Theme Name: DObra-Theme
Author: Inventors Den / Custom
Version: 1.0
Description: WordPress theme with a two-image homepage selector and an internal architecture/construction landing page.
*/




:root {
    --bg: #f7f5f1;
    --surface: #ffffff;
    --text: #1f2933;
    --muted: #667085;
    --accent: #1C9C98;
    --accent-dark: #1C9C98;
    --border: #e8e2d8;
    --shadow: 0 18px 45px rgba(31, 41, 51, 0.10);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.carousel-cta {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

/*Formulario*/

.forminator-error-message {
    color:#FF0000;
    padding-top: 20px;
	margin-top: 20px;
	padding-left: 10px;
	font-size: 12px;
	display: fixed;
}

.carousel-cta .primary-button {
    padding: 12px 24px;
    background: white;
    color: black;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.footer_menu {
	text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}


.footer_menu:hover { color: var(--accent-dark); }

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 6%;
    background: #fff;
    position: relative;
    z-index: 1000;
}

.logo img {
    height: 55px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a,
.dropdown-toggle {
    text-decoration: none;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
}

.dropdown-toggle span {
    margin-left: 6px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    padding: 12px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.desktop-budget-btn,
.mobile-budget-btn {
    background: var(--accent);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.mobile-budget-btn {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: #111;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .desktop-budget-btn {
        display: none;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 20px 6%;
		margin 15px 6%;
        box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    }

    .nav.active {
        display: flex;
    }

    .nav a,
    .dropdown-toggle {
        width: 100%;
        padding: 14px 0;
        font-size: 18px;
        text-align: left;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding: 0 0 0 15px;
        border-radius: 0;
	    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.active:hover .dropdown-menu {
        display: block;
    }

    .nav .mobile-budget-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        width: auto !important;
        margin-top: 18px;
		margin-left: auto;
		margin-right: auto;

        background: var(--accent) !important;
        color: #fff !important;

        padding: 12px 22px !important;
        border-radius: 999px;

        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
    }
}
/* Pagina Legal */

.legal-page {
    background: #fff;
}

.legal-hero {
    padding: 70px 20px 35px;
    text-align: center;
}

.legal-hero h1 {
    font-size: 42px;
    margin: 0;
}

.legal-content {
    padding: 60px 20px;
}

.legal-container {
    max-width: 850px;
    margin: 0 auto;
}

.legal-container h2 {
    margin-top: 40px;
    font-size: 26px;
}

.legal-container p,
.legal-container li {
    font-size: 17px;
    line-height: 1.75;
}

.legal-container ul {
    padding-left: 25px;
}

@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 32px;
    }

    .legal-content {
        padding: 40px 18px;
    }
}


/* Lightbox */

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 40px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100000;
    line-height: 1;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    padding: 16px 12px;
    border-radius: 4px;
    z-index: 100000;
    transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-caption {
    color: #ccc;
    margin-top: 12px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 16px;
}
#lightbox-title { color: #fff; font-weight: 600; }

/* =========================
   PROYECTOS PAGE
========================= */


/* GLOBAL FORM STYLE */

input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fafafa;
    font-size: 14px;
    transition: 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

/* TEXTAREA */
textarea {
    min-height: 80px;
    resize: vertical;
}

/* FOCUS */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 2px rgba(28, 156, 152, 0.08);
}

/* LABELS */
label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
    line-height: 1.2;
}

/* BUTTONS */
button,
input[type="submit"],
input[type="button"] {
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

/* BUTTON HOVER */
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* FORMINATOR CHECKBOX — SAME ROW */
.forminator-ui .forminator-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.forminator-ui .forminator-checkbox input {
    width: auto;
    margin: 2px 0 0 0;
    flex: 0 0 auto;
}

.forminator-ui .forminator-checkbox span,
.forminator-ui .forminator-checkbox label {
    margin: 0;
    line-height: 1.4;
}

/* FORMINATOR DROPDOWNS */
.forminator-ui select {
    width: 100%;
    height: 42px;
    padding: 10px 38px 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background-color: #fafafa;
    color: inherit;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    appearance: none;
    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, var(--accent) 50%),
        linear-gradient(135deg, var(--accent) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 18px,
        calc(100% - 13px) 18px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.forminator-ui select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: white;
    box-shadow: 0 0 0 2px rgba(28, 156, 152, 0.08);
}



/* =========================
   PROYECTOS PAGE
========================= */

.projects-page {
    background: var(--bg);
}

.projects-hero {
    padding: 110px 24px 80px;
    background:
        linear-gradient(rgba(31,41,51,.58), rgba(31,41,51,.58)),
        url('assets/hero1.jpg');  
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.projects-hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.projects-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -0.06em;
}

.projects-hero p {
    max-width: 720px;
    margin: 24px auto 0;
    font-size: 19px;
    color: rgba(255,255,255,.86);
}

.projects-hero .secondary-button {
    color: var(--text);
}

.projects-gallery-section {
    padding-top: 30px;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    position: relative;
    min-height: 320px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #ddd;
    display: block;
}

.project-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform .35s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 26px;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
}

.project-overlay span {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 8px;
    color: #e7c898;
}

.project-overlay h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

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

@media (max-width: 620px) {
    .projects-hero {
        padding: 80px 18px 60px;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
    }

    .project-card,
    .project-card img {
        min-height: 260px;
    }
}



/* Image Carousel */

.hero-visual.carousel {
    position: relative;
    min-height: 420px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    background: #111;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1s ease, transform 1.4s ease;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.15)
    );
}

.carousel-slide span {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 2;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* MANTENIMIENTOS */


.mantenimientos-page {
    background: #f7f4ef;
    color: #1f1f1f;
}

.page-arquitectura,
.page-construccion {
    background: #f7f4ef;
	padding-bottom: 40px;
}

.maintenance-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.maintenance-hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px;
    background:
        linear-gradient(rgba(20,20,20,0.58), rgba(20,20,20,0.55)),
        url('<?php echo esc_url(get_template_directory_uri()); ?>/assets/mantenimientos-hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.maintenance-hero-content {
    max-width: 900px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
    color: #b8925b;
}

.maintenance-hero .eyebrow {
    color: #f2d6a3;
}

.maintenance-hero h1,
.section-heading h2,
.maintenance-cta h2 {
    margin: 0;
    line-height: 1.08;
}

.maintenance-hero h1 {
    font-size: clamp(36px, 6vw, 72px);
    max-width: 980px;
}

.maintenance-hero p {
    max-width: 760px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.maintenance-hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px;
    background:
        linear-gradient(rgba(20,20,20,0.58), rgba(20,20,20,0.55)),
        url('<?php echo esc_url(get_template_directory_uri()); ?>/assets/mantenimientos-hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.architecture-hero,
.construction-hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.architecture-hero .eyebrow,
.construction-hero .eyebrow {
    color: #f2d6a3;
}

.architecture-hero h1,
.construction-hero h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.08;
    max-width: 980px;
}

.architecture-hero p,
.construction-hero p {
    max-width: 760px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.architecture-scope,
.construction-scope {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 24px 90px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.architecture-scope-media,
.construction-scope-media {
    min-height: 460px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

.architecture-scope-media img,
.construction-scope-media img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.architecture-scope-content h2,
.construction-scope-content h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.architecture-scope-content p,
.construction-scope-content p {
    color: #666;
    line-height: 1.7;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn-primary,
.btn-secondary,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 24px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary,
.nav-cta {
    background: #1f1f1f;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.btn-secondary {
    background: rgba(255,255,255,.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
}

.btn-primary:hover,
.btn-secondary:hover,
.nav-cta:hover {
    transform: translateY(-2px);
}

.maintenance-intro,
.maintenance-services,
.process-section {
    padding: 90px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.section-heading h2,
.maintenance-cta h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.section-heading p,
.maintenance-cta p {
    color: #666;
    line-height: 1.7;
    font-size: 17px;
}

.benefits-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.benefit-card,
.process-step,
.service-dropdown {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
}

.benefit-card,
.process-step {
    padding: 28px;
}

.benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1f1f1f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 18px;
}

.benefit-card h3,
.process-step h3 {
    margin: 0 0 10px;
}

.benefit-card p,
.process-step p,
.service-dropdown p {
    color: #666;
    line-height: 1.65;
}

.accordion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-dropdown {
    overflow: hidden;
}

.service-dropdown summary {
    list-style: none;
    cursor: pointer;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 800;
}

.service-dropdown summary::-webkit-details-marker {
    display: none;
}

.service-dropdown summary::after {
    content: '+';
    margin-left: auto;
    font-size: 26px;
    color: #b8925b;
}

.service-dropdown[open] summary::after {
    content: '−';
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0e3cf;
    font-size: 24px;
    flex: 0 0 auto;
}

.service-dropdown .service-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0e3cf;
    color: #1f1f1f;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 0;
    flex: 0 0 auto;
}

.service-dropdown p {
    padding: 0 24px 24px 84px;
    margin: 0;
}

.process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.process-step span {
    color: #b8925b;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 18px;
}

.maintenance-cta {
    margin: 40px auto 90px;
    max-width: 1120px;
    padding: 44px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.maintenance-cta p {
    margin-bottom: 0;
}

.logo img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .benefits-grid,
    .accordion-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
	
	.construction-scope {
        grid-template-columns: 1fr;
    }

    .maintenance-cta {
        flex-direction: column;
        text-align: center;
    }

    .service-dropdown p {
        padding-left: 24px;
    }
}

@media (max-width: 680px) {
    .maintenance-hero,
    .construction-hero {
        min-height: auto;
        padding: 74px 18px;
    }

    .maintenance-intro,
    .maintenance-services,
    .process-section, .construction-scope {
        padding: 64px 18px;
    }

    .construction-scope-media,
    .construction-scope-media img {
        min-height: 300px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}


/* =========================
   PRESUPUESTO FORM PAGE
========================= */

.presupuesto-wrapper {
    max-width: 800px;
    margin: 80px auto;
    padding: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.presupuesto-wrapper h1 {
    margin-top: 0;
    font-size: 36px;
    letter-spacing: -0.04em;
}

.presupuesto-wrapper p {
    color: var(--muted);
    margin-bottom: 30px;
}


/* HOME / TWO IMAGE SELECTOR */
.logo img {
    width: 60px;
    height: auto;
}

.selector-page {
    text-align: center;
    background: #f5f7fb;
}

.selector-header {
    padding: 32px 20px 20px;
}

.selector-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.selector-subtitle {
    margin: 10px auto 0;
    max-width: 700px;
    font-size: 18px;
    color: #555;
}

.selector-main {   
    max-width: 60%;
    margin: 40px auto;
    padding: 0 20px;
}

.selector-card p {
    margin: 0;
    padding: 10px;           
}

.selector-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    flex-wrap: wrap;
}

.selector-card-link {
    display: block;
    width: 100%;
    max-width: 420px;
}

.selector-card {
    height: 100%;
	background: none !important;
	background-color: none !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;	
    padding: 5px;             
    display: inline-block; 
	max-width: 60%;
    overflow: hidden; 
}

.selector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.selector-card img {    
    object-fit: cover;
	display: block;          
    width: 100%;             
    height: auto;
}

.selector-card-content {
    padding: 22px;
}

.selector-card-content h2 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.25;
}

.selector-card-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
}

/* LANDING PAGE */
.landing-page {
    background: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;	
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo span { color: var(--accent); }

.nav {
    display: flex;
    gap: 26px;
    font-size: 15px;
    color: var(--muted);
}

.nav a:hover { color: var(--accent-dark); }

.header-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
}

.header-button {
    padding: 10px 18px;
    background: var(--text);
    color: white;
    font-size: 14px;
}

.header-button:hover { background: var(--accent-dark); }

.project-group {
    grid-column: 1 / -1;
    width: 100%;
    display: block;
    margin-bottom: 90px;
}

.group-header {
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 14px;
    border-bottom: 2px solid #eaeaea;
}

.group-header h2 {
    font-size: 38px;
    font-weight: 700;
    margin: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 84px 24px 56px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
    align-items: center;
}

.hero-content,
.hero-projects-column {
    min-width: 0;
}

.hero-projects-column {
    display: flex;
    flex-direction: column;
}

.hero-carousel-link {
    display: block;
    flex: 1;
    text-decoration: none;
}

.hero-visual {
    height: 100%;
    min-height: 420px;
}

.carousel-cta {
    margin-top: 20px;

}

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

    .hero-visual {
        min-height: 320px;
    }

    .carousel-cta {
        justify-content: flex-start;
    }
}

.hero-projects-column {
    display: flex;
    flex-direction: column;
}

.hero-carousel-link {
    flex: 1;
}

.eyebrow {
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 590px;
    color: var(--muted);
    font-size: 19px;
    margin: 24px 0 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-button {
    padding: 14px 22px;
    background: var(--accent);
    color: white;
}

.primary-button:hover { background: var(--accent-dark); transform: translateY(-2px); }

.secondary-button {
    padding: 13px 21px;
    border: 1px solid var(--border);
    background: white;
}

.secondary-button:hover { border-color: var(--accent); transform: translateY(-2px); }

.hero-visual {
    min-height: 470px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(184,135,70,.18), rgba(31,41,51,.06)), url('assets/hero.svg');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.stat-card {
    position: absolute;
    left: 24px;
    bottom: 24px;
    right: 24px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 22px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    backdrop-filter: blur(12px);
}

.stat strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
}

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 24px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-header h2,
.process h2,
.cta h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.section-header p,
.process p,
.cta p {
    color: var(--muted);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 28px;
    min-height: 330px;
    box-shadow: 0 10px 26px rgba(31,41,51,.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #f3eadc;
    color: var(--accent-dark);
    border-radius: 16px;
    font-size: 25px;
    margin-bottom: 22px;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.service-card p { color: var(--muted); }

.service-card ul {
    margin: 22px 0 0;
    padding-left: 18px;
    color: var(--text);
}

.service-card li { margin-bottom: 8px; }

.process {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 10px 26px rgba(31,41,51,.05);
}

.steps {
    display: grid;
    gap: 18px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 22px;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.step h4 { margin: 0 0 4px; font-size: 18px; }
.step p { margin: 0; font-size: 15px; }

.cta {
    text-align: center;
    background: var(--text);
    color: white;
    border-radius: 34px;
    padding: 56px 24px;
}

.cta .eyebrow { color: #e7c898; }
.cta p { color: rgba(255,255,255,.72); max-width: 680px; margin: 18px auto 28px; }

.landing-footer {
    background: #161d25;
    color: white;
    padding: 44px 24px 24px;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 36px;
}

.footer-inner h4 { margin: 0 0 12px; }
.footer-inner p { color: rgba(255,255,255,.68); margin: 0; }
.footer-bottom {
    max-width: 1180px;
    margin: 34px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.54);
    font-size: 14px;
}

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 52px;
        gap: 34px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .nav,
    .header-button {
        display: none;
    }
}

@media (max-width: 768px) {
    .selector-header { padding-top: 24px; }
    .selector-title { font-size: 30px; }
    .selector-subtitle { font-size: 16px; }
    .selector-main { margin: 28px auto; }
    .selector-cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .selector-card-link { max-width: 100%; }
    .selector-card img { height: 220px; }
}

@media (max-width: 560px) {
    .header-inner { padding: 16px 18px; }
    .hero, .section { padding-left: 18px; padding-right: 18px; }
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 17px; }
    .stat-card { grid-template-columns: 1fr; }
    .process { padding: 26px; }
    .step { grid-template-columns: 1fr; }
    .footer-inner { gap: 24px; }
}

@media (max-width: 480px) {
    .selector-title { font-size: 26px; }
    .selector-card img { height: 190px; }
    .selector-card-content h2 { font-size: 21px; }
    .selector-card-content p { font-size: 15px; }
}

/* 404 PAGE */

.not-found-page {
    background: #f7f4ef;
    color: #1f1f1f;
}

.not-found-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 92px 24px 56px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 52px;
    align-items: center;
}

.not-found-content h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
}

.not-found-content p {
    max-width: 620px;
    margin: 24px 0 0;
    color: #666;
    font-size: 18px;
    line-height: 1.7;
}

.not-found-content .hero-actions {
    justify-content: flex-start;
}

.not-found-content .btn-secondary {
    background: #fff;
    color: #1f1f1f;
    border-color: rgba(0,0,0,.12);
}

.not-found-visual {
    min-height: 440px;
    border-radius: 28px;
    overflow: hidden;
    background: #1f2933;
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
    position: relative;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
        radial-gradient(circle at 74% 18%, rgba(184,146,91,.22), transparent 30%);
    background-size: 34px 34px, 34px 34px, 100% 100%;
}

.blueprint-grid::before,
.blueprint-grid::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(242,214,163,.58);
    border-radius: 3px;
}

.blueprint-grid::before {
    left: 14%;
    top: 18%;
    width: 62%;
    height: 54%;
}

.blueprint-grid::after {
    right: 12%;
    bottom: 14%;
    width: 30%;
    height: 38%;
}

.blueprint-grid strong {
    position: relative;
    z-index: 2;
    font-size: clamp(86px, 13vw, 170px);
    line-height: 0.85;
    letter-spacing: 0;
}

.blueprint-grid small {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    color: #f2d6a3;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blueprint-room {
    position: absolute;
    border: 2px solid rgba(255,255,255,.55);
}

.room-one {
    left: 14%;
    top: 18%;
    width: 28%;
    height: 22%;
}

.room-two {
    left: 42%;
    top: 18%;
    width: 34%;
    height: 28%;
}

.room-three {
    left: 14%;
    top: 40%;
    width: 44%;
    height: 32%;
}

.mark {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #b8925b;
    box-shadow: 0 0 0 8px rgba(184,146,91,.18);
}

.mark-one { left: 20%; top: 24%; }
.mark-two { right: 19%; top: 41%; }
.mark-three { left: 55%; bottom: 21%; }

.not-found-links {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 24px 90px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.not-found-card {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.not-found-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 46px rgba(0,0,0,.09);
}

.not-found-card span {
    color: #b8925b;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 18px;
}

.not-found-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.not-found-card p {
    margin: 0;
    color: #666;
    line-height: 1.65;
}

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

    .not-found-visual {
        min-height: 360px;
    }
}

@media (max-width: 680px) {
    .not-found-hero {
        padding: 64px 18px 42px;
        gap: 34px;
    }

    .not-found-links {
        padding: 0 18px 64px;
    }

    .not-found-content .hero-actions {
        justify-content: center;
    }

    .not-found-visual {
        min-height: 300px;
        border-radius: 22px;
    }

    .blueprint-grid {
        padding: 24px;
    }
}

/* CONTACT PAGE */

.contact-page {
    background: #f7f4ef;
    color: #1f1f1f;
}

.contact-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 86px 24px 54px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 42px;
    align-items: stretch;
}

.contact-form-panel,
.contact-detail-card {
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
}

.contact-form-panel {
    padding: 38px;
}

.contact-form-panel h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
}

.contact-form-panel > p {
    max-width: 680px;
    margin: 20px 0 28px;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

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

.contact-form label {
    display: grid;
    gap: 7px;
    color: #1f1f1f;
    font-size: 13px;
    font-weight: 700;
}

.contact-form .full-width {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fafafa;
    color: #1f1f1f;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(28,156,152,.10);
}

.contact-form button {
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: #1f1f1f;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    transition: transform .2s ease, background .2s ease;
}

.contact-form button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.contact-error {
    margin: 0 0 20px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(150, 40, 40, .10);
    color: #8a2424;
    font-weight: 700;
}

.contact-image-panel {
    position: relative;
    min-height: 620px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

.contact-image-panel img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.contact-image-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.68), rgba(0,0,0,.05) 58%);
}

.contact-image-card {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    padding: 24px;
    border-radius: 22px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(255,255,255,.7);
    backdrop-filter: blur(10px);
}

.contact-image-card span {
    display: inline-block;
    margin-bottom: 8px;
    color: #b8925b;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-image-card strong {
    display: block;
    color: #1f1f1f;
    font-size: 22px;
    line-height: 1.2;
}

.contact-details {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 24px 74px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-detail-card {
    padding: 28px;
}

.contact-detail-card span {
    color: #b8925b;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 18px;
}

.contact-detail-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.contact-detail-card p {
    margin: 0;
    color: #666;
    line-height: 1.65;
}

.contact-detail-card a {
    color: #1f1f1f;
    font-weight: 800;
}

.contact-routing {
    padding-bottom: 32px;
}

.contact-service-links {
    padding-top: 0;
}

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

    .contact-image-panel,
    .contact-image-panel img {
        min-height: 380px;
    }
}

@media (max-width: 680px) {
    .contact-hero {
        padding: 64px 18px 42px;
    }

    .contact-form-panel {
        padding: 26px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-details {
        padding: 0 18px 56px;
    }

    .contact-image-panel,
    .contact-image-panel img {
        min-height: 320px;
    }
}



