/* Eco Hotel Argentina — sitio institucional */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca (logo) */
  --olive: #b2b137;
  --olive-strong: #8f8e22;
  --green-dark: #042d2e;
  --green-deep: #0b3b3b;
  /* Neutros arena / tierra del norte */
  --sand-50: #faf7f1;
  --sand-100: #f3ede2;
  --sand-200: #e6dccb;
  --earth-500: #9a6b47;
  --earth-700: #6b4630;
  --ink: #1d2523;
  --ink-soft: #4d5754;
  --white: #ffffff;
  --whatsapp: #1f9d55;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(4, 45, 46, 0.08);
  --max: 1180px;
  --gutter: 20px;
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); }
a:hover { color: var(--olive-strong); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--green-dark);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 6.5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive-strong);
  margin-bottom: .75rem;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--green-dark); color: var(--white); padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 10px 20px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--olive); color: var(--green-dark); }
.btn-primary:hover { background: var(--olive-strong); color: var(--white); }
.btn-dark { background: var(--green-dark); color: var(--white); }
.btn-dark:hover { background: var(--green-deep); color: var(--white); }
.btn-outline { border-color: var(--green-dark); color: var(--green-dark); background: transparent; }
.btn-outline:hover { background: var(--green-dark); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-light:hover { background: var(--white); color: var(--green-dark); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #17834a; color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 241, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--sand-200);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand img { width: 150px; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 0; background: transparent; color: var(--green-dark); cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--sand-50); border-bottom: 1px solid var(--sand-200); box-shadow: var(--shadow);
}
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.site-nav li a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--sand-200);
  color: var(--green-dark); text-decoration: none; font-weight: 500;
}
.site-nav .nav-cta { margin-top: 16px; }
.site-nav .nav-cta a { border: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 40px; padding: 8px 16px; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .brand img { width: 170px; }
  .site-nav, .site-nav.is-open { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 28px; padding: 0; }
  .site-nav li a { padding: 6px 0; border: 0; font-size: .95rem; }
  .site-nav li a:hover { color: var(--olive-strong); }
  .site-nav .nav-cta { display: none; }
}
@media (max-width: 959px) { .header-actions .btn-reservar-header { display: none; } }
@media (min-width: 960px) { .header-actions { order: 3; } }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 720px);
  display: flex; align-items: flex-end;
  color: var(--white);
  background: var(--green-dark);
}
.hero picture, .hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
}
.hero img.hero-bg { object-fit: cover; object-position: center 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4,45,46,.15) 0%, rgba(4,45,46,.35) 45%, rgba(4,45,46,.85) 100%);
}
.hero-content { padding-top: 120px; padding-bottom: 56px; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero p { font-size: 1.15rem; max-width: 52ch; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-credit { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: 28px; }

/* Nosotros */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; }
.about-points svg { width: 22px; height: 22px; flex: none; color: var(--olive-strong); margin-top: 3px; }
.callout {
  margin-top: 28px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--sand-100); border-left: 4px solid var(--olive);
}
.callout strong { color: var(--green-dark); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

/* Cifras */
.stats { background: var(--green-dark); color: var(--white); padding: 48px 0; }
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; text-align: center; }
.stats-grid strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1; color: var(--olive);
}
.stats-grid span { display: block; margin-top: 8px; font-size: .95rem; color: rgba(255,255,255,.85); }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* Propiedades */
.properties { background: var(--sand-100); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.destination { margin-top: 48px; }
.destination:first-of-type { margin-top: 0; }
.destination-title {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 24px; border-bottom: 1px solid var(--sand-200);
}
.destination-title h3 { font-size: 1.6rem; margin: 0; }
.destination-title span { color: var(--ink-soft); font-size: .95rem; }
.cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.card-media { position: relative; }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--olive); color: var(--green-dark);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-body h4 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.2;
  color: var(--green-dark); margin: 0 0 4px;
}
.card-meta { font-size: .85rem; color: var(--earth-700); font-weight: 500; margin-bottom: 12px; }
.card-body p { color: var(--ink-soft); font-size: .97rem; }
.card-phone {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px;
  font-weight: 600; color: var(--green-dark); text-decoration: none; min-height: 44px;
}
.card-phone svg { width: 18px; height: 18px; color: var(--olive-strong); }
.card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-actions .btn { padding: 10px 12px; }

/* Sustentabilidad */
.practices { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .practices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .practices { grid-template-columns: repeat(5, 1fr); } }
.practice {
  background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius);
  padding: 24px 20px; display: flex; gap: 16px; align-items: flex-start;
}
@media (min-width: 1000px) { .practice { flex-direction: column; } }
.practice-icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(178,177,55,.18); color: var(--green-dark);
}
.practice-icon svg { width: 26px; height: 26px; }
.practice h3 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin: 0 0 4px; }
.practice p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* Contacto */
.contact { background: var(--white); }
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact-box { background: var(--sand-50); border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--sand-200); }
.contact-box + .contact-box { margin-top: 20px; }
.contact-box h3 { font-size: 1.25rem; }
.contact-hours { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); margin-bottom: 16px; }
.contact-hours svg { width: 20px; height: 20px; color: var(--olive-strong); flex: none; }
.contact-actions { display: grid; gap: 10px; }
.contact-actions .btn { justify-content: flex-start; width: 100%; }
.contact-actions small { display: block; font-weight: 400; opacity: .85; }
.phone-list { list-style: none; margin: 0; padding: 0; }
.phone-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--sand-200); }
.phone-list li:last-child { border-bottom: 0; }
.phone-list span { color: var(--ink-soft); font-size: .95rem; }
.phone-list a { font-weight: 600; text-decoration: none; white-space: nowrap; min-height: 32px; display: inline-flex; align-items: center; }

/* Formulario */
.form-card { background: var(--sand-100); border-radius: var(--radius); padding: 28px 22px; }
@media (min-width: 600px) { .form-card { padding: 36px 34px; } }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--green-dark); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius-sm);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--olive); border-color: var(--olive); }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: 16px 0 0; }
.form-actions { margin-top: 20px; }
.form-actions .btn { width: 100%; }
@media (min-width: 600px) { .form-actions .btn { width: auto; } }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e3f1dc; color: #1f4a17; }
.form-status.err { background: #f8e2dc; color: #7a2412; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.82); padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: var(--olive); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img { width: 170px; margin-bottom: 16px; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin: 0 0 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 8px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.3);
}
.social a:hover { border-color: var(--olive); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem;
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whatsapp); color: var(--white);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.wa-float:hover { background: #17834a; color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

/* Página interna (legales) */
.page-legal { padding: 56px 0 80px; }
.page-legal .container { max-width: 780px; }
.page-legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.page-legal h2 { font-size: 1.35rem; margin-top: 1.8em; }

/* Ajustes móviles */
.site-nav .nav-cta a.btn { display: flex; justify-content: center; padding: 12px 20px; color: var(--green-dark); }
@media (max-width: 519px) {
  .phone-list li { flex-direction: column; align-items: flex-start; }
}
