:root {
  --bg: #f4ece4;
  --surface: #fffaf6;
  --surface-soft: #f2e7dd;
  --text: #2e1b13;
  --text-muted: #6b5548;
  --brand: #935638;
  --brand-strong: #7a452c;
  --line: #decec1;
  --success: #25603f;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 30px rgba(46, 30, 19, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #faf7f4 0%, var(--bg) 28%, #f8f5f2 100%);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--surface-soft);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

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

h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 55ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: 200ms ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-strong);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.btn-full {
  width: 100%;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.nav-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.top-social {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 0.45rem;
}

.top-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(17, 10, 7, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.top-social a:hover,
.top-social a:focus-visible {
  transform: translateY(-1px);
  background: rgba(241, 220, 200, 0.28);
  border-color: rgba(241, 220, 200, 0.9);
}

.top-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}

.brand-header {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.brand-logo {
  width: 118px;
  height: 48px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid #c7ad9a;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(0, 0, 0, 0.15);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  position: absolute;
  right: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  transition: 180ms ease;
}

.main-nav {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(22, 14, 10, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
  flex-direction: column;
  padding: 0.8rem 4%;
  gap: 0.6rem;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 0.2rem;
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #f2ddcc;
  transform: translateY(-1px);
}

.main-nav a:not(.btn) {
  position: relative;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #f1dcc8;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn):focus-visible::after {
  transform: scaleX(1);
}

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

.btn-nav {
  margin-top: 0.3rem;
}

.main-nav .btn-nav {
  background: #f1dcc8;
  color: #5f3925;
  border: 1px solid #f1dcc8;
  padding: 0.75rem 1.05rem;
  box-shadow: 0 12px 30px rgba(37, 18, 10, 0.35);
}

.main-nav .btn-nav:hover,
.main-nav .btn-nav:focus-visible {
  background: #f8e8d9;
  color: #4f2f1f;
}

.hero-grid,
.about-grid,
.booking-grid {
  display: grid;
  gap: 1.4rem;
}

.hero {
  padding-top: 0;
  min-height: clamp(520px, 82vh, 760px);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/logo_amage.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 10, 8, 0.58) 0%,
    rgba(14, 10, 8, 0.3) 38%,
    rgba(14, 10, 8, 0.48) 100%
  );
}

.hero .container {
  min-height: inherit;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
}

.hero-actions .btn {
  padding: 0.95rem 1.45rem;
  font-size: 1.06rem;
}

.hero-actions .btn-primary {
  background: #f1dcc8;
  color: #5f3925;
  border: 1px solid #f1dcc8;
  box-shadow: 0 12px 30px rgba(37, 18, 10, 0.35);
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus-visible {
  background: #f8e8d9;
  color: #4f2f1f;
}

.hero-content {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1.4rem;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 2.75rem;
}

.hero-content .eyebrow,
.hero-content h1 {
  color: #fff;
}

.hero-content .eyebrow {
  margin-bottom: 0.9rem;
}

.hero-content h1 {
  margin-bottom: 0;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-shadow:
    0 4px 16px rgba(0, 0, 0, 0.55),
    0 12px 36px rgba(0, 0, 0, 0.42);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.98);
  color: #fff;
  background: rgba(12, 8, 6, 0.3);
  backdrop-filter: blur(2px);
}

.btn-ghost-light:hover,
.btn-ghost-light:focus-visible {
  border-color: #fff;
  color: #fff;
  background: rgba(22, 12, 7, 0.52);
}

.placeholder-card,
.gallery-item {
  min-height: 220px;
  border: 1px dashed #c8b7ac;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f9f5f1 0%, #efe6df 100%);
  display: grid;
  place-items: center;
  color: #7f6f64;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.cards-grid {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p,
.card cite {
  color: var(--text-muted);
}

.pricing {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.price-row:last-of-type {
  border-bottom: 0;
}

.note,
.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
}

.booking {
  background: linear-gradient(180deg, #f6efe9 0%, #f3ebe4 100%);
}

.booking-grid {
  display: grid;
  gap: 1rem;
}

.booking-left {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.booking-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.booking-map {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
}

.booking-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

.booking-form label {
  display: block;
  font-weight: 700;
  margin: 0.7rem 0 0.35rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  border: 1px solid #ccbfb6;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(166, 125, 102, 0.18);
}

.form-message {
  min-height: 1.4rem;
  margin: 0.7rem 0 0;
  font-weight: 700;
  color: var(--success);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7f3ef;
}

.footer-wrap {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.footer-wrap a {
  color: var(--text);
  font-weight: 700;
}

.to-top-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(122, 69, 44, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, background-color 200ms ease;
  z-index: 30;
}

.to-top-btn:hover,
.to-top-btn:focus-visible {
  background: var(--brand-strong);
}

.to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

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

@media (min-width: 760px) {
  .section {
    padding: 5.5rem 0;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    align-items: center;
  }

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

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

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

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .top-social {
    display: inline-flex;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    gap: 1.45rem;
  }

  .main-nav a {
    padding: 0.3rem 0.05rem;
    font-size: 0.95rem;
  }

  .main-nav a:not(.btn) {
    color: #fff;
  }

  .btn-nav {
    margin-top: 0;
  }

  .booking-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }

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

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

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