:root {
  --black: #050505;
  --black-soft: #111;
  --gold: #c9a24a;
  --gold-light: #f3d37a;
  --white: #fff;
  --off: #f7f3ec;
  --gray: #b9b9b9;
  --dark: #222;
  --border: rgba(201, 162, 74, .35);
  --font-title: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

body.lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(5, 5, 5, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 74, .18);
}

.nav {
  height: 78px;
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo img {
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 24px;
  color: var(--gold-light);
}

.logo small {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.menu-btn {
  display: none;
  background: transparent;
  width: 42px;
  height: 42px;
}

.menu-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold-light);
  margin: 6px auto;
}

.btn {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #120d05;
  box-shadow: 0 14px 35px rgba(201, 162, 74, .28);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

.hero {
  min-height: 100vh;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.72), rgba(5,5,5,.36)),
    url("assets/Alisamento.png") center/cover;
}

.hero-grid,
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.tag {
  color: var(--gold-light);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2.5px;
  display: inline-block;
  margin-bottom: 16px;
}

.tag.dark {
  color: var(--gold);
}

.hero h1,
.section h2 {
  font-family: var(--font-title);
  font-size: clamp(52px, 8vw, 110px);
  line-height: .88;
}

.hero h2 {
  margin-top: 18px;
  color: var(--gold-light);
  font-size: clamp(24px, 3vw, 38px);
}

.hero p,
.section p {
  margin-top: 22px;
  color: var(--gray);
  line-height: 1.8;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-card {
  padding: 40px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.hero-card strong {
  color: var(--gold-light);
  font-family: var(--font-title);
  font-size: 44px;
}

.section {
  padding: 100px 0;
}

.about,
.gallery {
  background: var(--off);
  color: var(--black);
}

.section-img {
  border-radius: var(--radius);
  height: 560px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.mini-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mini-cards div {
  padding: 18px;
  background: var(--white);
  border-radius: 14px;
  font-weight: 800;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.dark-title {
  color: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 28px;
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(201,162,74,.2);
}

.service-card h3 {
  font-family: var(--font-title);
  font-size: 34px;
}

.service-card p {
  font-size: 14px;
}

.service-card strong {
  display: block;
  margin-top: 16px;
  color: var(--gold-light);
}

.service-card button {
  margin-top: 20px;
}

.experience {
  background: var(--black-soft);
}

.stats {
  display: grid;
  gap: 18px;
}

.stats div {
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
}

.stats strong {
  color: var(--gold-light);
  font-size: 34px;
}

.stats span {
  display: block;
  margin-top: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid img {
  height: 340px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.contact {
  background: var(--black);
}

.contact-list {
  margin: 24px 0;
  display: grid;
  gap: 10px;
}

.contact-list p {
  margin: 0;
}

.contact-list strong {
  color: var(--gold-light);
}

.contact-card {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--off);
  color: var(--black);
}

.contact-card h3 {
  font-family: var(--font-title);
  font-size: 48px;
}

.footer {
  padding: 30px;
  text-align: center;
  color: var(--gray);
  border-top: 1px solid rgba(201,162,74,.16);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(14px);
  z-index: 100;
  display: none;
  padding: 16px;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--off);
  color: var(--black);
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 28px;
  padding: 34px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold-light);
  font-size: 28px;
}

.modal-head h2 {
  font-family: var(--font-title);
  font-size: 48px;
  line-height: .9;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 26px 0;
}

.step {
  padding: 12px;
  border-radius: 999px;
  background: #e7dfd1;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.step.active {
  background: var(--gold);
  color: var(--black);
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.modal-step h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.modal-services {
  display: grid;
  gap: 12px;
}

.modal-service {
  padding: 18px;
  border-radius: 16px;
  background: var(--white);
  border: 2px solid transparent;
  text-align: left;
  width: 100%;
}

.modal-service.active {
  border-color: var(--gold);
}

.modal-service strong {
  display: block;
  font-size: 18px;
}

.modal-service span {
  display: block;
  margin-top: 6px;
  color: var(--dark);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-head button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold-light);
  font-size: 30px;
}

.weekdays,
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.weekdays span {
  text-align: center;
  font-weight: 900;
  font-size: 12px;
  color: var(--dark);
}

.day {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: #e4ded4;
  color: #777;
  font-weight: 900;
}

.day.available {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}

.day.selected {
  outline: 3px solid var(--black);
}

.day.today {
  border: 2px solid var(--black);
}

.day:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.hint {
  font-size: 13px;
  margin-top: 14px !important;
  color: #555 !important;
}

.times-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.time-btn {
  padding: 15px;
  border-radius: 14px;
  background: var(--white);
  font-weight: 900;
}

.time-btn.active {
  background: var(--gold);
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

input {
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #ddd;
  outline: none;
}

input:focus {
  border-color: var(--gold);
}

.summary {
  padding: 18px;
  border-radius: 16px;
  background: var(--white);
  line-height: 1.7;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 30px 0;
}

.modal-success.active {
  display: block;
}

.modal-success h3 {
  font-family: var(--font-title);
  font-size: 48px;
}

.loading {
  color: var(--gray);
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 24px;
    display: grid;
    gap: 18px;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: .25s;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-img {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-actions,
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .modal {
    padding: 26px;
  }

  .times-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img {
    height: 280px;
  }

  .calendar,
  .weekdays {
    gap: 5px;
  }

  .day {
    border-radius: 10px;
    font-size: 13px;
  }
}