/* ============ CONTACT PAGE ============ */
.contact-stage {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(60px, 10vw, 120px);
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--cream-1);
  padding: 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-1);
  transition: transform .2s, background .2s;
}
.info-card.primary {
  background: var(--ink-1);
  color: var(--cream-1);
}
.info-card.primary:hover { transform: translateY(-2px); background: var(--accent-deep); }
.info-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.info-card.primary .info-eyebrow { color: color-mix(in srgb, var(--cream-1) 60%, transparent); }
.info-big {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--terracotta);
}
.info-mid {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}
.info-foot {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream-1) 60%, transparent);
}
.info-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  text-decoration: none;
  margin-top: 4px;
  border-bottom: 1px solid var(--terracotta);
  align-self: flex-start;
}

.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink-1) 8%, transparent);
  font-size: 14px;
  color: var(--ink-2);
}
.hours li:first-child { border-top: none; }
.hours li.off { color: var(--ink-3); font-style: italic; }
.hours li span:last-child { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }

.map-card { padding: 0; overflow: hidden; }
.fake-map {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--sage-tint) 0%, var(--cream-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink-1) 8%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink-1) 8%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-pin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pin-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px var(--cream-1);
  position: relative; z-index: 2;
}
.pin-pulse {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--terracotta) 30%, transparent);
  animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.map-label {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cream-1);
  padding: 6px 10px;
  border-radius: 100px;
  color: var(--ink-1);
}

.contact-form { padding: 4px 0; }
.contact-form h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 8px;
}
.form-intro {
  color: var(--ink-3);
  font-size: 14px;
  margin: 0 0 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fld select {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream-1);
  border: 1px solid color-mix(in srgb, var(--ink-1) 12%, transparent);
  border-radius: 4px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink-1);
  cursor: pointer;
}
.fld select:focus { outline: none; border-color: var(--terracotta); }
.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-actions .btn-primary.big { width: auto; }
.form-toast {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--sage-tint);
  border-left: 3px solid var(--sage);
  border-radius: 4px;
  font-size: 14px;
  color: var(--sage);
  animation: fade .4s ease both;
}

/* ============ PLANNING PAGE ============ */
.planning-stage {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 6vw, 80px);
}

.week-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--ink-1);
  border-bottom: 1px solid color-mix(in srgb, var(--ink-1) 12%, transparent);
}
.wn-btn {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ink-1) 14%, transparent);
  border-radius: 100px;
  padding: 10px 18px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-1);
  cursor: pointer;
  transition: all .2s;
}
.wn-btn:hover { background: var(--ink-1); color: var(--cream-1); }
.wn-btn.ghost { border-color: var(--terracotta); color: var(--terracotta); }
.wn-btn.ghost:hover { background: var(--terracotta); color: var(--cream-1); }
.wn-label {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wn-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.wn-label strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.wn-actions { display: flex; gap: 8px; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.cal-col {
  background: var(--cream-1);
  border-radius: 6px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
}
.cal-col.closed {
  background: color-mix(in srgb, var(--ink-1) 4%, transparent);
}
.cal-day-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink-1) 10%, transparent);
}
.cal-day-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
}
.cal-day-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cal-closed {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-style: italic;
}
.cal-slots { display: flex; flex-direction: column; gap: 6px; }
.slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: var(--body);
  text-align: left;
  transition: all .2s;
}
.slot:hover:not(:disabled) {
  border-color: var(--terracotta);
  transform: translateX(2px);
}
.slot-time {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--ink-1);
}
.slot-status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.slot.selected {
  background: var(--ink-1);
  border-color: var(--ink-1);
}
.slot.selected .slot-time, .slot.selected .slot-status {
  color: var(--cream-1);
}
.slot.booked, .slot.past {
  cursor: not-allowed;
  opacity: 0.45;
  background: transparent;
}
.slot.booked .slot-status { color: var(--ink-3); }
.slot.past { text-decoration: line-through; }

.booking-drawer {
  background: var(--cream-1);
  border-radius: 6px;
  padding: 28px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
  animation: fade .35s ease both;
  border: 1px solid color-mix(in srgb, var(--terracotta) 30%, transparent);
}
.bd-summary { display: flex; flex-direction: column; gap: 10px; }
.bd-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.bd-pick {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bd-pick strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.bd-time {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--terracotta);
  letter-spacing: 0.04em;
}
.bd-clear {
  align-self: flex-start;
  background: transparent;
  border: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
  text-decoration: underline;
}
.bd-form { display: flex; flex-direction: column; gap: 14px; }
.bd-form .fld { margin: 0; }
.bd-form .grid-2 { gap: 14px; }

.confirm-card {
  background: var(--ink-1);
  color: var(--cream-1);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  animation: fade .4s ease both;
}
.confirm-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.confirm-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 6px;
}
.confirm-card p { margin: 0 0 12px; color: color-mix(in srgb, var(--cream-1) 80%, transparent); line-height: 1.55; font-size: 14px; }
.confirm-card .btn-ghost { color: var(--cream-1); border-color: var(--cream-1); }

/* ADMIN */
.admin-section {
  background: var(--cream-1);
  padding: clamp(60px, 10vw, 120px) var(--pad);
  border-top: 1px solid color-mix(in srgb, var(--ink-1) 8%, transparent);
}
.admin-head {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.admin-head h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 12px;
}
.admin-head p {
  margin: 0;
  color: var(--ink-2);
  max-width: 520px;
  line-height: 1.55;
  font-size: 15px;
}

.admin-panel {
  max-width: var(--max);
  margin: 32px auto 0;
  background: var(--bg);
  padding: 24px;
  border-radius: 6px;
  animation: fade .3s ease both;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.admin-col {
  background: var(--cream-1);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-col.closed { opacity: 0.55; }
.admin-day-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink-1) 10%, transparent);
}
.admin-day-head > div { display: flex; flex-direction: column; gap: 2px; }
.admin-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.admin-slot {
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--ink-1) 10%, transparent);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  cursor: pointer;
  transition: all .15s;
}
.admin-slot:hover:not(:disabled) { border-color: var(--terracotta); }
.admin-slot.on {
  background: var(--terracotta);
  color: var(--cream-1);
  border-color: var(--terracotta);
}
.admin-slot:disabled { cursor: not-allowed; opacity: 0.5; }
.admin-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  padding-top: 4px;
  border-top: 1px solid color-mix(in srgb, var(--ink-1) 8%, transparent);
}

/* Toggle switch */
.switch { position: relative; display: inline-block; width: 36px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider-sw {
  position: absolute; cursor: pointer;
  inset: 0;
  background: color-mix(in srgb, var(--ink-1) 20%, transparent);
  border-radius: 20px;
  transition: .25s;
}
.slider-sw::before {
  position: absolute; content: "";
  height: 14px; width: 14px;
  left: 3px; top: 3px;
  background: var(--cream-1);
  border-radius: 50%;
  transition: .25s;
}
.switch input:checked + .slider-sw { background: var(--terracotta); }
.switch input:checked + .slider-sw::before { transform: translateX(16px); }

.admin-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--ink-1) 8%, transparent);
}
.admin-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-stage { grid-template-columns: 1fr; gap: 32px; }
  .grid-2 { grid-template-columns: 1fr; }
  .week-nav { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .wn-actions { justify-content: center; }
  .cal-grid { grid-template-columns: 1fr; }
  .booking-drawer { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-head { grid-template-columns: 1fr; }
}

/* ============ SOCIALS CARD ============ */
.socials-card { padding: 24px 28px; }
.social-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  text-decoration: none;
  color: var(--ink-1);
  border-top: 1px solid color-mix(in srgb, var(--ink-1) 10%, transparent);
  transition: color .2s, padding .2s;
}
.social-link:first-of-type { border-top: none; }
.social-link:hover { color: var(--terracotta); padding-left: 6px; }
.social-link svg { color: var(--terracotta); flex-shrink: 0; }
.social-link > div { display: flex; flex-direction: column; gap: 2px; }
.social-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 400;
}
.social-handle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* MAIL CARD */
.mail-card { text-decoration: none; color: var(--ink-1); display: block; transition: background .2s; }
.mail-card:hover { background: var(--cream-2); }
.mail-card .info-mid {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--terracotta);
}

/* ============ LOCATION CARD — PALAVAS ÉTANG SCENE ============ */
.location-card { padding: 0; overflow: hidden; }
.palavas-scene {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(180deg,
    #EAD6B8 0%,      /* warm dawn sky */
    #E8C5A0 30%,
    #D8A88A 50%,
    #94A89A 65%,     /* sage water start */
    #6E8A82 100%     /* deeper water */
  );
}
.ps-sky {
  position: absolute;
  inset: 0 0 50% 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 90%, color-mix(in srgb, var(--terracotta) 25%, transparent), transparent 60%),
    linear-gradient(180deg, #EAD6B8 0%, #E8C5A0 60%, transparent 100%);
}
.ps-sun {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, #F4D69A 30%, color-mix(in srgb, var(--terracotta) 50%, transparent) 70%, transparent 100%);
  top: 22%; right: 18%;
  filter: blur(0.5px);
  box-shadow: 0 0 40px 8px color-mix(in srgb, var(--terracotta) 30%, transparent);
}
.ps-town {
  position: absolute;
  left: 0; right: 0;
  bottom: 52%;
  height: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  opacity: 0.55;
  filter: blur(0.3px);
}
.ps-town-roof {
  background: #4A3A30;
  width: 14%;
}
.ps-town-roof.r1 { height: 14px; }
.ps-town-roof.r2 { height: 20px; }
.ps-town-roof.r3 { height: 12px; clip-path: polygon(0 100%, 0 30%, 50% 0, 100% 30%, 100% 100%); }
.ps-town-roof.r4 { height: 18px; }
.ps-town-roof.r5 { height: 10px; }
.ps-town-roof.r6 { height: 22px; clip-path: polygon(0 100%, 0 20%, 50% 0, 100% 20%, 100% 100%); }
.ps-town-tower {
  position: absolute;
  left: 62%;
  bottom: 0;
  width: 6px;
  height: 32px;
  background: #4A3A30;
}
.ps-town-tower::after {
  content: "";
  position: absolute;
  top: -8px; left: -3px;
  width: 12px; height: 10px;
  background: #4A3A30;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.ps-water {
  position: absolute;
  inset: 50% 0 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, #94A89A 90%, transparent) 0%, #5C7872 100%);
  overflow: hidden;
}
.ps-water::before {
  /* horizon reflection of warm sky */
  content: "";
  position: absolute;
  inset: 0 0 60% 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--terracotta) 22%, transparent), transparent);
}
.ps-ripple {
  position: absolute;
  height: 1.5px;
  background: color-mix(in srgb, #FAF6EE 50%, transparent);
  border-radius: 2px;
  opacity: 0.6;
}
.ps-ripple.r1 { width: 60px; top: 18%; left: 12%; }
.ps-ripple.r2 { width: 90px; top: 38%; left: 50%; }
.ps-ripple.r3 { width: 50px; top: 62%; left: 22%; }
.ps-reeds {
  position: absolute;
  inset: auto 0 0 0;
  height: 60px;
  pointer-events: none;
}
.ps-reed {
  position: absolute;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #3D2E22 0%, #1F1812 100%);
  transform-origin: bottom center;
  animation: ps-sway 4s ease-in-out infinite;
}
.ps-reed::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -60%);
  width: 6px; height: 14px;
  background: #3D2E22;
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
}
@keyframes ps-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
.ps-flamingo {
  position: absolute;
  width: 44px; height: 38px;
  right: 24%;
  bottom: 38%;
  color: color-mix(in srgb, var(--terracotta) 80%, #f4a4a0);
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.15));
}

.location-text { padding: 24px 28px; }
.location-text .info-mid {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  margin: 6px 0 12px;
  line-height: 1.3;
  display: block;
}
.location-text .info-foot {
  display: block;
  font-size: 13px;
  line-height: 1.55;
}

