:root {
  --bg: #e9e1d8;
  --bg-soft: #f6f1eb;
  --panel: rgba(255, 255, 255, 0.52);
  --panel-strong: rgba(255, 255, 255, 0.72);
  --text: #171513;
  --muted: #6f665e;
  --line: rgba(23, 21, 19, 0.08);
  --accent: #c8b19b;
  --accent-dark: #b5967d;
  --shadow: 0 18px 60px rgba(30, 22, 16, 0.08);
  --shadow-soft: 0 10px 30px rgba(30, 22, 16, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1200px;
  --transition: 0.28s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.75), transparent 28%),
    radial-gradient(circle at top right, rgba(255,255,255,0.38), transparent 18%),
    linear-gradient(135deg, #ece4dc 0%, #e6ddd4 40%, #ded2c5 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.5) 38%, transparent 44%),
    radial-gradient(circle at 20% 70%, rgba(176, 148, 122, 0.08), transparent 18%);
  mix-blend-mode: soft-light;
}

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

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

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

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

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

.glass-inner {
  background: var(--panel-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: var(--shadow-soft);
}

.fade-up,
.fade-in {
  opacity: 0;
  will-change: transform, opacity;
}

.fade-up {
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
  transition: opacity 1s ease;
}

.fade-up.show,
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255,255,255,0.34);
  color: var(--text);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), filter var(--transition);
}

.btn {
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 30px rgba(100, 78, 58, 0.18);
}

.btn:hover,
.btn:focus-visible,
.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.45);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero {
  padding: 18px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.service-card,
.booking-demo,
.footer-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -22% -10%;
  height: 240px;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.72), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.25));
  transform: rotate(-4deg);
}

.eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-copy h1,
.section-header h2,
.booking-demo-top h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-copy h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
}

.hero-copy p,
.section-header p,
.booking-demo-result,
.service-info p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  position: relative;
  z-index: 1;
  margin: 20px 0 30px;
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 20px);
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #d8cec3, #c8bcb0 60%, #ebe4dc 100%);
}

.portrait-card {
  position: absolute;
  inset: 28px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 18%, rgba(255,255,255,0.34), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.08)),
    linear-gradient(145deg, #ddd4cb, #c8bbb0 60%, #b9aa9d);
}

.section-space {
  padding: 28px 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: 10px;
}

.services {
  position: relative;
  z-index: 1;
}

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

.service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-image {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f1ebe4;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-image:hover,
.service-image:focus-visible {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(30, 22, 16, 0.12);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-info h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.service-info p {
  margin: 0;
  font-size: 13px;
}

.price-chip {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.booking-section {
  position: relative;
  z-index: 1;
}

.booking-demo {
  padding: 22px;
}

.booking-demo-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.booking-demo-top h3 {
  font-size: clamp(28px, 3vw, 40px);
  margin-top: 6px;
}

.booking-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-step-pill {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.booking-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.booking-service {
  padding: 14px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.48);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.booking-service:hover,
.booking-service:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.76);
}

.booking-service.active {
  background: rgba(200,177,155,0.22);
  border-color: rgba(181, 150, 125, 0.35);
  box-shadow: 0 10px 24px rgba(100, 78, 58, 0.08);
}

.booking-service-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.booking-service-price {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  gap: 16px;
  align-items: start;
}

.booking-panel,
.booking-summary {
  border-radius: 24px;
}

.booking-panel {
  padding: 18px;
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(255,255,255,0.35);
}

.booking-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.booking-panel-head h4 {
  margin: 0;
  font-size: 18px;
}

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

.booking-days,
.booking-times {
  display: grid;
  gap: 10px;
}

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

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

.booking-day,
.booking-time {
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.58);
  color: var(--text);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.booking-day:hover,
.booking-time:hover,
.booking-day:focus-visible,
.booking-time:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.85);
}

.booking-day.active,
.booking-time.active {
  background: rgba(200,177,155,0.24);
  border-color: rgba(181,150,125,0.35);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(100, 78, 58, 0.08);
}

.booking-summary {
  padding: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row:last-of-type {
  margin-bottom: 8px;
}

.summary-row span {
  color: var(--muted);
  font-size: 14px;
}

.summary-row strong {
  text-align: right;
  font-size: 15px;
  line-height: 1.4;
}

.booking-confirm-btn {
  width: 100%;
  margin-top: 18px;
}

.booking-confirm-btn.is-success {
  background: linear-gradient(180deg, #b59f89, #9e856d);
}

.booking-demo-result {
  margin: 14px 0 0;
  font-size: 14px;
}

.site-footer {
  padding: 10px 0 44px;
}

.footer-card {
  padding: 20px 24px;
  text-align: center;
}

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

/* IMAGE MODAL */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.image-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 14, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.image-modal-content {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  max-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalZoom 0.25s ease;
}

.image-modal-img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  background: #fff;
}

.image-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #171513;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-close:hover,
.image-modal-close:focus-visible {
  transform: scale(1.05);
}

@keyframes modalZoom {
  from {
    transform: scale(0.94);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

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

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

  .booking-summary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual {
    min-height: 500px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 0;
  }

  .navbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
  }

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

  .nav-links a {
    width: 100%;
    text-align: center;
    background: rgba(255,255,255,0.25);
  }

  .hero-copy,
  .hero-visual,
  .service-card,
  .booking-demo,
  .footer-card {
    border-radius: 24px;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .booking-demo-top {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .logo-img {
    height: 42px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 16vw, 72px);
  }

  .section-space {
    padding: 22px 0;
  }

  .section-header h2,
  .booking-demo-top h3 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .service-card {
    align-items: flex-start;
  }

  .service-image {
    width: 90px;
    height: 90px;
  }

  .service-info h3 {
    font-size: 16px;
  }

  .service-info p,
  .price-chip {
    font-size: 12px;
  }

  .booking-demo {
    padding: 16px;
  }

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

  .booking-days,
  .booking-times {
    grid-template-columns: 1fr;
  }

  .booking-day,
  .booking-time {
    min-height: 48px;
  }

  .summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .summary-row strong {
    text-align: left;
  }

  .footer-card {
    padding: 18px;
  }

  .image-modal {
    padding: 16px;
  }

  .image-modal-content {
    width: 100%;
    max-height: calc(100vh - 32px);
  }

  .image-modal-img {
    max-height: calc(100vh - 56px);
    border-radius: 18px;
  }

  .image-modal-close {
    top: -10px;
    right: -4px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .navbar {
    padding: 12px 14px;
  }

  .btn,
  .btn-secondary {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .service-card {
    gap: 12px;
    padding: 12px;
  }

  .service-image {
    width: 82px;
    height: 82px;
  }

  .booking-panel,
  .booking-summary {
    padding: 14px;
    border-radius: 18px;
  }
}

@media (hover: none) {
  .btn:hover,
  .btn-secondary:hover,
  .nav-links a:hover,
  .service-card:hover,
  .booking-service:hover,
  .booking-day:hover,
  .booking-time:hover,
  .service-image:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .fade-up,
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}