/* v01 layout — tokens, nav & timeline live in ../v02/shared.css */

.hero {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.75rem 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 640px) {
  .hero { padding: 2.5rem 1.5rem 2rem; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
}
.hero-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hh-muted);
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--hh-charcoal);
}
.hero-lead {
  color: var(--hh-muted);
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.hero-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--hh-border);
}

.controls {
  background: white;
  border: 1px solid var(--hh-border);
  border-radius: var(--radius-2xl);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.controls-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hh-muted);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.pill-group { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pill {
  border: 1px solid var(--hh-border);
  background: var(--hh-stone);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  color: var(--hh-muted);
}
.pill:hover { border-color: var(--hh-green); color: var(--hh-charcoal); }
.pill.active {
  background: var(--hh-green);
  border-color: var(--hh-green);
  color: white;
  font-weight: 500;
}
.group-size-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hh-border);
}
.group-size-row input[type="range"] {
  flex: 1;
  accent-color: var(--hh-green);
}
.group-size-value {
  font-weight: 600;
  min-width: 5rem;
  text-align: right;
  font-size: 14px;
}

.alert {
  display: none;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 13px;
}
.alert.visible { display: flex; }
.alert-group {
  background: #faf0ea;
  border: 1px solid #e8cbb8;
  color: #6b4228;
}
.alert-icon { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }
.alert a { color: var(--hh-green); font-weight: 600; }
.alert-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
}

.section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.section-header span { font-size: 13px; color: var(--hh-muted); }

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.template-card {
  background: white;
  border: 1px solid var(--hh-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  font-family: inherit;
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.template-card:hover {
  border-color: var(--hh-green);
  box-shadow: var(--shadow-card);
}
.template-card.active {
  border-color: var(--hh-green);
  box-shadow: 0 0 0 1px var(--hh-green);
}
.template-card img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}
.template-card-body { padding: 0.75rem 0.9rem 0.9rem; }
.template-card-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.template-card-body p { font-size: 12px; color: var(--hh-muted); }
.badge {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.badge-full {
  background: #fde8e9;
  color: var(--hh-green);
}
.badge-half {
  background: #eef4f7;
  color: var(--hh-blue);
}

.day-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 960px) {
  .day-layout { grid-template-columns: 1fr; }
}

.day-panel {
  background: white;
  border: 1px solid var(--hh-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.day-panel-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--hh-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.day-panel-header h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.day-meta {
  font-size: 13px;
  color: var(--hh-muted);
  margin-top: 0.25rem;
}
.day-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--hh-green);
  color: white;
}
.btn-primary:hover { background: var(--hh-green-hover); }
.btn-secondary {
  background: white;
  color: var(--hh-charcoal);
  border: 1px solid var(--hh-border);
}
.btn-secondary:hover {
  border-color: var(--hh-green);
  color: var(--hh-green);
}

.day-panel-body .timeline { padding: 1.25rem 1.5rem 0.5rem; }
.activity-block { padding-bottom: 0.75rem; }

.sidebar-card {
  background: white;
  border: 1px solid var(--hh-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card-header {
  padding: 0.75rem 1rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hh-muted);
  border-bottom: 1px solid var(--hh-border);
  background: var(--hh-stone);
}
.map-preview {
  height: 180px;
  background: var(--hh-stone);
  position: relative;
  overflow: hidden;
}
.map-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.map-pin {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--hh-green);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.map-pin:nth-child(2) { top: 35%; left: 42%; }
.map-pin:nth-child(3) { top: 55%; left: 58%; }
.map-pin:nth-child(4) { top: 45%; left: 28%; }
.map-pin:nth-child(5) { top: 68%; left: 48%; }
.sidebar-summary { padding: 1rem; font-size: 13px; }
.sidebar-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.75rem;
}
.sidebar-summary dt { color: var(--hh-muted); }
.sidebar-summary dd { font-weight: 500; text-align: right; }
.sidebar-checklist {
  padding: 1rem;
  font-size: 12px;
  color: var(--hh-muted);
  line-height: 1.65;
}
.guest-portal-teaser {
  padding: 1rem;
  font-size: 13px;
  color: var(--hh-muted);
  border-top: 1px dashed var(--hh-border);
  line-height: 1.55;
}
.guest-portal-teaser strong {
  color: var(--hh-charcoal);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 13px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 30, 27, 0.45);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white;
  border: 1px solid var(--hh-border);
  border-radius: var(--radius-2xl);
  max-width: 420px;
  width: 100%;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}
.modal-wide { max-width: 480px; }
.modal h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.modal p {
  font-size: 14px;
  color: var(--hh-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.modal-field {
  margin-bottom: 1rem;
}
.modal-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hh-charcoal);
  margin-bottom: 0.35rem;
}
.modal-field-hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--hh-muted);
  margin-top: -0.2rem;
  margin-bottom: 0.4rem;
}
.modal input,
.modal-select,
.modal-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--hh-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--hh-cream);
}
.modal input { margin-bottom: 1rem; }
.modal-select { cursor: pointer; }
.modal-textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.45;
}
.modal input:focus,
.modal-select:focus,
.modal-textarea:focus {
  outline: 2px solid rgba(226, 7, 17, 0.25);
  border-color: var(--hh-green);
}
.modal-error {
  font-size: 13px;
  color: var(--hh-green);
  margin: -0.5rem 0 0.75rem;
}
.modal-error.hidden { display: none; }
.group-share-preview {
  background: #fef9ec;
  border: 1px solid #ecd9a8;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 13px;
  line-height: 1.5;
  color: #5c4a1a;
}
.group-share-preview.hidden { display: none; }
.group-share-preview strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.btn-group-share {
  border-color: #302782;
  color: #302782;
}
.btn-group-share:hover {
  border-color: #302782;
  background: #f6f4fc;
  color: #302782;
}
.modal-actions { display: flex; gap: 0.5rem; justify-content: flex-end; flex-wrap: wrap; }
.share-link {
  background: var(--hh-stone);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 12px;
  word-break: break-all;
  color: var(--hh-green);
  margin-bottom: 1rem;
  border: 1px solid var(--hh-border);
}
.share-link.visible { display: block; }

.mockup-footer {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--hh-border);
  font-size: 12px;
  color: var(--hh-muted);
  text-align: center;
}
.mockup-footer code {
  background: var(--hh-stone);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 11px;
}
