/* ==========================================================================
   DESIGN SYSTEM & CONSTANTS (style.css)
   ========================================================================== */

   :root {
    /* Color Palette */
    --primary: #C85A32;        /* Terrakotta Accent */
    --primary-hover: #AB4823;
    --primary-light: #F9EFEA;
    --secondary: #8C4E35;      /* Warm Rust */
    --dark: #151719;           /* Charcoal Dark */
    --dark-light: #1E2124;     /* Cards / Lighter Dark */
    --light: #FAF8F5;          /* Sand Background */
    --light-gray: #EFECE5;     /* Warm Gray / Borders */
    --white: #FFFFFF;
    
    /* Typography Colors */
    --text: #3E4348;
    --text-muted: #7E858C;
    --text-light: #FAF8F5;
    
    /* Fonts */
    --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Shadows & Border Radius */
    --shadow-sm: 0 2px 8px rgba(21, 23, 25, 0.04);
    --shadow-md: 0 8px 24px rgba(21, 23, 25, 0.06);
    --shadow-lg: 0 16px 48px rgba(21, 23, 25, 0.1);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    
    /* Slider Variable default */
    --slider-position: 50%;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

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

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden; /* Lock scroll when mobile menu is open */
}

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

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

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.small { font-size: 0.875rem; }

/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.975rem;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 90, 50, 0.25);
}

.btn-secondary {
    background-color: var(--dark);
    color: var(--white);
}

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

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

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

.hero-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
}
.hero-section .btn-outline:hover {
    border-color: var(--white);
    background-color: var(--white);
    color: var(--dark);
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    padding: 14px 0;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--light-gray);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(250, 248, 245, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a:not(.nav-cta) {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
    position: relative;
}

.main-nav .nav-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: none;
}

.main-nav .nav-cta:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 90, 50, 0.2);
}

.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.main-nav a:not(.nav-cta):hover {
    color: var(--primary);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 110;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.mobile-nav-toggle.open .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle.open .hamburger::before,
.mobile-nav-toggle.open .hamburger::after {
    transform: rotate(45deg);
    top: 0;
    background-color: var(--dark);
}

.mobile-nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--light);
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-overlay .mobile-nav ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu-overlay .mobile-nav a {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
}

.mobile-menu-overlay .mobile-nav .btn {
    font-size: 1.1rem;
    padding: 14px 40px;
    margin-top: 10px;
}

.mobile-menu-contact {
    margin-top: 40px;
    border-top: 1px solid var(--light-gray);
    padding-top: 24px;
}

.mobile-menu-contact .phone-link {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    background-color: var(--dark);
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(200, 90, 50, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    font-weight: 300;
    max-width: 600px;
}

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

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-img-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-floating-card {
    position: absolute;
    bottom: 24px;
    left: -24px;
    background: rgba(27, 29, 31, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.hero-floating-card .card-icon {
    font-size: 2rem;
}

.hero-floating-card .card-text strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
}

.hero-floating-card .card-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

.trust-bar {
    padding: 30px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-info h4 {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

.trust-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICES (LEISTUNGEN) SECTION
   ========================================================================== */

.services-section {
    background-color: var(--white);
}

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

.service-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 90, 50, 0.3);
}

.card-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--dark);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card-content {
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -26px;
    left: 32px;
    box-shadow: 0 4px 12px rgba(200, 90, 50, 0.2);
}

.service-card h3 {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 16px;
    color: var(--dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.service-list li {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.services-cta {
    background-color: var(--light);
    border: 1px solid var(--light-gray);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.services-cta p {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

/* ==========================================================================
   ADVANTAGES (VORTEILE) SECTION
   ========================================================================== */

.advantages-section {
    background-color: var(--light);
}

.advantages-wrapper {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.advantage-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.advantage-item {
    display: flex;
    gap: 24px;
}

.advantage-num {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.6;
    line-height: 1.2;
}

.advantage-content h3 {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.advantage-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.advantages-visual {
    position: relative;
}

.advantages-image-box {
    position: relative;
}

.advantages-image-box img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
}

.experience-badge {
    position: absolute;
    top: -24px;
    right: -24px;
    background-color: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(200, 90, 50, 0.35);
}

.experience-badge .number {
    font-family: var(--font-headings);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ==========================================================================
   PROCESS (ABLAUF) SECTION
   ========================================================================== */

.process-section {
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 60px;
}

/* Dotted horizontal line connecting steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-image: linear-gradient(to right, var(--light-gray) 50%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 10px 2px;
    background-repeat: repeat-x;
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-num-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--light);
    border: 3px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    transition: var(--transition);
}

.step-number {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    transition: var(--transition);
}

.process-step:hover .step-num-wrap {
    border-color: var(--primary);
    background-color: var(--primary-light);
    transform: scale(1.05);
}

.process-step:hover .step-number {
    color: var(--primary);
}

.step-content h3 {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   REFERENCES (VORHER-NACHHER) SECTION
   ========================================================================== */

.references-section {
    background-color: var(--light);
}

.before-after-slider-container {
    max-width: 900px;
    margin: 40px auto 24px auto;
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    user-select: none;
    -webkit-user-select: none;
}

.before-after-slider.dragging {
    cursor: ew-resize;
}

.image-before,
.image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

/* Styling for Before picture */
.image-before img {
    /* No filter needed since we use a real generated before-renovation image */
}

.image-after {
    /* clip path handles overlay cutoff */
    clip-path: polygon(0 0, var(--slider-position, 50%) 0, var(--slider-position, 50%) 100%, 0 100%);
}

.label-badge {
    position: absolute;
    bottom: 24px;
    background-color: rgba(21, 23, 25, 0.75);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.label-before {
    left: 24px;
}

.label-after {
    right: 24px;
}

/* Handle line & button */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-position, 50%);
    width: 4px;
    background-color: var(--white);
    transform: translateX(-50%);
    z-index: 10;
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.slider-handle .handle-line {
    width: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    flex-grow: 1;
}

.slider-handle .handle-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
    padding: 8px;
    gap: 2px;
}

.slider-handle:hover .handle-button,
.before-after-slider.dragging .handle-button {
    transform: scale(1.1);
    background-color: var(--primary-hover);
}

.handle-button svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.references-subtext {
    margin-top: 16px;
}

/* ==========================================================================
   ABOUT US (ÜBER UNS) SECTION
   ========================================================================== */

.about-section {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.about-image-layout {
    position: relative;
}

.about-img-large {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.about-stat-overlay {
    position: absolute;
    bottom: -24px;
    right: 24px;
    background-color: var(--dark);
    color: var(--white);
    padding: 20px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-stat-overlay .stat-number {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.about-stat-overlay .stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.about-text-column p {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.15rem !important;
    font-weight: 500;
    line-height: 1.6;
    color: var(--dark) !important;
}

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
}

.about-feat-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-feat-text h4 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.about-feat-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

/* ==========================================================================
   CONTACT (KONTAKT) SECTION & FORM
   ========================================================================== */

.contact-section {
    background-color: var(--light);
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.contact-form-column {
    padding: 64px;
    border-right: 1px solid var(--light-gray);
}

.form-title {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.form-lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Checkbox Chips */
.checkbox-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    cursor: pointer;
}

.chip input[type="checkbox"] {
    display: none;
}

.chip-label {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--light);
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition-fast);
}

.chip input[type="checkbox"]:checked + .chip-label {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.chip:hover .chip-label {
    border-color: var(--primary);
}

/* Form layouts */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    background-color: var(--light);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    color: var(--dark);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.1);
}

textarea.form-control {
    resize: vertical;
}

/* Checkbox Privacy Policy */
.form-checkbox {
    margin-top: 8px;
}

.checkbox-container {
    display: flex;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
}

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

.checkmark {
    position: absolute;
    top: 4px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--light);
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    transition: var(--transition-fast);
}

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

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

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

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

.checkbox-container .checkmark::after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox-text a {
    color: var(--primary);
    font-weight: 500;
}

/* Success Screen */
.form-success-message {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #2DCA73;
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 6px 16px rgba(45, 202, 115, 0.2);
}

.form-success-message h3 {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.form-success-message p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 32px auto;
    line-height: 1.6;
}

/* Contact Info Column */
.contact-info-column {
    background-color: var(--dark);
    color: var(--white);
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.info-block h3 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-block p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.phone-highlight a {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    display: block;
    margin-bottom: 8px;
}

.phone-highlight a:hover {
    color: var(--white);
}

.email-highlight a {
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 500;
}

.email-highlight a:hover {
    color: var(--primary);
}

/* Styled Map Placeholder */
.map-placeholder {
    height: 200px;
    background-color: var(--dark-light);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Map visual styling */
.map-placeholder::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.05);
}

.map-circle-ripple {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(200, 90, 50, 0.15);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.map-pin {
    font-size: 2.25rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.map-label {
    position: absolute;
    bottom: 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 120px 0; /* Extra bottom padding for mobile sticky CTA bar */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

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

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-logo-text {
    font-family: var(--font-headings);
    font-weight: 750;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-grid h4 {
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-legal a {
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary);
}

.copyright {
    margin-top: 24px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   STICKY MOBILE CTA BAR
   ========================================================================== */

.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-top: 1px solid var(--light-gray);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    display: none; /* Desktop hidden */
    z-index: 99;
}

.cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 12px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.cta-phone {
    background-color: var(--white);
    color: var(--dark);
}

.cta-inquire {
    background-color: var(--primary);
    color: var(--white);
}

.cta-inquire:hover {
    background-color: var(--primary-hover);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* Medium Devices (Tablets, landscape & portrait, 1024px and down) */
@media (max-width: 1024px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-container {
        gap: 32px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .advantages-wrapper {
        gap: 40px;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-column {
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
        padding: 48px;
    }
    
    .contact-info-column {
        padding: 48px;
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .process-steps::before {
        display: none; /* Hide timeline line since items wrap */
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Small Devices (Mobiles, 768px and down) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .main-header {
        padding: 16px 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    
    .hero-actions .btn {
        flex-grow: 1;
    }
    
    .hero-image-wrapper {
        order: -1; /* image on top on mobile */
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-floating-card {
        left: 20px;
        bottom: -10px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .trust-item {
        border-bottom: 1px solid var(--light-gray);
        padding-bottom: 16px;
    }
    
    .trust-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .advantages-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: left;
    }
    
    .process-step {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        text-align: left;
    }
    
    .step-num-wrap {
        margin: 0;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
    }
    
    .step-number {
        font-size: 1.25rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-column {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form-column {
        padding: 32px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-column {
        padding: 32px 20px;
    }
    
    .phone-highlight a {
        font-size: 1.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .sticky-mobile-cta {
        display: flex;
    }
}

/* ==========================================================================
   INLINE SVG ICONS STYLING
   ========================================================================== */

.trust-icon svg,
.service-icon-wrap svg,
.about-feat-icon svg,
.hero-floating-card .card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

/* Specific SVG adjustments */
.hero-floating-card .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.hero-floating-card .card-icon svg {
    width: 28px;
    height: 28px;
}

.about-feat-icon {
    color: var(--primary);
    margin-top: 2px;
}

.map-pin {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    fill: rgba(200, 90, 50, 0.25);
    stroke: var(--white);
    stroke-width: 2;
}
