:root {
    --bg: #ffffff;
    --bg-alt: #eef3f9;
    --card: #ffffff;
    --border: #e7eaf0;
    --text: #2d2d2d;
    --text-muted: #6b7280;
    --accent: #1987f4;
    --accent-dark: #0f6ed1;
    --accent-2: #fe9914;
    --accent-2-dark: #e08405;
    --radius: 16px;
    --radius-pill: 100px;
    --shadow-card: 0 2px 16px rgba(0, 0, 0, .07);
    --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(25, 135, 244, .55);
}
.btn-accent:hover { background: var(--accent-dark); }

.btn-cta {
    background: var(--accent-2);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(254, 153, 20, .55);
}
.btn-cta:hover { background: var(--accent-2-dark); }

.btn-outline {
    background: #fff;
    border-color: var(--border);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(45, 45, 45, .07);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
}
.logo { font-weight: 800; font-size: 20px; color: var(--text); }
.logo span { color: var(--accent); }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--text-muted); font-weight: 600; font-size: 14px; }
.main-nav a:hover { color: var(--accent); }
.nav-cta { padding: 11px 22px; font-size: 14px; }

@media (max-width: 760px) {
    .main-nav { display: none; }
}

/* Hero */
.hero {
    padding: 90px 0 70px;
    background: var(--bg-alt);
}
.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
    max-width: 820px;
    color: var(--text);
}
.hero-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 680px;
    margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 32px;
}
.hero-illustration { display: flex; justify-content: center; }
.hero-illustration svg { width: 100%; max-width: 440px; height: auto; }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-illustration { order: -1; max-width: 280px; margin: 0 auto; }
}

/* Icon badges */
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(25, 135, 244, .1);
    color: var(--accent);
    margin-bottom: 16px;
}
.plan-card .card-icon { background: rgba(254, 153, 20, .12); color: var(--accent-2); }
.card-icon-sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--text);
}
.section-desc {
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 0 40px;
}
.intro-text {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 880px;
}

/* Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.plan-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}
.plan-card-featured {
    border-color: var(--accent-2);
    box-shadow: 0 0 0 1px var(--accent-2), 0 20px 40px -20px rgba(254, 153, 20, .45);
}
.plan-card h3 { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.plan-subtitle { color: var(--text-muted); font-size: 14px; min-height: 42px; margin: 0 0 16px; }
.plan-price { font-size: 28px; font-weight: 800; margin-bottom: 18px; color: var(--text); }
.plan-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan-features li {
    padding: 8px 0 8px 26px;
    position: relative;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    font-size: 14px;
}
.plan-features li:first-child { border-top: none; }
.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.plan-cta { text-align: center; }
.plan-card h3 a { color: inherit; }
.plan-card h3 a:hover { color: var(--accent); }
.plan-more-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.plan-more-link:hover { color: var(--accent); }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.service-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 26px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(25, 135, 244, .18); }
.service-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
.service-card p { margin: 0 0 14px; color: var(--text-muted); font-size: 15px; }
.service-card-price { font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service-card-more { color: var(--accent); font-size: 14px; font-weight: 700; }

.service-link-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 16px 20px;
    color: var(--text);
    font-weight: 600;
}
.service-link-card:hover { color: var(--accent); }

/* Individual service / plan pages */
.hero-inner-page h1 { max-width: 560px; }
.hero-inner-page .hero-grid { align-items: start; }
.page-price { font-size: 26px; font-weight: 800; margin: 0 0 24px; color: var(--accent-2); }
.page-content { color: var(--text-muted); font-size: 16px; max-width: 760px; }

/* Service order form */
.order-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 28px;
}
.order-form { display: flex; flex-direction: column; gap: 14px; }
.order-form h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.order-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="number"],
.order-form textarea {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    font-weight: 400;
}
.order-form textarea { resize: vertical; }
.order-form .btn { margin-top: 4px; }

.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.contact-method-field { display: flex; flex-direction: column; gap: 8px; }
.contact-method-toggle { display: flex; gap: 10px; }
.radio-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    flex-direction: row;
}
.radio-pill input { accent-color: var(--accent); margin: 0; }
.radio-pill:has(input:checked) { border-color: var(--accent); color: var(--accent); background: rgba(25, 135, 244, .06); }
.plan-features-page {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    max-width: 560px;
}
.plan-features-page li {
    padding: 10px 0 10px 26px;
    position: relative;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}
.plan-features-page li:first-child { border-top: none; }
.plan-features-page li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.benefit-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 24px;
}
.benefit-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--accent); }
.benefit-card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Extra services */
.extra-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}
.extra-services-list li {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 18px 20px;
    color: var(--text-muted);
    font-size: 15px;
}

/* Link types */
.linktypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.linktype-card {
    padding: 22px 0;
    border-top: 1px solid var(--border);
}
.linktype-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.linktype-card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.project-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--bg-alt);
}
.project-card-body { padding: 24px; }
.project-card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* About */
.about-list { list-style: none; padding: 0; margin: 0 0 20px; max-width: 720px; }
.about-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    border-top: 1px solid var(--border);
}
.about-list li:first-child { border-top: none; }
.about-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-2);
    font-weight: 700;
}
.about-extra { color: var(--text-muted); max-width: 720px; }

/* CTA */
.cta-section { text-align: center; background: var(--bg-alt); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 460px;
    width: 100%;
    margin-top: 12px;
}
.cta-form input, .cta-form textarea {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: #9aa1ad; }
.cta-form textarea { resize: vertical; }
.cta-form .btn { margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    max-width: 460px;
}
.alert-success { background: rgba(25, 135, 244, .08); border: 1px solid var(--accent); color: var(--accent-dark); }
.alert-error { background: rgba(220, 38, 38, .08); border: 1px solid #dc2626; color: #b91c1c; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--accent); }
.footer-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-contacts a:hover { color: var(--accent); }
