* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.logo img {
  width: 112px;
  height: auto;
}
:root {
  --gold: #d39a38;
  --gold-dark: #b98224;
  --cream: #fff8ee;
  --cream-2: #f4e6d7;
  --text: #211913;
  --muted: #6b625b;
  --white: #ffffff;
  --shadow: 0 8px 16px rgba(63, 45, 28, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--cream) url("../img/fondo.png") center / cover fixed no-repeat;
  color: var(--text);
}

main {
  overflow: hidden;
}

.header {
  width: 100%;
  min-height: 96px;
  padding: 0 5%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
}

.logo {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--gold-dark);
}

.logo-icon {
  width: 55px;
  height: 55px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 31px;
}

.logo strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 15px;
}

.logo span {
  display: block;
  font-family: "Great Vibes", cursive;
  font-size: 20px;
  color: var(--text);
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-left: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-family: "Great Vibes", cursive;
  font-size: 36px;
  transition: 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.nav a.active {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.menu-btn {
  margin-left: auto;
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--gold-dark);
  cursor: pointer;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 50% 50%;
  background: rgba(255, 248, 238, 0.52);
  overflow: hidden;
  border-bottom-right-radius: 42px;
}

.hero-text {
  padding: 24px 1% 28px 7%;
  position: relative;
}

.brand {
  font-family: "Great Vibes", cursive;
  font-style: italic;
  font-size: 40px;
}

.hero-text::before {
  content: "";
  position: absolute;
  left: -90px;
  top: 32px;
  width: 260px;
  height: 320px;
  opacity: 0.2;
  background: url("../img/fondo.png") left top / 520px auto no-repeat;
  pointer-events: none;
}

.brand {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 34px;
  line-height: 1.08;
  font-weight: 700;
  text-align: center;
  width: fit-content;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  margin: 0 0 16px 42px;
  text-shadow: 1px 2px 3px rgba(92, 65, 28, 0.2);
}

.brand span {
  font-size: 30px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(52px, 5.2vw, 82px);
  line-height: 0.9;
  font-weight: 500;
  margin-bottom: 20px;
}

h1 em {
  font-family: "Great Vibes", cursive;
  color: var(--gold);
  font-style: normal;
  font-size: 1.18em;
  position: relative;
}

h1 em::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -5px;
  width: 135px;
  height: 2px;
  background: var(--gold);
}

.description {
  font-size: 19px;
  line-height: 1.35;
  max-width: 600px;
  margin-bottom: 10px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-main {
  background: var(--gold);
  color: white;
  padding: 10px 22px;
  box-shadow: var(--shadow);
  font-family: "Playfair Display", serif;
  font-size: 18px;
  text-transform: uppercase;
  gap: 8px;
}

.btn-main img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.btn-main:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.phone {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
}

.features-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 650px;
}

.features-small div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-right: 1px solid var(--gold);
}

.features-small div:last-child {
  border-right: 0;
}

.features-small span {
  min-width: 76px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  color: var(--gold);
  font-size: 29px;
}

.features-small span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.features-small p {
  font-size: 15px;
  font-weight: 500;
}

.hero-image {
  min-height: 560px;
  border-bottom-left-radius: 165px;
  overflow: hidden;
  position: relative;
}

.hero-image img,
.hero-slide {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-rotate 15s infinite;
}

.hero-slide:first-child {
  position: relative;
}

.hero-slide:nth-child(2) {
  animation-delay: 5s;
}

.hero-slide:nth-child(3) {
  animation-delay: 10s;
}

@keyframes hero-rotate {
  0% {
    opacity: 0;
    transform: scale(1.035);
  }

  7%,
  29% {
    opacity: 1;
    transform: scale(1);
  }

  36%,
  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}

.services {
  background: rgba(255, 255, 255, 0.82);
  border: 3px solid var(--gold);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 58px 58px 0 0;
  margin-top: 0;
  padding: 18px 5% 20px;
}

.title {
  text-align: center;
  margin-bottom: 12px;
}

.title h2 {
  font-family: "Playfair Display", serif;
  color: #513827;
  font-size: 36px;
  font-weight: 500;
}

.title span {
  color: var(--gold);
  display: inline-block;
  font-size: 26px;
  position: relative;
}

.title span img {
  width: 40px;
  height: auto;
  display: block;
}

.title span::before,
.title span::after {
  content: "";
  width: 170px;
  height: 2px;
  background: var(--gold);
  position: absolute;
  top: 50%;
}

.title span::before {
  right: 35px;
}

.title span::after {
  left: 35px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(310px, 32%);
  justify-content: center;
  gap: 58px;
  align-items: start;
}

.service-left {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.service-card p {
  font-family: "Playfair Display", serif;
  margin-top: 8px;
  font-size: 17px;
}

.btn-more {
  grid-column: 1 / -1;
  justify-self: center;
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  transition: 0.3s;
}

.btn-more:hover {
  background: var(--gold);
  color: white;
}

.why-card,
.visit-card,
.priority-card {
  background: rgba(255, 246, 238, 0.94);
  border-radius: 38px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(207, 164, 91, 0.25);
}

.why-card {
  padding: 32px 46px;
}

.why-card h3,
.visit-card h3,
.priority-text h3 {
  font-family: "Playfair Display", serif;
  color: var(--gold-dark);
  font-size: 37px;
  margin-bottom: 14px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 18px 0;
}

.why-item span,
.priority-text li::before {
  color: var(--gold);
  font-weight: 700;
}

.why-item span,
.priority-text li::before {
  width: 34px;
  height: 34px;
  display: inline-grid;
  flex: 0 0 34px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.why-item p {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  line-height: 1.25;
}

.info-row {
  display: grid;
  grid-template-columns: 58% 32%;
  justify-content: center;
  gap: 58px;
  padding: 18px 5% 22px;
  background: rgba(255, 255, 255, 0.82);
}

.priority-card {
  display: grid;
  grid-template-columns: 36% 64%;
  overflow: hidden;
  min-height: 260px;
}

.priority-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.priority-text {
  padding: 34px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
}

.priority-text ul {
  list-style: none;
  border-left: 2px solid var(--gold);
  padding-left: 25px;
}

.priority-text li {
  margin: 18px 0;
  font-family: "Playfair Display", serif;
  font-size: 16px;
}

.priority-text li::before {
  content: "✓";
  margin-right: 10px;
}

.visit-card {
  padding: 24px 34px;
}

.visit-card p {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.map-placeholder {
  height: 165px;
  border-radius: 24px;
  border: 2px solid rgba(207, 164, 91, 0.28);
  overflow: hidden;
  background: var(--white);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.gallery-section {
  padding: 35px 5%;
  text-align: center;
  background: #fffaf5;
}

.gallery-section h2 {
  font-family: "Playfair Display", serif;
  color: var(--gold-dark);
  font-size: 38px;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: auto;
}

.gallery-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.cta {
  min-height: 150px;
  background: linear-gradient(90deg, #c99f5a, #e0c083);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 7vw, 130px);
  color: white;
  padding: 20px 5%;
}

.calendar-icon {
  width: 92px;
  height: 92px;
  background: white;
  color: var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(63, 45, 28, 0.18);
  overflow: hidden;
}

.calendar-icon img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  transform: translateY(-5px);
}

.cta p {
  font-family: "Playfair Display", serif;
  font-size: 29px;
  line-height: 1.18;
}

.cta .btn-main {
  background: var(--gold);
  min-width: 340px;
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .nav {
    flex: none;
    margin-left: 0;
    justify-content: flex-start;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .nav.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero,
  .content-grid,
  .info-row,
  .priority-card {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 35px 7%;
  }

  .features-small,
  .service-left,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .features-small div {
    border-right: 0;
    border-bottom: 1px solid var(--gold);
  }

  .priority-text {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cta {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .title span::before,
  .title span::after {
    width: 80px;
  }
}
