@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --ink: #1e211d;
  --muted: #535353;
  --paper: #f6f5f0;
  --accent: #7da014;
  --line: #dedfd7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { height: 78px; padding: 0 7%; display: flex; align-items: center; justify-content: space-between; background: var(--paper); }
.logo { font-weight: 700; letter-spacing: .11em; font-size: 1rem; }
.logo span { color: #8cae37; }
nav { display: flex; gap: 30px; font-size: .9rem; }
nav a:hover { opacity: .65; }
.hero { min-height: 590px; position: relative; display: flex; align-items: center; padding: 80px 10%; color: white; background: linear-gradient(90deg, rgba(15,18,15,.78), rgba(15,18,15,.12)), url('https://images.unsplash.com/photo-1452587925148-ce544e77e70d?auto=format&fit=crop&w=2000&q=90') center 42%/cover; }
.hero-content { max-width: 720px; }
.eyebrow { font-size: .72rem; letter-spacing: .19em; font-weight: 700; margin: 0 0 18px; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.02; margin: 0 0 24px; letter-spacing: -.035em; }
h1 span { color: var(--accent); }
.hero-copy { max-width: 470px; color: #eeeee9; font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 19px; font: inherit; font-size: .85rem; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--accent); color: var(--ink); }
.hero-note { position: absolute; bottom: 25px; right: 7%; font-size: .65rem; letter-spacing: .15em; }
.section-wrap { padding: 100px 7%; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 36px; }
.section-heading h2, .booking-intro h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.08; margin: 0; letter-spacing: -.025em; }
.section-heading > p { max-width: 330px; color: var(--muted); line-height: 1.7; margin: 0 0 4px; }
.style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.style-card { height: 490px; position: relative; overflow: hidden; color: white; background: #333; }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.style-card:hover img { transform: scale(1.05); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.8) 100%); }
.card-content { position: absolute; inset: auto 25px 27px; }
.card-number { font-size: .65rem; letter-spacing: .16em; }
.card-content h3 { font-size: 1.8rem; margin: 12px 0 8px; }
.card-content p { color: #e2e2dc; font-size: .88rem; line-height: 1.6; min-height: 44px; }
.button-outline { color: white; border-color: rgba(255,255,255,.7); background: transparent; margin-top: 8px; }
.button-outline:hover { background: white; color: var(--ink); }
.booking-section { background: #e9e9df; padding: 100px 7%; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: start; }
.booking-intro { padding-top: 28px; }
.booking-intro h2 { margin-bottom: 22px; }
.booking-intro > p:not(.eyebrow) { max-width: 390px; color: #696b63; line-height: 1.8; }
.booking-tip { max-width: 380px; margin-top: 35px; padding-top: 20px; border-top: 1px solid #cbcdc2; font-size: .84rem; line-height: 1.7; color: #62645c; }
.booking-tip span { color: #78972b; margin-right: 8px; }
.booking-panel { background: #fff; padding: clamp(22px, 4vw, 42px); box-shadow: 0 18px 60px rgba(31,34,24,.06); }
.calendar-top { display: flex; justify-content: space-between; align-items: center; }
.calendar-top .eyebrow { color: #7e9e34; margin-bottom: 8px; }
.calendar-top h3 { font-size: 1.8rem; margin: 0; }
.calendar-controls { display: flex; gap: 8px; }
.calendar-controls button { width: 38px; height: 38px; background: white; border: 1px solid var(--line); font-size: 1.4rem; cursor: pointer; }
.calendar-controls button:hover { background: var(--accent); }
.month-label { font-size: .9rem; font-weight: 700; margin: 28px 0 16px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.calendar-weekdays { margin-bottom: 8px; color: #888a81; font-size: .72rem; text-align: center; }
.calendar-weekdays span { padding: 7px 0; }
.day { aspect-ratio: 1; border: 0; background: transparent; font: inherit; font-size: .82rem; cursor: pointer; border-radius: 50%; }
.day:hover:not(:disabled) { background: #eef4dc; }
.day:disabled { color: #c7c8c1; cursor: not-allowed; }
.day.selected { background: var(--ink); color: white; }
.day.today { outline: 1px solid #a3c650; outline-offset: -4px; }
.calendar-help { color: var(--muted); font-size: .75rem; margin: 12px 0 24px; }
.selected-date { background: #f5f6ef; padding: 12px 14px; margin-bottom: 20px; font-size: .83rem; }
.selected-date strong { color: #5e7d20; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 16px; }
input, select, textarea { width: 100%; display: block; margin-top: 8px; padding: 12px; border: 1px solid #dedfd8; border-radius: 0; background: white; color: var(--ink); font: inherit; font-size: .83rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid #b4d75b; outline-offset: 1px; }
textarea { resize: vertical; }
.optional { color: #888a81; font-weight: 400; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #41453a; }
.submit-button { width: 100%; margin-top: 2px; }
.form-feedback { font-size: .85rem; line-height: 1.6; color: #4e6f19; }
.privacy-note { font-size: .7rem; color: #85877f; line-height: 1.5; margin-bottom: 0; }
footer { padding: 32px 7%; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .75rem; color: #777970; }
footer p { margin: 0; }
footer .logo { color: var(--ink); }

@media (max-width: 850px) {
  .style-grid { grid-template-columns: 1fr 1fr; }
  .style-card:last-child { grid-column: 1 / -1; }
  .booking-section { grid-template-columns: 1fr; gap: 35px; }
  .booking-intro { padding-top: 0; }
}
@media (max-width: 560px) {
  .site-header { height: 68px; padding: 0 5%; }
  nav { gap: 14px; font-size: .78rem; }
  .hero { min-height: 570px; padding: 65px 7%; }
  .hero-note { right: 7%; font-size: .55rem; }
  .section-wrap, .booking-section { padding: 68px 5%; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .style-grid { grid-template-columns: 1fr; }
  .style-card, .style-card:last-child { grid-column: auto; height: 430px; }
  .booking-panel { padding: 22px 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  footer { padding: 28px 5%; flex-direction: column; align-items: flex-start; }
}

/* Carrusel de fotografías */
.carrusel {
  position: relative;
  width: min(1000px, 90%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(31, 34, 24, .12);
  background: #e9e9df;
}

.carrusel img {
  display: none;
  width: 100%;
  height: clamp(260px, 58vw, 620px);
  object-fit: contain;
}

.carrusel img.activa {
  display: block;
}

.carrusel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 3px;
  padding: 12px 16px;
  color: white;
  background: rgba(30, 33, 29, .72);
  font-size: 1.4rem;
  cursor: pointer;
}

.carrusel button:hover,
.carrusel button:focus-visible {
  background: var(--accent);
  color: var(--ink);
}

.carrusel .anterior { left: 12px; }
.carrusel .siguiente { right: 12px; }

.indicadores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px auto 0;
}

.indicadores button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b9b9b0;
  cursor: pointer;
}

.indicadores button.activo {
  background: var(--accent);
}

.hero-fiestas .hero-content {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-fiestas .hero-copy {
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .carrusel { width: 92%; }
  .carrusel button { padding: 9px 12px; font-size: 1.1rem; }
}


/* Nota de jornada completa en el formulario de reserva */
.booking-day-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(90, 105, 75, .22);
  border-radius: 10px;
  background: #f5f6ef;
  color: #4b5144;
  font-size: .92rem;
}
.booking-day-note span {
  color: #777970;
  font-size: .84rem;
  line-height: 1.5;
}
