/* ============================================================
   ÉKO '77 — CONTACT
   Everything a hungry phone needs above the fold: who is open,
   what to tap. The week's hours and the enquiry form follow.
   Loads after style.css; only what the system does not already have.
   ============================================================ */

/* ============================================================
   THE BOARD — dark opening block, header sits over it
   ============================================================ */

.ct-hero {
  position: relative;
  background: var(--night);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(108px, 14vh, 168px) clamp(40px, 5vw, 64px);
}
.ct-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/adire.png?v=3");
  background-size: var(--adire) var(--adire);
  background-position: right -70px top -50px;
  opacity: .07;
  -webkit-mask-image: radial-gradient(74% 64% at 22% 34%, transparent 0%, #000 84%);
          mask-image: radial-gradient(74% 64% at 22% 34%, transparent 0%, #000 84%);
  pointer-events: none;
}
.ct-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(56% 50% at 16% 22%, rgba(185,156,85,.15) 0%, rgba(20,18,15,0) 72%),
    linear-gradient(180deg, rgba(20,18,15,.55) 0%, rgba(20,18,15,0) 34%);
  pointer-events: none;
}
.ct-hero__inner {
  position: relative; z-index: 2;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.ct-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(33px, 5.4vw, 58px);
  line-height: 1.05;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin: 13px 0 0;
}
.ct-hero__lede {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.58;
  color: rgba(255,255,255,.64);
  max-width: 52ch;
  text-wrap: pretty;
  margin: 15px 0 0;
}
.ct-hero__mail {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
  margin: clamp(20px, 2.4vw, 28px) 0 0;
}
.ct-hero__mail a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -10px;
}
.ct-hero__mail a span {
  border-bottom: 1px solid rgba(255,255,255,.32);
  padding-bottom: 3px;
  transition: border-color .25s ease;
}
.ct-hero__mail a:hover span { border-color: #fff; }

/* ---- the four rooms, live ---------------------------------- */

.rooms {
  list-style: none;
  margin: clamp(24px, 3.2vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.room {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.028);
  padding: 13px 13px 13px 16px;
  transition: border-color .3s ease, background .3s ease;
}
.room:hover { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); }

.room__go { flex: 1 1 auto; min-width: 0; display: block; padding: 3px 0; }
.room__name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.15;
  letter-spacing: .02em;
  color: #fff;
}
.room:hover .room__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.room__status,
.rcard__status {
  display: block;
  position: relative;
  padding-left: 14px;
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  min-height: 13px;
}
.room__status::before,
.rcard__status::before {
  content: "";
  position: absolute;
  left: 0; top: .46em;
  width: 6px; height: 6px;
  border-radius: 50%;
}

.room__status {
  font-size: 9.5px;
  letter-spacing: .11em;
  line-height: 1.5;
  color: rgba(255,255,255,.5);
  margin: 5px 0 0;
}
.room__status::before { background: rgba(255,255,255,.28); }
.room__status.is-open { color: #6ddba4; }
.room__status.is-open::before { background: #3fbd80; box-shadow: 0 0 0 3px rgba(63,189,128,.2); }

.room__tel {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #fff;
  white-space: nowrap;
  transition: background .28s ease, color .28s ease, border-color .28s ease;
}
.room__tel:hover { background: #fff; border-color: #fff; color: var(--ink); }
.tel-ico { width: 13px; height: 13px; fill: currentColor; flex: none; }

/* ============================================================
   THE FOUR — a card per room
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.rcard {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1fr);
  gap: clamp(16px, 1.9vw, 24px);
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(15px, 1.7vw, 20px);
  scroll-margin-top: 92px;
  transition: border-color .35s ease;
}
.rcard:hover { border-color: var(--ink-3); }
.rcard__shot .plate { padding: 5px; }
.rcard__shot img { aspect-ratio: 4 / 3.4; }

.rcard__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(25px, 2.5vw, 32px);
  line-height: 1.1;
  letter-spacing: .02em;
  margin: 7px 0 0;
}
.rcard__status {
  font-size: 10.5px;
  letter-spacing: .14em;
  line-height: 1.45;
  color: var(--ink-3);
  margin: 10px 0 0;
}
.rcard__status::before { background: var(--rule); }
.rcard__status.is-open { color: var(--green-deep); }
.rcard__status.is-open::before { background: var(--green); box-shadow: 0 0 0 3px rgba(0,131,78,.15); }

/* ---- the printed week -------------------------------------- */

.hours {
  margin: 15px 0 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--rule-soft);
}
.hours__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
}
.hours__row dt {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-2);
}
.hours__row dd {
  margin: 0;
  flex: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--ink-2);
  white-space: nowrap;
}
.hours__row dd.is-shut { color: var(--ink-3); }
.hours__row.is-today dt,
.hours__row.is-today dd { color: var(--ink); font-weight: 600; }
.hours__row.is-today dt::after {
  content: "Today";
  display: inline-block;
  vertical-align: 1px;
  margin-left: 9px;
  padding: 3px 7px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(0,131,78,.1);
}

/* ---- address + actions ------------------------------------- */

.rcard__addr {
  display: block;
  margin-top: 14px;
  padding: 7px 0;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.rcard__dir {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.rcard__addr:hover .rcard__dir { text-decoration: underline; text-underline-offset: 3px; }

.rcard__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 17px;
}
.rcard__acts .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 20px;
  font-size: 12.5px;
}
.btn--call { letter-spacing: .04em; }

.ct-rooms__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-3);
  text-align: center;
  margin: clamp(24px, 3vw, 34px) auto 0;
}
.ct-rooms__note b { font-style: normal; font-weight: 400; color: var(--ink-2); }

/* ============================================================
   ENQUIRY FORM
   ============================================================ */

.ask {
  background: var(--paper);
  border: 1px solid var(--ink);
  outline: 1px solid rgba(28,25,23,.2);
  outline-offset: 5px;
  padding: clamp(22px, 3.2vw, 44px);
}
.ask__head { margin-bottom: clamp(22px, 2.6vw, 30px); }
.ask__head .heading { margin-top: 11px; }
.ask__note {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.58;
  color: var(--ink-2);
  margin: 12px 0 0;
  max-width: 56ch;
}

.fld-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.fld { margin: 0 0 18px; }
.fld__lbl {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.fld__lbl i { font-style: normal; color: var(--green); }

.fld input,
.fld textarea,
.fld select {
  width: 100%;
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 12px 2px;
  min-height: 46px;
  transition: border-color .25s ease;
}
.fld textarea { resize: vertical; min-height: 108px; }
.fld input:focus,
.fld textarea:focus,
.fld select:focus { outline: 0; border-bottom-color: var(--green); }

.fld__sel { position: relative; display: block; }
.fld__sel select { -webkit-appearance: none; appearance: none; padding-right: 30px; cursor: pointer; }
.fld__sel::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.fld__sel select.is-placeholder { color: var(--ink-3); }

.fld__err {
  display: none;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .03em;
  color: #A63A24;
  margin-top: 7px;
}
.fld.is-bad input { border-bottom-color: #A63A24; }
.fld.is-bad .fld__err { display: block; }

.ask__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 14px;
}
.ask__foot .btn { min-height: 48px; display: inline-flex; align-items: center; }
.ask__truth {
  flex: 1 1 260px;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
}
.ask__truth b { color: var(--ink-2); font-weight: 600; }

.ask__done-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  margin: 12px 0 0;
}
.ask__done-title:focus { outline: 0; }
.ask__done-title { scroll-margin-top: 96px; }
.ask__done-text {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 13px 0 24px;
  max-width: 58ch;
}
.ask__done-text a { border-bottom: 1px solid var(--rule); }
.ask__done-text a:hover { border-bottom-color: var(--ink); }
.ask__done .btn { min-height: 48px; display: inline-flex; align-items: center; }

.ct-aside {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15.5px;
  color: var(--ink-3);
  text-align: center;
  margin: clamp(24px, 3vw, 34px) 0 0;
}
.ct-aside a {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 0 0 4px;
}
.ct-aside a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1180px) {
  .cards { grid-template-columns: 1fr; }
  .rcard { grid-template-columns: minmax(0, .58fr) minmax(0, 1fr); max-width: 820px; margin-inline: auto; width: 100%; }
}

@media (min-width: 621px) {
  .room {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 15px 15px 16px;
  }
  .room__go { flex: 0 0 auto; }
  .room__tel { width: 100%; }
  .room__status { font-size: 10px; letter-spacing: .12em; }
}

@media (max-width: 1080px) {
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .rcard { grid-template-columns: 1fr; gap: 0; }
  .rcard__shot { display: none; }
  .rcard__name { margin-top: 6px; }
}

@media (max-width: 620px) {
  .rooms { grid-template-columns: 1fr; gap: 8px; }
  .room { padding: 11px 11px 11px 15px; }
  .room__tel { width: 44px; padding: 0; }
  .room__tel span { display: none; }
  .tel-ico { width: 15px; height: 15px; }

  .fld-row { grid-template-columns: 1fr; gap: 0; }
  .ask__foot .btn { width: 100%; justify-content: center; }
  .rcard__acts .btn { flex: 1 1 auto; }
  .ask__done .btn { width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
  /* the system already gives buttons a 44px box here — keep ours in step */
  .ct-hero__lede { font-size: 16px; }
  .hours__row dt { font-size: 15.5px; }
  .ct-rooms__note, .ct-aside { text-align: left; }
}

@media (max-width: 380px) {
  .hours__row { flex-wrap: wrap; gap: 2px 10px; }
  .hours__row dd { width: 100%; }
  .hours__row.is-today dt::after { margin-left: 7px; }
}
