/* VILLA ELERIA — private residence concept
   Palette: warm plaster, olive, deep green, muted gold. EB Garamond display. */

:root {
  --badge-bg: rgba(45, 52, 34, 0.9);
  --badge-dot: #c9b183;
  --paper: #f7f3ea;
  --paper-2: #f0e9db;
  --ink: #2e3127;
  --muted: #6b6f5f;
  --olive: #55603c;
  --olive-dk: #39422c;
  --gold: #b99a63;
  --line: rgba(46, 49, 39, 0.14);
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  --serif: "EB Garamond", Georgia, serif;
}

body.eleria {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.e-wrap { width: min(1200px, 92vw); margin: 0 auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: #000; padding: 10px 16px; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------- header ---------------- */
.e-head { position: absolute; inset: 0 0 auto; z-index: 30; padding: 26px 0 0; }

.e-head__in { display: flex; align-items: center; justify-content: space-between; gap: 26px; }

.e-logo {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 9px;
  align-items: center;
  color: #fff;
  line-height: 1;
}
.e-logo svg { grid-row: span 2; color: rgba(255, 255, 255, 0.8); }
.e-logo__name { font-family: var(--serif); font-size: 23px; letter-spacing: 0.12em; }
.e-logo__sub { font-size: 7.5px; letter-spacing: 0.36em; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }

.e-nav ul { display: flex; gap: 24px; }
.e-nav a {
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}
.e-nav a:hover { border-bottom-color: rgba(255, 255, 255, 0.45); }
.e-nav a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, 0.85); }

.e-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--olive);
  color: #f7f2e4;
  font-size: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.e-cta:hover { background: #626e46; }

/* ---------------- hero ---------------- */
.e-hero {
  position: relative;
  isolation: isolate;
  height: clamp(400px, 39vw, 620px);
  background: #1d2a2a;
  overflow: hidden;
}

.e-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  z-index: -2;
}

.e-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 26, 20, 0.84) 0%, rgba(18, 26, 20, 0.5) 42%, rgba(18, 26, 20, 0.02) 74%),
    linear-gradient(0deg, rgba(14, 20, 14, 0.3), rgba(14, 20, 14, 0) 40%);
}

.e-hero__body { padding-top: clamp(104px, 12.5vw, 168px); }

.e-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(33px, 4.3vw, 56px);
  line-height: 1.12;
  color: #fff;
  letter-spacing: 0.002em;
}

.e-hero p {
  margin-top: 16px;
  max-width: 44ch;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.e-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.e-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.e-btn--solid { background: var(--olive); color: #f8f3e6; }
.e-btn--solid:hover { background: #64704a; }
.e-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.e-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

.e-hero__scene {
  position: absolute;
  right: 4vw;
  bottom: 26px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------------- shared ---------------- */
.e-sec { padding: 76px 0; }

.e-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8b7a56;
  margin-bottom: 16px;
}
.e-eyebrow span { display: block; width: 26px; height: 1px; background: rgba(139, 122, 86, 0.6); }
.e-eyebrow--center { justify-content: center; }
.e-eyebrow--center span { width: 34px; }

.e-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 3.1vw, 42px);
  line-height: 1.16;
  color: #2b2e24;
}
.e-h2--center { text-align: center; margin-bottom: 38px; }

.e-body { margin-top: 18px; font-size: 14.5px; color: #5a5d4e; max-width: 52ch; }

/* ---------------- intro ---------------- */
.e-intro__in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.e-intro__img {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  aspect-ratio: 1.32;
  object-fit: cover;
  border-radius: 2px;
}

/* ---------------- strip ---------------- */
.e-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.e-strip figure { position: relative; overflow: hidden; }

.e-strip img {
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.e-strip figcaption {
  display: none;
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.e-strip figure::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(0deg, rgba(20, 24, 16, 0.55), rgba(20, 24, 16, 0));
  pointer-events: none;
}

/* ---------------- amenities ---------------- */
.e-amen { background: var(--paper-2); padding: 48px 0 46px; }

.e-amen__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.e-amen__grid li {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 2px 12px;
  border-left: 1px solid rgba(46, 49, 39, 0.13);
  text-align: center;
}
.e-amen__grid li:first-child { border-left: 0; }

.e-amen__grid svg { color: #6a7055; width: 36px; height: 36px; }
.e-amen__grid span { font-size: 11.5px; line-height: 1.5; color: #4d5042; }

/* ---------------- experience ---------------- */
.e-exp {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  background: var(--paper);
}

.e-exp__img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 500px;
  object-fit: cover;
}

.e-exp__body { display: flex; align-items: center; padding: 58px clamp(28px, 5vw, 78px); }
.e-exp__in { width: 100%; max-width: 560px; }

.e-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
  position: relative;
}

.e-steps::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: rgba(46, 49, 39, 0.18);
}

.e-steps li { position: relative; }

.e-steps__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(85, 96, 60, 0.5);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
  color: #4d5736;
  position: relative;
  z-index: 2;
}

.e-steps h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: #2e3127;
}

.e-steps p { margin-top: 6px; font-size: 12px; line-height: 1.6; color: #6c705f; }

/* ---------------- testimonial ---------------- */
.e-quote { background: #f1ebdd; padding: 62px 0; }

.e-quote__in {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.e-quote__desc { margin-top: 14px; font-size: 13px; color: #63664f; max-width: 34ch; }
.e-quote__note { margin-top: 10px; font-size: 11px; color: #918b79; }

.e-quote__body {
  position: relative;
  padding-left: 30px;
  border-left: 1px solid rgba(46, 49, 39, 0.2);
}

.e-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.5;
  color: #3a3d31;
  max-width: 40ch;
}

.e-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.e-quote__name { font-size: 12.5px; font-weight: 600; }
.e-quote__stars { color: var(--gold); font-size: 12px; letter-spacing: 0.16em; }

.e-quote__nav { display: flex; gap: 10px; margin-top: 24px; }
.e-quote__nav span {
  width: 34px; height: 34px;
  border: 1px solid rgba(46, 49, 39, 0.24);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #565a48;
}

/* ---------------- sunset form ---------------- */
.e-sunset {
  position: relative;
  isolation: isolate;
  padding: 76px 0;
  background: #2a3324;
  overflow: hidden;
}

.e-sunset__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.e-sunset::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(24, 30, 20, 0.78) 0%, rgba(24, 30, 20, 0.55) 46%, rgba(24, 30, 20, 0.22) 100%);
}

.e-sunset__in {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.e-sunset__copy { color: #fff; }
.e-sunset__copy .e-h2 { color: #fff; }
.e-sunset__copy p { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.82); max-width: 38ch; }

.e-form {
  background: #fff;
  border-radius: 3px;
  padding: 26px 24px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.e-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

.e-field {
  display: block;
  border: 1px solid #ded9cd;
  border-radius: 2px;
  padding: 9px 12px 10px;
  background: #fdfcf9;
}

.e-field b {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #4a4d40;
}
.e-field b sup { color: #9a7a45; }

.e-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
  font-size: 12px;
  color: #9a968a;
}
.e-field svg { color: #8d8878; }

.e-field--msg { display: block; min-height: 74px; margin-bottom: 14px; }

.e-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--olive);
  color: #f8f3e6;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 13px;
  border-radius: 2px;
}

.e-form__note {
  margin-top: 10px;
  font-size: 10px;
  color: #9b9789;
  text-align: center;
}

/* ---------------- footer ---------------- */
.e-foot { background: var(--olive-dk); color: #ece6d6; padding: 26px 0 16px; }

.e-foot__in {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  flex-wrap: wrap;
}

.e-logo--foot { color: #f3eddd; }
.e-logo--foot svg { display: none; }

.e-foot__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(240, 234, 218, 0.82);
}
.e-foot__item svg { color: rgba(201, 177, 131, 0.9); }
.e-foot__item em { font-style: normal; opacity: 0.55; }

.e-foot__social { display: flex; gap: 9px; margin-left: auto; }
.e-foot__social span {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border: 1px solid rgba(240, 234, 218, 0.3);
  border-radius: 50%;
  color: rgba(240, 234, 218, 0.85);
}

.e-foot__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(240, 234, 218, 0.16);
  font-size: 10.5px;
  color: rgba(240, 234, 218, 0.55);
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .e-nav ul { gap: 16px; }
  .e-nav a { font-size: 11px; }
  .e-amen__grid { gap: 0; }
  .e-sunset__in { grid-template-columns: 1fr 440px; }
}

@media (max-width: 900px) {
  .e-nav { display: none; }
  .e-hero::after {
    background: linear-gradient(180deg, rgba(18, 26, 20, 0.58) 0%, rgba(18, 26, 20, 0.35) 45%, rgba(18, 26, 20, 0.62) 100%);
  }
  .e-hero__body { padding-top: 140px; }
  .e-hero h1 br { display: none; }

  .e-sec { padding: 70px 0; }
  .e-intro__in { grid-template-columns: 1fr; }
  .e-intro__img { order: -1; }

  .e-strip { grid-template-columns: 1fr; }
  .e-strip img { aspect-ratio: 1.5; }

  .e-amen__grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .e-amen__grid li:nth-child(4) { border-left: 0; }

  .e-exp { grid-template-columns: 1fr; }
  .e-exp__img { min-height: 300px; max-height: 360px; }
  .e-exp__body { padding: 52px 6vw 60px; }

  .e-quote__in { grid-template-columns: 1fr; }

  .e-sunset { padding: 72px 0; }
  .e-sunset__in { grid-template-columns: 1fr; }
  .e-sunset__copy { max-width: 30ch; }

  .e-foot__social { margin-left: 0; }
  .e-foot__base { flex-direction: column; }
}

@media (max-width: 620px) {
  .e-hero { height: 600px; }
  .e-hero h1 { font-size: 32px; }
  .e-h2 { font-size: 26px; }
  .e-h2 br { display: none; }
  .e-amen__grid { grid-template-columns: 1fr 1fr; }
  .e-amen__grid li:nth-child(3),
  .e-amen__grid li:nth-child(5) { border-left: 0; }
  .e-amen__grid li:nth-child(4) { border-left: 1px solid rgba(46, 49, 39, 0.13); }

  .e-steps { grid-template-columns: 1fr; gap: 22px; }
  .e-steps::before { display: none; }

  .e-form__row { grid-template-columns: 1fr; }
  .e-form { padding: 20px 16px 16px; }

  .e-logo__name { font-size: 19px; }
  .e-logo__sub { font-size: 6.5px; letter-spacing: 0.28em; }
  .e-hero__scene { display: none; }
}

@media (max-width: 360px) {
  .e-hero { height: 640px; }
  .e-hero h1 { font-size: 29px; }
  .e-amen__grid { grid-template-columns: 1fr; }
  .e-amen__grid li { border-left: 0; }
}
