/* ==========================================================================
   RS EDIFICAÇÕES - PREMIUM STYLING
   Fonts: Cormorant Garamond (Serif), Montserrat (Sans-serif)
   ========================================================================== */

/* --- Custom Variables & Tokens --- */
:root {
    --primary: #4A2E1B;          /* Teak Wood Brown */
    --primary-light: #6E4E3A;    /* Light Teak */
    --primary-dark: #2F1C10;     /* Dark Charcoal Wood */
    --accent: #C5A880;           /* Walnut Gold */
    --accent-hover: #AB906A;     /* Antique Gold */
    --accent-light: #F4EFE6;     /* Sand Champagne Light */
    --bg-light: #FAF7F2;         /* Soft Cream Sand background */
    --bg-white: #FFFFFF;
    --text-dark: #2C2520;        /* Deep Charcoal Brown */
    --text-muted: #7A6F66;       /* Warm Gray-Brown */
    --border-color: #E2DACF;     /* Delicate border tone */
    
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20BA5A;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', Helvetica, Arial, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 4px 12px rgba(44, 37, 32, 0.04);
    --shadow-md: 0 10px 30px rgba(44, 37, 32, 0.06);
    --shadow-lg: 0 20px 50px rgba(44, 37, 32, 0.1);
    
    --container-width: 1200px;
}

/* --- Base Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-weight: 400;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.25;
}

/* --- Global Layout & Components --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.btn-icon-whatsapp {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* --- Header / Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 247, 242, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 218, 207, 0.4);
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 32px;
    max-height: 32px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: var(--transition);
}

.navbar.scrolled .logo-image {
    height: 28px;
    max-height: 28px;
}

.footer-logo-image {
    height: 38px;
    max-height: 38px;
    width: auto;
    object-fit: contain;
    background-color: var(--bg-white);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.logo-symbol {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    background-color: var(--primary);
    color: var(--bg-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    letter-spacing: -1px;
}

.logo-text {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.15em;
    color: var(--primary-dark);
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--primary);
    color: var(--bg-white) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-sm);
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background-color: var(--accent);
    color: var(--bg-white) !important;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(30, 26, 23, 0.9) 20%,
        rgba(30, 26, 23, 0.6) 60%,
        rgba(30, 26, 23, 0.4) 100%
    );
}

.hero-content-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 40px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.hero-text-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.8;
}

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

.hero-stats-panel {
    align-self: flex-start;
    display: flex;
    background-color: rgba(47, 28, 16, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--radius-md);
    padding: 25px 40px;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

.stat-divider {
    width: 1px;
    background-color: rgba(197, 168, 128, 0.2);
}

/* --- Services Grid --- */
.section-services {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 168, 128, 0.5);
    background-color: var(--bg-white);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.service-name {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-bullets {
    margin-bottom: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.service-bullets li {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-bullets li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-card:hover .service-link {
    color: var(--accent);
}

/* --- Before & After Slider Section --- */
.section-gallery {
    background-color: var(--bg-light);
}

.before-after-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    user-select: none;
    -webkit-user-select: none;
}

.img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.before-img {
    z-index: 1;
}

.after-img {
    z-index: 2;
    width: 50%; /* Default separation level */
}

.slider-label {
    position: absolute;
    bottom: 20px;
    z-index: 5;
    background-color: rgba(47, 28, 16, 0.7);
    color: var(--bg-white);
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

/* Slider Drag Handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    z-index: 10;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    border: 3px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Arrows inside handle */
.slider-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-white);
    font-size: 1.2rem;
    font-weight: 700;
    pointer-events: none;
}

/* --- Differentials --- */
.section-differentials {
    background-color: var(--primary-dark);
    color: var(--bg-white);
}

.section-differentials .section-title {
    color: var(--bg-white);
}

.section-differentials .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diff-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: var(--transition);
}

.diff-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.diff-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 700;
}

.diff-title {
    color: var(--bg-white);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.diff-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* --- Simulator Section --- */
.section-simulator {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.simulator-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

.simulator-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.simulator-card .card-header {
    background-color: var(--accent-light);
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.simulator-card .card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.simulator-card .card-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.simulator-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* Radio Cards Grid */
.radio-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.radio-card {
    cursor: pointer;
    position: relative;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.radio-card input[type="radio"]:checked + .radio-card-content {
    border-color: var(--primary);
    background-color: var(--accent-light);
    box-shadow: 0 4px 10px rgba(74, 46, 27, 0.1);
}

.service-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.service-card-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Toggle Buttons */
.toggle-buttons-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.toggle-btn {
    flex: 1;
    min-width: 120px;
    cursor: pointer;
    position: relative;
}

.toggle-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-btn-content {
    display: block;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.toggle-btn input[type="radio"]:checked + .toggle-btn-content {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* Number Input */
.number-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-width: 200px;
}

.num-btn {
    background: none;
    border: none;
    width: 50px;
    height: 44px;
    font-size: 1.3rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.num-btn:hover {
    background-color: var(--accent-light);
}

.number-input-wrapper input[type="number"] {
    width: 100px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-family: var(--font-sans);
}

.number-input-wrapper input[type="number"]::-webkit-inner-spin-button,
.number-input-wrapper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-tip {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Custom Checkbox */
.custom-checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    user-select: none;
    padding-left: 35px;
}

.custom-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
}

.custom-checkbox-container:hover input ~ .checkmark {
    border-color: var(--accent);
}

.custom-checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.checkbox-label-text strong {
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.checkbox-label-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Summary Panel Card */
.summary-panel {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 100px;
}

.summary-panel .summary-top {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-badge {
    display: inline-block;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.summary-title {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 5px;
}

.summary-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.summary-invoice {
    padding: 40px;
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 15px;
}

.invoice-row span:last-child {
    font-weight: 600;
    color: var(--bg-white);
}

.invoice-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 25px 0;
}

.total-row {
    font-size: 1.1rem;
    color: var(--bg-white);
    align-items: center;
}

.total-row span:first-child {
    font-weight: 700;
}

.total-highlight {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--accent) !important;
    font-weight: 700;
}

.summary-footer {
    padding: 0 40px 40px 40px;
}

.disclaimer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
    margin-bottom: 25px;
}

#btnSendWhatsApp {
    background-color: var(--whatsapp-green);
    color: var(--bg-white);
    border: none;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

#btnSendWhatsApp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* --- Testimonials --- */
.section-testimonials {
    background-color: var(--bg-white);
}

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

.testimonial-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    color: var(--bg-white);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
}

.client-name {
    font-size: 1rem;
    color: var(--primary-dark);
}

.client-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Contact & Form Section --- */
.section-contact {
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-info-panel {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-title {
    color: var(--bg-white);
    font-size: 2.8rem;
    margin-top: 15px;
    margin-bottom: 20px;
}

.contact-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-item h4 {
    color: var(--bg-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-detail-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.contact-detail-item a:hover {
    color: var(--accent);
}

.contact-form-panel {
    padding: 60px;
    display: flex;
    align-items: center;
}

.contact-form {
    width: 100%;
}

.form-row {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(74, 46, 27, 0.05);
}

textarea.form-control {
    resize: vertical;
}

/* --- Main Footer --- */
.main-footer {
    background-color: #1E1A17;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo-symbol {
    border: 2px solid var(--accent);
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--bg-white);
    font-size: 1.3rem;
}

.footer-desc {
    margin-top: 20px;
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-grid h4 {
    color: var(--bg-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-grid a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
}

.footer-grid a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive Adaptations (Media Queries) --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .simulator-layout {
        grid-template-columns: 1fr;
    }
    
    .summary-panel {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        padding: 40px;
        gap: 30px;
    }
    
    .contact-form-panel {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    /* Mobile Navigation Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats-panel {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   GALLERY & LIGHTBOX MODAL (REAL PROJECT PHOTOS)
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 22px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #222;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.08);
}

.gallery-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(74, 46, 27, 0.88);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

.gallery-zoom-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(44, 37, 32, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-zoom-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-zoom-icon {
    transform: scale(1);
}

.gallery-info {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.gallery-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.gallery-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
}

/* Lightbox Modal */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-wrapper {
    position: relative;
    max-width: 950px;
    width: 100%;
    max-height: 90vh;
    background-color: var(--primary-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-content-wrapper {
        flex-direction: row;
    }
}

.modal-img-container {
    flex: 1.4;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 75vh;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-details {
    flex: 1;
    padding: 35px;
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #1e130c;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.modal-badge {
    display: inline-block;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--bg-white);
    margin-bottom: 15px;
}

.modal-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

