:root {
    --bg: #f5f1e8;
    --surface: #fffdf8;
    --surface-strong: #ffffff;
    --text: #1f2933;
    --muted: #5f6c76;
    --line: #e4dccd;
    --accent: #c96d28;
    --accent-dark: #a9591e;
    --shadow: 0 18px 45px rgba(49, 40, 24, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(201, 109, 40, 0.15), transparent 32%),
        linear-gradient(180deg, #f8f4ec 0%, #f2ede3 100%);
}

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

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

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.site-header,
.site-footer,
.hero,
.map-card,
.tool-card,
.detail-panel,
.reservation-form,
.success-card,
.detail-image-wrap {
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(228, 220, 205, 0.9);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.site-header,
.site-footer {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer {
    margin-top: 48px;
    align-items: flex-start;
}

.site-footer h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.site-footer p,
.brand-subtitle,
.hero p,
.section-heading p,
.tool-card p,
.detail-description,
.form-intro p,
.success-card p {
    color: var(--muted);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
}

.brand-tagline {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.brand-subtitle {
    margin: 6px 0 0;
    padding-left: 52px;
}

.header-phone {
    white-space: nowrap;
    font-weight: 600;
}

.hero {
    margin-top: 24px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 24px;
}

.eyebrow,
.success-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(201, 109, 40, 0.12);
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.85rem;
}

.hero h1,
.detail-content h1,
.form-intro h1,
.success-card h1 {
    margin: 12px 0 16px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
}

.hero-card {
    padding: 24px;
    border-radius: calc(var(--radius) - 8px);
    background: linear-gradient(180deg, #fff6ef 0%, #fffdf9 100%);
}

.hero-card-label {
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.tools-section {
    margin-top: 40px;
}

.map-section {
    margin-top: 40px;
}

.section-heading {
    margin-bottom: 20px;
}

.map-card {
    overflow: hidden;
    min-height: 360px;
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

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

.tool-card {
    overflow: hidden;
}

.tool-card-link {
    display: block;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-3px);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 22px 48px rgba(49, 40, 24, 0.12);
}

.tool-image,
.detail-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.tool-card-body {
    padding: 20px;
}

.tool-card-body h3 {
    margin: 0 0 10px;
}

.tool-card-footer,
.success-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.button:hover {
    background: var(--accent-dark);
}

.button-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.button-secondary:hover {
    background: #f6efe5;
}

.detail-layout,
.form-layout {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    align-items: start;
}

.detail-image-wrap {
    overflow: hidden;
}

.detail-image {
    height: 100%;
    min-height: 420px;
}

.back-link {
    color: var(--accent-dark);
    font-weight: 700;
}

.detail-price {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 700;
}

.detail-panel,
.reservation-form,
.success-card {
    padding: 24px;
}

.reservation-form {
    display: grid;
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-weight: 600;
}

.form-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    font: inherit;
}

.field-error {
    color: #b42318;
    font-size: 0.92rem;
}

.success-card {
    margin-top: 32px;
    text-align: center;
}

.success-actions {
    justify-content: center;
}

@media (max-width: 900px) {
    .hero,
    .tools-grid,
    .detail-layout,
    .form-layout {
        grid-template-columns: 1fr;
    }

    .tool-image,
    .detail-image {
        height: 220px;
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 1120px);
        padding-top: 12px;
    }

    .site-header,
    .site-footer,
    .hero,
    .detail-panel,
    .reservation-form,
    .success-card {
        padding: 18px;
    }

    .site-header,
    .site-footer,
    .tool-card-footer,
    .success-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .brand-subtitle {
        padding-left: 0;
    }

    .hero h1,
    .detail-content h1,
    .form-intro h1,
    .success-card h1 {
        font-size: 2rem;
    }
}
