@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --bg:#f2f3f5;
  --surface:#ffffff;
  --surface-soft:#f7f7f8;
  --text:#141518;
  --muted:#71747b;
  --line:#e7e8eb;
  --red:#d8001d;
  --red-dark:#aa0017;
  --shadow:0 16px 45px rgba(18,20,25,.08);
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:
    radial-gradient(circle at 15% 0%,rgba(216,0,29,.06),transparent 28%),
    linear-gradient(180deg,#f7f7f8 0,#f1f2f4 100%);
  color:var(--text);
  min-height:100vh;
}

a{color:inherit}

.page-shell{
  width:min(1240px,calc(100% - 36px));
  margin:38px auto 26px;
}

.hero{
  position:relative;
  overflow:hidden;
  display:flex;
  gap:24px;
  align-items:flex-start;
  padding:38px 40px;
  border-radius:28px;
  color:#fff;
  background:
    linear-gradient(120deg,rgba(216,0,29,.96),rgba(165,0,22,.95)),
    #c9001b;
  box-shadow:0 22px 60px rgba(175,0,23,.22);
  margin-bottom:24px;
}
.hero:after{
  content:"";
  position:absolute;
  width:380px;height:380px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  right:-130px;top:-170px;
  box-shadow:0 0 0 55px rgba(255,255,255,.04),0 0 0 110px rgba(255,255,255,.025);
}
.brand-badge,.avatar{
  flex:0 0 auto;
  width:62px;height:62px;
  display:grid;place-items:center;
  border-radius:18px;
  font-weight:800;
  letter-spacing:-1px;
}
.brand-badge{
  color:#fff;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.26);
  backdrop-filter:blur(8px);
  font-size:22px;
}
.hero-copy{position:relative;z-index:1;max-width:800px}
.eyebrow{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#8a8d94;
  margin-bottom:7px;
}
.hero .eyebrow{color:rgba(255,255,255,.78)}
.hero h1{
  margin:0 0 12px;
  font-size:clamp(32px,5vw,52px);
  letter-spacing:-.045em;
  line-height:1.02;
}
.hero p{
  margin:0;
  max-width:760px;
  color:rgba(255,255,255,.88);
  font-size:16px;
  line-height:1.65;
}
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  margin-top:22px;
  font-size:13px;
  font-weight:600;
  color:rgba(255,255,255,.9);
}

.booking-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:24px;
  align-items:start;
}
.booking-main{min-width:0}

.panel,.summary-card,.success-card{
  background:rgba(255,255,255,.97);
  border:1px solid rgba(20,21,24,.06);
  box-shadow:var(--shadow);
  border-radius:var(--radius);
}
.panel{
  padding:30px;
  margin-bottom:22px;
}
.section-head{
  display:flex;
  gap:15px;
  align-items:flex-start;
  margin-bottom:24px;
}
.section-head h2{
  margin:0;
  font-size:23px;
  letter-spacing:-.025em;
}
.step{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:13px;
  background:#111217;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
}

.type-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.type-card{
  min-height:88px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:16px;
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  transition:.18s ease;
}
.type-card:hover{
  transform:translateY(-2px);
  border-color:#cfd1d6;
  box-shadow:0 9px 24px rgba(20,21,24,.07);
}
.type-card.active{
  border-color:rgba(216,0,29,.35);
  background:linear-gradient(180deg,#fff,#fff7f8);
  box-shadow:0 0 0 3px rgba(216,0,29,.07);
}
.type-icon{
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:13px;
  background:var(--surface-soft);
  font-size:20px;
}
.type-card.active .type-icon{background:#ffe8ec}
.type-content{min-width:0;display:flex;flex-direction:column;gap:4px}
.type-content strong{font-size:14px}
.type-content span{font-size:12px;color:var(--muted)}
.type-check{
  margin-left:auto;
  width:29px;height:29px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#f1f1f2;
  font-weight:800;
  color:#777;
}
.type-card.active .type-check{background:var(--red);color:#fff}

.day-block+.day-block{margin-top:22px}
.day-title{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin-bottom:11px;
}
.day-title strong{font-size:15px}
.day-title span{font-size:13px;color:var(--muted)}
.slot-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px;
}
.slot{display:block}
.slot input{position:absolute;opacity:0;pointer-events:none}
.slot span{
  display:block;
  padding:12px 8px;
  border:1px solid var(--line);
  border-radius:12px;
  text-align:center;
  background:#fff;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:.16s ease;
}
.slot span:hover{border-color:#bbb;transform:translateY(-1px)}
.slot input:checked+span{
  color:#fff;
  background:var(--red);
  border-color:var(--red);
  box-shadow:0 7px 18px rgba(216,0,29,.22);
}

.empty-state{
  text-align:center;
  padding:38px 20px;
  border:1px dashed #d5d7db;
  border-radius:17px;
  background:#fafafa;
}
.empty-icon{font-size:32px;margin-bottom:8px}
.empty-state h3{margin:0 0 7px;font-size:17px}
.empty-state p{margin:0;color:var(--muted);font-size:14px}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 16px;
}
.field{margin-bottom:16px}
.field label{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  font-weight:700;
}
.field label b{color:var(--red)}
input,select,textarea{
  width:100%;
  border:1px solid #dfe1e5;
  background:#fbfbfc;
  color:var(--text);
  border-radius:13px;
  padding:13px 14px;
  outline:none;
  font:inherit;
  font-size:14px;
  transition:.16s ease;
}
textarea{resize:vertical;min-height:55px}
input:focus,select:focus,textarea:focus{
  background:#fff;
  border-color:rgba(216,0,29,.65);
  box-shadow:0 0 0 4px rgba(216,0,29,.07);
}

.submit-zone{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:8px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.privacy-note{
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
  max-width:420px;
}
.primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:0;
  border-radius:13px;
  padding:13px 18px;
  color:#fff;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 9px 22px rgba(216,0,29,.21);
  transition:.16s ease;
}
.primary-btn:hover{transform:translateY(-1px);box-shadow:0 12px 27px rgba(216,0,29,.28)}
.submit-btn{min-width:210px}

.booking-sidebar{min-width:0}
.sticky{position:sticky;top:24px}
.summary-card{padding:24px}
.summary-brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding-bottom:20px;
  border-bottom:1px solid var(--line);
}
.avatar{
  width:49px;height:49px;
  border-radius:14px;
  background:#111217;
  color:#fff;
  font-size:16px;
}
.summary-brand div:last-child{display:flex;flex-direction:column;gap:3px}
.summary-brand strong{font-size:14px}
.summary-brand span{font-size:11px;color:var(--muted)}
.summary-item{
  padding:17px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:5px;
}
.summary-label{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.summary-item strong{font-size:14px}
.summary-info{
  margin-top:18px;
  display:flex;
  gap:10px;
  padding:13px;
  border-radius:13px;
  background:#f6f6f7;
}
.summary-info p{
  margin:0;
  color:#65686e;
  font-size:12px;
  line-height:1.5;
}

.notice{
  margin-bottom:20px;
  padding:15px 17px;
  border-radius:14px;
  font-weight:600;
}
.notice.error{
  background:#fff0f2;
  border:1px solid #ffd4da;
  color:#9e0015;
}

.success-card{
  display:flex;
  gap:20px;
  padding:34px;
}
.success-icon{
  width:58px;height:58px;
  flex:0 0 auto;
  display:grid;place-items:center;
  border-radius:18px;
  background:#eaf8ef;
  color:#13833d;
  font-size:25px;
  font-weight:800;
}
.success-card h2{margin:0 0 10px;font-size:28px}
.success-card p{color:var(--muted);line-height:1.65;max-width:720px}
.success-card .primary-btn{margin-top:8px}

.footer{
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#92959b;
  font-size:12px;
  padding:7px 5px 0;
}

@media(max-width:980px){
  .booking-layout{grid-template-columns:1fr}
  .booking-sidebar{order:-1}
  .sticky{position:static}
  .summary-card{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:0 18px;
    align-items:center;
  }
  .summary-card>.eyebrow,.summary-info{grid-column:1/-1}
  .summary-brand{border-bottom:0;padding-bottom:0}
  .summary-item{border-bottom:0;padding:0}
}

@media(max-width:720px){
  .page-shell{width:min(100% - 20px,1240px);margin-top:10px}
  .hero{padding:26px 22px;border-radius:21px;gap:14px}
  .brand-badge{width:48px;height:48px;border-radius:14px;font-size:17px}
  .hero h1{font-size:32px}
  .hero p{font-size:14px}
  .trust-row{display:none}
  .panel{padding:20px;border-radius:18px}
  .section-head h2{font-size:20px}
  .type-grid,.form-grid{grid-template-columns:1fr}
  .slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .summary-card{display:block}
  .summary-brand{padding-bottom:17px;border-bottom:1px solid var(--line)}
  .summary-item{padding:14px 0;border-bottom:1px solid var(--line)}
  .submit-zone{align-items:stretch;flex-direction:column}
  .submit-btn{width:100%}
  .success-card{padding:24px;flex-direction:column}
  .footer{flex-direction:column;gap:5px;padding:5px 4px 18px}
}

@media(max-width:430px){
  .slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero{padding:22px 18px}
  .brand-badge{display:none}
}
