:root {
    --primary: #1E2A38;
    --accent: #F47B20;
    --accent-hover: #FFB267;
    --background-main: #F5F7FA;
    --text-primary: #2B2B2B;
    --text-secondary: #7A7A7A;
    --border: #E3E6EA;
    --white: #FFFFFF;
    --font-family: 'Inter', sans-serif;
    --base-size: 16px;
    --border-radius: 8px;
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--base-size);
}

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

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    tracking-tight: -0.025em;
    color: inherit;
    line-height: 1.2;
}

ul,
ol {
    list-style: none;
}

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

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

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

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

    .mobile-text-sm {
        font-size: 0.875rem;
        word-break: break-all;
    }
}

.focus-ring:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== header ===== */
#header {
    overflow-x: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.js-mobile-overlay {
    hyphens: auto;
}

/* ===== hero_section ===== */
.object-fit-cover {
    object-fit: cover;
}

#home {
    hyphens: auto;
}

#js-cta-popup.show {
    translate: 0 0;
}

/* ===== about_company ===== */
#about {
    overflow-x: hidden
}

#about h2,
#about h3 {
    hyphens: auto;
    line-height: 1.2
}

.backdrop-blur-md {
    backdrop-filter: blur(12px)
}

/* ===== services_cards ===== */
.ph {
    display: inline-block;
    vertical-align: middle;
    line-height: 1
}

#services h2,
#services h3 {
    hyphens: auto;
    line-height: 1.2
}

/* ===== why_choose_us ===== */
.ph {
    font-size: 32px;
    line-height: 1
}

.ph-lightning:before {
    content: "\e37c"
}

.ph-thermometer-cold:before {
    content: "\e49e"
}

.ph-paint-brush:before {
    content: "\e3bc"
}

.ph-chart-line-up:before {
    content: "\e0dc"
}

.ph-hard-hat:before {
    content: "\e22c"
}

/* ===== pricing_table ===== */
table {
    border-collapse: separate;
    border-spacing: 0;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.overflow-x-auto::-webkit-scrollbar {
    height: 6px;
}

.overflow-x-auto::-webkit-scrollbar-track {
    background: var(--background-main);
}

.overflow-x-auto::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

/* ===== work_steps ===== */
.js-step-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    transition: all 0.3s ease;
}

.js-step-card i {
    color: var(--primary);
}

/* ===== testimonials ===== */
.ph-star::before {
    content: "\eb7e"
}

.ph-fill.ph-star::before {
    content: "\eb7e"
}

#reviews {
    hyphens: auto;
}

/* ===== faq_accordion ===== */
.js-faq-item.is-active {
    border-color: var(--accent);
}

.js-faq-item.is-active .js-faq-trigger i {
    transform: rotate(45deg);
    color: var(--accent-hover);
}

.js-faq-trigger i {
    transition: transform 0.3s ease;
}

/* ===== contact_form ===== */
.js-cta-panel.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.js-cta-panel input::placeholder,
.js-cta-panel textarea::placeholder {
    color: #7A7A7A;
    font-size: 13px;
}

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

#footer a,
#footer span,
#footer p {
    hyphens: auto;
    line-height: 1.2;
}

#footer .ph {
    color: var(--accent);
}