:root {
  --ink: #17324d;
  --muted: #5f6f7e;
  --line: #d9e4ec;
  --surface: #ffffff;
  --soft: #eef5f8;
  --brand: #006199;
  --brand-dark: #003f68;
  --accent: #f2b84b;
  --error: #b42318;
  --shadow: 0 22px 60px rgba(23, 50, 77, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(245, 249, 251, 0.94), rgba(245, 249, 251, 0.94)),
    url("../css-hoteles/hotel_castellote/imagenes/logo.png") 8% 92% / 220px auto no-repeat,
    var(--soft);
}

.landing-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 32px;
  align-items: center;
  padding: 42px 0 24px;
}

.hero-panel {
  min-height: 560px;
  border-radius: 8px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    var(--contact-hero-overlay, linear-gradient(135deg, rgba(0, 63, 104, 0.88), rgba(0, 97, 153, 0.72))),
    var(--contact-hero-image, url("../css-hoteles/hotel_la_vega/imagenes/logo.jpg")) center / min(58%, 420px) no-repeat;
  box-shadow: var(--shadow);
  color: #ffffff;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
  padding: 12px;
  background: #ffffff;
  border-radius: 8px;
}

.brand-kicker,
.panel-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-action {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
  text-decoration: none;
}

.hero-action-light {
  color: var(--brand-dark);
  background: #ffffff;
  border-color: #ffffff;
}

.hero-action:hover,
.hero-action:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.24);
}

.hero-action-light:hover,
.hero-action-light:focus-visible {
  color: var(--brand-dark);
  background: #eef5f8;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.process-strip div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.process-strip i {
  display: block;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.process-strip span {
  display: block;
  font-weight: 700;
  line-height: 1.25;
}

.process-strip .contact-data {
  overflow-wrap: anywhere;
  word-break: normal;
}

.access-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(23, 50, 77, 0.1);
}

.panel-eyebrow {
  color: var(--brand);
}

.access-panel h2 {
  margin: 8px 0 24px;
  font-size: 1.8rem;
  line-height: 1.15;
}

.field-group {
  margin-bottom: 18px;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--ink);
}

.field-group input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 1rem;
  background: #fbfdfe;
}

.field-group textarea {
  width: 100%;
  min-height: 116px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  background: #fbfdfe;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 3px solid rgba(0, 97, 153, 0.18);
  border-color: var(--brand);
}

.form-error {
  min-height: 22px;
  margin: 2px 0 14px;
  color: var(--error);
  font-weight: 700;
}

.primary-action {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  background: var(--brand);
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
}

.secondary-action {
  min-height: 48px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--brand);
  background: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

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

.secondary-action:hover,
.secondary-action:focus-visible {
  color: #ffffff;
  background: var(--brand);
}

.privacy-note {
  margin-top: 22px;
  padding: 16px;
  border-left: 4px solid var(--accent);
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  background: #fff8e8;
  border-radius: 6px;
}

.privacy-note p {
  margin: 0;
  color: #566370;
  line-height: 1.4;
}

.privacy-note i {
  color: #986500;
  font-size: 1.2rem;
}

.access-links {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.contact-panel {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 30px;
  align-items: start;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(23, 50, 77, 0.08);
}

.contact-panel h2 {
  margin: 8px 0 12px;
  font-size: 1.7rem;
  line-height: 1.15;
}

.contact-copy {
  max-width: 460px;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.5;
}

.hotel-context {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  background: #fbfdfe;
}

.hotel-context img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 8px;
}

.hotel-context strong,
.hotel-context span {
  display: block;
}

.hotel-context strong {
  margin-bottom: 4px;
  color: var(--brand);
}

.hotel-context span {
  color: var(--muted);
  line-height: 1.4;
}

.website-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.access-links .website-link {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  justify-content: center;
  background: #fbfdfe;
}

.website-link:hover,
.website-link:focus-visible {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form .field-group {
  margin-bottom: 0;
}

.contact-form .full-field,
.contact-form .form-error,
.contact-form .secondary-action {
  grid-column: 1 / -1;
}

.contact-shell {
  align-items: stretch;
}

.contact-hero {
  min-height: 620px;
}

.contact-hero .process-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-hero .process-strip div {
  min-width: 0;
}

.contact-page-panel {
  grid-column: auto;
  display: block;
}

.contact-page-panel .contact-form {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  min-height: 50px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .landing-shell {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .hero-panel {
    min-height: 470px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    background: var(--soft);
  }

  .landing-shell {
    width: min(100% - 24px, 1120px);
    gap: 16px;
  }

  .hero-panel {
    min-height: 430px;
    padding: 22px;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip div {
    min-height: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
  }

  .process-strip i {
    margin-bottom: 0;
  }

  .access-panel {
    padding: 22px;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(100% - 24px, 1120px);
    padding: 14px 0 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}
