:root {
    --primary: #1F4E79;
    --accent: #F28C28;
    --surface-white: #FFFFFF;
    --surface-dark: #2C2C2C;
    --surface-light: #F5F7FA;
    --success: #27AE60;
    --text-main: #2C2C2C;
    --text-muted: #6B7280;
    --border-radius: 0.5rem;
    --font-family: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--surface-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: var(--border-radius);
    transition: transform 0.2s ease, background-color 0.3s ease;
}

button:active {
    transform: scale(0.98);
}

ul,
ol {
    list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.875rem, 8vw, 2.25rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 1.875rem);
    }

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    .mobile-break {
        word-break: break-all;
        font-size: 0.9em;
    }
}

/* ===== header_section ===== */
.translate-x-full {
    transform: translateX(100%);
}

.translate-x-0 {
    transform: translateX(0);
}

/* ===== hero_section ===== */
.hyphens-auto {
    hyphens: auto;
}

.object-fit-cover {
    object-fit: cover;
}

/* ===== services_section ===== */
#services {
    overflow-x: hidden;
}

#services .container {
    max-width: 1200px;
    margin: 0 auto;
}

#services h2,
#services h3 {
    hyphens: auto;
}

#services i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== pricing_section ===== */
.js-pricing-card {
    hyphens: auto;
}

.js-pricing-card h3 {
    line-height: 1.2;
}

#js-modal-pricing input::placeholder {
    color: #9CA3AF;
}

/* ===== quiz_section ===== */
.hidden {
    display: none;
}

.js-quiz-option:hover {
    background-color: rgba(242, 140, 40, 0.05);
}

.js-quiz-option i {
    font-size: 1.2rem;
}

/* ===== features_section ===== */
#features .bi {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#features .bg-\[var\(--surface-white\)\] {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#features .bg-\[var\(--surface-white\)\]:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

p {
    hyphens: auto;
}

/* ===== gallery_section ===== */
#gallery .js-slider-container {
    cursor: grab;
}

#gallery .js-slider-container:active {
    cursor: grabbing;
}

#gallery .js-before-wrapper {
    transition: width 0.1s ease-out;
}

#gallery .js-slider-handle {
    transition: left 0.1s ease-out;
    z-index: 10;
}

/* ===== facade_checkup ===== */
.hyphens-auto {
    hyphens: auto;
}

#checkup {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
    h2 {
        line-height: 1.2;
    }
}

/* ===== process_section ===== */
.js-step {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.js-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .js-step h3 {
        font-size: 14px;
        line-height: 1.2;
        hyphens: auto;
    }

    .js-step p {
        font-size: 12px;
    }
}

/* ===== solution_packages ===== */
#packages h2 {
    hyphens: auto;
    line-height: 1.2
}

#packages .js-package-card {
    transition: transform 0.3s ease-in-out
}

@media(max-width:767px) {
    #packages .js-package-card.scale-105 {
        scale: 1;
        margin-top: 20px;
        margin-bottom: 20px
    }
}

/* ===== testimonials ===== */
.bi-star-fill {
    font-size: 14px;
    color: var(--accent)
}

#reviews {
    overflow-x: hidden
}

p {
    hyphens: auto;
    line-height: 1.5
}

/* ===== warranty_section ===== */
.hyphens-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
}

h2,
h3 {
    color: var(--text-main);
}

section#trust {
    color: var(--text-main);
}

.bg-surface-dark p,
.bg-surface-dark h3 {
    color: #FFFFFF !important;
}

/* ===== final_cta_section ===== */
.bg-surface-dark {
    background-color: var(--surface-dark);
}

.text-text-main {
    color: var(--text-main);
}

.text-text-muted {
    color: var(--text-muted);
}

.bg-accent {
    background-color: var(--accent);
}

.text-primary {
    color: var(--primary);
}

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

h2,
h3 {
    hyphens: auto;
}

input::placeholder,
textarea::placeholder {
    color: #9CA3AF;
}

/* ===== sticky_cta ===== */
#sticky {
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    hyphens: auto;
}

.js-cta-link {
    box-shadow: 0 0 15px rgba(242, 140, 40, 0.3);
}

.js-cta-link:hover {
    transform: translateY(-2px);
}

/* ===== footer ===== */
#footer {
    overflow-x: hidden;
}

#footer a {
    text-decoration: none;
}

#footer p {
    line-height: 1.5;
    hyphens: auto;
}

@media (max-width: 767px) {
    #footer h3 {
        font-size: 14px;
    }

    #footer .text-[14px] {
        font-size: 14px;
        line-height: 1.3;
    }
}

@media (min-width: 768px) {
    #footer {
        padding-bottom: 80px !important;
    }
}