:root {
    --primary: #2F5D50;
    --accent: #F47C2C;
    --background: #F8F9FB;
    --text-main: #2A2A2A;
    --text-secondary: #8A8A8A;
    --decorative: #D9A441;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background);
}

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

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

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

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

ul,
ol {
    list-style: none;
}

input,
select,
textarea {
    font-family: inherit;
    border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

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

@media (min-width: 1024px) {
    h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

/* ===== header ===== */
header {
    color: #2A2A2A;
}

.border-radius {
    border-radius: 8px;
}

.js-mobile-overlay.visible {
    visibility: visible;
}

.js-mobile-overlay.invisible {
    visibility: hidden;
    opacity: 0;
}

.js-mobile-overlay.visible {
    opacity: 1;
}

a {
    hyphens: auto;
}

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

#home h1 {
    line-height: 1.25;
}

@media (max-width: 767px) {
    #home h1 {
        font-size: 18px;
        line-height: 1.2;
    }
}

.js-scroll-link {
    display: inline-block;
    cursor: pointer;
}

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

.italic {
    font-style: italic;
}

/* ===== services_grid ===== */
.hyphens-auto {
    hyphens: auto
}

.js-modal-trigger:active {
    transform: scale(0.98)
}

#js-service-modal {
    backdrop-filter: blur(4px)
}

/* ===== price_table ===== */
.pricing-section {
    overflow-x: hidden;
}

.pricing-section table {
    border-spacing: 0;
    width: 100%;
}

.pricing-section td,
.pricing-section th {
    vertical-align: middle;
}

.pricing-section tr {
    transition: background-color 0.2s ease-in-out;
}

.pricing-section table tbody tr:last-child {
    border-bottom: none;
}

/* ===== benefits_grid ===== */
.hyphens-auto {
    hyphens: auto
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1)
}

#benefits {
    background-color: var(--background);
}

/* ===== work_process ===== */
#steps .group:hover {
    border-color: var(--decorative);
}

/* ===== project_gallery ===== */
img {
    display: block;
    width: 100%;
    height: auto;
}

section {
    overflow-x: hidden;
}

.ph {
    font-size: 1.25rem;
    vertical-align: middle;
}

/* ===== team_members ===== */
.ph {
    display: inline-block;
    line-height: 1
}

#team {
    overflow-x: hidden
}

#team .container {
    width: 100%
}

.transition-transform {
    transition: transform 0.3s ease-in-out
}

.hover\:translate-y-\[-5px\]:hover {
    transform: translateY(-5px)
}

/* ===== cost_calc ===== */
.js-calc-form input::placeholder {
    color: #8A8A8A;
}

.js-calc-form .select {
    min-height: 3rem;
    height: 3rem;
}

.js-calc-form .input {
    min-height: 3rem;
    height: 3rem;
}

/* ===== testimonials ===== */
.ph-star {
    margin-right: 2px;
}

/* ===== faq_accordion ===== */
.js-faq-item.active {
    border-color: #2F5D50;
}

.js-faq-item.active i {
    transform: rotate(45deg);
}

.js-faq-content {
    transition: max-height 0.3s ease-out;
}

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

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

.js-contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.js-contact-form input:-webkit-autofill,
.js-contact-form input:-webkit-autofill:hover,
.js-contact-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* ===== zigzag_cta ===== */
#final-cta {
    overflow-x: hidden;
    position: relative;
}

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

#final-cta h2,
#final-cta p {
    color: #ffffff;
}

#final-cta .hyphens-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* ===== footer ===== */
.js-newsletter-form input::placeholder {
    color: #8A8A8A;
    opacity: 1;
}

#footer {
    hyphens: auto;
}