:root {
    --bg: #f2f4ef;
    --surface: #ffffff;
    --surface-soft: #fff7f7;
    --ink: #1b2a1f;
    --muted: #556457;
    --primary: #8e1414;
    --primary-dark: #6f1010;
    --accent: #b11c1c;
    --accent-light: #ffc6c6;
    --border: #dfe6d8;
    --border-soft: #e8ebdf;
    --ring: rgba(142, 20, 20, 0.2);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 20px;
    --shadow: 0 12px 28px rgba(20, 31, 17, 0.08);
    --shadow-soft: 0 10px 24px rgba(20, 31, 17, 0.06);
    --transition: all 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background:
        radial-gradient(circle at 12% 6%, rgba(142, 20, 20, 0.11), transparent 35%),
        radial-gradient(circle at 90% 0%, rgba(177, 28, 28, 0.14), transparent 32%),
        var(--bg);
}

body.admin-body {
    background: #f0f4ea;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
    color: var(--ink);
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    border-radius: 14px;
}

.contact-map-embed {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 14px;
    display: block;
}

.contact-hero-grid {
    align-items: stretch;
}

.contact-intro-card,
.contact-form-card {
    padding: 1.25rem;
    height: 100%;
}

.contact-intro-card {
    display: flex;
    flex-direction: column;
}

.contact-hero-image {
    margin: 1rem 0 0.95rem;
    width: 100%;
    min-height: 360px;
    max-height: 430px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.contact-intro-list p {
    margin: 0 0 0.5rem;
    color: var(--muted);
}

.contact-intro-list strong {
    color: var(--ink);
}

.contact-info-grid {
    align-items: stretch;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem;
    border: 1px solid #e5ebde;
    box-shadow: 0 10px 24px rgba(26, 35, 24, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(26, 35, 24, 0.1);
}

.contact-info-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    background: transparent;
    padding: 0;
    border-radius: 14px;
    display: block;
}

.contact-info-card h3 {
    margin: 0.15rem 0 0.45rem;
}

.contact-info-card p {
    margin: 0;
}

.contact-form-alert {
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(177, 28, 28, 0.24);
    background: #fff6f6;
    color: #7f1717;
    font-size: 0.95rem;
}

.contact-form-alert strong {
    display: inline-block;
    margin-bottom: 0.4rem;
}

.contact-form-alert ul {
    margin: 0;
    padding-left: 1.1rem;
}

.contact-field-error {
    display: block;
    min-height: 1.05rem;
    margin-top: 0.28rem;
    color: #a01b1b;
    font-size: 0.82rem;
    line-height: 1.3;
}

input.is-invalid,
textarea.is-invalid {
    border-color: #b71f1f;
    box-shadow: 0 0 0 3px rgba(183, 31, 31, 0.12);
}

.contact-map-card .btn {
    margin-top: 0.75rem;
    align-self: flex-start;
}

.contact-submit-message-wrap {
    margin-top: 0.9rem;
    min-height: 74px;
}

.contact-submit-message {
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(28, 128, 57, 0.3);
    background: #eefaf1;
    color: #145b29;
    font-weight: 600;
    line-height: 1.45;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.contact-submit-message.is-error {
    border-color: #e6d8bc;
    background: #fff8ea;
    color: #6f1010;
}

.contact-submit-message.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

.booking-page .booking-hero-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    border: 1px solid #dfe6d8;
    box-shadow: 0 10px 24px rgba(26, 35, 24, 0.08);
}

.booking-submit-message-wrap {
    margin-top: 0.9rem;
    min-height: 74px;
}

.booking-submit-message {
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: transparent;
    line-height: 1.45;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.booking-submit-message.is-error {
    border-color: #e3b2b2;
    background: #fff3f3;
    color: #7d1616;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(142, 20, 20, 0.08);
}

.booking-submit-message.is-success {
    border-color: #e6d8bc;
    background: #fff8ea;
    color: #6f1010;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(142, 20, 20, 0.08);
}

.booking-submit-message.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

/* =========================
   Services Page
========================= */

.services-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.15rem;
    padding: 1.4rem;
    border: 1px solid #e1e8d8;
    border-radius: 20px;
    background:
        radial-gradient(circle at 8% 8%, rgba(177, 28, 28, 0.08), transparent 42%),
        linear-gradient(140deg, #ffffff 0%, #f8fbf4 100%);
    box-shadow: 0 18px 34px rgba(21, 33, 17, 0.08);
    overflow: hidden;
}

.services-intro p {
    margin-bottom: 0.72rem;
    color: #445447;
    max-width: 90%;
}

.services-intro h1 {
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.12;
    margin-bottom: 0.8rem;
}

.services-intro img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 18px;
    border: 1px solid #dce6d1;
    box-shadow: 0 12px 28px rgba(23, 34, 18, 0.12);
    background: #f1f6ea;
}

.services-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.services-stack .service-card:nth-child(7) {
    grid-column: 1 / 2;
}

.services-stack .service-card:nth-child(8) {
    grid-column: 2 / 3;
}

.service-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid #e4ebdc;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdf9 100%);
    box-shadow: 0 14px 28px rgba(22, 32, 18, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border-radius: 18px;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #d2ddc7;
    box-shadow: 0 18px 34px rgba(22, 32, 18, 0.12);
}

.service-card img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    max-height: none;
    object-fit: contain;
    object-position: top center;
    background: transparent;
    padding: 0;
    border-radius: 16px 16px 0 0;
    display: block;
}

.service-card-body {
    padding: 0.85rem 0.95rem 0.95rem;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.service-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 28px;
    border-radius: 999px;
    background: rgba(142, 20, 20, 0.12);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.service-card h2 {
    margin: 0 0 0.78rem;
    font-size: 1.26rem;
    line-height: 1.25;
}

.service-card p {
    margin: 0 0 0.62rem;
    font-size: 0.98rem;
    line-height: 1.5;
}

.service-list {
    margin: 0;
    padding-left: 1rem;
    color: var(--ink);
}

.service-list li {
    margin: 0 0 0.18rem;
}

.service-note {
    margin-top: 0.75rem;
    color: #5b6b5d;
    padding-top: 0.55rem;
    border-top: 1px dashed #dde6d4;
}

.services-why-card {
    margin-top: 1rem;
    padding: 1.4rem;
    border: 1px solid #e2ead9;
    border-radius: 20px;
    background:
        radial-gradient(circle at 10% 8%, rgba(177, 28, 28, 0.08), transparent 42%),
        linear-gradient(145deg, #ffffff 0%, #f7faf3 100%);
    box-shadow: 0 16px 30px rgba(21, 33, 17, 0.08);
}

.services-why-card h2 {
    margin-bottom: 0.9rem;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.service-list-why {
    columns: 2;
    column-gap: 2rem;
    margin-top: 0.6rem;
    padding-left: 0;
    list-style: none;
}

.service-list-why li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.65rem;
    color: #2b3a2e;
}

.service-list-why li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #b21d1d, #d43a3a);
    box-shadow: 0 0 0 3px rgba(178, 29, 29, 0.12);
}

.services-cta {
    border: 1px solid #e1b7b7;
    border-radius: 20px;
    background:
        radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.28), transparent 34%),
        linear-gradient(140deg, #ab1616 0%, #c02222 52%, #d33636 100%);
    box-shadow: 0 18px 36px rgba(133, 18, 18, 0.28);
}

.services-cta h3,
.services-cta p {
    color: #fff;
    margin: 0;
}

.services-cta .btn {
    background: #fff;
    color: #8b1414;
    border: 1px solid #ffe7e7;
    font-weight: 800;
    min-width: 210px;
}

.services-cta .btn:hover {
    background: #fff3f3;
    color: #751010;
}

@media (max-width: 1200px) {
    .services-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-stack .service-card:nth-child(7),
    .services-stack .service-card:nth-child(8) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .contact-map-embed {
        min-height: 300px;
    }

    .contact-form-card {
        height: auto;
    }

    .contact-hero-image {
        min-height: 220px;
        max-height: 300px;
    }

    .booking-page .booking-hero-image {
        height: 260px;
    }

    .services-intro {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .services-intro p {
        max-width: 100%;
    }

    .services-stack {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: auto;
        aspect-ratio: auto;
        max-height: none;
    }

    .service-card-body {
        min-height: 0;
    }

    .service-list-why {
        columns: 1;
    }
}

ul,
ol {
    margin-top: 0;
}

.container {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
}

body:not(.admin-body) .container {
    width: min(1680px, calc(100% - 2rem));
}

/* =========================
   Shared Sections
========================= */

.section {
    padding: 3.5rem 0;
}

.section-space {
    padding: 5rem 0;
}

.section-title {
    margin-bottom: 1.2rem;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading.center {
    text-align: center;
}

.kicker,
.section-kicker {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    text-transform: uppercase;
}

/* =========================
   Buttons
========================= */

.btn,
.btn-main,
.btn-outline-main,
.btn-outline-light,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: var(--transition);
}

.btn,
.btn-main {
    padding: 0.78rem 1.2rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
}

.btn:hover,
.btn-main:hover {
    background: var(--primary-dark);
}

.btn-small {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
}

.btn-ghost {
    padding: 0.72rem 1.2rem;
    border-radius: 999px;
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid rgba(142, 20, 20, 0.35);
}

.btn-ghost:hover,
.btn-ghost:focus,
.btn-ghost:active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-outline-main {
    padding: 0.82rem 1.3rem;
    border-radius: 10px;
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.btn-outline-main:hover {
    background: var(--primary);
    color: #fff;
}

.btn-outline-light {
    padding: 0.82rem 1.3rem;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-dark);
}

/* =========================
   Layout Grids
========================= */

.grid {
    display: grid;
    gap: 1rem;
}

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

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

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

/* =========================
   Cards / Panels
========================= */

.card,
.panel {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card {
    padding: 1rem;
}

.panel {
    padding: 1.1rem;
}

.card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
}

.card h3,
.panel h3,
.contact-info-card h3,
.service-card h2,
.services-why-card h2 {
    position: relative;
    padding-bottom: 0.42rem;
}

.card h3::after,
.panel h3::after,
.contact-info-card h3::after,
.service-card h2::after,
.services-why-card h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 2px;
    border-radius: 4px;
    background: linear-gradient(90deg, #8e1414, #c22a2a);
}

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

.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(142, 20, 20, 0.1);
    color: #7a1212;
    font-size: 0.75rem;
    font-weight: 800;
}

/* =========================
   CTA Block
========================= */

.cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 2rem;
    border-radius: var(--radius);
    background: linear-gradient(145deg, #7a1212, #8e1414 62%, #b51f1f);
    color: #fff;
    box-shadow: var(--shadow);
}

/* =========================
   Forms
========================= */

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

label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 700;
    color: var(--ink);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.76rem 0.88rem;
    border: 1px solid #d6d9cf;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--ring);
}

/* =========================
   Alerts
========================= */

.alert {
    margin: 1rem auto;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 700;
}

.alert-success {
    background: #e6f4e7;
    color: #1f5f30;
}

.alert-error {
    background: #f8e7e7;
    color: #9d2222;
}

/* =========================
   Tables
========================= */

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

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
}

th,
td {
    padding: 0.75rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}

th {
    background: #edf2e6;
    font-weight: 800;
}

/* =========================
   Admin Layout
========================= */

.admin-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
    background: #1d3325;
    color: #fff;
}

.admin-sidebar a {
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.84);
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.admin-content {
    padding: 1.2rem;
}

.login-card {
    width: min(450px, calc(100% - 2rem));
    margin: 8vh auto;
}

/* =========================
   Footer
========================= */

.site-footer {
    margin-top: 0;
    padding: 74px 0 0;
    background:
        radial-gradient(circle at 18% 0%, rgba(186, 40, 40, 0.28), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(120, 19, 19, 0.34), transparent 36%),
        linear-gradient(140deg, #640d0d 0%, #7c1111 48%, #8e1414 100%);
    color: #eaf4eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.95fr 0.95fr 1.12fr;
    gap: 32px;
    padding: 0 0 34px;
}

.footer-col h4 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    font-family: 'Sora', sans-serif;
}

.footer-col p,
.footer-col li,
.footer-col a {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(234, 244, 235, 0.88);
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(255, 216, 216, 0.64);
    box-shadow: 0 12px 26px rgba(6, 15, 30, 0.35);
}

.footer-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
}

.footer-brand-col p {
    max-width: 340px;
    margin-bottom: 0.95rem;
}

.footer-btn {
    margin-top: 0.2rem;
    border-radius: 12px;
    background: linear-gradient(120deg, #8e1414, #a61b1b);
    border: 1px solid #bb6363;
}

.footer-btn:hover {
    background: linear-gradient(120deg, #791111, #8d1616);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-contact-list p {
    margin: 0 0 10px;
}

.footer-location-btn {
    margin-top: 8px;
}

.footer-contact-list strong {
    color: #fff;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 215, 215, 0.34);
    color: #fff0f0;
    font-weight: 700;
    -webkit-tap-highlight-color: transparent;
}

.footer-social-link:visited,
.footer-social-link:focus,
.footer-social-link:active {
    color: #fff0f0;
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex: 0 0 16px;
}

.footer-social-link span {
    display: inline;
    line-height: 1;
    font-weight: 700;
}

.footer-social-link:hover {
    background: transparent;
    color: #fff0f0;
    border-color: rgba(255, 240, 240, 0.72);
}

.footer-social-link:focus,
.footer-social-link:active {
    background: transparent;
    color: #fff0f0;
    border-color: rgba(255, 240, 240, 0.72);
    box-shadow: none;
}

.footer-social-link:focus-visible {
    outline: 2px solid rgba(255, 232, 232, 0.85);
    outline-offset: 2px;
}

.footer-bottom {
    padding: 19px 0 23px;
    text-align: center;
    border-top: 1px solid rgba(255, 216, 216, 0.24);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(234, 244, 235, 0.78);
}

/* =========================
   Responsive
========================= */

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .grid-4,
    .grid-3,
    .cta {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .section-space {
        padding: 3.75rem 0;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .form-grid,
    .footer-grid,
    .cta {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-top: 50px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-logo {
        width: 58px;
        height: 58px;
    }

    .footer-col h4 {
        font-size: 18px;
    }

    .footer-bottom {
        padding: 16px 0 20px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 1rem, 1680px);
    }

    .btn,
    .btn-main,
    .btn-outline-main,
    .btn-outline-light,
    .btn-ghost {
        width: 100%;
    }
}
