* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Arial, sans-serif; background: #eef2ff; color: #111827; }
a { color: #1e3a8a; font-weight: 600; text-decoration: none; }
.hero { min-height: 560px; background: linear-gradient(135deg, rgba(20, 41, 77, 0.88), rgba(13, 22, 42, 0.90)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=80'); background-size: cover; background-position: center; color: white; }
.overlay { min-height: 560px; padding: 30px; }
.topnav { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topnav a, .topnav span { color: white; margin-left: 15px; }
.hero-content { max-width: 840px; margin: 110px auto 0; text-align: center; }
.hero h1 { font-size: 50px; line-height: 1.05; margin-bottom: 15px; }
.hero p { font-size: 20px; color: rgba(229,231,235,.95); margin-bottom: 30px; }
.search { display: flex; flex-wrap: wrap; gap: 12px; background: rgba(255,255,255,.95); padding: 16px; border-radius: 18px; margin-top: 20px; box-shadow: 0 22px 55px rgba(0,0,0,.18); }
.search input { flex: 1; border: 1px solid #cbd5e1; }
.search button { min-width: 160px; }
.hero-links { margin-top: 16px; }
.hero-links .button-link { display: inline-flex; margin-right: 12px; }
.container { max-width: 1100px; margin: 40px auto; padding: 25px; }
.narrow { max-width: 720px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card { background: white; padding: 28px; border-radius: 20px; box-shadow: 0 18px 45px rgba(15,23,42,.08); margin-bottom: 24px; }
.business-card { min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.calendar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 20px; }
.schedule-card { background: #f8fafc; border-radius: 18px; padding: 20px; box-shadow: 0 18px 30px rgba(15,23,42,.08); border: 1px solid #e2e8f0; }
.schedule-card .card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.schedule-card h3 { margin: 0 0 10px; font-size: 20px; color: #1e3a8a; }
.schedule-card p { margin: 8px 0; color: #334155; }
.schedule-card.blocked-card { background: #fef3c7; border-color: #fbbf24; }
.status-badge { display: inline-flex; padding: 6px 12px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.status-requested { background: #f59e0b; }
.status-confirmed, .status-auto-confirmed { background: #16a34a; }
.status-cancelled, .status-declined, .status-blocked { background: #dc2626; }
.status-completed { background: #2563eb; }
.calendar-note { margin-top: 10px; color: #475569; }
.service-list { list-style: none; padding: 0; margin: 10px 0 0; }
.service-list li { margin-bottom: 6px; }

h1 { color: #1e3a8a; font-size: 42px; }
h2, h3 { color: #111827; }
p, label, small { color: #475569; font-size: 16px; }
label { font-weight: 600; margin-top: 14px; display: block; }
input, select, textarea { width: 100%; padding: 14px; margin: 8px 0 0; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 16px; background: #f8fafc; }
textarea { min-height: 110px; }
button, .button-link { display: inline-flex; align-items: center; justify-content: center; background: #1e3a8a; color: white; border: none; padding: 14px 22px; border-radius: 12px; font-size: 16px; cursor: pointer; font-weight: 700; margin-top: 15px; }
button:hover, .button-link:hover { background: #172554; color: white; }
.danger-btn { background: #dc2626; }
.nav { display: flex; flex-wrap: wrap; gap: 15px; margin: 15px 0; }
.appointment { border-left: 5px solid #1e3a8a; padding: 18px; background: #f8fafc; margin: 15px 0; border-radius: 14px; }
.badge, .pill { display: inline-block; background: #22c55e; color: white; padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.pill { background: #facc15; color: #111827; }
.check { display: block; margin: 10px 0; font-weight: 600; }
.check input { width: auto; margin-right: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hours-grid { display: grid; gap: 14px; margin-top: 10px; }
.hours-row { display: grid; grid-template-columns: 1fr 140px 140px 120px; gap: 12px; align-items: center; }
.field-group small, .small-text { display: block; margin-top: 6px; color: #64748b; font-size: 14px; }
.business-info p { margin: 6px 0; }
@media (max-width: 900px) { .hours-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .hero h1 { font-size: 34px; } .search { flex-direction: column; } .topnav { flex-direction: column; } .hours-row { grid-template-columns: 1fr; } }
.subscription-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.subscription-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.subscription-card form {
  margin-top: auto;
}

.featured-plan {
  border: 3px solid #1e3a8a;
  transform: translateY(-8px);
}

.plan-label {
  position: absolute;
  top: -14px;
  right: 20px;
  background: #1e3a8a;
  color: white;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.plan-price {
  color: #1e3a8a;
  font-size: 38px;
  font-weight: 800;
  margin: 14px 0;
}

.plan-price span {
  color: #64748b;
  font-size: 16px;
  font-weight: 600;
}

.policy-check a {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .featured-plan {
    transform: none;
  }
}
