:root {
  --ink: #201c1a;
  --muted: #706863;
  --paper: #f7f3ed;
  --paper-deep: #eee6dc;
  --white: #fffdf9;
  --accent: #a9553d;
  --accent-dark: #803a28;
  --sage: #6e7c65;
  --line: rgba(32, 28, 26, 0.13);
  --shadow: 0 24px 70px rgba(54, 37, 29, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-style: italic;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a,
.text-link {
  position: relative;
  font-weight: 600;
}

.desktop-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(169, 85, 61, 0.22);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--accent-dark);
  box-shadow: 0 14px 30px rgba(128, 58, 40, 0.28);
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-small {
  min-height: 42px;
  padding: 0 19px;
  font-size: 14px;
}

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.button-light:hover {
  color: var(--white);
}

.button-full {
  width: 100%;
}

.header-actions,
.panel-user {
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-link {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 24px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(64px, 7.2vw, 108px);
}

h2 {
  font-size: clamp(42px, 5vw, 70px);
}

h1 em,
h2 em {
  color: var(--accent);
  font-weight: 500;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
}

.text-link {
  color: var(--accent-dark);
}

.trust-row {
  display: flex;
  margin-top: 52px;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.trust-row span:not(:first-child)::before {
  margin-right: 20px;
  content: "·";
  color: var(--accent);
}

.hero-visual {
  position: relative;
}

.image-frame {
  overflow: hidden;
  border-radius: 180px 180px 24px 24px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  min-height: 570px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  bottom: 34px;
  left: -42px;
  display: grid;
  min-width: 265px;
  padding: 20px 24px;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  font-size: 13px;
}

.floating-card strong {
  grid-column: 2;
  font-size: 14px;
}

.availability-dot {
  width: 9px;
  height: 9px;
  grid-row: 1 / 3;
  border-radius: 50%;
  background: #4e9c61;
  box-shadow: 0 0 0 5px rgba(78, 156, 97, 0.15);
}

.social-proof {
  display: flex;
  padding: 28px max(20px, calc((100% - 1180px) / 2));
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-style: italic;
}

.social-proof p {
  margin: 0;
}

.section {
  width: min(1180px, calc(100% - 40px));
  padding: 120px 0;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  margin-bottom: 55px;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
  align-items: end;
}

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

.section-heading > p {
  margin-bottom: 8px;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 30px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.72);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(169, 85, 61, 0.45);
  box-shadow: 0 20px 45px rgba(54, 37, 29, 0.09);
  transform: translateY(-5px);
}

.service-number {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(32, 28, 26, 0.15);
  font-family: "Playfair Display", serif;
  font-size: 55px;
}

.service-category {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 80%;
  margin: 25px 0 14px;
  font-family: "Playfair Display", serif;
  font-size: 29px;
  line-height: 1.1;
}

.service-card > p:not(.service-category) {
  color: var(--muted);
}

.service-meta {
  display: flex;
  padding-top: 18px;
  margin-top: auto;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.service-card > a {
  margin-top: 18px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.experience {
  display: grid;
  padding: 100px max(20px, calc((100% - 1180px) / 2));
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  color: var(--white);
  background: var(--accent-dark);
}

.experience .eyebrow {
  color: #e8b9a8;
}

.experience-copy > p:not(.eyebrow) {
  max-width: 530px;
  color: rgba(255, 255, 255, 0.7);
}

.experience-steps > div {
  display: grid;
  padding: 24px 0;
  grid-template-columns: 55px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-steps span {
  grid-row: 1 / 3;
  color: #e8b9a8;
  font-family: "Playfair Display", serif;
  font-size: 25px;
}

.experience-steps strong {
  font-size: 19px;
}

.experience-steps p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.team-section {
  padding-bottom: 80px;
}

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

.team-card {
  display: flex;
  padding: 24px;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.team-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 25px;
}

.team-card h3,
.team-card p {
  margin: 0;
}

.team-card h3 {
  font-size: 15px;
}

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

.final-cta {
  width: min(950px, calc(100% - 40px));
  padding: 85px 30px 110px;
  margin: 0 auto;
  text-align: center;
}

.final-cta p:not(.eyebrow) {
  max-width: 570px;
  margin: 0 auto 30px;
  color: var(--muted);
}

footer {
  display: grid;
  min-height: 160px;
  padding: 40px max(20px, calc((100% - 1180px) / 2));
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  font-size: 13px;
}

footer p {
  margin: 0;
}

.brand-light {
  color: white;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.notice {
  padding: 20px;
  border: 1px solid rgba(169, 85, 61, 0.25);
  border-radius: 14px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.55);
}

.booking-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(169, 85, 61, 0.11), transparent 32%),
    radial-gradient(circle at 90% 85%, rgba(110, 124, 101, 0.12), transparent 30%),
    var(--paper);
}

.booking-shell {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  padding: 70px 0 100px;
  margin: 0 auto;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 75px;
  align-items: start;
}

.booking-intro {
  position: sticky;
  top: 40px;
  padding-top: 40px;
}

.booking-intro h1 {
  font-size: clamp(56px, 6.5vw, 86px);
}

.booking-intro > p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
  font-size: 17px;
}

.booking-promise {
  display: grid;
  padding: 22px 0;
  margin-top: 45px;
  gap: 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.booking-promise span {
  color: var(--muted);
  font-size: 13px;
}

.booking-card {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.booking-progress {
  display: flex;
  max-width: 310px;
  margin: 0 auto 38px;
  align-items: center;
}

.booking-progress span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  font-weight: 700;
}

.booking-progress span.active {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}

.booking-progress i {
  height: 1px;
  flex: 1;
  background: var(--line);
}

fieldset {
  padding: 0 0 32px;
  margin: 0 0 32px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

legend {
  margin-bottom: 22px;
  font-family: "Playfair Display", serif;
  font-size: 27px;
  font-weight: 600;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  margin-bottom: 17px;
  gap: 7px;
}

label > span {
  font-size: 13px;
  font-weight: 700;
}

label small {
  color: var(--muted);
  font-weight: 400;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: white;
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(169, 85, 61, 0.1);
}

.time-slots {
  display: grid;
  min-height: 54px;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.time-slots > p {
  grid-column: 1 / -1;
  margin: 10px 0;
  color: var(--muted);
  font-size: 14px;
}

.time-slot {
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

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

.form-message {
  min-height: 24px;
  margin-bottom: 12px;
  font-size: 14px;
}

.form-message.error {
  color: #a12f2f;
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.booking-success {
  padding: 45px 10px 20px;
  text-align: center;
}

.booking-success h2 {
  margin-top: 22px;
  font-size: 46px;
}

.booking-success p {
  margin-bottom: 30px;
  color: var(--muted);
}

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(169, 85, 61, 0.14), transparent 34%),
    radial-gradient(circle at 85% 85%, rgba(110, 124, 101, 0.13), transparent 34%),
    var(--paper);
}

.auth-shell {
  width: min(520px, calc(100% - 32px));
  padding: 42px 0 80px;
  margin: 0 auto;
}

.auth-shell-wide {
  width: min(720px, calc(100% - 32px));
}

.auth-card {
  padding: 42px;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 62px);
}

.auth-lead,
.password-help {
  color: var(--muted);
}

.password-help {
  margin: -5px 0 20px;
  font-size: 12px;
}

.auth-switch,
.auth-back {
  display: block;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.auth-switch a,
.auth-back {
  color: var(--accent-dark);
  font-weight: 700;
}

.panel-body {
  min-height: 100vh;
  background: #f4f0ea;
}

.panel-header {
  display: flex;
  min-height: 76px;
  padding: 0 max(20px, calc((100% - 1180px) / 2));
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

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

.panel-user form {
  margin: 0;
}

.panel-user button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.panel-shell {
  width: min(1180px, calc(100% - 40px));
  padding: 70px 0 100px;
  margin: 0 auto;
}

.panel-title {
  display: flex;
  margin-bottom: 42px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.panel-title h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
}

.metric-grid {
  display: grid;
  margin: 28px 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-grid article {
  display: grid;
  padding: 25px;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.metric-grid span {
  color: var(--muted);
  font-size: 13px;
}

.metric-grid strong {
  font-family: "Playfair Display", serif;
  font-size: 42px;
}

.panel-card {
  padding: 30px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 15px 40px rgba(54, 37, 29, 0.06);
}

.panel-card h2 {
  margin-bottom: 25px;
  font-size: 34px;
}

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

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

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

th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

td {
  font-size: 14px;
}

.status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(169, 85, 61, 0.1);
  font-size: 11px;
  font-weight: 700;
}

.status-confirmada,
.status-finalizada {
  color: #326342;
  background: rgba(78, 156, 97, 0.13);
}

.empty-state {
  padding: 45px 20px;
  color: var(--muted);
  text-align: center;
}

.empty-state a {
  color: var(--accent-dark);
  font-weight: 700;
}

.admin-title {
  margin-bottom: 25px;
}

.admin-tabs {
  display: flex;
  margin-bottom: 28px;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.admin-tabs a {
  padding: 13px 20px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.admin-tabs a.active {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.admin-flash {
  padding: 15px 18px;
  margin-bottom: 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.admin-flash.success {
  color: #326342;
  background: rgba(78, 156, 97, 0.13);
}

.admin-flash.error {
  color: #8f2f2f;
  background: rgba(173, 58, 58, 0.11);
}

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

.money-metric {
  font-size: 30px !important;
}

.card-heading {
  display: flex;
  margin-bottom: 26px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.card-heading h2,
.card-heading .eyebrow {
  margin-bottom: 0;
}

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

.company-overview-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
}

.company-overview-grid h3,
.admin-company h3,
.admin-user h3 {
  margin: 13px 0 5px;
  font-family: "Playfair Display", serif;
  font-size: 23px;
}

.company-overview-grid p,
.admin-company p,
.admin-user p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-create {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(54, 37, 29, 0.05);
}

.admin-create > summary,
.admin-company summary,
.admin-user summary {
  padding: 18px 22px;
  color: var(--accent-dark);
  font-weight: 700;
  cursor: pointer;
}

.admin-form {
  padding: 6px 22px 25px;
}

.admin-form.compact {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-company-list,
.admin-user-list {
  display: grid;
  gap: 14px;
}

.admin-company,
.admin-user {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
}

.admin-company-main,
.admin-user {
  display: flex;
  padding: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.outline-button {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.outline-button:hover {
  border-color: var(--accent);
  background: rgba(169, 85, 61, 0.07);
}

.admin-user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-user-actions form {
  margin: 0;
}

.admin-user-actions details {
  position: relative;
}

.admin-user-actions details > summary {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  list-style: none;
  font-size: 13px;
}

.password-reset-form {
  position: absolute;
  z-index: 5;
  top: 48px;
  right: 0;
  display: flex;
  width: 340px;
  padding: 14px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.company-panel-shell {
  max-width: 1440px;
}

.company-context {
  display: flex;
  margin-bottom: 22px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.company-context h1 {
  margin: 6px 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 62px);
}

.company-context p {
  margin: 0;
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.company-switcher {
  width: min(320px, 100%);
}

.company-switcher span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-tabs {
  padding-bottom: 1px;
}

.result-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.company-data-table td {
  vertical-align: middle;
}

.company-data-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.status-form select {
  min-width: 145px;
  min-height: 38px;
  padding: 7px 30px 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.success-mark {
  display: inline-grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--sage);
  font-size: 13px;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.card-heading-reservas {
  align-items: flex-start;
}

.reservation-tabs {
  display: flex;
  margin-top: 16px;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.reservation-tabs a {
  padding: 10px 16px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.reservation-tabs a.active {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.overdue-widget {
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(217, 128, 44, 0.35);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff6ec 0%, #ffffff 100%);
}

.overdue-heading {
  display: flex;
  margin-bottom: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.overdue-heading strong {
  color: #8a4a12;
  font-family: "Playfair Display", serif;
  font-size: 20px;
}

.overdue-heading span {
  color: #b96f26;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.overdue-row {
  display: flex;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(217, 128, 44, 0.25);
  border-radius: 14px;
  background: #fff;
}

.overdue-title {
  margin: 0 0 4px;
  color: #2f1f15;
  font-size: 14px;
  font-weight: 600;
}

.overdue-title strong {
  color: var(--accent-dark);
  font-weight: 800;
}

.overdue-sub {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b96f26;
  font-size: 12px;
  font-weight: 700;
}

.overdue-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.overdue-actions form {
  margin: 0;
}

.button-success {
  background: #4e9c61;
  border-color: #4e9c61;
  color: #fff;
}

.button-success:hover {
  background: #3f8551;
  border-color: #3f8551;
}

.button-danger {
  background: #c04848;
  border-color: #c04848;
  color: #fff;
}

.button-danger:hover {
  background: #a33b3b;
  border-color: #a33b3b;
}

.panel-card table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .hero,
  .booking-shell,
  .experience {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0;
  }

  .hero-visual {
    width: min(650px, 100%);
    margin: 0 auto;
  }

  .image-frame img {
    min-height: 460px;
  }

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

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

  .booking-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    min-height: 72px;
  }

  .site-header .button-small {
    min-height: 38px;
    padding: 0 14px;
  }

  .brand > span:last-child {
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero,
  .section,
  .booking-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
    gap: 45px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-actions,
  .trust-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-row {
    gap: 8px;
  }

  .trust-row span:not(:first-child)::before {
    display: none;
  }

  .image-frame {
    border-radius: 100px 100px 18px 18px;
  }

  .image-frame img {
    min-height: 370px;
  }

  .floating-card {
    right: 14px;
    bottom: 15px;
    left: 14px;
    min-width: 0;
  }

  .social-proof {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading,
  .service-grid,
  .team-grid,
  .field-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading {
    gap: 25px;
  }

  .experience {
    padding-top: 75px;
    padding-bottom: 75px;
    gap: 45px;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-light,
  .footer-links {
    justify-content: center;
  }

  .booking-shell {
    padding-top: 35px;
    gap: 35px;
  }

  .booking-intro {
    padding-top: 10px;
  }

  .booking-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .header-actions {
    gap: 10px;
  }

  .site-header .login-link {
    display: none;
  }

  .auth-card {
    padding: 30px 20px;
  }

  .panel-header {
    padding: 0 14px;
  }

  .panel-user > span {
    display: none;
  }

  .panel-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 45px;
  }

  .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .metric-grid-four,
  .company-overview-grid {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    overflow-x: auto;
  }

  .admin-tabs a {
    padding-right: 14px;
    padding-left: 14px;
    white-space: nowrap;
  }

  .card-heading,
  .admin-company-main,
  .admin-user {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-user-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .password-reset-form {
    right: auto;
    left: 0;
    width: min(340px, calc(100vw - 58px));
    flex-direction: column;
  }

  .company-context {
    align-items: stretch;
    flex-direction: column;
  }

  .company-switcher {
    width: 100%;
  }

  .panel-card {
    padding: 20px 15px;
  }

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

details.admin-danger > summary {
  color: #b91c1c;
  font-weight: 600;
}
details.admin-danger[open] > summary {
  background: #fef2f2;
  border-color: #fecaca;
  border-radius: 8px;
}
.danger-box {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  border-radius: 10px;
  color: #7f1d1d;
  font-size: 0.9rem;
  line-height: 1.5;
}
.danger-box p { margin: 0; }
.danger-box strong { color: #b91c1c; }
.danger-box em { font-style: normal; opacity: 0.85; }
