/* 
   HORIZON REMODELING - PREMIUM THEME
   Styles for the new high-converting demo website
*/

:root {
    /* Colors - Graphite & Cobalt Blue Theme */
    --primary: #2e3034;
    /* Deep Graphite */
    --primary-dark: #1a1b1e;
    --primary-light: #464a4f;
    --accent: #0084ff;
    /* Bright Cobalt/Electric Blue for actions */
    --accent-hover: #006ce6;

    --text-main: #202225;
    --text-muted: #5f6368;
    --text-light: #9aa0a6;

    --bg-body: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #161719;

    --white: #ffffff;
    --border: #e8eaed;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --section-pad: 6rem 0; /* Slightly larger padding for a breathable modern feel */

    /* Effects - Sharp corners for a strong/architectural look */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.08);
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* BASE RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-light {
    color: var(--text-light) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* UTILITIES */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-pad);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--white);
}

.bg-accent {
    background-color: var(--primary);
    color: var(--white);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-inline-flex {
        display: inline-flex !important;
    }
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary) !important;
}

.services-section .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

.services-section .btn-outline:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

/* BADGES */
.badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px rgba(0, 132, 255, 0.8);
}

.services-section .badge-pill,
.faq-content .badge-pill,
.process-section .badge-pill {
    background: rgba(46, 48, 52, 0.1);
    color: var(--primary);
    border-color: rgba(46, 48, 52, 0.2);
}

/* TOP BAR */
.top-bar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 1.5rem;
}

.top-bar-contact a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-contact a:hover {
    color: var(--white);
}

.top-bar-trusted span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    font-weight: 500;
}

.top-bar-trusted i {
    color: var(--accent);
}

/* HEADER & NAVBAR */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Cropped logo icon — shows only the orange icon part of the logo image */
.logo-icon-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    object-position: left center;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 400;
    letter-spacing: -0.3px;
}

.logo-text strong {
    font-weight: 800;
    color: var(--accent);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('images/hero_kitchen.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(22, 23, 25, 0.9) 0%, rgba(22, 23, 25, 0.7) 50%, rgba(22, 23, 25, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    margin: 1.5rem 0;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--accent);
    display: block;
}

.hero-subtitle {
    color: var(--border);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-subtitle strong {
    color: var(--white);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.stars {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.trust-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.trust-text strong {
    color: var(--white);
}

/* TRUST LOGOS */
.trust-logos {
    background-color: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-logos-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-item {
    text-align: center;
    border-right: 1px solid var(--border);
    padding-right: 4rem;
}

.logo-item.border-none {
    border-right: none;
    padding-right: 0;
}

.logo-item h3 {
    font-size: 1.5rem;
    color: var(--text-muted);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.logo-item p {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
}

.trust-logos:hover .logo-item h3 {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--primary);
}

/* COMMON SECTION HEADER */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.header-action {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.header-action .section-desc {
    margin: 0;
    max-width: 500px;
}

/* PROBLEM SECTION */
.problem-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 132, 255, 0.3);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.problem-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.problem-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* GUARANTEE SECTION */
.guarantee-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.check-list i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
}

.check-list strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.2rem;
}

.guarantee-stat-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-circle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-circle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-circle:nth-child(3) {
    grid-column: span 2;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--border);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.img-remodel {
    background-image: url('images/hero_kitchen.png');
}

.img-hardscape {
    background-image: url('images/hardscape.png');
}

.img-paint {
    background-image: url('images/painting.png');
}

.service-content {
    padding: 2.5rem 2rem;
    position: relative;
}

.service-icon {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 132, 255, 0.3);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* PROCESS SECTION */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

.step-line {
    position: absolute;
    top: 35px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 0 10px var(--bg-light);
    transition: var(--transition);
}

.step:hover .step-number {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* PORTFOLIO / BEFORE AFTER */
.portfolio-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.before-after-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.ba-labels {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.label-before,
.label-after {
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.portfolio-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.location {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tags span {
    background: var(--bg-light);
    color: var(--text-main);
    padding: 5px 15px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--radius-md);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--border);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.author-info h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.author-info .stars {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* FAQ */
.faq-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.accordion-header .icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.accordion-body {
    padding: 0 2rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid var(--border);
}

.accordion-item.active .icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(45deg);
}

.accordion-item.active .accordion-body {
    padding: 1.5rem 2rem;
    max-height: 500px;
    opacity: 1;
}

/* CONTACT SECTION */
.contact-section {
    background: var(--bg-light);
}

.contact-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.contact-prompt {
    padding: 4rem;
    background: var(--primary);
    color: var(--white);
    position: relative;
}

.offer-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-prompt h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.contact-prompt p {
    color: var(--border);
    font-size: 1.1rem;
}

.contact-methods {
    margin-top: 3rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.method i {
    font-size: 2rem;
    color: var(--accent);
}

.method span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.method strong {
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.contact-form-container {
    padding: 4rem;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.1);
}

.form-notice {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.form-notice i {
    color: #28a745;
}

/* FOOTER */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    max-width: 400px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
}

.social-links a:hover {
    color: var(--accent);
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 23, 25, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    text-align: center;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-image {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.modal-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-text p {
    color: var(--text-muted);
}

.inline-form {
    display: flex;
    gap: 1rem;
}

.inline-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {

    .grid-3,
    .process-steps,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guarantee-content,
    .portfolio-showcase,
    .faq-inner,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .contact-box {
        display: flex;
        flex-direction: column;
    }

    .contact-prompt,
    .contact-form-container {
        padding: 3rem 2rem;
    }

    .step-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-actions .btn {
        display: none;
    }

    .header-action {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .grid-2,
    .grid-3,
    .process-steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0;
    }

    .logos-grid {
        gap: 2rem;
    }

    .logo-item {
        border: none;
        padding: 0;
        width: 40%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .inline-form {
        flex-direction: column;
    }
}