/* Custom CSS for Roof Restoration Landing Page */

/* -------------------------------------------------------------
   Design Tokens & Variables
   ------------------------------------------------------------- */
:root {
    --color-navy-dark: #0F172A;
    --color-navy-medium: #1E293B;
    --color-navy-light: #334155;
    --color-orange: #F59E0B;
    --color-orange-hover: #D97706;
    --color-bg-light: #F8FAFC;
    --color-bg-white: #FFFFFF;
    --color-text-dark: #0F172A;
    --color-text-muted: #475569;
    --color-text-light: #F8FAFC;
    
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-lg: 20px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
    --transition-base: all 0.2s ease-in-out;
}

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

html {
    scroll-behavior: auto;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

.container-narrow {
    max-width: 780px;
}

/* -------------------------------------------------------------
   Typography & Headers
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-navy-dark);
}

h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 48px auto;
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

/* -------------------------------------------------------------
   Buttons
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-navy-dark);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-navy-dark);
    border: 2px solid var(--color-navy-dark);
}

.btn-outline:hover {
    background-color: var(--color-navy-dark);
    color: var(--color-bg-white);
}

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

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

.btn-pill-orange {
    background-color: var(--color-orange);
    color: var(--color-navy-dark);
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    padding: 10px 24px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.btn-pill-orange:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.35);
}

/* -------------------------------------------------------------
   Header / Navigation
   ------------------------------------------------------------- */
.main-header {
    background-color: var(--color-navy-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

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

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-bg-white);
    gap: 4px;
}

.brand-icon {
    width: 100px;
    height: auto;
}

.brand-title {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}

.brand-slogan {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    text-align: center;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #94A3B8;
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    transition: var(--transition-base);
}

.nav-menu a:hover {
    color: var(--color-bg-white);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--color-bg-white);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.phone-link span {
    white-space: nowrap;
}

.phone-link:hover {
    color: var(--color-orange);
}

.btn-header {
    background-color: var(--color-orange);
    color: var(--color-navy-dark);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-base);
}

.btn-header:hover {
    background-color: var(--color-orange-hover);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-bg-white);
    transition: var(--transition-base);
}

/* -------------------------------------------------------------
   Mobile Menu
   ------------------------------------------------------------- */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--color-navy-dark);
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav a {
    text-decoration: none;
    color: #94A3B8;
    font-weight: 700;
    font-size: 18px;
}

.mobile-nav a:hover {
    color: var(--color-bg-white);
}

.header-contacts .mobile-phone,
.mobile-nav .mobile-phone {
    font-size: 20px;
    color: var(--color-orange-hover);
}

/* -------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 90px 0 90px 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 40%, rgba(15, 23, 42, 0) 100%), url('001.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #E2E8F0;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex; /* Override grid */
}

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 650px; /* Limit width since it's now full-screen background */
}

.hero-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--color-orange);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    align-self: flex-start;
}

.hero-eyebrow-pill .dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-orange);
    border-radius: 50%;
}

.hero-section h1 {
    font-size: 64px;
    margin-bottom: 24px;
    color: var(--color-bg-white);
    line-height: 1.1;
    font-weight: 800;
}

.text-highlight {
    color: var(--color-orange);
}

.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #CBD5E1;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 48px;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 36px;
}

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

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-orange);
    color: var(--color-navy-dark);
    flex-shrink: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 16px;
    color: var(--color-bg-white);
    font-weight: 800;
}

.trust-text span {
    font-size: 14px;
    color: #CBD5E1;
    line-height: 1.3;
}

/* -------------------------------------------------------------
   Benefits Section
   ------------------------------------------------------------- */
.benefits-section {
    padding: 100px 0;
}

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

.benefit-card {
    background-color: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid #F1F5F9;
}

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

.benefit-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--color-navy-dark);
    color: var(--color-orange);
    font-weight: 800;
    font-size: 13px;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.benefit-card h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

/* -------------------------------------------------------------
   Problems / Pain Points Section
   ------------------------------------------------------------- */
.problems-section {
    padding: 100px 0;
    background-color: var(--color-navy-dark);
    color: var(--color-text-light);
}

.problems-section .section-title {
    color: var(--color-text-light);
}

.problems-section .section-subtitle {
    color: #94A3B8;
}

.problems-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

.problem-item {
    background-color: var(--color-navy-medium);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-left: 4px solid var(--color-orange);
}

.problem-icon {
    font-weight: 800;
    font-size: 20px;
    color: var(--color-orange);
    line-height: 1;
}

.problem-item p {
    color: #E2E8F0;
    margin: 0;
    font-weight: 600;
}

.problems-conclusion {
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px dashed rgba(245, 158, 11, 0.3);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.problems-conclusion p {
    color: #FEF3C7;
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}

/* -------------------------------------------------------------
   Comparison / Why Restoration Section
   ------------------------------------------------------------- */
.comparison-section {
    padding: 100px 0;
}

.comparison-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    border: 1px solid #E2E8F0;
}

.comparison-header {
    background-color: var(--color-navy-dark);
    padding: 24px 40px;
    color: var(--color-bg-white);
}

.comparison-header h3 {
    color: var(--color-bg-white);
    margin: 0;
}

.comparison-body {
    padding: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comp-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.comp-icon {
    color: #10B981;
    flex-shrink: 0;
    margin-top: 4px;
}

.comp-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.comp-item p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.comparison-note {
    max-width: 700px;
    margin: 0 auto;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-navy-dark);
}

/* -------------------------------------------------------------
   Process / Steps Section
   ------------------------------------------------------------- */
.process-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-card {
    background-color: var(--color-bg-light); /* Light grey #F8FAFC */
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--color-orange);
    transition: height 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.1);
    background-color: var(--color-bg-white);
}

.process-card:hover::before {
    height: 100%;
}

.step-number-minimal {
    font-size: 56px;
    font-weight: 900;
    color: var(--color-navy-dark);
    opacity: 0.04;
    position: absolute;
    top: 24px;
    right: 32px;
    line-height: 1;
    pointer-events: none;
}

.process-icon {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--color-navy-dark);
}

.process-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-navy-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.process-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* -------------------------------------------------------------
   Portfolio / Before-After Section
   ------------------------------------------------------------- */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-grid {
    max-width: 1000px;
    margin: 0 auto;
}

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

/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    user-select: none;
    --clip-pos: 50%;
}

.slider-container img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

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

.image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    clip-path: polygon(0 0, var(--clip-pos) 0, var(--clip-pos) 100%, 0 100%);
}

/* Slider Divider Line */
.slider-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--color-orange);
    z-index: 20;
    pointer-events: none;
    transform: translateX(-50%);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--color-orange);
    color: var(--color-navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}

.slider-button svg {
    width: 20px;
    height: 20px;
}

/* Custom Invisible Range Input covering container */
.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 30;
}

/* Details area below media */
.project-details {
    padding: 40px;
    border-top: 1px solid #E2E8F0;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 24px;
    background-color: var(--color-bg-light);
    padding: 16px 24px;
    border-radius: var(--radius-md);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

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

.meta-item strong {
    font-size: 16px;
    color: var(--color-navy-dark);
}

.project-details h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.project-problems {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* -------------------------------------------------------------
   Trust Reasons Section
   ------------------------------------------------------------- */
.trust-reasons-section {
    padding: 100px 0;
    background-color: var(--color-navy-dark);
    color: var(--color-text-light);
}

.trust-reasons-section .section-title {
    color: var(--color-text-light);
    margin-bottom: 64px;
}

.trust-aligned-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trust-card {
    background-color: var(--color-navy-medium);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--color-orange);
    transition: height 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.trust-card:hover::before {
    height: 100%;
}

.card-icon-modern {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--color-text-light);
}

.trust-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.3;
}

.trust-card p {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

/* -------------------------------------------------------------
   Reviews / Testimonials Section
   ------------------------------------------------------------- */
.reviews-section {
    padding: 100px 0;
}

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

.review-card {
    background-color: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.review-stars {
    color: var(--color-orange);
    font-size: 20px;
    margin-bottom: 16px;
}

.review-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.review-author {
    border-top: 1px solid #E2E8F0;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
}

.review-author strong {
    font-size: 15px;
    color: var(--color-navy-dark);
}

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

/* -------------------------------------------------------------
   Final CTA + Lead Form Section
   ------------------------------------------------------------- */
.cta-form-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
    border-top: 1px solid #E2E8F0;
}

.cta-form-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.cta-form-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-form-lead {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.cta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.cta-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cta-check {
    color: #10B981;
    font-weight: 800;
    font-size: 18px;
}

.cta-list span {
    font-weight: 600;
    color: var(--color-navy-dark);
}

.cta-form-wrapper {
    background-color: var(--color-bg-light);
    border: 1px solid #E2E8F0;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.cta-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cta-form-wrapper p {
    font-size: 14px;
    margin-bottom: 32px;
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy-dark);
}

.form-group input {
    font-family: var(--font-sans);
    font-size: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid #CBD5E1;
    background-color: var(--color-bg-white);
    color: var(--color-navy-dark);
    transition: var(--transition-base);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

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

.success-icon {
    width: 64px;
    height: 64px;
    background-color: #D1FAE5;
    color: #059669;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.form-success-message h4 {
    font-size: 22px;
    margin-bottom: 8px;
}

.form-success-message p {
    font-size: 15px;
    margin: 0;
}

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-navy-dark);
    padding: 80px 0 30px 0;
    color: #94A3B8;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-bg-white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-slogan {
    line-height: 1.6;
    margin: 0;
    max-width: 250px;
}

.footer-title {
    color: var(--color-orange);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-nav, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-nav a, .footer-contact a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover, .footer-contact a:hover {
    color: var(--color-orange);
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-form input {
    background-color: var(--color-bg-white);
    border: none;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--color-navy-dark);
    outline: none;
}

.footer-form .btn {
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 10px 0;
}

.footer-copyright {
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.footer-credits {
    text-align: center;
    font-size: 12px;
    padding-top: 20px;
}

.footer-credits a {
    color: rgba(148, 163, 184, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #94A3B8;
}

/* -------------------------------------------------------------
   Media Queries & Responsiveness
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .process-section {
        overflow-x: hidden;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-aligned-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-form-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .brand-icon {
        width: 110px;
    }
    
    .brand-title {
        font-size: 16px;
    }
    
    .brand-slogan {
        font-size: 8px;
    }

    h1 {
        font-size: 36px;
    }
    
    .hero-section h1 {
        font-size: 40px;
        line-height: 1.15;
    }
    
    .hero-eyebrow-pill {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 16px;
    }

    .hero-cta-group .btn-primary {
        display: none;
    }

    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    h2, .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .nav-menu, .header-contacts .btn-header, .header-contacts .btn, .header-contacts .phone-link {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 80px 0 60px 0;
        background-position: 75% center;
    }
    
    .problems-list {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .comparison-body {
        padding: 24px;
    }
    
    .slider-container, .slider-container img {
        height: 320px;
    }
    
    .image-before img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .project-details {
        padding: 24px;
    }
    
    .project-meta {
        gap: 16px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .process-card:hover {
        transform: translateY(-4px);
    }

    .trust-aligned-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-card:hover {
        transform: translateY(-4px);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-form-wrapper {
        padding: 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Scroll offset for sticky header */
section[id] {
    scroll-margin-top: 80px;
}

/* Floating mobile CTA */
.floating-cta {
    display: none;
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .floating-cta {
        display: flex;
        position: fixed;
        bottom: 1.25rem;
        left: 1rem;
        right: 1rem;
        z-index: 90;
        background-color: var(--color-orange);
        color: var(--color-navy-dark);
        font-family: var(--font-sans);
        font-weight: 800;
        font-size: 16px;
        padding: 16px;
        border-radius: var(--radius-md);
        text-decoration: none;
        justify-content: center;
        align-items: center;
        box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
        animation: pulse-orange 2s infinite cubic-bezier(0.66, 0, 0, 1);
        transition: transform 0.1s ease, background-color 0.2s ease, box-shadow 0.2s ease;
        /* Додатково забезпечуємо реакцію на натискання */
        -webkit-tap-highlight-color: transparent;
    }
    
    .floating-cta:active {
        transform: scale(0.96) !important;
        background-color: var(--color-orange-hover);
        animation: none; /* Зупиняємо пульсацію при натисканні */
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }
}

/* Hamburguer Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
