:root {
  --background: #f7f3ef;
  --background-soft: #fffaf7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #201712;
  --text-soft: #5d4f49;
  --accent: #b97a6d;
  --accent-deep: #8f5a50;
  --accent-light: #f1dfd8;
  --border: rgba(120, 85, 77, 0.14);
  --shadow: 0 24px 60px rgba(58, 29, 21, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(180deg, #fff8f4 0%, var(--background) 48%, #f5ede7 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

main {
  min-height: calc(100vh - 240px);
}

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

.section {
  padding: 5.5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.25));
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.2rem;
}

p,
li,
span {
  color: var(--text-soft);
}

strong,
label,
summary,
h1,
h2,
h3 {
  color: var(--text);
}

.hidden {
  display: none !important;
}

.subtle-copy {
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(255, 250, 247, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-dot {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #e4beb3);
  box-shadow: 0 0 0 6px rgba(185, 122, 109, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-link {
  position: relative;
  color: var(--text-soft);
  font-weight: 600;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: white;
  box-shadow: 0 16px 30px rgba(143, 90, 80, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--border);
  color: var(--text);
}

.button-large {
  padding-inline: 1.7rem;
  min-height: 54px;
}

.hero-section {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(26, 14, 10, 0.3), rgba(26, 14, 10, 0.58)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.6rem;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.glass-panel,
.glass-card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-copy {
  width: min(760px, 100%);
  padding: 2rem;
  border-radius: 34px;
}

.hero-copy h1,
.hero-copy p,
.highlight-card h3,
.highlight-card p {
  color: white;
}

.hero-copy p:last-child {
  max-width: 52ch;
}

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

.highlight-card {
  padding: 1.25rem;
  border-radius: 24px;
}

.hero-actions {
  padding-top: 0.3rem;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 2.4rem;
}

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

.split-callout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.split-copy,
.split-panel-card,
.card-surface,
.service-card,
.faq-item,
.contact-form,
.admin-panel,
.gallery-card,
.admin-card,
.page-hero-panel,
.stat-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-copy {
  padding: 2.25rem;
}

.split-panel {
  position: relative;
  min-height: 340px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(185, 122, 109, 0.18), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(185, 122, 109, 0.15);
}

.accent-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.accent-one {
  width: 190px;
  height: 190px;
  top: 18px;
  left: 12px;
  background: rgba(185, 122, 109, 0.25);
}

.accent-two {
  width: 230px;
  height: 230px;
  right: -20px;
  bottom: -40px;
  background: rgba(241, 223, 216, 0.9);
}

.split-panel-card {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  width: min(390px, calc(100% - 2.8rem));
  padding: 1.5rem;
}

.service-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.service-card {
  position: relative;
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover,
.gallery-card:hover,
.admin-card:hover {
  transform: translateY(-4px);
}

.service-badge {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-deep);
  font-weight: 800;
}

.faq-shell {
  max-width: 920px;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.25rem 1.35rem;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  font-size: 1.35rem;
  color: var(--accent-deep);
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 1rem 0 0;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-hero {
  padding: 5rem 0 2rem;
}

.page-hero-panel {
  padding: 2.2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 245, 0.85));
}

.page-hero-panel p:last-child {
  max-width: 65ch;
}

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

.gallery-card {
  overflow: hidden;
}

.gallery-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.gallery-copy {
  padding: 1.3rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.4rem;
}

.about-story {
  padding: 2rem;
}

.about-values {
  display: grid;
  gap: 1rem;
}

.form-shell {
  max-width: 1120px;
}

.contact-form {
  padding: 2rem;
}

.form-intro {
  margin-bottom: 2rem;
}

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

.form-span-2 {
  grid-column: span 2;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 700;
}

label span {
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(93, 79, 73, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(185, 122, 109, 0.7);
  box-shadow: 0 0 0 4px rgba(185, 122, 109, 0.12);
  background: white;
}

textarea {
  resize: vertical;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.availability-block {
  padding: 1.4rem;
  margin: 1.6rem 0;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(250, 242, 238, 0.95), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(185, 122, 109, 0.18);
}

.availability-header {
  margin-bottom: 1rem;
}

.availability-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.calendar-panel,
.time-panel {
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(93, 79, 73, 0.12);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.calendar-header h3,
.time-panel h3 {
  margin-bottom: 0;
}

.calendar-nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
}

.calendar-weekdays {
  margin-bottom: 0.55rem;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.calendar-day {
  position: relative;
  min-height: 68px;
  padding: 0.75rem 0.4rem;
  border-radius: 18px;
  border: 1px solid rgba(93, 79, 73, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(185, 122, 109, 0.35);
}

.calendar-day:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.calendar-day-muted {
  background: rgba(255, 255, 255, 0.55);
}

.calendar-day-selected {
  background: linear-gradient(160deg, var(--accent-light), rgba(255, 255, 255, 0.95));
  border-color: rgba(143, 90, 80, 0.4);
}

.calendar-day-busy {
  border-color: rgba(185, 122, 109, 0.28);
}

.calendar-day-today {
  box-shadow: inset 0 0 0 2px rgba(185, 122, 109, 0.22);
}

.calendar-dot {
  position: absolute;
  left: 0.65rem;
  bottom: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-deep);
}

.availability-copy,
.calendar-empty,
.calendar-warning,
.busy-list-title {
  font-size: 0.95rem;
}

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

.busy-list {
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 18px;
  background: rgba(241, 223, 216, 0.36);
}

.busy-list ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.feedback-stack {
  display: grid;
  gap: 0.75rem;
}

.calendar-warning {
  color: #9a4337;
  font-weight: 600;
}

.form-message {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  font-weight: 700;
}

.form-success {
  background: rgba(97, 185, 142, 0.12);
  color: #1f6c4d;
}

.form-error {
  background: rgba(204, 87, 87, 0.12);
  color: #8f3030;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-note {
  max-width: 46ch;
  margin-bottom: 0;
}

.site-footer {
  padding: 1.6rem 0 2.2rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(93, 79, 73, 0.12);
}

.footer-socials,
.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(93, 79, 73, 0.12);
  transition: transform 160ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-copy {
  margin-bottom: 0;
}

.setup-notice {
  margin-bottom: 1rem;
}

.admin-login-page,
.admin-page {
  padding-top: 4rem;
}

.admin-login-shell {
  display: flex;
  justify-content: center;
}

.admin-login-panel {
  max-width: 720px;
  width: 100%;
}

.admin-login-form,
.dashboard-search {
  display: grid;
  gap: 1rem;
}

.admin-shell {
  display: grid;
  gap: 1.4rem;
}

.topbar-actions,
.admin-topbar,
.admin-stats,
.admin-layout {
  display: grid;
  gap: 1rem;
}

.topbar-actions {
  grid-auto-flow: column;
  align-content: start;
}

.admin-topbar {
  grid-template-columns: 1fr auto;
  align-items: center;
}

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

.stat-card {
  padding: 1.35rem;
}

.stat-card span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text-soft);
  font-weight: 700;
}

.stat-card strong {
  font-size: 2rem;
}

.admin-layout {
  grid-template-columns: 310px 1fr;
  align-items: start;
}

.admin-sidebar,
.admin-main {
  display: grid;
  gap: 1rem;
}

.admin-panel {
  padding: 1.35rem;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-pill {
  border: 1px solid rgba(93, 79, 73, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: white;
  border-color: transparent;
}

.upcoming-list {
  display: grid;
  gap: 0.85rem;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.upcoming-list li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(93, 79, 73, 0.08);
}

.admin-card {
  padding: 1.4rem;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.admin-card-meta {
  display: grid;
  gap: 0.25rem;
  text-align: right;
  color: var(--text-soft);
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.4rem 0.8rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pending {
  background: rgba(255, 203, 112, 0.22);
  color: #8a5b02;
}

.status-confirmed {
  background: rgba(97, 185, 142, 0.18);
  color: #1f6c4d;
}

.status-completed {
  background: rgba(90, 143, 211, 0.16);
  color: #244f89;
}

.status-declined,
.status-cancelled {
  background: rgba(204, 87, 87, 0.14);
  color: #8f3030;
}

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

.notes-field {
  margin-bottom: 1rem;
}

.admin-actions,
.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .service-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-highlights,
  .service-grid,
  .service-grid-5,
  .gallery-grid,
  .admin-stats,
  .admin-card-grid,
  .time-select-grid,
  .form-grid,
  .availability-shell,
  .about-layout,
  .split-callout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .contact-cta,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    grid-auto-flow: row;
  }

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

  .admin-card-header {
    flex-direction: column;
  }

  .admin-card-meta {
    text-align: left;
  }

  .form-span-2 {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .mobile-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-section {
    min-height: 78vh;
  }

  .hero-copy {
    padding: 1.5rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

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

  .contact-form,
  .split-copy,
  .admin-card,
  .page-hero-panel,
  .about-story,
  .admin-panel,
  .stat-card {
    padding: 1.25rem;
  }

  .calendar-grid {
    gap: 0.38rem;
  }

  .calendar-day {
    min-height: 58px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
