:root {
    --site-color: #16a34a;
    --site-color-dark: color-mix(in srgb, var(--site-color), #062515 22%);
    --ink: #101828;
    --muted: #667085;
    --line: #e7ebf0;
    --soft: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(16, 24, 40, .10);
    --radius: 5px;
    --container: 1400px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
}

.nav-container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.topbar {
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    gap: 20px;
}

.topbar-contact,
.topbar-social {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.topbar-contact span {
    color: var(--site-color);
}

.topbar-social a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--muted);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 800;
}

.topbar-social a:hover {
    color: #fff;
    background: var(--site-color);
}

.menubar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(16, 24, 40, .05);
}

.menubar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 82px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.logo-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: var(--site-color);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--site-color), transparent 62%);
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    color: #344054;
    font-weight: 600;
    font-size: 14px;
}

.main-nav a {
    padding: 9px 14px;
    border-radius: var(--radius);
}

.main-nav a:hover {
    color: var(--site-color);
    background: var(--soft);
}

.header-actions,
.hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: var(--site-color);
    box-shadow: none;
}

.btn-light {
    color: var(--site-color-dark);
    background: #fff;
    border-color: var(--line);
}

.btn-outline {
    color: var(--ink);
    background: transparent;
    border-color: color-mix(in srgb, var(--site-color), #d0d5dd 58%);
}

.btn-large {
    min-height: 52px;
    padding-inline: 24px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.hero,
.split-section,
.section,
.offer-section,
.map-section,
.process-section,
.counters {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr);
    gap: 52px;
    align-items: start;
    min-height: 620px;
    padding: 58px 0 34px;
    position: relative;
}

.hero-copy {
    position: sticky;
    top: 148px;
    align-self: start;
    padding-top: 26px;
}

.hero-copy h1 {
    margin-bottom: 16px;
}

.hero-copy p {
    margin-bottom: 22px;
}

.hero-copy .trust-row {
    margin-top: 22px;
}

.hero-copy-image {
    width: 100%;
    height: 300px;
    margin-top: 28px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 calc(50% - 50vw);
    z-index: -1;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--site-color), transparent 94%), rgba(255,255,255,.82)),
        url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='120' height='120' fill='%23f5f5f5'/%3E%3Cpath d='M0 68 Q30 44 60 68 T120 68 L120 120 L0 120 Z' fill='%23e0e0e0' opacity='.45'/%3E%3C/svg%3E") center bottom / 240px 240px repeat-x;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--site-color-dark);
    font-weight: 850;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(38px, 5.6vw, 64px);
    line-height: 1.12;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.18;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.2;
}

.hero-copy p,
.split-section p,
.offer-copy p {
    max-width: 640px;
    color: var(--muted);
    font-size: 18px;
}

.hero-media,
.hero-panel {
    position: relative;
}

.hero-panel {
    min-height: 500px;
}

.hero-media img,
.rounded-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-form-card {
    position: relative;
    z-index: 2;
    width: min(420px, 88%);
    padding: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(16, 24, 40, .16);
}

.hero-form-card h2 {
    margin-bottom: 18px;
    font-size: 26px;
}

.hero-form-card form {
    display: grid;
    gap: 12px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: min(var(--container), calc(100% - 40px));
    margin: -6px auto 74px;
}

.hero-stats article {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hero-stats article:hover {
    transform: translateY(-3px);
    border-color: var(--site-color);
    box-shadow: var(--shadow);
}

.hero-stats span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #fff;
    background: var(--site-color);
    border-radius: var(--radius);
    font-size: 26px;
    font-weight: 800;
}

.hero-stats strong {
    font-size: 30px;
    line-height: 1;
}

.hero-stats p {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

.hero-badge {
    position: absolute;
    left: -22px;
    bottom: 28px;
    display: grid;
    gap: 0;
    min-width: 150px;
    padding: 18px;
    color: #fff;
    background: var(--site-color-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-badge strong {
    font-size: 32px;
    line-height: 1;
}

.service-strip,
.services-grid,
.testimonials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: min(var(--container), calc(100% - 40px));
    margin: 18px auto 94px;
}

.mini-card,
.service-card,
.testimonial-card,
.admin-card,
.login-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 32px rgba(16, 24, 40, .07);
}

.mini-card {
    padding: 24px;
}

.mini-card .icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 16px;
    color: var(--site-color-dark);
    background: color-mix(in srgb, var(--site-color), white 88%);
    border-radius: var(--radius);
    font-size: 24px;
    font-weight: 900;
}

.mini-card p,
.service-card p,
.testimonial-card p,
.site-footer p {
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 54px;
    align-items: center;
    padding: 24px 0 94px;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.advantages span {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 750;
    background: #fff;
}

.advantages span::before {
    content: "✓";
    margin-right: 9px;
    color: var(--site-color);
    font-weight: 900;
}

.section {
    padding: 10px 0 94px;
}

.section-head {
    max-width: 760px;
    margin-bottom: 28px;
}

.services-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 0;
}

.service-card {
    overflow: hidden;
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.service-card div {
    padding: 22px;
}

.process-section {
    padding: 74px 34px;
    color: #fff;
    background: #101828;
    border-radius: var(--radius);
}

.process-section .eyebrow,
.process-section h2 {
    color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.process-step {
    display: grid;
    gap: 12px;
    padding: 22px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
}

.process-step strong {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: var(--site-color);
    border-radius: 50%;
}

.process-step span {
    font-weight: 800;
}

.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 72px 0 88px;
}

.counters div {
    padding: 26px;
    text-align: center;
    border-bottom: 3px solid var(--site-color);
    background: var(--soft);
    border-radius: var(--radius);
}

.counters strong {
    display: block;
    color: var(--site-color-dark);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
}

.counters span {
    color: var(--muted);
    font-weight: 750;
}

.testimonials {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 0;
}

.testimonial-card {
    padding: 26px;
}

.stars {
    margin-bottom: 12px;
    color: #f59e0b;
    letter-spacing: .08em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gallery-grid figure {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 32px rgba(16, 24, 40, .08);
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    min-height: 0;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-grid figure:hover img {
    transform: scale(1.04);
}

.gallery-grid figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 10px;
    color: #fff;
    background: rgba(16, 24, 40, .78);
    border-radius: var(--radius);
    font-weight: 750;
    font-size: 14px;
}

.offer-section {
    display: grid;
    grid-template-columns: .85fr 1fr;
    gap: 44px;
    align-items: start;
    margin-bottom: 86px;
    padding: 42px;
    background: color-mix(in srgb, var(--site-color), white 92%);
    border: 1px solid color-mix(in srgb, var(--site-color), white 72%);
    border-radius: var(--radius);
}

.offer-form,
.admin-form {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-weight: 750;
}

input,
textarea,
select {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: var(--radius);
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--site-color);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--site-color), transparent 84%);
}

.map-section {
    margin-bottom: 86px;
}

.map-section iframe {
    width: 100%;
    height: 410px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.site-footer {
    color: #d0d5dd;
    background: #101828;
}

.footer-cta,
.footer-grid,
.copyright {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.footer-cta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 54px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-cta h2,
.footer-cta .eyebrow {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr 1fr;
    gap: 40px;
    padding: 44px 0;
}

.footer-grid h3 {
    color: #fff;
}

.footer-grid a {
    display: block;
    margin-bottom: 10px;
    color: #e4e7ec;
}

.footer-logo {
    margin-bottom: 18px;
    color: #fff;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.footer-social a {
    margin: 0;
    padding: 8px 10px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 14px;
}

.admin-login-body {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background: var(--soft);
}

.login-card {
    width: min(420px, 100%);
    padding: 30px;
}

.alert,
.success {
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 750;
}

.alert {
    color: #b42318;
    background: #fee4e2;
}

.success {
    margin-bottom: 18px;
    color: #067647;
    background: #dcfae6;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.admin-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: var(--soft);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px;
    color: #fff;
    background: #101828;
}

.admin-brand {
    margin-bottom: 26px;
    font-size: 20px;
    font-weight: 900;
}

.admin-sidebar a {
    display: block;
    margin-bottom: 8px;
    padding: 12px 14px;
    border-radius: var(--radius);
    color: #e4e7ec;
    font-weight: 750;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    color: #fff;
    background: var(--site-color);
}

.admin-main {
    padding: 34px;
}

.admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-stats article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
}

.admin-stats span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.admin-stats strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    word-break: break-word;
}

.admin-card {
    padding: 24px;
}

.admin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-card-head p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
}

.page-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-tabs a {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: #344054;
    font-weight: 750;
    font-size: 14px;
}

.page-tabs a.active {
    color: #fff;
    background: var(--site-color);
    border-color: var(--site-color);
}

.admin-form {
    max-width: none;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.settings-group {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.settings-group h3 {
    margin-bottom: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.settings-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding: 16px 0 0;
    background: linear-gradient(180deg, rgba(246, 248, 251, 0), var(--soft) 36%);
}

.settings-actions .btn {
    min-width: 190px;
}

.inline-form {
    grid-template-columns: 1.3fr 1fr 1fr 110px auto;
    align-items: end;
    max-width: none;
    margin-bottom: 22px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--soft);
}

.admin-gallery {
    display: grid;
    gap: 12px;
}

.admin-gallery article {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.admin-gallery img {
    width: 110px;
    height: 76px;
    object-fit: cover;
    border-radius: var(--radius);
}

.admin-gallery span {
    display: block;
    color: var(--muted);
}

.danger-link {
    padding: 8px 10px;
    color: #b42318;
    background: #fee4e2;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-actions form {
    margin: 0;
}

.admin-action-button,
.action-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    color: #fff;
    background: var(--site-color);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

.lead-detail {
    margin: 18px 0 22px;
    padding: 22px;
    border: 1px solid color-mix(in srgb, var(--site-color), white 72%);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--site-color), white 94%);
}

.lead-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.lead-detail-head span,
.lead-detail-grid span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.lead-detail-head h3 {
    margin-bottom: 0;
}

.lead-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.lead-detail-grid div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.lead-detail-grid strong {
    display: block;
    margin-top: 4px;
    word-break: break-word;
}

.lead-detail-grid .lead-note {
    grid-column: 1 / -1;
}

.admin-users-layout {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) 1.5fr;
    gap: 18px;
    align-items: start;
}

.admin-user-list {
    display: grid;
    gap: 12px;
}

.admin-user-list article {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 1.2fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.admin-user-list strong,
.admin-user-list span {
    display: block;
}

.admin-user-list span {
    color: var(--muted);
    font-size: 13px;
}

.password-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.password-form input {
    min-height: 38px;
}

.main-nav a.active {
    color: var(--site-color);
}

.site-logo-img {
    width: auto;
    height: 66px;
    max-width: 280px;
    object-fit: contain;
}

.footer-logo-img {
    max-height: 68px;
    filter: brightness(1.12);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.trust-row span {
    padding: 9px 12px;
    color: #344054;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 750;
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--site-color-dark);
    font-weight: 850;
}

.text-link::after {
    content: "→";
    margin-left: 8px;
}

.conversion-band {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto 86px;
    padding: 42px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(16, 24, 40, .94), rgba(16, 24, 40, .72)),
        url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1400&q=85") center / cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.conversion-band h2,
.conversion-band .eyebrow {
    color: #fff;
}

.conversion-band p {
    max-width: 700px;
    margin-bottom: 0;
    color: #e4e7ec;
}

.page-hero {
    width: min(var(--container), calc(100% - 40px));
    min-height: 420px;
    display: grid;
    align-items: end;
    margin: 34px auto 70px;
    padding: 52px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(16, 24, 40, .92), rgba(16, 24, 40, .48)),
        var(--page-image) center / cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    max-width: 900px;
    margin-bottom: 18px;
    font-size: clamp(40px, 6vw, 68px);
}

.page-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: #f2f4f7;
    font-size: 19px;
}

.page-hero .eyebrow {
    color: #fff;
}

.about-hero {
    --page-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=85");
}

.services-hero {
    --page-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1600&q=85");
}

.gallery-hero {
    --page-image: url("https://images.unsplash.com/photo-1595079676339-1534801ad6cf?auto=format&fit=crop&w=1600&q=85");
}

.contact-hero {
    --page-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=85");
}

.story-section,
.contact-layout,
.service-detail-list {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.story-section {
    display: grid;
    grid-template-columns: 1fr .74fr;
    gap: 34px;
    align-items: start;
    margin-bottom: 72px;
}

.story-copy {
    padding-right: 20px;
}

.story-copy p {
    color: var(--muted);
    font-size: 18px;
}

.values-panel,
.contact-cards article,
.feature-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 32px rgba(16, 24, 40, .07);
}

.values-panel {
    padding: 26px;
}

.values-panel div {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.values-panel span {
    color: var(--muted);
}

.wide-image-band {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto 86px;
}

.wide-image-band img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-grid article {
    padding: 24px;
}

.feature-grid strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

.feature-grid p {
    margin-bottom: 0;
    color: var(--muted);
}

.service-detail-list {
    display: grid;
    gap: 34px;
    margin-bottom: 86px;
}

.service-detail {
    display: grid;
    grid-template-columns: .95fr 1fr;
    gap: 36px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 32px rgba(16, 24, 40, .07);
}

.service-detail.reverse {
    grid-template-columns: 1fr .95fr;
}

.service-detail.reverse img {
    order: 2;
}

.service-detail img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: var(--radius);
}

.service-detail p,
.service-detail li {
    color: var(--muted);
}

.service-detail ul {
    display: grid;
    gap: 8px;
    padding-left: 20px;
    margin: 0 0 22px;
}

.gallery-page-grid figure:nth-child(3n + 1) img {
    min-height: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 34px;
    align-items: start;
    margin-bottom: 80px;
}

.contact-cards {
    display: grid;
    gap: 16px;
}

.contact-cards article {
    display: grid;
    gap: 10px;
    padding: 24px;
}

.contact-cards span {
    color: var(--muted);
    font-weight: 750;
}

.contact-cards strong {
    font-size: 24px;
}

.contact-form {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.current-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.current-logo img {
    max-width: 180px;
    max-height: 64px;
    object-fit: contain;
}

.current-page-image {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.current-page-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.page-content-section {
    max-width: 980px;
    color: var(--muted);
    font-size: 18px;
}

.page-content-section p {
    margin-bottom: 18px;
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav,
    .header-actions {
        display: none;
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .main-nav.is-open,
    .header-actions.is-open {
        display: grid;
    }

    .main-nav {
        gap: 0;
    }

    .main-nav a {
        padding: 12px 0;
        border-top: 1px solid var(--line);
    }

    .header-actions .btn {
        width: 100%;
    }

    .hero,
    .split-section,
    .offer-section,
    .story-section,
    .contact-layout,
    .service-detail,
    .service-detail.reverse,
    .conversion-band {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse img {
        order: 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-copy {
        position: static;
        padding-top: 0;
    }

    .service-strip,
    .services-grid,
    .testimonials,
    .counters,
    .process-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .inline-form {
        grid-template-columns: 1fr;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .admin-card-head {
        display: grid;
    }

    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lead-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-users-layout,
    .admin-user-list article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero,
    .split-section,
    .section,
    .offer-section,
    .map-section,
    .process-section,
    .counters,
    .service-strip,
    .page-hero,
    .story-section,
    .wide-image-band,
    .contact-layout,
    .service-detail-list,
    .conversion-band {
        width: min(100% - 28px, var(--container));
    }

    h1 {
        font-size: 42px;
    }

    .site-logo-img {
        height: 48px;
        max-width: 190px;
    }

    .service-strip,
    .services-grid,
    .testimonials,
    .counters,
    .process-grid,
    .advantages,
    .footer-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .offer-section,
    .process-section,
    .page-hero,
    .conversion-band {
        padding: 26px 18px;
    }

    .page-hero {
        min-height: 360px;
    }

    .service-detail {
        padding: 14px;
    }

    .service-detail img,
    .wide-image-band img {
        height: 280px;
    }

    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .copyright {
        flex-direction: column;
    }

    .hero-badge {
        left: 14px;
        bottom: 14px;
    }

    .admin-main {
        padding: 18px;
    }

    .admin-top,
    .admin-gallery article {
        grid-template-columns: 1fr;
        display: grid;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .lead-detail-head {
        display: grid;
    }

    .lead-detail-grid {
        grid-template-columns: 1fr;
    }

    .password-form {
        grid-template-columns: 1fr;
    }
}

/* Hero teklif formu ile görselin üst üste binmesini engeller */
.hero-panel {
    display: grid;
    gap: 18px;
    min-height: auto;
}

.hero-form-card {
    width: 100%;
}

.quote-form {
    position: relative;
}

.quote-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.quote-form label {
    gap: 8px;
}

.quote-form label span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.quote-form label span::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--site-color);
    border-radius: 50%;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    min-height: 50px;
    background: #f9fafb;
    border-color: #e4e7ec;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form .full-field {
    grid-column: 1 / -1;
}

.quote-form .btn {
    width: 100%;
    margin-top: 16px;
}

.hero-form-card {
    border-top: 4px solid var(--site-color);
}

.compact-quote-form .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.compact-quote-form input,
.compact-quote-form select {
    min-height: 44px;
    padding: 10px 12px;
}

.compact-quote-form label span {
    font-size: 12px;
}

.detailed-quote-form,
.contact-form.quote-form {
    border-top: 4px solid var(--site-color);
}

.offer-section .quote-form {
    padding: 28px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (max-width: 640px) {
    .quote-form .form-grid,
    .compact-quote-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Rota referansına yakın son görünüm katmanı */
.mini-card,
.service-card,
.testimonial-card {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mini-card:hover,
.service-card:hover,
.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: var(--site-color);
    box-shadow: var(--shadow);
}

.process-section {
    background:
        linear-gradient(135deg, rgba(16, 24, 40, .95), rgba(16, 24, 40, .86)),
        url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1400&q=85") center / cover;
}

.fixed-actions {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 60;
    display: grid;
    gap: 10px;
}

.fixed-action {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .20);
    font-size: 23px;
    font-weight: 800;
}

.fixed-call {
    background: #101828;
}

.fixed-wa {
    background: #25d366;
}

.mobile-bottom-actions {
    display: none;
}

@media (max-width: 980px) {
    .site-header {
        display: block;
    }

    .topbar {
        display: none;
    }

    .menubar-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav a {
        border-radius: 0;
    }

    .hero-panel {
        min-height: auto;
    }

    .hero-panel > img {
        position: relative;
        width: 100%;
        height: 320px;
        margin-top: 18px;
    }

    .hero-form-card {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hero-stats {
        width: min(100% - 28px, var(--container));
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 240px;
    }

    .fixed-actions {
        display: none;
    }

    .mobile-bottom-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(16, 24, 40, .12);
    }

    .mobile-bottom-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 56px;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
    }

    .mobile-bottom-actions a:first-child {
        background: #25d366;
    }

    .mobile-bottom-actions a:last-child {
        background: var(--site-color);
    }

    body {
        padding-bottom: 56px;
    }
}
