/* Da Vila — identidade centralizada. Interface operacional, verde profundo e papel. */
@font-face {
    font-family: Montserrat;
    src: url('../fonts/montserrat-variable.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap
}

:root {
    --green: #08432f;
    --green-dark: #052c23;
    --green-secondary: #115541;
    --paper: #f5f5f0;
    --surface: #fff;
    --ink: #203e33;
    --muted: #6e7d74;
    --line: #e2e7df;
    --soft: #eaf0e8;
    --gray: #aab5af;
    --radius: 8px;
    --font: Montserrat, 'Segoe UI', sans-serif
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 13px;
    line-height: 1.65
}

button,
input,
select,
textarea {
    font: inherit
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent
}

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

a,
button {
    transition: background .16s, color .16s, border-color .16s
}

button {
    cursor: pointer
}

svg {
    flex-shrink: 0;
    vertical-align: middle
}

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

h1,
h2,
h3,
p {
    margin: 0
}

h1 {
    font-size: 30px;
    letter-spacing: -1.1px;
    line-height: 1.25;
    font-weight: 650
}

h2 {
    font-size: 17px;
    letter-spacing: -.4px;
    font-weight: 650;
    line-height: 1.45
}

h3 {
    font-size: 14px;
    font-weight: 650
}

p {
    line-height: 1.8
}

small {
    font-size: 11px
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 24px 0
}

strong {
    font-weight: 650
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid #539c7e;
    outline-offset: 3px
}

[hidden] {
    display: none !important
}

.muted,
.help {
    color: var(--muted)
}

.help {
    font-size: 11px;
    line-height: 1.8
}

.eyebrow {
    display: block;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 1.9px;
    line-height: 1.6;
    margin-bottom: 10px
}

.green {
    color: var(--green-secondary)
}

.mt {
    margin-top: 24px
}

.mb {
    margin-bottom: 22px
}

.full {
    width: 100%
}

.button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 17px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.6;
    white-space: nowrap
}

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

.primary:hover {
    background: var(--green-secondary);
    color: white
}

.secondary {
    background: white;
    border-color: var(--line);
    color: var(--green)
}

.secondary:hover {
    background: var(--soft);
    border-color: #b9cbbf
}

.inverse {
    background: #f4f6ef;
    color: var(--green);
    border: 0
}

.inverse:hover {
    background: #dce9db
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 650
}

.text-link:hover {
    color: #267652;
    text-decoration: underline;
    text-underline-offset: 4px
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: inherit;
    width: 32px;
    height: 34px;
    border-radius: 4px
}

.icon-button:hover {
    background: #e6ece4
}

.text-button {
    background: none;
    border: 0;
    font-size: 11px
}

.danger {
    color: #a54f40
}

.mobile-only {
    display: none
}

.button-group {
    display: flex;
    gap: 7px
}

/* Application shell */
.app-shell {
    display: flex;
    min-height: 100vh
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 234px;
    background: var(--green-dark);
    color: #d8e5db;
    display: flex;
    flex-direction: column;
    z-index: 50
}

.brand {
    display: block;
    margin: 23px 22px 0;
    height: 126px;
    overflow: hidden;
    background: var(--green)
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.brand-caption {
    text-align: center;
    font-size: 7px;
    letter-spacing: 1.8px;
    margin: 17px 0 26px;
    color: #94b4a5
}

.main-nav {
    padding: 0 15px;
    overflow-y: auto
}

.main-nav>a {
    display: flex;
    gap: 13px;
    align-items: center;
    color: #afc6b9;
    padding: 11px 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500
}

.main-nav>a svg {
    width: 18px;
    height: 18px;
    opacity: .85
}

.main-nav>a:hover {
    background: #ffffff09;
    color: #fff
}

.main-nav>a.active {
    background: #ffffff10;
    color: #f9fff7;
    box-shadow: inset 2px 0 #b4d2b7
}

.nav-divider {
    height: 1px;
    background: #ffffff12;
    margin: 24px 15px 20px
}

.nav-label {
    display: block;
    font-size: 7px;
    letter-spacing: 1.7px;
    padding: 0 15px 13px;
    color: #81a591
}

.sidebar-bottom {
    margin-top: auto;
    padding: 26px 21px 21px
}

.local-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 9px;
    color: #9db8a9;
    padding: 0 0 19px 1px
}

.local-label i {
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background: #9cbd97
}

.account {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #ffffff14;
    padding-top: 19px
}

.avatar {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #e0eadd;
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0
}

.account>div {
    min-width: 0;
    flex: 1
}

.account strong {
    display: block;
    color: #f1f5ee;
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.account small {
    display: block;
    font-size: 7px;
    color: #99b5a5
}

.account .icon-button {
    width: 24px
}

.account .icon-button:hover {
    background: #ffffff12
}

.main-content {
    margin-left: 234px;
    width: calc(100% - 234px);
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.topbar {
    height: 76px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 36px;
    gap: 20px;
    background: #f9f9f5
}

.topbar-left {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 10px
}

.topbar-left>span:first-of-type {
    font-weight: 600
}

.topbar-separator {
    color: #b5beb2
}

.topbar-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    white-space: nowrap
}

.topbar-date>svg {
    color: #7e8e7f
}

.timezone {
    border-left: 1px solid #d3dbcf;
    margin-left: 4px;
    padding-left: 12px;
    color: var(--muted);
    font-size: 8px
}

.content-area {
    padding: 35px 36px 30px;
    max-width: 1620px;
    width: 100%;
    margin: auto;
    flex: 1
}

.app-footer {
    display: flex;
    justify-content: space-between;
    padding: 18px 36px 22px;
    font-size: 8px;
    color: #8c998f;
    border-top: 1px solid var(--line);
    letter-spacing: .4px
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 29px
}

.page-header .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
    margin-bottom: 8px
}

.page-header p {
    margin-top: 8px;
    font-size: 11px
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 25px 19px;
    gap: 16px;
    border-bottom: 1px solid var(--line)
}

.panel-header .eyebrow {
    font-size: 7px;
    color: var(--muted);
    margin-bottom: 5px
}

.panel-header .muted {
    font-size: 10px
}

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

.stats-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px
}

.stat {
    background: #fbfcf8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 19px 20px;
    min-height: 139px
}

.stat-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: #627464;
    font-size: 9px;
    font-weight: 500
}

.stat-label svg {
    color: #708b76;
    width: 16px
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 9px;
    font-size: 32px;
    letter-spacing: -1.2px;
    line-height: 1.3;
    font-weight: 550;
    margin: 15px 0 7px;
    font-variant-numeric: tabular-nums
}

.stat-value small {
    font-size: 9px;
    letter-spacing: 0;
    font-weight: 400;
    color: var(--muted)
}

.stat-value.money {
    font-size: 27px;
    white-space: nowrap
}

.stat-note {
    display: block;
    font-size: 8px;
    color: #839080
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 256px;
    gap: 22px
}

.agenda-panel {
    align-self: start;
    min-height: 369px
}

.day-aside {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.next-card {
    border-radius: var(--radius);
    background: var(--green);
    color: white;
    padding: 24px
}

.next-card .eyebrow {
    color: #b4cab8;
    font-size: 8px
}

.next-time {
    font-size: 37px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin: 26px 0 13px
}

.next-card h2 {
    font-size: 16px;
    line-height: 1.5
}

.next-card p {
    font-size: 10px;
    color: #b6cdbe;
    margin-top: 6px
}

.next-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ffffff25;
    padding-top: 16px;
    margin-top: 22px;
    font-size: 9px;
    color: #c2d5c8
}

.next-card .button {
    margin-top: 22px;
    font-size: 10px;
    justify-content: space-between;
    min-height: 37px
}

.shop-card {
    padding: 22px 19px;
    border: 1px solid var(--line);
    border-radius: var(--radius)
}

.shop-card .eyebrow {
    font-size: 7px;
    margin-bottom: 10px
}

.shop-card h3 {
    font-size: 12px
}

.shop-card p {
    font-size: 10px;
    color: var(--muted);
    margin: 8px 0 15px;
    line-height: 1.9
}

.shop-card .text-link {
    font-size: 9px
}

.quick-strip {
    margin-top: 24px;
    padding: 20px 24px;
    background: #eef1e9;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.quick-strip>div {
    display: flex;
    align-items: center;
    gap: 18px
}

.quick-strip strong {
    font-size: 11px
}

.quick-strip p {
    font-size: 10px;
    color: var(--muted)
}

.quick-strip svg {
    color: #688a6e
}

/* Appointment list */
.appointment-head,
.appointment {
    display: grid;
    grid-template-columns: 78px minmax(140px, 1.5fr) minmax(110px, 1fr) 105px 26px;
    gap: 14px;
    align-items: center;
    padding: 19px 24px
}

.appointment-head {
    color: #8b968b;
    font-size: 7px;
    letter-spacing: 1px;
    padding-top: 17px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line)
}

.appointment {
    border-bottom: 1px solid #edf0e9;
    min-height: 87px
}

.appointment:last-child {
    border-bottom: 0
}

.appointment-time strong {
    font-size: 14px;
    letter-spacing: -.4px
}

.appointment-time small {
    display: block;
    font-size: 8px;
    color: #8a978a
}

.appointment-client>strong {
    font-size: 10px;
    display: block
}

.appointment-client>span {
    font-size: 8px;
    color: var(--muted);
    display: block;
    margin-top: 3px
}

.appointment-client>small {
    display: block;
    color: var(--muted);
    font-size: 8px;
    margin-top: 5px;
    overflow-wrap: anywhere
}

.dot {
    padding: 0 3px
}

.appointment-barber {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 8px
}

.mini-avatar {
    height: 24px;
    width: 24px;
    display: grid;
    place-items: center;
    background: #eff2eb;
    border: 1px solid #e3e9de;
    border-radius: 50%;
    color: #718574;
    font-size: 8px;
    flex-shrink: 0
}

.status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 8px;
    font-weight: 600;
    line-height: 1.7
}

.status-confirmado {
    background: #edf3e9;
    color: #57784b
}

.status-pendente {
    background: #f6f0e2;
    color: #8c753d
}

.status-em_atendimento {
    background: #e9eff2;
    color: #497080
}

.status-finalizado {
    background: #e5f1e9;
    color: #3c7956
}

.status-cancelado {
    background: #f7eae5;
    color: #a36d59
}

.status-falta {
    background: #eeecef;
    color: #7c6b83
}

.empty-state {
    padding: 48px 25px;
    text-align: center;
    color: #789078
}

.empty-state>svg {
    opacity: .65;
    margin-bottom: 19px
}

.empty-state h3 {
    font-size: 14px;
    color: var(--green);
    margin-bottom: 8px
}

.empty-state p {
    font-size: 10px;
    color: var(--muted)
}

.empty-state .button {
    margin-top: 22px
}

.empty-cell {
    text-align: center !important;
    padding: 40px 22px !important;
    color: var(--muted);
    font-size: 11px
}

.agenda-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0 18px;
    gap: 14px
}

.agenda-toolbar h2 {
    font-size: 16px
}

.agenda-toolbar p {
    font-size: 10px;
    margin-top: 4px
}

/* Forms */
.field {
    margin-bottom: 19px;
    min-width: 0
}

.field>label,
fieldset>legend {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #435c4c;
    margin-bottom: 7px
}

.input {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #dce3d8;
    border-radius: 5px;
    min-height: 41px;
    padding: 10px 12px;
    background: #fdfefa;
    color: #294435;
    font-size: 11px
}

.input:focus {
    border-color: #638a6d;
    box-shadow: 0 0 0 2px #638a6d19;
    outline: 0
}

.input[type=file] {
    font-size: 10px;
    padding: 9px
}

.input[type=number] {
    -moz-appearance: textfield
}

.input[type=number][name=valor] {
    font-variant-numeric: tabular-nums
}

.input[type=checkbox] {
    width: auto
}

.input[multiple] {
    min-height: 110px
}

textarea.input {
    min-height: 100px;
    resize: vertical
}

.field>small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    margin-top: 6px
}

.field-error {
    display: block;
    color: #a54f40;
    font-size: 10px;
    margin-top: 5px
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 11px;
    line-height: 1.6;
    cursor: pointer;
    margin: 15px 0
}

.check input {
    accent-color: var(--green);
    margin: 3px 0 0;
    flex-shrink: 0;
    width: 15px;
    height: 15px
}

.form-panel {
    padding: 30px
}

.max-form {
    max-width: 760px
}

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

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 24px
}

.form-note {
    padding: 28px;
    align-self: start;
    background: #edf1e7
}

.form-note h2 {
    font-size: 22px;
    margin: 20px 0
}

.form-note p {
    font-size: 11px;
    color: #73806d
}

.form-note p+p {
    margin-top: 16px
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 27px;
    flex-wrap: wrap
}

.inline-link {
    margin: -5px 0 24px
}

.filters {
    display: flex;
    align-items: flex-end;
    padding: 22px;
    gap: 16px;
    flex-wrap: wrap
}

.filters .field {
    flex: 1;
    min-width: 130px;
    margin-bottom: 0
}

.filters>.text-link {
    height: 40px
}

.availability {
    background: #f3f6ed;
    padding: 17px;
    border-radius: 5px;
    margin: 0 0 22px
}

.availability p {
    font-size: 10px
}

.slot-grid {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px
}

.slot {
    background: white;
    border: 1px solid #d7e0d1;
    padding: 5px 9px;
    border-radius: 4px;
    font-size: 10px;
    color: var(--green)
}

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

fieldset {
    border: 0;
    padding: 0;
    margin: 5px 0 24px;
    min-width: 0
}

fieldset>legend {
    width: 100%;
    padding: 0
}

.days-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px
}

.days-checkboxes .check {
    margin: 5px 0
}

.blocks-list {
    margin-top: 25px
}

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

.form-panel>h2 {
    margin-bottom: 15px
}

.form-panel>p {
    margin-bottom: 18px
}

.form-panel>form {
    margin-top: 24px
}

/* Catalog and tables */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.catalog-card {
    padding: 27px;
    display: flex;
    flex-direction: column
}

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

.service-symbol {
    height: 44px;
    width: 44px;
    background: #eff3e8;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #5b7f60
}

.catalog-card h2 {
    font-size: 16px;
    margin-bottom: 8px
}

.catalog-card>p {
    font-size: 10px;
    color: var(--muted)
}

.catalog-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0 7px;
    gap: 12px
}

.catalog-price strong {
    font-size: 17px;
    letter-spacing: -.5px
}

.catalog-price span {
    font-size: 10px;
    color: var(--muted)
}

.catalog-actions {
    margin-top: auto;
    padding-top: 24px
}

.catalog-card>.help {
    font-size: 9px;
    margin-top: 8px
}

.barber-avatar {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%
}

.barber-avatar.initials {
    display: grid;
    place-items: center;
    background: #eef2e7;
    color: #7b927b;
    font-size: 23px
}

.days {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin: 20px 0 15px
}

.days>span {
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: 8px;
    padding: 3px 6px;
    color: #7c8e7c
}

.catalog-card .barber-hours {
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 10px;
    margin-bottom: 7px
}

.table-wrap {
    overflow-x: auto;
    width: 100%
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: left
}

thead th {
    padding: 17px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 8px;
    letter-spacing: .8px;
    font-weight: 500;
    color: #8a9787;
    white-space: nowrap
}

tbody td {
    padding: 19px 24px;
    border-bottom: 1px solid #eff2ea;
    font-size: 11px
}

tbody tr:last-child td {
    border-bottom: 0
}

td small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    margin-top: 4px
}

/* Settings, plans and media */
.settings-section {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 55px
}

.section-intro p {
    color: var(--muted);
    font-size: 10px;
    margin-top: 13px;
    max-width: 240px
}

.section-intro h2 {
    font-size: 19px
}

.settings-logo {
    height: 126px;
    width: 190px;
    object-fit: cover;
    margin-top: 26px;
    background: var(--green);
    border-radius: 4px
}

.schedule-day {
    border-bottom: 1px solid var(--line);
    padding-bottom: 23px;
    margin-bottom: 22px
}

.schedule-day:last-child {
    border: 0;
    margin: 0
}

.schedule-day>legend {
    font-size: 12px;
    margin: 0
}

.schedule-day>.check {
    margin: 7px 0 14px;
    font-size: 10px
}

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

.period-grid>div>label {
    display: block;
    font-size: 9px;
    color: var(--muted);
    margin-bottom: 7px
}

.period-inputs {
    display: flex;
    align-items: center;
    gap: 7px
}

.period-inputs>span {
    font-size: 10px;
    color: var(--muted)
}

.period-inputs>.input {
    font-size: 11px;
    min-height: 38px;
    padding: 7px
}

.included-modules {
    padding: 26px;
    display: flex;
    gap: 16px 30px;
    flex-wrap: wrap
}

.included-modules>span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #6d866f
}

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

.module-card {
    padding: 28px
}

.module-card>p {
    font-size: 11px;
    color: var(--muted);
    margin: 10px 0 20px
}

.module-check {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 25px
}

.module-card .help {
    display: block;
    font-size: 10px
}

.module-card .eyebrow {
    font-size: 8px
}

.split-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.audit-log>summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 22px 25px
}

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

.media-card>img,
.media-card>video {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    background: var(--green-dark)
}

.media-card>div {
    padding: 17px
}

.media-card strong {
    font-size: 10px
}

.media-card small {
    display: block;
    color: var(--muted);
    font-size: 8px;
    margin-top: 4px
}

/* Notifications and authentication */
.notifications {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 200;
    max-width: 480px;
    width: calc(100% - 40px)
}

.alert {
    padding: 16px 40px 16px 20px;
    border: 1px solid #d4e2cc;
    border-radius: 6px;
    position: relative;
    font-size: 11px;
    margin-bottom: 10px;
    background: #f1f7eb;
    color: #41633a;
    box-shadow: 0 4px 18px #12301e12
}

.alert-danger {
    background: #fff0ec;
    border-color: #efd8ce;
    color: #9d5343
}

.alert-warning {
    background: #fff9e8;
    border-color: #e9dfc6;
    color: #846c31
}

.alert-info {
    background: #eff4f3;
    color: #526e69
}

.dismiss {
    position: absolute;
    right: 10px;
    top: 9px;
    background: none;
    border: 0;
    color: inherit;
    font-size: 22px
}

.login-layout {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 100vh
}

.login-brand {
    background: var(--green);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 50px 60px
}

.login-brand>.eyebrow {
    color: #adbfaf;
    font-size: 9px;
    align-self: flex-start;
    letter-spacing: 2.2px
}

.login-brand>img {
    width: 100%;
    max-width: 510px;
    aspect-ratio: 1;
    object-fit: contain;
    margin: -30px 0
}

.login-brand>div {
    width: 100%;
    padding-bottom: 7px
}

.brand-rule {
    display: block;
    width: 38px;
    height: 1px;
    background: #9fbca1;
    margin-bottom: 22px
}

.login-brand p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -.4px
}

.login-brand small {
    color: #a8c0ac;
    font-size: 8px;
    letter-spacing: 2px;
    display: block;
    margin-top: 22px
}

.login-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 70px 60px 100px
}

.login-form {
    width: 100%;
    max-width: 335px
}

.login-form h1 {
    font-size: 39px;
    font-weight: 550;
    letter-spacing: -1.6px;
    margin: 18px 0 15px;
    line-height: 1.2
}

.login-form>p {
    font-size: 10px;
    margin-bottom: 35px
}

.login-form .field {
    margin-bottom: 22px
}

.login-form .field>label {
    font-size: 10px
}

.login-form .input {
    min-height: 46px;
    background: #fbfcf7
}

.login-form .button {
    margin-top: 10px;
    min-height: 45px;
    justify-content: space-between;
    padding: 12px 17px
}

.password-field {
    position: relative
}

.password-field .input {
    padding-right: 68px
}

.password-toggle {
    position: absolute;
    right: 10px;
    bottom: 13px;
    border: 0;
    background: none;
    font-size: 9px;
    color: #6c8270
}

.login-note {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-top: 28px;
    font-size: 9px;
    color: #7c8d7e
}

.login-address {
    position: absolute;
    bottom: 30px;
    font-size: 8px;
    color: #8b998b;
    max-width: 360px;
    text-align: center;
    padding: 0 15px
}

.error-page {
    max-width: 580px;
    text-align: center;
    margin: 15vh auto;
    padding: 40px
}

.error-page h1 {
    font-size: 80px;
    margin: 15px
}

.error-page p {
    margin: 20px 0 30px
}

/* Responsive operational views */
@media(min-width:1550px) {
    .content-area {
        padding: 45px 48px
    }

    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr) 290px
    }

    .stat {
        padding: 23px 24px;
        min-height: 150px
    }

    .next-card {
        padding: 29px
    }

    .appointment {
        min-height: 94px
    }
}

@media(max-width:1250px) {
    .sidebar {
        width: 210px
    }

    .main-content {
        margin-left: 210px;
        width: calc(100% - 210px)
    }

    .content-area {
        padding: 28px 25px
    }

    .topbar {
        padding: 0 25px
    }

    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 16px
    }

    .appointment-head,
    .appointment {
        grid-template-columns: 57px minmax(100px, 1.3fr) minmax(80px, 1fr) 85px 22px;
        padding-left: 17px;
        padding-right: 17px;
        gap: 9px
    }

    .appointment-barber .mini-avatar {
        display: none
    }

    .appointment-client>strong {
        font-size: 9px
    }

    .appointment-barber {
        font-size: 8px
    }

    .stat {
        padding: 17px 15px
    }

    .stat-label {
        font-size: 8px
    }

    .stat-label svg {
        display: none
    }

    .stats-grid {
        gap: 11px
    }

    .stat-value {
        font-size: 29px
    }

    .stat-value.money {
        font-size: 23px
    }

    .next-card {
        padding: 20px
    }

    .settings-section {
        gap: 30px;
        padding: 25px
    }

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

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

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

    .day-aside {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .next-card .next-time {
        margin-top: 18px
    }

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

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

    .form-note {
        display: none
    }

    .topbar-date .timezone {
        display: none
    }

    .topbar-left .muted,
    .topbar-separator {
        display: none
    }

    .page-header .button {
        padding: 9px 13px
    }

    .settings-section {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .section-intro p {
        max-width: none
    }

    .settings-logo {
        margin-top: 15px;
        width: 160px;
        height: 105px
    }

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

    .login-brand {
        padding: 40px
    }

    .login-panel {
        padding: 60px 40px 100px
    }
}

@media(max-width:760px) {
    body {
        font-size: 12px
    }

    .mobile-only {
        display: inline-flex
    }

    .sidebar {
        width: 245px;
        transform: translateX(-100%);
        transition: transform .2s ease
    }

    .sidebar.open {
        transform: translateX(0)
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: #082b2370;
        border: 0;
        z-index: 40
    }

    .main-content {
        margin-left: 0;
        width: 100%
    }

    .topbar {
        height: 62px;
        padding: 0 17px;
        gap: 10px
    }

    .topbar-left {
        gap: 8px;
        font-size: 9px
    }

    .topbar-date {
        font-size: 8px;
        gap: 5px
    }

    .topbar-date>svg {
        display: none
    }

    .content-area {
        padding: 25px 18px
    }

    .app-footer {
        padding: 17px 18px;
        font-size: 7px
    }

    .page-header {
        align-items: flex-start;
        gap: 15px;
        flex-wrap: wrap;
        margin-bottom: 23px
    }

    h1 {
        font-size: 26px
    }

    .page-header p {
        font-size: 10px
    }

    .page-header .eyebrow {
        font-size: 7px;
        letter-spacing: 1.3px
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 22px
    }

    .stat {
        padding: 17px;
        min-height: 128px
    }

    .stat-label {
        font-size: 8px
    }

    .stat-value {
        font-size: 30px;
        margin-top: 13px
    }

    .stat-value.money {
        font-size: 25px
    }

    .stat-value small {
        font-size: 8px
    }

    .stat-note {
        font-size: 7px
    }

    .dashboard-grid {
        gap: 20px
    }

    .panel-header {
        padding: 20px
    }

    .panel-header h2 {
        font-size: 15px
    }

    .panel-header .text-link {
        font-size: 9px
    }

    .appointment-head {
        display: none
    }

    .appointment {
        grid-template-columns: 52px minmax(0, 1fr) 24px;
        gap: 3px 14px;
        padding: 17px 18px
    }

    .appointment-time {
        grid-column: 1;
        grid-row: 1/4;
        align-self: start;
        padding-top: 1px
    }

    .appointment-time strong {
        font-size: 13px
    }

    .appointment-time small {
        font-size: 7px
    }

    .appointment-client {
        grid-column: 2;
        grid-row: 1
    }

    .appointment-client>strong {
        font-size: 11px
    }

    .appointment-client>span {
        font-size: 9px
    }

    .appointment-barber {
        grid-column: 2;
        grid-row: 2;
        font-size: 8px;
        margin-top: 5px
    }

    .appointment>div:nth-of-type(4) {
        grid-column: 2;
        grid-row: 3;
        margin-top: 6px
    }

    .appointment>a {
        grid-column: 3;
        grid-row: 1/4;
        align-self: center
    }

    .appointment .status {
        font-size: 7px;
        padding: 3px 7px
    }

    .agenda-panel {
        min-height: 300px
    }

    .day-aside {
        gap: 12px
    }

    .next-card {
        padding: 20px
    }

    .next-card h2 {
        font-size: 14px
    }

    .next-card p {
        font-size: 9px
    }

    .next-card .next-time {
        font-size: 32px
    }

    .shop-card {
        padding: 20px 15px
    }

    .shop-card p {
        font-size: 9px
    }

    .quick-strip {
        padding: 20px;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px
    }

    .quick-strip>div {
        gap: 13px
    }

    .quick-strip>div>svg {
        width: 18px
    }

    .quick-strip p {
        font-size: 9px
    }

    .filters {
        padding: 18px;
        gap: 13px
    }

    .filters .field {
        min-width: calc(50% - 13px)
    }

    .filters .button {
        min-width: 100px
    }

    .agenda-toolbar {
        align-items: flex-start;
        flex-direction: column
    }

    .agenda-toolbar h2 {
        font-size: 14px
    }

    .agenda-toolbar .button-group {
        align-self: flex-end
    }

    .catalog-grid {
        gap: 13px
    }

    .catalog-card {
        padding: 20px
    }

    .catalog-card h2 {
        font-size: 14px
    }

    .catalog-price {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px
    }

    .catalog-price strong {
        font-size: 16px
    }

    .catalog-card .text-link {
        font-size: 10px
    }

    .form-panel {
        padding: 23px
    }

    .form-grid {
        gap: 0 14px
    }

    .field>label {
        font-size: 9px
    }

    .input {
        font-size: 11px
    }

    .form-actions {
        gap: 10px
    }

    .settings-section {
        padding: 23px
    }

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

    .period-inputs {
        gap: 4px
    }

    .period-inputs>.input {
        padding: 5px;
        font-size: 10px
    }

    .module-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .module-card {
        padding: 24px
    }

    .included-modules {
        padding: 23px;
        gap: 15px 23px
    }

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

    .stats-grid.three .stat {
        min-height: auto
    }

    .split-heading {
        flex-direction: column;
        align-items: flex-start
    }

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

    .media-card>div {
        padding: 12px
    }

    .media-card strong {
        font-size: 9px
    }

    thead th {
        padding: 15px;
        font-size: 7px
    }

    tbody td {
        padding: 16px 15px;
        font-size: 10px;
        white-space: nowrap
    }

    .login-layout {
        grid-template-columns: 1fr;
        min-height: 100svh
    }

    .login-brand {
        padding: 15px 28px;
        min-height: 0;
        max-height: 165px;
        align-items: center;
        justify-content: center;
        overflow: hidden
    }

    .login-brand>.eyebrow,
    .login-brand>div {
        display: none
    }

    .login-brand>img {
        width: 270px;
        max-width: none;
        aspect-ratio: 1;
        margin: -40px 0
    }

    .login-panel {
        padding: 35px 28px 70px;
        justify-content: flex-start
    }

    .login-form {
        max-width: 350px
    }

    .login-form h1 {
        font-size: 34px;
        margin-top: 14px
    }

    .login-form>p {
        margin-bottom: 25px
    }

    .login-address {
        bottom: 20px;
        font-size: 7px
    }

    .login-note {
        margin-top: 23px;
        font-size: 8px
    }

    .notifications {
        right: 12px;
        width: calc(100% - 24px)
    }

    .empty-state {
        padding: 35px 20px
    }

    .blocks-list>div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px
    }
}

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

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

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

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

    .topbar-left>span {
        font-size: 8px
    }

    .stat-value.money {
        font-size: 22px
    }

    .stat {
        padding: 14px
    }

    .button {
        font-size: 10px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important
    }
}

/* Tamanho operacional legível e alvos táteis. */
.brand img {
    transform: scale(1.13)
}

.main-nav>a {
    font-size: 12px
}

.brand-caption {
    font-size: 8px;
    letter-spacing: 1.4px
}

.account strong {
    font-size: 10px
}

.account small {
    font-size: 8px
}

.local-label {
    font-size: 10px
}

.topbar-left {
    font-size: 11px
}

.topbar-date {
    font-size: 10px
}

.timezone {
    font-size: 9px
}

.app-footer {
    font-size: 9px
}

.page-header p {
    font-size: 12px
}

.page-header .eyebrow {
    font-size: 9px
}

.button,
.text-link {
    font-size: 12px
}

.eyebrow {
    font-size: 10px
}

.stat-label {
    font-size: 11px
}

.stat-value small {
    font-size: 10px
}

.stat-note {
    font-size: 10px
}

.panel-header .eyebrow {
    font-size: 9px
}

.appointment-head {
    font-size: 9px;
    letter-spacing: .7px
}

.appointment-time strong {
    font-size: 15px
}

.appointment-time small {
    font-size: 10px
}

.appointment-client>strong {
    font-size: 12px
}

.appointment-client>span {
    font-size: 10px
}

.appointment-client>small {
    font-size: 10px
}

.appointment-barber {
    font-size: 11px
}

.status {
    font-size: 10px
}

.next-card .eyebrow,
.shop-card .eyebrow {
    font-size: 9px
}

.next-card p,
.next-meta,
.next-card .button {
    font-size: 11px
}

.shop-card p {
    font-size: 11px
}

.shop-card h3 {
    font-size: 14px
}

.shop-card .text-link {
    font-size: 11px
}

.quick-strip strong {
    font-size: 12px
}

.quick-strip p {
    font-size: 11px
}

.field>label,
fieldset>legend {
    font-size: 12px
}

.input {
    font-size: 13px
}

.field>small,
.field-error,
.help {
    font-size: 11px
}

.check {
    font-size: 12px
}

.availability p {
    font-size: 11px
}

.slot {
    font-size: 12px;
    min-height: 34px;
    min-width: 53px
}

.catalog-card>p,
.catalog-card .barber-hours,
.catalog-price span {
    font-size: 12px
}

.catalog-card>.help {
    font-size: 11px
}

.days>span {
    font-size: 10px
}

thead th {
    font-size: 10px
}

tbody td {
    font-size: 12px
}

td small {
    font-size: 11px
}

.section-intro p {
    font-size: 12px
}

.period-grid>div>label,
.schedule-day>.check {
    font-size: 11px
}

.included-modules>span {
    font-size: 12px
}

.module-card>p,
.module-card .help {
    font-size: 12px
}

.media-card strong {
    font-size: 12px
}

.media-card small {
    font-size: 10px
}

.login-form>p {
    font-size: 12px
}

.login-form .field>label {
    font-size: 12px
}

.login-note {
    font-size: 10px
}

.login-address {
    font-size: 10px
}

.password-toggle {
    font-size: 11px
}

@media(max-width:1250px) {
    .stat-label {
        font-size: 10px
    }

    .appointment-head {
        font-size: 8px
    }

    .appointment-client>strong {
        font-size: 11px
    }

    .appointment-client>span {
        font-size: 9px
    }

    .appointment-barber {
        font-size: 10px
    }
}

@media(max-width:760px) {
    .button {
        min-height: 44px
    }

    .input {
        font-size: 16px;
        min-height: 44px
    }

    .topbar-left {
        font-size: 10px
    }

    .topbar-date {
        font-size: 9px
    }

    .app-footer {
        font-size: 8px
    }

    .page-header .eyebrow {
        font-size: 9px
    }

    .page-header p {
        font-size: 12px
    }

    .stat-label {
        font-size: 10px;
        line-height: 1.5;
        min-height: 30px
    }

    .stat-note {
        font-size: 9px
    }

    .stat {
        min-height: 140px
    }

    .stat-value small {
        font-size: 9px
    }

    .panel-header .text-link {
        font-size: 11px
    }

    .appointment-client>strong {
        font-size: 13px
    }

    .appointment-client>span {
        font-size: 11px
    }

    .appointment-barber {
        font-size: 11px
    }

    .appointment .status {
        font-size: 10px
    }

    .appointment-time strong {
        font-size: 14px
    }

    .appointment-time small {
        font-size: 10px
    }

    .appointment>a {
        width: 32px;
        min-height: 44px
    }

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

    .next-card p,
    .next-meta {
        font-size: 12px
    }

    .shop-card p {
        font-size: 12px
    }

    .shop-card .text-link {
        font-size: 12px
    }

    .quick-strip p {
        font-size: 11px
    }

    .catalog-card .text-link {
        font-size: 12px
    }

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

    .period-inputs>.input {
        font-size: 15px;
        min-height: 44px;
        padding: 7px 10px
    }

    .period-inputs {
        gap: 12px
    }

    .check {
        min-height: 26px
    }

    .check input {
        width: 18px;
        height: 18px
    }

    .media-card strong {
        font-size: 11px
    }

    .media-card small {
        font-size: 10px
    }

    .login-form .input {
        font-size: 16px
    }

    .login-note {
        font-size: 10px
    }

    .login-address {
        font-size: 9px
    }

    .icon-button {
        min-width: 40px;
        min-height: 40px
    }

    .password-toggle {
        bottom: 14px
    }
}

/* -------------------------------------------------------------
   LANDING PAGE — Da Vila Barbearia
-------------------------------------------------------------- */
.landing-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(22, 141, 102, .18), transparent 30%),
        radial-gradient(circle at top right, rgba(15, 94, 73, .16), transparent 24%),
        linear-gradient(180deg, #041d17 0%, #062821 20%, #f4f1ea 20.05%, #f7f5ef 100%);
    color: #112d23;
}

.landing-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(4, 29, 23, .72);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

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

.landing-brand img,
.landing-footer-logo {
    display: block;
    width: auto;
    height: 52px;
    object-fit: contain;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-nav a {
    color: rgba(255,255,255,.86);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
}

.landing-nav a:hover { color: white; }

.landing-primary-button,
.landing-secondary-button,
.landing-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    border: 1px solid transparent;
}

.landing-primary-button {
    background: linear-gradient(135deg, #16a16f, #0e7a54);
    color: white;
    box-shadow: 0 16px 28px rgba(7, 85, 56, .28);
}

.landing-primary-button:hover {
    color: white;
    transform: translateY(-1px);
}

.landing-secondary-button,
.landing-outline-button {
    background: rgba(255,255,255,.06);
    color: white;
    border-color: rgba(255,255,255,.16);
}

.landing-secondary-button:hover,
.landing-outline-button:hover {
    color: white;
    background: rgba(255,255,255,.12);
}

.landing-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    color: white;
}

.landing-hero {
    padding: 54px 0 34px;
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 34px;
    align-items: center;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #b9ead7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.landing-hero-copy {
    color: white;
    padding: 18px 0;
}

.landing-hero-copy h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -2.8px;
    margin-bottom: 18px;
}

.landing-lead {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.55;
    color: rgba(255,255,255,.95);
    max-width: 620px;
    margin-bottom: 14px;
}

.landing-subcopy {
    font-size: 15px;
    color: rgba(255,255,255,.78);
    max-width: 620px;
    margin-bottom: 28px;
}

.landing-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.landing-stat-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.landing-stat-pill {
    min-width: 118px;
    padding: 14px 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.08);
}

.landing-stat-pill strong {
    display: block;
    font-size: 22px;
    color: white;
    line-height: 1.1;
}

.landing-stat-pill span {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.76);
    font-size: 11px;
}

.landing-hero-visual {
    position: relative;
}

.landing-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    box-shadow: 0 24px 60px rgba(0,0,0,.26);
}

.landing-hero-photo {
    min-height: 640px;
}

.landing-hero-photo img {
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.02);
}

.landing-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,29,23,.10), rgba(4,29,23,.58));
}

.landing-floating-card {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    width: min(320px, calc(100% - 36px));
    padding: 22px;
    border-radius: 26px;
    background: rgba(7, 28, 22, .82);
    border: 1px solid rgba(255,255,255,.10);
    color: white;
}

.landing-floating-label {
    display: block;
    margin-bottom: 10px;
    color: #8ae4be;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.landing-floating-card strong {
    display: block;
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.landing-floating-card p {
    font-size: 13px;
    color: rgba(255,255,255,.74);
}

.landing-features,
.landing-section {
    padding: 28px 0 46px;
}

.landing-soft-section {
    background: linear-gradient(180deg, rgba(6,39,31,.03), rgba(6,39,31,.00));
}

.landing-feature-grid,
.landing-card-grid,
.landing-contact-grid {
    display: grid;
    gap: 18px;
}

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

.landing-info-card,
.landing-service-card,
.landing-team-card,
.landing-panel-card,
.landing-video-card,
.landing-video-main,
.landing-gallery-card,
.landing-cta-card,
.contact-card {
    border-radius: 28px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(8, 67, 47, .10);
    box-shadow: 0 16px 50px rgba(14, 45, 35, .08);
}

.landing-info-card {
    padding: 24px;
}

.landing-info-card h2,
.landing-section-heading h2,
.landing-panel-card h3,
.landing-cta-card h2,
.contact-card h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -1.4px;
    color: #0f2f26;
}

.landing-info-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.landing-info-card p,
.landing-section-heading p,
.landing-service-card p,
.landing-video-copy p,
.landing-video-card p,
.landing-team-card p,
.landing-panel-card p,
.contact-card p,
.landing-cta-card p,
.landing-gallery-card figcaption {
    color: #5d6f66;
    font-size: 14px;
}

.landing-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(22,161,111,.16), rgba(14,122,84,.10));
    color: #0d6b4a;
    margin-bottom: 16px;
}

.landing-icon-wrap.small {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    margin-bottom: 0;
}

.landing-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.landing-section-heading.compact {
    display: block;
}

.landing-section-heading h2 {
    margin-bottom: 0;
}

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

.landing-service-card {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.landing-service-top,
.landing-service-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.landing-service-duration {
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf7f2;
    color: #0f6f4d;
    font-size: 11px;
    font-weight: 700;
}

.landing-service-card h3,
.landing-video-copy h3,
.landing-video-card h3,
.landing-team-card h3,
.landing-panel-card h3 {
    font-size: 22px;
    line-height: 1.15;
    color: #163228;
}

.landing-service-bottom strong {
    font-size: 24px;
    color: #08432f;
}

.landing-service-bottom a {
    color: #0f7a54;
    font-size: 12px;
    font-weight: 700;
}

.landing-video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 18px;
}

.landing-video-main,
.landing-video-card {
    overflow: hidden;
}

.landing-video-main video,
.landing-video-card video {
    width: 100%;
    display: block;
    background: #081b16;
}

.landing-video-main video {
    max-height: 560px;
    object-fit: cover;
}

.landing-video-card video {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.landing-video-copy,
.landing-video-card > div {
    padding: 18px 20px 22px;
}

.landing-video-stack {
    display: grid;
    gap: 18px;
}

.landing-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 18px;
    align-items: start;
}

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

.landing-team-card,
.landing-panel-card,
.contact-card,
.landing-cta-card {
    padding: 24px;
}

.landing-team-avatar {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(180deg, #e8f8f0, #d9f2e6);
    color: #0e724f;
    margin-bottom: 16px;
}

.landing-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.landing-tag-list span,
.landing-schedule-row span:first-child {
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef7f2;
    color: #275847;
    font-size: 11px;
    font-weight: 600;
}

.landing-schedule-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 22px;
}

.landing-schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fbf9;
}

.landing-schedule-row strong {
    color: #153429;
    font-size: 13px;
}

.landing-schedule-row span {
    text-align: right;
    color: #5e7268;
    font-size: 12px;
}

.landing-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 18px;
}

.landing-gallery-card {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.landing-gallery-card.wide {
    grid-column: span 2;
}

.landing-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.landing-gallery-card:hover img {
    transform: scale(1.035);
}

.landing-gallery-card figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(10px);
}

.landing-contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
}

.landing-contact-actions,
.landing-cta-note,
.landing-footer-inner,
.landing-footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-cta-note {
    margin-top: 20px;
    color: #2d5b4a;
    font-size: 12px;
    font-weight: 700;
}

.landing-footer {
    padding: 10px 0 36px;
}

.landing-footer-inner {
    justify-content: space-between;
    padding: 24px 28px;
    border-radius: 26px;
    background: #0a2e24;
    color: rgba(255,255,255,.72);
}

.landing-footer-links a { color: rgba(255,255,255,.86); }
.landing-footer-links a:hover { color: white; }
.full { width: 100%; }

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

    .landing-video-grid,
    .landing-two-column,
    .landing-contact-grid,
    .landing-hero-grid,
    .landing-feature-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-photo,
    .landing-hero-photo img {
        min-height: 520px;
    }
}

@media (max-width: 860px) {
    .landing-menu-button { display: inline-flex; align-items: center; justify-content: center; }
    .landing-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 26px;
        background: rgba(5, 31, 24, .98);
        border: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 24px 60px rgba(0,0,0,.26);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
    }
    .landing-nav[data-open='true'] {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .landing-nav a { width: 100%; }
    .landing-topbar { position: relative; }
    .landing-hero { padding-top: 30px; }
    .landing-section-heading { display: block; }
}

@media (max-width: 640px) {
    .landing-container {
        width: min(100% - 20px, 1180px);
    }

    .landing-topbar {
        min-height: 74px;
    }

    .landing-brand img,
    .landing-footer-logo {
        height: 46px;
    }

    .landing-hero-copy h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .landing-lead {
        font-size: 17px;
    }

    .landing-actions,
    .landing-contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-primary-button,
    .landing-secondary-button,
    .landing-outline-button {
        width: 100%;
    }

    .landing-stat-row,
    .landing-feature-grid,
    .services-grid,
    .landing-team-grid,
    .landing-gallery-grid {
        grid-template-columns: 1fr;
    }

    .landing-gallery-grid {
        grid-auto-rows: 260px;
    }

    .landing-gallery-card.wide {
        grid-column: span 1;
    }

    .landing-info-card,
    .landing-service-card,
    .landing-team-card,
    .landing-panel-card,
    .landing-video-card,
    .landing-video-main,
    .landing-cta-card,
    .contact-card,
    .landing-footer-inner {
        border-radius: 24px;
    }

    .landing-hero-photo,
    .landing-hero-photo img {
        min-height: 400px;
    }

    .landing-floating-card {
        position: static;
        width: calc(100% - 20px);
        margin: -30px auto 12px;
    }

    .landing-footer-inner {
        align-items: flex-start;
    }
}
