:root {
  --rose: #dcc0ba;
  --logo-rose: #c4928d;
  --rose-soft: #efdeda;
  --rose-light: #f8efec;
  --cream: #fffaf7;
  --ink: #1d1615;
  --muted: #6f5f5b;
  --line: rgba(94, 69, 64, 0.18);
  --accent: #8f5f58;
  --accent-dark: #5e3f3b;
  --danger: #9f2f2f;
  --shadow: 0 24px 70px rgba(80, 49, 44, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(196, 146, 141, 0.98), rgba(196, 146, 141, 0.94)),
    url("https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=1800&q=80");
  background-attachment: fixed;
  background-position: center right;
  background-size: cover;
  color: var(--ink);
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
}

.hidden {
  display: none !important;
}

.site-topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.site-topbar > a,
.brand-block a {
  color: inherit;
  text-decoration: none;
}

.site-topbar > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 250, 247, 0.56);
  border-radius: 7px;
  background: rgba(255, 250, 247, 0.62);
  color: var(--accent-dark);
  padding: 0 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(80, 49, 44, 0.08);
}

.booking-contact-links {
  margin: 0;
}

.brand-block {
  display: flex;
  align-items: center;
  margin-bottom: 34px;
}

.brand-block.compact {
  margin-bottom: 0;
}

.brand-logo {
  display: block;
  width: min(440px, 84vw);
  height: auto;
}

.brand-logo.compact {
  width: min(320px, 72vw);
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-panel,
.booking-panel {
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(196, 146, 141, 0.9);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 42px);
}

.landing-panel::before,
.booking-panel::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 250, 247, 0.2);
  pointer-events: none;
}

.landing-panel::before {
  content: none;
}

.landing-content {
  position: relative;
  z-index: 1;
  display: flex;
  grid-template-columns: 1fr;
  min-height: 680px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(18px, 3.2vw, 40px) clamp(18px, 4vw, 56px) clamp(42px, 6vw, 76px);
  text-align: center;
  background: var(--logo-rose);
}

.landing-content .brand-block {
  justify-content: center;
  margin-bottom: clamp(8px, 1.6vw, 18px);
}

.landing-copy {
  width: min(780px, 100%);
  max-width: 780px;
  padding-top: 0;
  margin-right: auto;
  margin-left: auto;
}

.procedures-section {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 250, 247, 0.52);
  border-radius: 8px;
  background: rgba(255, 250, 247, 0.12);
}

.procedures-heading {
  max-width: 700px;
  margin: 0 auto 26px;
  text-align: center;
}

.procedures-heading h2 {
  margin: 0;
  color: #fffaf7;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-style: italic;
  line-height: 0.95;
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.procedures-panel {
  width: 100%;
  border: 1px solid rgba(255, 250, 247, 0.48);
  border-radius: 8px;
  background: rgba(255, 250, 247, 0.12);
  padding: 22px;
  text-align: left;
}

.procedures-panel h3 {
  margin: 0 0 18px;
  color: #fffaf7;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3vw, 3.25rem);
  font-style: italic;
  line-height: 0.95;
  text-align: center;
}

.procedure-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.procedure-item {
  position: relative;
  border: 1px solid rgba(255, 250, 247, 0.42);
  border-radius: 8px;
  background: rgba(255, 250, 247, 0.18);
  color: var(--ink);
  cursor: default;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.28;
  padding: 12px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.procedure-item small {
  display: block;
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.procedure-item:hover,
.procedure-item:focus-within {
  background: rgba(255, 250, 247, 0.44);
  transform: translateY(-2px);
}

.procedure-preview {
  display: block;
  overflow: hidden;
  width: 100%;
  max-height: 0;
  margin-top: 0;
  border-radius: 7px;
  background-image: var(--preview);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: max-height 0.24s ease, margin-top 0.24s ease, opacity 0.18s ease;
}

.procedure-item:hover .procedure-preview,
.procedure-item:focus-within .procedure-preview {
  max-height: 138px;
  height: 138px;
  margin-top: 10px;
  opacity: 1;
}

.landing-copy h2,
.hero h2 {
  max-width: 680px;
  margin: 0 auto 16px;
  color: #fffaf7;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.9rem, 5.6vw, 5.7rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.92;
  text-align: center;
}

.landing-copy p,
.landing-copy p {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
}

.benefits-list,
.highlights-list {
  display: grid;
  width: min(760px, 100%);
  max-width: 760px;
  gap: 24px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.benefits-list li,
.highlights-list li {
  position: relative;
  min-height: 38px;
  padding: 0 0 0 62px;
  color: #151010;
  font-size: clamp(1rem, 2.1vw, 1.65rem);
  font-weight: 400;
  line-height: 1.35;
}

.benefits-list li::before,
.highlights-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 34px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-top-color: transparent;
  border-radius: 50% 50% 45% 45%;
  transform: translateY(-50%);
}

.benefits-list li::after,
.highlights-list li::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 32px;
  border-left: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  transform: translateY(-58%) rotate(36deg);
}

.landing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: 30px auto 0;
}

.landing-actions button {
  min-height: 50px;
  border-radius: 7px;
  background: var(--accent-dark);
  color: #fffaf7;
  padding: 0 24px;
  font-weight: 700;
}

.landing-actions .secondary-action {
  border: 1px solid rgba(94, 63, 59, 0.18);
  background: rgba(255, 250, 247, 0.72);
  color: var(--accent-dark);
}

.landing-actions span {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.schedule-panel,
.exhibitions-panel,
.site-footer {
  border: 1px solid rgba(255, 250, 247, 0.72);
  border-radius: 8px;
  background: rgba(255, 250, 247, 0.78);
  box-shadow: 0 14px 38px rgba(80, 49, 44, 0.08);
  padding: 24px;
  backdrop-filter: blur(16px);
}

.section-title h2 {
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
}

.section-title {
  color: var(--muted);
}

form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(94, 63, 59, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 95, 88, 0.18);
}

button[type="submit"],
.ghost-button,
.whatsapp-confirm {
  min-height: 46px;
  border-radius: 7px;
  background: var(--accent-dark);
  color: #fffaf7;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, background 0.18s ease;
}

button:hover {
  transform: translateY(-1px);
}

button[type="submit"]:hover {
  background: var(--accent);
}

.site-footer {
  margin-top: 22px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 600;
}

.ghost-button,
.whatsapp-confirm {
  border: 1px solid rgba(94, 63, 59, 0.18);
  background: rgba(255, 250, 247, 0.68);
  color: var(--accent-dark);
  padding: 0 16px;
}

.whatsapp-confirm {
  display: grid;
  place-items: center;
  width: 100%;
  background: rgba(255, 250, 247, 0.9);
  text-decoration: none;
}

.whatsapp-confirm {
  border-color: rgba(45, 114, 72, 0.22);
  background: rgba(224, 243, 229, 0.9);
  color: #2d7248;
}

.booking-confirmation {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(77, 111, 80, 0.28);
  border-radius: 8px;
  background: rgba(237, 248, 236, 0.72);
  color: #334d36;
  padding: 12px;
}

.booking-confirmation strong {
  font-size: 0.95rem;
}

.booking-confirmation span {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 600;
}

.form-message.success {
  color: #4d6f50;
}

.topbar,
.user-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.user-actions span {
  color: var(--accent-dark);
  font-weight: 700;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: end;
  min-height: 430px;
  margin: 34px 0 24px;
  padding: clamp(24px, 4vw, 50px);
  border: 1px solid rgba(255, 250, 247, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(196, 146, 141, 0.96), rgba(196, 146, 141, 0.68)),
    url("https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=1400&q=80");
  background-position: right bottom;
  background-size: cover;
  color: var(--ink);
}

.hero .eyebrow {
  color: var(--accent-dark);
}

.hero h2 {
  max-width: 780px;
  color: #fffaf7;
}

.hero p {
  max-width: 640px;
  margin-bottom: 0;
  color: #201716;
  font-size: 1.05rem;
  line-height: 1.75;
}

.content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.public-schedule-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.exhibition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.exhibition-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 247, 0.84);
}

.exhibition-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.exhibition-card div {
  padding: 15px;
}

.exhibition-card h3 {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 1rem;
}

.exhibition-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .content-grid,
  .hero {
    grid-template-columns: 1fr;
  }

  .landing-content {
    min-height: 640px;
  }

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

}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 20px, 1180px);
    padding: 10px 0;
  }

  .landing-panel,
  .booking-panel,
  .schedule-panel,
  .exhibitions-panel,
  .site-footer {
    padding: 18px;
  }

  .brand-logo {
    width: min(340px, 90vw);
  }

  .brand-logo.compact {
    width: min(280px, 82vw);
  }

  .site-topbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
  }

  .site-topbar > a {
    width: 100%;
    min-height: 36px;
    padding: 0 8px;
  }

  h1 {
    font-size: 1.05rem;
  }

  .topbar,
  .user-actions {
    align-items: center;
    flex-direction: column;
  }

  .landing-content {
    min-height: 680px;
  }

  .landing-actions {
    align-items: center;
    flex-direction: column;
  }

  .landing-copy h2,
  .hero h2 {
    font-size: 4rem;
  }

  .benefits-list li,
  .highlights-list li {
    padding-left: 48px;
  }

  .exhibition-list,
  .form-row,
  .public-schedule-fields {
    grid-template-columns: 1fr;
  }

  .procedure-preview {
    max-height: 128px;
    height: 128px;
    margin-top: 10px;
    opacity: 1;
  }
}
