/* ===== Design System ===== */
:root {
    --primary: #2d2d2d;
    --accent: #e17055;
    --accent-hover: #c0594a;
    --text: #2d3436;
    --text-muted: #636e72;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Base ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.7;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

img, svg {
    display: block;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0.75rem 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--primary);
}

.navbar-logo {
    height: 40px;
    width: auto;
    display: block;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(225, 112, 85, 0.35);
}

.btn-outline {
    color: var(--accent);
    border: 2px solid var(--accent);
    background: transparent;
    padding: 0.5rem 1.5rem;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

.btn-pill {
    border-radius: 50px;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ===== Sections ===== */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Hero ===== */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon {
    width: 220px;
    height: 220px;
    color: var(--accent);
    opacity: 0.15;
}

/* ===== Service Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    margin-bottom: 1.25rem;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin: 0 auto;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== About / Why Choose ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.check-list li {
    padding: 0.6rem 0;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.stats-panel {
    background: linear-gradient(135deg, var(--primary) 0%, #444 100%);
    border-radius: var(--radius);
    padding: 2.5rem;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

/* ===== How It Works ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    color: var(--text);
    background: var(--bg-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(225, 112, 85, 0.15);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 1.2em;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success svg {
    flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem 0;
    text-align: center;
}

/* ===== Responsive — Tablet ===== */
@media (max-width: 991px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--border);
    }

    .navbar-menu.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        padding: 0.75rem 0;
    }

    .navbar-menu .btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero {
        padding-top: 6rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .card-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats-panel {
        margin-top: 1rem;
    }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 767px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .stats-grid {
        gap: 1rem;
    }
}
