:root {
  --azul: #062f57;
  --azul2: #0c5f94;
  --celeste: #58a9d4;
  --gris: #f3f7fa;
  --texto: #1d2b36;
  --muted: #5b6d7a;
  --line: #dce8ef;
  --white: #fff;
  --shadow: 0 22px 60px rgba(3, 36, 67, .14);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--texto);
  background: #fff;
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 42px)); margin-inline: auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: .28s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 35px rgba(6, 47, 87, .09);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 54px; width: auto; object-fit: contain; }
.brand small {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-header.scrolled .brand small { color: var(--azul); }
.menu { display: flex; align-items: center; gap: 28px; color: #fff; font-weight: 700; }
.site-header.scrolled .menu { color: var(--azul); }
.menu a { font-size: .95rem; }
.nav-cta {
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--azul) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}
.site-header.scrolled .nav-cta { background: var(--azul); color: #fff !important; }
.mobile-toggle {
  display: none;
  border: 0;
  background: #fff;
  color: var(--azul);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 21, 42, .88), rgba(0, 21, 42, .34), rgba(0, 21, 42, .12)),
    url('../img/hero-casa-lago-volcan-villarrica.webp') center / cover no-repeat;
  color: #fff;
  padding: 126px 0 80px;
}
.hero-content { max-width: 660px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #dff5ff;
}
.eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--celeste); }
h1 {
  font-size: clamp(2.15rem, 4.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 22px 0;
  font-weight: 800;
}
.lead {
  font-size: clamp(1.06rem, 2vw, 1.33rem);
  max-width: 690px;
  text-align: justify;
  color: rgba(255, 255, 255, .92);
}
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn.primary { background: var(--celeste); color: #07253e; }
.btn.dark { background: var(--azul); color: #fff; }
.btn.light { background: #fff; color: var(--azul); }
.btn.ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }

.section { padding: 110px 0; }
.section.soft { background: var(--gris); }
.section-title { max-width: 840px; margin-bottom: 42px; }
.kicker {
  font-weight: 900;
  color: var(--azul2);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}
.section h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--azul);
  margin: 10px 0 18px;
  font-weight: 750;
}
.section p { text-align: justify; color: var(--muted); font-size: 1.05rem; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 58px;
  align-items: center;
}
.visual-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  aspect-ratio: 4 / 3;
}
.visual-card img { width: 100%; height: 100%; object-fit: cover; }
.visual-card figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  border-radius: 999px;
  background: rgba(3, 29, 53, .82);
  color: #fff;
  padding: 8px 13px;
  font-size: .82rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 14px 36px rgba(6, 47, 87, .06);
}
.soft .card { background: #fff; }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #e8f5fb;
  color: var(--azul);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; color: var(--azul); font-size: 1.15rem; }
.facts { grid-template-columns: repeat(4, 1fr); }
.fact strong {
  display: block;
  font-size: 1.8rem;
  color: var(--azul);
  line-height: 1.08;
  margin-bottom: 12px;
}
.blue-band {
  margin-top: 34px;
  background: linear-gradient(135deg, var(--azul), #0b5e91);
  color: #fff;
  border-radius: 24px;
  padding: 28px 34px;
  font-weight: 850;
  font-size: 1.22rem;
}
.survey-panel {
  background: #fff;
  border-radius: 32px;
  padding: 38px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.check { display: flex; gap: 12px; margin: 14px 0; color: var(--texto); font-weight: 650; }
.check::before { content: "✓"; color: var(--azul2); font-weight: 950; }
.principles { grid-template-columns: repeat(4, 1fr); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: t; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  min-height: 184px;
}
.step::before {
  counter-increment: t;
  content: counter(t);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--azul);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}
.final {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 24, 45, .82), rgba(0, 24, 45, .34)),
    url('../img/pucon-hostal-nativa-jardin.webp') center / cover no-repeat;
  padding: 120px 0;
}
.final h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -.025em;
  margin: 10px 0 18px;
  font-weight: 750;
}
.final p { color: rgba(255, 255, 255, .9); max-width: 830px; }
.contact-line { font-weight: 900; font-size: 1.1rem; margin: 25px 0; color: #fff; }

.footer { background: #031d35; color: #d8e9f2; padding: 46px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer img { height: 62px; filter: brightness(0) invert(1); }
.footer small { color: #a7bfce; }
.reveal { opacity: 0; transform: translateY(22px); transition: .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.page-hero {
  padding: 150px 0 70px;
  background:
    linear-gradient(90deg, rgba(6, 47, 87, .86), rgba(12, 95, 148, .5)),
    url('../img/pucon-hotel-bosque.webp') center / cover no-repeat;
  color: #fff;
}
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.12; }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 780px; text-align: justify; }
.project-hero {
  background:
    linear-gradient(90deg, rgba(0, 21, 42, .88), rgba(0, 21, 42, .42)),
    url('../img/hero-casa-lago-volcan-villarrica.webp') center / cover no-repeat;
}
.project-principles .card { min-height: 236px; }
.project-timeline { margin-top: 42px; }
.project-final {
  background:
    linear-gradient(90deg, rgba(0, 24, 45, .84), rgba(0, 24, 45, .42)),
    url('../img/lago-villarrica.webp') center / cover no-repeat;
}
.contact-hero {
  background:
    linear-gradient(90deg, rgba(6, 47, 87, .88), rgba(12, 95, 148, .42)),
    url('../img/hero-casa-lago-volcan-villarrica.webp') center / cover no-repeat;
}
.contact-section .grid-2 { align-items: start; }
.contact-copy h2 { overflow-wrap: anywhere; }
.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.contact-details div {
  border-left: 4px solid var(--celeste);
  background: #eef8fd;
  border-radius: 14px;
  padding: 16px 18px;
}
.contact-details strong {
  display: block;
  color: var(--azul);
  font-weight: 850;
  margin-bottom: 4px;
}
.contact-details span { color: var(--muted); }
.form-box {
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 8px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: var(--texto);
  background: #fff;
}
textarea {
  min-height: 150px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(48, 166, 216, .22);
  border-color: var(--celeste);
}
.contact-form .btn { width: 100%; justify-content: center; }
.form-note {
  margin: 14px 0 0;
  font-size: .92rem !important;
  text-align: left !important;
  color: var(--muted);
}
.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--celeste);
  background: #eef8fd;
  border-radius: 12px;
  color: var(--azul);
}

@media (max-width: 900px) {
  .brand small { display: none; }
  .mobile-toggle { display: block; }
  .menu {
    position: fixed;
    inset: 82px 18px auto 18px;
    background: #fff;
    color: var(--azul);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .menu.open { display: flex; }
  .site-header.scrolled .menu { color: var(--azul); }
  .nav-cta { background: var(--azul); color: #fff !important; }
  .grid-2,
  .cards,
  .facts,
  .principles,
  .timeline { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  .hero { padding-top: 120px; }
  .lead,
  .section p { text-align: left; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .actions .btn { width: 100%; }
  .hero-content { max-width: 100%; }
  h1 { font-size: 2.35rem; }
  .brand img { height: 46px; }
  .visual-card { border-radius: 22px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { min-height: 92svh; background-position: center; }
  .card,
  .survey-panel { padding: 22px; }
  .section h2,
  .final h2 { font-size: 1.75rem; }
  .blue-band { padding: 22px; font-size: 1.05rem; }
  .facts .card strong { font-size: 1.42rem; }
}
