:root {
    --ink: #162326;
    --muted: #647174;
    --cream: #f7f5ef;
    --paper: #fff;
    --green: #174f43;
    --mint: #d9eee7;
    --line: #e4e7e2;
    --gold: #d8a94e;
    --danger: #b43b3b;
    --shadow: 0 24px 60px rgba(25, 53, 49, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 15px/1.65 'DM Sans', sans-serif
}

h1,
h2,
h3 {
    font-family: 'Manrope', sans-serif;
    line-height: 1.12;
    margin-top: 0
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 245, 239, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(22, 35, 38, .07)
}

.nav-shell {
    max-width: 1180px;
    margin: auto;
    height: 80px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: bold 18px 'Manrope'
}

.brand em {
    font-style: normal;
    color: var(--green)
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--green);
    color: white
}

.nav-shell nav {
    display: flex;
    align-items: center;
    gap: 32px
}

.nav-shell nav>a {
    font-weight: 600;
    color: #526063
}

.nav-login {
    padding: 11px 18px;
    border: 1px solid var(--green);
    border-radius: 10px;
    color: var(--green) !important
}

.container {
    max-width: 1180px;
    margin: auto;
    padding: 0 24px
}

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
    padding: 65px 0
}

.eyebrow {
    display: inline-block;
    color: var(--green);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 17px
}

.hero h1 {
    font-size: clamp(42px, 5.2vw, 72px);
    letter-spacing: -3.5px;
    margin-bottom: 24px
}

.hero h1 span {
    color: var(--green)
}

.hero-copy>p {
    font-size: 18px;
    color: var(--muted);
    max-width: 590px;
    margin-bottom: 30px
}

.hero-actions {
    display: flex;
    gap: 12px
}

.btn,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border: 0;
    background: var(--green);
    color: white;
    border-radius: 12px;
    padding: 14px 21px;
    font: 700 14px 'DM Sans';
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(23, 79, 67, .18)
}

.btn-ghost {
    background: transparent;
    color: var(--green);
    border: 1px solid #b8c8c3;
    box-shadow: none
}

.trust {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    color: var(--muted)
}

.trust strong {
    color: var(--ink);
    font-size: 18px;
    margin-left: 12px
}

.hero-visual {
    position: relative;
    min-height: 460px;
    border-radius: 30px;
    background: linear-gradient(145deg, #d9eee7, #b6d9ce);
    overflow: hidden;
    padding: 70px 42px
}

.hero-visual:before {
    content: '';
    position: absolute;
    width: 310px;
    height: 310px;
    border: 70px solid rgba(255, 255, 255, .26);
    border-radius: 50%;
    right: -90px;
    top: -100px
}

.appointment-card,
.calendar {
    position: relative;
    background: white;
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow)
}

.appointment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
    transform: rotate(-2deg)
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: white;
    font-weight: 800
}

.appointment-card small {
    font-size: 9px;
    color: #2b806e;
    font-weight: 800;
    letter-spacing: 1px
}

.appointment-card h3 {
    font-size: 16px;
    margin: 4px 0
}

.appointment-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.check {
    margin-left: auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: var(--green);
    font-weight: bold
}

.calendar {
    margin: 25px 0 0 55px;
    padding: 24px;
    transform: rotate(2deg)
}

.calendar>div:first-child {
    display: flex;
    justify-content: space-between
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
    margin-top: 18px
}

.days small {
    color: #879193
}

.days i {
    font-style: normal;
    padding: 5px;
    border-radius: 50%
}

.days .active {
    background: var(--green);
    color: white
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--ink);
    color: white;
    border-radius: 18px;
    padding: 28px 38px;
    margin-bottom: 100px
}

.feature-strip>div {
    display: flex;
    align-items: center;
    gap: 16px;
    border-right: 1px solid #3a494b;
    padding-left: 28px
}

.feature-strip>div:first-child {
    padding-left: 0
}

.feature-strip>div:last-child {
    border: 0
}

.feature-strip b {
    font-size: 24px;
    color: #7fb6aa
}

.feature-strip span {
    display: flex;
    flex-direction: column
}

.feature-strip small {
    color: #9dabad
}

.businesses {
    padding-bottom: 100px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 35px
}

.section-head h2 {
    font-size: 38px;
    margin: 0
}

.section-head p {
    max-width: 360px;
    color: var(--muted)
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.business-card,
.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(29, 46, 43, .05)
}

.business-cover {
    height: 150px;
    background: linear-gradient(135deg, var(--green), #3b8070);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.business-cover>span {
    font: 800 56px 'Manrope';
    color: white
}

.business-cover small {
    position: absolute;
    right: 13px;
    top: 13px;
    background: white;
    color: var(--green);
    padding: 5px 9px;
    border-radius: 20px;
    font-weight: bold
}

.business-body {
    padding: 21px
}

.category {
    color: #277362;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase
}

.business-body h3 {
    font-size: 21px;
    margin: 7px 0
}

.business-body p {
    color: var(--muted);
    height: 48px;
    overflow: hidden
}

.business-body>div {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 15px
}

.business-body>div span {
    color: #c18a20;
    font-weight: bold
}

.business-body a {
    color: var(--green);
    font-weight: bold
}

.empty-state {
    grid-column: 1/-1;
    text-align: center;
    background: white;
    border: 1px dashed #b8c8c3;
    border-radius: 18px;
    padding: 55px
}

.empty-state>span {
    font-size: 38px;
    color: var(--gold)
}

.panel {
    padding: 28px;
    margin: 35px 0
}

.narrow {
    max-width: 460px;
    margin: 60px auto
}

.panel h1 {
    font-size: 32px
}

.panel h2 {
    margin-bottom: 20px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

form {
    display: grid;
    gap: 15px
}

label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    font-size: 13px
}

input,
select,
textarea {
    width: 100%;
    background: #fafbf9;
    color: var(--ink);
    border: 1px solid #d9dedb;
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    outline: none
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(23, 79, 67, .1)
}

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

.full {
    grid-column: 1/-1
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 260px));
    gap: 18px
}

.stats>div {
    background: white;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    color: var(--muted)
}

.stats strong {
    display: block;
    font: 800 36px 'Manrope';
    color: var(--green)
}

.table-wrap {
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white
}

th {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: .5px
}

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

.inline {
    display: flex;
    grid-auto-flow: column;
    gap: 6px
}

.inline button {
    padding: 8px 10px;
    box-shadow: none
}

.alert {
    background: #fff0ed;
    color: #8d322b;
    border: 1px solid #f3c6bf;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 15px
}

footer {
    max-width: 1180px;
    margin: auto;
    border-top: 1px solid var(--line);
    padding: 35px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted)
}

footer p {
    margin: 8px 0 0
}

footer>span {
    font-size: 13px
}

ul {
    padding-left: 20px;
    color: var(--muted)
}

@media(max-width:850px) {
    .nav-shell {
        height: 70px
    }

    .nav-shell nav>a:not(.nav-login) {
        display: none
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 55px 0;
        gap: 30px
    }

    .hero-visual {
        min-height: 400px
    }

    .feature-strip {
        grid-template-columns: 1fr;
        padding: 15px 25px
    }

    .feature-strip>div {
        border-right: 0;
        border-bottom: 1px solid #3a494b;
        padding: 16px 0
    }

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

    .section-head {
        align-items: start;
        flex-direction: column
    }

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

    .full {
        grid-column: auto
    }
}

@media(max-width:560px) {
    .container {
        padding: 0 16px
    }

    .brand {
        font-size: 15px
    }

    .nav-login {
        padding: 8px 11px
    }

    .hero {
        padding-top: 42px
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -2px
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .btn {
        width: 100%
    }

    .hero-visual {
        padding: 55px 18px;
        min-height: 360px
    }

    .calendar {
        margin-left: 20px
    }

    .trust {
        display: grid;
        grid-template-columns: auto 1fr
    }

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

    .feature-strip {
        margin-bottom: 65px
    }

    .section-head h2 {
        font-size: 31px
    }

    .topbar {
        align-items: flex-start
    }

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

    .panel {
        padding: 20px
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px
    }
}

/* Y繹netim panelleri */
.dashboard-body {
    background: #f3f5f2
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 250px;
    background: #102d28;
    color: white;
    padding: 28px 20px;
    display: flex;
    flex-direction: column
}

.sidebar .brand {
    padding: 0 8px;
    margin-bottom: 36px
}

.sidebar .brand em {
    color: #8ed0bf
}

.side-label {
    font-size: 10px;
    letter-spacing: 1.6px;
    color: #7fa49c;
    padding: 0 12px 10px
}

.sidebar nav {
    display: grid;
    gap: 5px
}

.sidebar nav a,
.side-bottom a {
    padding: 11px 13px;
    border-radius: 9px;
    color: #bad0cb;
    font-weight: 600
}

.sidebar nav a:hover,
.sidebar nav a:focus {
    background: #1c453d;
    color: white
}

.side-bottom {
    margin-top: auto;
    border-top: 1px solid #2b4c46;
    padding-top: 15px
}

.dashboard-main {
    margin-left: 250px;
    padding: 28px 34px 60px;
    max-width: 1600px
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px
}

.dash-top small {
    color: var(--muted)
}

.dash-top h1 {
    font-size: 29px;
    margin: 3px 0
}

.avatar-mini {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: grid;
    place-items: center;
    font-weight: bold
}

.notice {
    background: #dff3eb;
    color: #16614f;
    border: 1px solid #b7decf;
    border-radius: 11px;
    padding: 12px 15px;
    margin-bottom: 20px
}

.share-card {
    background: linear-gradient(125deg, #143f36, #236553);
    color: white;
    padding: 23px 27px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    box-shadow: 0 15px 35px rgba(15, 60, 50, .18)
}

.share-card small {
    color: #9fd0c3;
    display: block;
    font-weight: bold;
    letter-spacing: 1px
}

.share-card strong {
    display: block;
    font-size: 18px;
    margin-top: 5px
}

.share-card p {
    margin: 3px 0 0;
    color: #bad5ce
}

.share-card .btn {
    background: white;
    color: var(--green);
    box-shadow: none
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px
}

.metric-grid article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 20px
}

.metric-grid span,
.metric-grid small {
    display: block;
    color: var(--muted)
}

.metric-grid strong {
    display: block;
    font: 800 34px 'Manrope';
    margin: 6px 0;
    color: var(--green)
}

.dash-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
    gap: 20px
}

.dash-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px
}

.dash-card.wide {
    min-width: 0
}

.dash-card h2 {
    font-size: 19px;
    margin: 0 0 16px
}

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

.card-head h2 {
    margin: 0
}

.card-head p {
    margin: 3px 0 0;
    color: var(--muted)
}

.card-head>a,
.table-action {
    font-weight: bold;
    color: var(--green)
}

.cell-sub {
    display: block;
    color: var(--muted)
}

.status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: capitalize;
    background: #eef0ee;
    color: #68716e
}

.status.active,
.status.confirmed {
    background: #dff2e9;
    color: #17624e
}

.status.pending {
    background: #fff1cf;
    color: #895e08
}

.status.suspended,
.status.cancelled,
.status.rejected {
    background: #fde4e1;
    color: #9b3832
}

.empty-cell {
    text-align: center !important;
    padding: 35px !important;
    color: var(--muted)
}

.membership {
    text-align: center;
    padding: 20px 0
}

.membership strong {
    display: block;
    font-size: 24px;
    margin-top: 15px
}

.membership small {
    color: var(--muted)
}

.filter-form {
    display: flex;
    grid-auto-flow: column;
    align-items: center
}

.filter-form input {
    min-width: 160px
}

.day-summary {
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px
}

.day-summary>strong {
    font-size: 36px;
    color: var(--green)
}

.day-summary span,
.day-summary small {
    display: block
}

.day-summary small {
    color: var(--muted)
}

.appointment-list article,
.service-list article,
.category-list article {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

.appointment-list time {
    font-weight: 800;
    font-size: 18px;
    color: var(--green);
    width: 55px
}

.appointment-list article>div,
.service-list article>div:nth-child(2),
.category-list article>div:nth-child(2) {
    flex: 1
}

.appointment-list h3,
.service-list h3,
.category-list h3 {
    font-size: 15px;
    margin: 0
}

.appointment-list p,
.service-list p,
.category-list p {
    margin: 2px 0;
    color: var(--muted)
}

button.danger {
    background: #a9443e
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--mint);
    color: var(--green);
    display: grid;
    place-items: center;
    font-weight: 800
}

.service-list a {
    color: var(--green);
    font-weight: bold
}

.service-list form,
.category-list form {
    display: block
}

.service-list button,
.category-list button {
    padding: 7px 10px;
    box-shadow: none
}

.employee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
}

.employee-grid article {
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px
}

.avatar.large {
    width: 58px;
    height: 58px;
    margin: auto;
    font-size: 16px
}

.employee-grid h3 {
    margin: 11px 0 3px
}

.employee-grid p {
    color: var(--muted);
    margin: 0 0 10px
}

.employee-grid form {
    margin-top: 12px
}

.employee-grid button {
    width: 100%;
    padding: 9px
}

.hours-form>div {
    display: grid;
    grid-template-columns: 140px 110px 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.check-label {
    display: flex;
    grid-auto-flow: column;
    align-items: center;
    font-weight: 500
}

.check-label input {
    width: auto
}

.holiday-list {
    margin-top: 20px
}

.holiday-list>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 10px 0
}

.holiday-list form {
    display: block
}

.holiday-list button {
    padding: 6px 9px
}

.settings-card {
    max-width: 900px
}

.lead {
    font-size: 17px;
    color: var(--muted);
    max-width: 700px
}

.steps {
    display: grid;
    gap: 18px;
    margin-top: 25px
}

.steps>div {
    display: flex;
    gap: 14px;
    align-items: center
}

.steps b {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mint);
    display: grid;
    place-items: center;
    color: var(--green)
}

.steps span,
.steps small {
    display: block
}

.steps small {
    color: var(--muted)
}

.security-note {
    font-size: 12px;
    color: var(--muted)
}

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

.tabs a {
    background: #f0f3f1;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px
}

.firm-admin-head {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px
}

.firm-admin-head .avatar {
    margin: 0
}

.firm-admin-head>div:nth-child(2) {
    flex: 1
}

.firm-admin-head h2 {
    margin: 5px 0
}

.firm-admin-head p {
    margin: 0;
    color: var(--muted)
}

.category-list code {
    background: #f1f3f2;
    padding: 5px 8px;
    border-radius: 6px
}

.benefits {
    padding-bottom: 100px
}

.benefit-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 25px
}

.benefit-card>b {
    color: #79a89d
}

.benefit-card h3 {
    margin: 35px 0 8px
}

.benefit-card p {
    color: var(--muted)
}

/* Firma randevu sayfas覺 */
.booking-shell {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 45px;
    padding: 65px 0 90px
}

.firm-profile {
    padding-top: 28px
}

.firm-logo {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    background: var(--green);
    color: white;
    display: grid;
    place-items: center;
    font: 800 25px 'Manrope';
    margin-bottom: 22px
}

.firm-profile h1 {
    font-size: 42px;
    margin: 8px 0 15px
}

.firm-profile>p {
    font-size: 17px;
    color: var(--muted)
}

.firm-details {
    display: grid;
    gap: 13px;
    margin-top: 30px
}

.firm-details span {
    display: grid
}

.firm-details small {
    font-size: 10px;
    color: var(--muted);
    font-weight: bold;
    letter-spacing: 1px
}

.booking-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow)
}

.booking-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    margin-bottom: 20px
}

.booking-head>span {
    font-size: 11px;
    color: var(--green);
    font-weight: bold;
    letter-spacing: 1.5px
}

.booking-head h2 {
    margin: 7px 0
}

.booking-head p {
    margin: 0;
    color: var(--muted)
}

.booking-filter {
    grid-template-columns: 1fr 1fr
}

.booking-filter label:nth-of-type(3),
.booking-filter button {
    grid-column: 1/-1
}

.slot-section {
    border-top: 1px solid var(--line);
    margin-top: 24px;
    padding-top: 22px
}

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

.slots a {
    padding: 10px;
    text-align: center;
    border: 1px solid #cfd8d4;
    border-radius: 9px;
    font-weight: bold
}

.slots a:hover,
.slots a.selected {
    background: var(--green);
    color: white
}

.no-slots {
    background: #fff4dd;
    padding: 13px;
    border-radius: 9px;
    color: #765510
}

.customer-form {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-top: 24px
}

.customer-form h3 {
    margin: 0
}

.success-page {
    max-width: 560px;
    text-align: center;
    background: white;
    padding: 55px;
    border-radius: 20px;
    margin: 70px auto;
    box-shadow: var(--shadow)
}

.success-page>span {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--green);
    display: grid;
    place-items: center;
    margin: auto;
    font-size: 30px
}

.success-page h1 {
    margin-top: 20px
}

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

    .dash-grid {
        grid-template-columns: 1fr
    }

    .booking-shell {
        grid-template-columns: 1fr
    }

    .employee-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:760px) {
    .sidebar {
        position: static;
        width: auto;
        padding: 18px
    }

    .sidebar .brand {
        margin-bottom: 15px
    }

    .side-label {
        display: none
    }

    .sidebar nav {
        display: flex;
        overflow: auto
    }

    .sidebar nav a {
        white-space: nowrap
    }

    .side-bottom {
        display: none
    }

    .dashboard-main {
        margin-left: 0;
        padding: 20px 14px
    }

    .share-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px
    }

    .share-card strong {
        font-size: 13px;
        overflow-wrap: anywhere
    }

    .hours-form>div {
        grid-template-columns: 1fr 1fr
    }

    .hours-form>div strong {
        grid-column: 1/-1
    }

    .hours-form>div>span {
        display: none
    }

    .appointment-list article {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .appointment-list article>div {
        min-width: 180px
    }

    .firm-admin-head {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .booking-shell {
        padding-top: 30px
    }

    .booking-filter {
        grid-template-columns: 1fr
    }

    .booking-filter label,
    .booking-filter label:nth-of-type(3),
    .booking-filter button {
        grid-column: auto
    }

    .slots {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media(max-width:500px) {
    .metric-grid {
        grid-template-columns: 1fr 1fr
    }

    .metric-grid article {
        padding: 15px
    }

    .metric-grid strong {
        font-size: 27px
    }

    .employee-grid {
        grid-template-columns: 1fr
    }

    .booking-card {
        padding: 20px
    }

    .slots {
        grid-template-columns: repeat(3, 1fr)
    }
}


.appointment-name {
    font: 600 15px 'Manrope';
    margin: 3px 0
}

@font-face {
    font-family: 'DM Sans';
    src: url('fonts/dm-sans-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 600 800;
    font-display: swap
}

.benefit-card>b {
    color: #8a5a00
}

.hero-copy>p,
.section-head>p,
.benefit-card p,
.trust span,
.appointment-card p {
    color: #526063
}

.mobile-header {
    display: none;
}

.days small {
    color: #526063
}

.home-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 72px 0 88px
}

.home-hero-copy h1 {
    font-size: clamp(42px, 5vw, 68px);
    letter-spacing: -2.5px;
    margin: 0 0 22px
}

.home-hero-copy h1 span {
    color: var(--green)
}

.home-hero-copy>p {
    max-width: 600px;
    font-size: 18px;
    color: #526063;
    margin: 0 0 30px
}

.home-hero-media {
    position: relative;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--mint);
    box-shadow: var(--shadow)
}

.home-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover
}

.hero-badge {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 15px 18px;
    background: rgba(255, 255, 255, .94);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(22, 35, 38, .12)
}

.hero-badge strong,
.hero-badge span {
    display: block
}

.hero-badge span {
    color: #526063;
    font-size: 13px
}

.home-intro {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    border-top: 1px solid var(--line);
    padding: 72px 0 35px
}

.home-intro h2,
.industry-copy h2,
.featured-firms h2 {
    font-size: clamp(29px, 3vw, 42px);
    max-width: 660px;
    margin: 5px 0
}

.home-intro>p {
    max-width: 390px;
    color: #526063;
    margin: 0
}

.industry-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: auto auto;
    gap: 18px;
    padding-bottom: 105px
}

.industry-card {
    position: relative;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    border-radius: 16px;
    color: #fff;
    background: #18302d;
    padding: 22px
}

.industry-card-wide {
    grid-row: span 2;
    min-height: 520px
}

.industry-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72
}

.industry-card:after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(10, 30, 28, .9))
}

.industry-card span,
.industry-card strong {
    position: relative;
    z-index: 1
}

.industry-card span {
    font-size: 14px
}

.industry-card strong {
    font: 700 22px 'Manrope';
    margin-top: 4px
}

.industry-copy {
    padding: 28px 12px 12px
}

.industry-copy p {
    color: #526063;
    max-width: 470px
}

.text-link {
    display: inline-flex;
    gap: 12px;
    color: var(--green);
    font-weight: 700;
    margin-top: 8px
}

.featured-firms {
    border-top: 1px solid var(--line);
    padding: 75px 0 105px
}

.firm-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.firm-links a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    transition: transform .2s, box-shadow .2s
}

.firm-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow)
}

.firm-links span {
    font: 700 18px 'Manrope'
}

.firm-links small {
    color: #526063;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.firm-links b {
    color: var(--green);
    font-size: 13px;
    margin-top: auto
}

.home-hero-media,
.industry-card img {
    content-visibility: auto
}

@media(max-width:850px) {
    .home-hero {
        grid-template-columns: 1fr;
        padding: 48px 0 70px;
        gap: 28px
    }

    .home-hero-media,
    .home-hero-media img {
        min-height: 360px
    }

    .home-intro {
        align-items: start;
        flex-direction: column;
        gap: 15px
    }

    .industry-grid {
        grid-template-columns: 1fr 1fr
    }

    .industry-card-wide {
        min-height: 420px
    }

    .firm-links {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .home-hero-copy h1 {
        font-size: 43px;
        letter-spacing: -1.5px
    }

    .home-hero-copy>p {
        font-size: 16px
    }

    .home-hero-media,
    .home-hero-media img {
        min-height: 330px
    }

    .industry-grid {
        grid-template-columns: 1fr
    }

    .industry-card-wide {
        min-height: 360px
    }

    .industry-copy {
        padding: 20px 0
    }

    .firm-links {
        grid-template-columns: 1fr
    }
}

@media (max-width:768px) {

    .mobile-header {
        display: flex;
        align-items: center;
        gap: 12px;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 10000;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border: none;
        border-radius: 14px;
        font-size: 24px;
        cursor: pointer;
    }

    .mobile-logo {
        height: 42px;
        width: auto;
    }

    .sidebar {
        position: fixed !important;
        top: 0;
        left: -300px !important;
        width: 280px !important;
        height: 100vh !important;
        transition: .3s;
        overflow-y: auto;
        z-index: 9999;
        padding-top: 90px !important;
    }

    .sidebar.active {
        left: 0 !important;
    }

    .sidebar nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 0 15px !important;
    }

    .sidebar nav a {
        display: block !important;
        width: 100% !important;
        padding: 14px 18px !important;
        border-radius: 12px !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }


    .sidebar nav a, .side-bottom a {
        margin-top: -2px !important;
        padding: 9px 13px;
        border-radius: 9px;
        color: #bad0cb;
        font-weight: 600;
    }

    .dashboard-main {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 80px 15px 20px !important;
    }

    .dash-top h1 {
        font-size: 22px !important;
    }
}

.sector-section {
    padding: 30px 0 100px
}

.marquee {
    overflow: hidden;
    margin: 0 -24px;
    padding: 12px 24px 28px;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent)
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 16px;
    animation: sector-scroll 48s linear infinite
}

.marquee-card {
    position: relative;
    display: flex;
    width: 190px;
    height: 250px;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    border-radius: 18px;
    color: #fff;
    background: #18302d;
    box-shadow: 0 12px 25px rgba(22, 35, 38, .13);
    flex-shrink: 0;
    padding: 16px
}

.marquee-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
    transition: transform .35s
}

.marquee-card:after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(8, 28, 26, .95))
}

.marquee-card span,
.marquee-card b {
    position: relative;
    z-index: 1
}

.marquee-card span {
    font-size: 13px
}

.marquee-card b {
    margin-top: 4px;
    font: 700 16px 'Manrope'
}

.marquee-card:hover img {
    transform: scale(1.06)
}

.marquee-card:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px
}

@keyframes sector-scroll {
    to {
        transform: translateX(calc(-50% - 8px))
    }
}

@media(prefers-reduced-motion:reduce) {
    .marquee-track {
        animation-play-state: paused
    }
}

@media(max-width:560px) {
    .sector-section {
        padding-bottom: 70px
    }

    .marquee {
        margin: 0 -16px;
        padding-inline: 16px
    }

    .marquee-card {
        width: 155px;
        height: 210px
    }

    .marquee-card b {
        font-size: 14px
    }
}

.home-hero {
    grid-template-columns: 1fr;
    max-width: 900px
}

.home-hero-media {
    display: none
}

.featured-firms {
    background: #eef4f0;
    border-top: 0;
    border-radius: 24px;
    padding: 48px 34px 52px;
    margin: 0 0 100px
}

.featured-firms .section-head {
    margin-bottom: 24px
}

.featured-firms .section-head>p {
    max-width: 430px
}

.firm-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.firm-links a {
    position: relative;
    min-height: 142px;
    background: #fff;
    border: 1px solid #d5e2dc;
    border-radius: 12px;
    padding: 18px 19px 16px;
    box-shadow: 0 5px 16px rgba(25, 53, 49, .05)
}

.firm-links a:after {
    content: "->";
    position: absolute;
    right: 18px;
    top: 17px;
    color: var(--green);
    font-weight: 800
}

.firm-links span {
    padding-right: 24px
}

.firm-links b {
    margin-top: 8px
}

.firm-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(25, 53, 49, .1)
}