:root {
  --bg: #f7f0e7;
  --surface: #fffaf4;
  --surface-2: #fff2e4;
  --text: #2f261f;
  --muted: #75695f;
  --line: rgba(80, 56, 36, 0.14);
  --accent: #d98a3b;
  --accent-dark: #995a24;
  --green: #6f8b63;
  --danger: #b85c5c;
  --shadow: 0 26px 70px rgba(89, 57, 30, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1120px;
}

* {
  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(217, 138, 59, 0.20), transparent 32rem),
    radial-gradient(circle at top right, rgba(111, 139, 99, 0.18), transparent 28rem),
    var(--bg);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--green));
  box-shadow: 0 0 0 6px rgba(217, 138, 59, 0.15);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.72);
}

.desktop-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.desktop-nav a:hover {
  background: white;
  color: var(--text);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px 80px;
}

.hero {
  min-height: 820px;
  position: relative;
  display: grid;
  align-items: end;
  padding: 22px 0 60px;
}

.hero-image {
  min-height: 620px;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(47, 38, 31, 0.08), rgba(47, 38, 31, 0.62)),
    url("https://masajesalzira.com/wp-content/uploads/2025/01/Masajes-Profesionales-en-Alzira.jpg") center / cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-badge {
  width: fit-content;
  margin: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.88);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.profile-card {
  width: min(92%, 520px);
  margin: -270px auto 0;
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 34px 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 38px;
  background: rgba(255, 250, 244, 0.86);
  box-shadow: 0 28px 80px rgba(47, 38, 31, 0.26);
  backdrop-filter: blur(18px);
}

.avatar-wrap {
  width: 108px;
  height: 108px;
  margin: -82px auto 14px;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(47, 38, 31, 0.24);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.eyebrow,
.section-heading p {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  font-size: clamp(42px, 8vw, 72px);
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
}

h3 {
  font-size: 22px;
}

.hook {
  max-width: 420px;
  margin: 16px auto 0;
  font-size: 19px;
  font-weight: 800;
}

.intro {
  max-width: 430px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.cta-stack {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.primary-button,
.submit-button,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 22px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 16px 30px rgba(153, 90, 36, 0.25);
  font-weight: 900;
  cursor: pointer;
}

.primary-button.outline {
  color: var(--text);
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
}

.booking-section,
.services,
.reviews,
.location {
  margin-top: 42px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 244, 0.78);
  box-shadow: 0 20px 60px rgba(89, 57, 30, 0.10);
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading span {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.booking-form {
  display: grid;
  gap: 20px;
}

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

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

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  background: white;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(217, 138, 59, 0.85);
  box-shadow: 0 0 0 4px rgba(217, 138, 59, 0.15);
}

.slots-panel {
  padding: 18px;
  border: 1px dashed rgba(153, 90, 36, 0.32);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.slots-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.slots-title small {
  color: var(--muted);
  text-align: right;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
}

.slot {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: white;
  font-weight: 900;
  cursor: pointer;
}

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

.slot.occupied,
.slot:disabled {
  color: #8a8078;
  background: #e8dfd6;
  cursor: not-allowed;
  opacity: 0.68;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.checkbox-row input {
  width: 18px;
  min-width: 18px;
  margin-top: 2px;
}

.submit-button {
  width: 100%;
  min-height: 60px;
  font-size: 16px;
}

.submit-button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: var(--danger);
}

.category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.category-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--muted);
  background: white;
  font-weight: 900;
  cursor: pointer;
}

.category-button.active {
  color: white;
  border-color: transparent;
  background: var(--green);
}

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

.service-card {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
}

.service-card small {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(217, 138, 59, 0.14);
  font-weight: 900;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-card button {
  align-self: end;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  color: white;
  background: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.rating-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  margin-bottom: 18px;
}

.google-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: white;
  background: #4285f4;
  font-weight: 900;
}

.stars {
  color: #e0a43b;
  letter-spacing: 1px;
}

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

.review-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-head > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  font-weight: 900;
}

.review-head small {
  display: block;
  margin-top: 4px;
  color: #e0a43b;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.secondary-link {
  width: fit-content;
  margin-top: 20px;
  color: var(--text);
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
}

.map-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
}

.map-card iframe {
  width: 100%;
  min-height: 350px;
  border: 0;
  border-radius: var(--radius-lg);
}

.map-info {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: white;
}

.map-info span {
  color: var(--muted);
  line-height: 1.6;
}

.map-info a {
  color: var(--accent-dark);
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  color: white;
  background: #25d366;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.38);
  font-weight: 900;
}

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

  .hero {
    min-height: 720px;
  }

  .hero-image {
    min-height: 540px;
    border-radius: 32px;
  }

  .profile-card {
    width: calc(100% - 28px);
    margin-top: -250px;
  }

  .form-grid,
  .client-data,
  .service-grid,
  .review-row,
  .map-card {
    grid-template-columns: 1fr;
  }

  .slots-title {
    display: grid;
  }

  .slots-title small {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding-inline: 16px;
  }

  main {
    padding-inline: 14px;
  }

  .hero-image {
    min-height: 500px;
  }

  .profile-card {
    padding-inline: 18px;
  }

  .booking-section,
  .services,
  .reviews,
  .location {
    padding: 22px 16px;
    border-radius: 26px;
  }

  .rating-strip {
    align-items: flex-start;
    border-radius: 20px;
    flex-wrap: wrap;
  }
}
