@charset "utf-8";

* { box-sizing: border-box; }
html { background: #f2eee7; }
body {
  margin: 0;
  color: #4b3024;
  background: #f2eee7;
  font-family: Arial, Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.8;
}
a { color: inherit; }
.site-shell { max-width: 1180px; margin: 0 auto; padding: 0 28px; background: #fbf9f5; min-height: 100vh; }
.topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: #673c28; color: #fbf3ea; margin: 0 -28px; padding: 7px 28px; font-size: 12px; }
.topbar p { margin: 0; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; color: #673c28; }
.brand-logo { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid #e3d3c5; box-shadow: 0 2px 6px rgba(103, 60, 40, .12); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #bd6244; color: #673c28; font-size: 27px; font-weight: bold; border-radius: 4px; }
.brand strong { display: block; font-size: 24px; line-height: 1.2; letter-spacing: 1px; }
.brand small { display: block; color: #806a5c; font-size: 12px; }
.group-note { color: #806a5c; font-size: 12px; }
.nav-wrap { border-top: 1px solid #e3d3c5; border-bottom: 1px solid #e3d3c5; }
.main-nav { display: flex; list-style: none; gap: 8px; padding: 0; margin: 0; }
.main-nav li { margin: 0; }
.main-nav a { display: block; padding: 12px 18px; text-decoration: none; color: #806a5c; font-size: 14px; }
.main-nav .active a, .main-nav a:hover { color: #673c28; background: #ebddd0; border-bottom: 3px solid #bd6244; padding-bottom: 9px; }
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: center; padding: 54px 0 48px; }
.hero-copy { padding: 10px 0; }
.eyebrow { margin: 0 0 7px; color: #a94f35; font-size: 12px; font-weight: bold; letter-spacing: .5px; }
.hero h1 { color: #673c28; font-size: clamp(34px, 4vw, 53px); line-height: 1.3; margin: 0 0 15px; font-weight: 800; }
.hero-text { max-width: 420px; color: #806a5c; margin: 0 0 24px; }
.button { display: inline-block; border: 0; border-radius: 3px; padding: 11px 19px; text-decoration: none; font-family: inherit; font-size: 14px; font-weight: bold; cursor: pointer; transition: background .15s ease; }
.button-primary { background: #673c28; color: #fbf9f5; }
.button-primary:hover { background: #9d563b; }
.button-outline { border: 1px solid #673c28; color: #673c28; background: transparent; }
.button-outline:hover { background: #ebddd0; }
.button-light { background: #eee2d7; color: #765e4e; }
.button-light:hover { background: #e3d3c5; }
.button-full { display: block; text-align: center; width: 100%; margin-top: 22px; }
.text-link { display: inline-block; margin-right: 16px; color: #806a5c; font-size: 13px; text-decoration: none; }
.text-link:hover { color: #a94f35; }
.hero-media { position: relative; min-height: 320px; overflow: hidden; border: 1px solid #e3d3c5; border-radius: 4px; box-shadow: 0 4px 18px rgba(103, 60, 40, .12); line-height: 0; }
.hero-image { width: 100%; height: 100%; min-height: 320px; max-height: 380px; object-fit: cover; display: block; }
.hero-sticker { position: absolute; left: 20px; bottom: 20px; display: flex; flex-direction: column; background: #fbf9f5; padding: 9px 14px; border-right: 3px solid #bd6244; box-shadow: 0 3px 12px rgba(103, 60, 40, .08); }
.hero-sticker strong { color: #673c28; font-size: 22px; line-height: 1.2; }
.hero-sticker span { color: #806a5c; font-size: 11px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #e3d3c5; border-bottom: 1px solid #e3d3c5; padding: 25px 0; gap: 22px; }
.benefit { display: flex; align-items: flex-start; gap: 13px; }
.benefit-number { color: #a94f35; font-size: 13px; font-weight: bold; border-bottom: 2px solid #bd6244; padding-bottom: 4px; min-width: 25px; }
.benefit h2 { margin: 0 0 4px; font-size: 15px; color: #673c28; }
.benefit p { margin: 0; color: #806a5c; font-size: 12px; }
.home-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #f0e6dc; padding: 25px 28px; margin: 34px 0; }
.home-bottom h2 { margin: 0 0 5px; color: #673c28; font-size: 23px; }
.home-bottom p:not(.eyebrow) { margin: 0; color: #806a5c; font-size: 13px; }
.project-info { border-top: 1px solid #e3d3c5; padding: 28px 0; }
.project-info h2 { margin: 0 0 5px; font-size: 19px; color: #673c28; }
.project-info > p { color: #806a5c; margin: 0 0 18px; font-size: 13px; }
.student-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.student-grid > div { background: #f5eee7; padding: 12px 14px; border-right: 2px solid #bd6244; }
.student-grid strong { color: #673c28; font-size: 12px; }
.student-grid p { margin: 3px 0 0; color: #806a5c; font-size: 12px; }
.small-note { color: #878b8c !important; font-size: 11px !important; }
.site-footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #e3d3c5; padding: 17px 0; color: #907968; font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #673c28; }
.page-heading { padding: 38px 0 27px; border-bottom: 1px solid #e3d3c5; }
.page-heading h1 { margin: 0 0 7px; color: #673c28; font-size: 34px; }
.page-heading > p:last-child { margin: 0; color: #806a5c; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .8fr); gap: 26px; padding: 28px 0 40px; }
.about-main { display: grid; gap: 18px; }
.content-panel, .contact-panel { border: 1px solid #e3d3c5; padding: 22px; background: #fbf9f5; }
.content-panel h2, .contact-panel h2 { margin: 0 0 10px; color: #673c28; font-size: 20px; }
.content-panel p { color: #765e4e; margin: 0 0 10px; font-size: 13px; }
.content-panel p:last-child { margin-bottom: 0; }
.check-list { margin: 0; padding-right: 20px; color: #765e4e; font-size: 13px; }
.check-list li { padding: 3px 0; }
.check-list li::marker { color: #a94f35; }
.branch-row { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid #e6d8cc; }
.branch-row:last-of-type { border-bottom: 0; }
.branch-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 38px; height: 38px; background: #ebddd0; color: #a94f35; font-weight: bold; font-size: 12px; }
.branch-row h3 { margin: 0 0 2px; color: #673c28; font-size: 14px; }
.branch-row p { margin: 1px 0; }
.contact-panel { background: #f0e6dc; align-self: start; }
.contact-item { padding: 12px 0; border-bottom: 1px solid #e3d3c5; }
.contact-item span { display: block; color: #907968; font-size: 11px; }
.contact-item strong { display: block; color: #673c28; font-size: 13px; direction: ltr; text-align: right; overflow-wrap: anywhere; }
.contact-divider { height: 1px; background: #ddcfc2; margin: 18px 0; }
.contact-panel > p:not(.eyebrow) { color: #806a5c; font-size: 12px; }
.notice-bar { margin: 20px 0; padding: 10px 15px; background: #f2e1d3; border-right: 3px solid #bd6244; color: #70442c; font-size: 12px; }
.car-fieldset, #bookingForm fieldset { border: 1px solid #e3d3c5; padding: 16px; margin: 0; min-width: 0; }
.car-fieldset legend, #bookingForm legend { color: #673c28; font-weight: bold; padding: 0 8px; }
.table-wrap { overflow-x: auto; }
.cars-table { width: 100%; border-collapse: collapse; min-width: 850px; font-size: 12px; }
.cars-table th { background: #673c28; color: #fbf9f5; padding: 11px 8px; font-weight: normal; white-space: nowrap; }
.cars-table td { padding: 12px 8px; border-bottom: 1px solid #e6d8cc; text-align: center; white-space: nowrap; }
.cars-table tbody tr:not(.details-row):nth-child(even) { background: #f6f0e9; }
.cars-table td strong { color: #673c28; }
.details-toggle, .select-toggle { cursor: pointer; color: #765e4e; font-size: 11px; }
input[type="checkbox"] { accent-color: #673c28; vertical-align: middle; }
.car-thumb { width: 90px; height: 55px; object-fit: cover; border-radius: 4px; border: 1px solid #ddcfc2; display: block; margin: 0 auto; box-shadow: 0 1px 3px rgba(103, 60, 40, 0.08); }
.mini-car { position: relative; width: 80px; height: 31px; margin: 0 auto; }
.mini-car:before { content: ""; position: absolute; height: 13px; width: 38px; top: 1px; right: 20px; background: #d6b6a2; border: 2px solid #673c28; border-bottom: 0; border-radius: 8px 10px 0 0; }
.mini-car:after { content: ""; position: absolute; height: 16px; width: 72px; bottom: 5px; right: 4px; background: #673c28; border-radius: 12px 18px 5px 5px; }
.mini-car span:before, .mini-car span:after { content: ""; position: absolute; z-index: 2; width: 13px; height: 13px; bottom: 0; background: #4b3024; border: 3px solid #806a5c; border-radius: 50%; }
.mini-car span:before { right: 14px; } .mini-car span:after { left: 10px; }
.mini-suv:after { height: 19px; bottom: 4px; }
.mini-suv:before { width: 43px; height: 15px; right: 18px; }
.mini-blue:after { background: #875039; } .mini-green:after { background: #a56b4d; } .mini-compact:after { width: 60px; right: 10px; background: #b85c42; }
.details-row { display: none; background: #f0e6dc; }
.details-row td { white-space: normal; text-align: right; }
.details-content { display: flex; align-items: center; gap: 8px 17px; flex-wrap: wrap; padding: 4px 6px; color: #765e4e; }
.details-content strong { width: 100%; color: #673c28; }
.details-content span { font-size: 11px; }
.selection-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 16px 2px 0; }
.selection-footer p { color: #806a5c; margin: 0; font-size: 12px; }
.booking-section { margin: 35px 0 45px; padding: 22px; border: 1px solid #ddcfc2; background: #f8f2eb; }
.booking-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.booking-heading h2 { margin: 0; color: #673c28; font-size: 24px; }
.form-intro { color: #806a5c; font-size: 12px; margin: 8px 0 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { color: #673c28; font-size: 12px; font-weight: bold; }
.form-group input { width: 100%; border: 1px solid #ddcfc2; border-radius: 2px; background: #fbf9f5; padding: 11px 12px; color: #4b3024; font-family: inherit; font-size: 13px; }
.form-group input:focus { outline: 2px solid #bd6244; outline-offset: 1px; border-color: #a94f35; }
.form-group small { color: #907968; font-size: 10px; }
.required { color: #8f3e25; }
.form-actions { display: flex; gap: 10px; margin-top: 17px; }
.form-message { margin-top: 14px; font-size: 12px; }
.form-message.error { background: #f8e8e3; border-right: 3px solid #8f3e25; color: #70351f; padding: 10px 12px; }
.form-message.success { background: #f0e2d7; border-right: 3px solid #9d563b; color: #70442c; padding: 10px 12px; }
.booking-result { margin-top: 20px; padding: 18px; border: 1px solid #e3d3c5; background: #f5eee7; }
.booking-result h3 { margin: 0 0 10px; color: #673c28; }
.booking-result p { margin: 5px 0; font-size: 13px; }
.result-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 12px; }
.result-table th, .result-table td { border: 1px solid #e3d3c5; padding: 8px; text-align: right; }
.result-table th { background: #eadbce; }
.total-line { font-weight: bold; color: #673c28; }
@media (max-width: 760px) {
  .site-shell { padding: 0 16px; }
  .topbar { margin: 0 -16px; padding: 8px 16px; flex-wrap: wrap; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 10px 12px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding: 32px 0; gap: 24px; }
  .hero-art { min-height: 240px; }
  .benefits { grid-template-columns: 1fr; gap: 18px; }
  .home-bottom { align-items: flex-start; flex-direction: column; padding: 22px; }
  .student-grid, .about-layout, .form-grid { grid-template-columns: 1fr; }
  .page-heading h1 { font-size: 29px; }
  .site-footer { flex-direction: column; }
  .selection-footer { align-items: flex-start; flex-direction: column; }
  .booking-section { padding: 15px; }
  .booking-heading { align-items: flex-start; flex-direction: column; }
  .car-illustration { transform: translate(-50%, -35%) scale(.85); }
}


:root {
  --paper: #fbf9f5;
  --paper-deep: #f5eee7;
  --ink: #673c28;
  --muted-ink: #806a5c;
  --rule: #e3d3c5;
  --accent: #bd6244;
  --accent-dark: #8f3e25;
}
html, body { background: var(--paper-deep); }
body { color: var(--ink); }
.site-shell { background: var(--paper); }
.topbar { background: var(--accent-dark); color: var(--paper); }
.brand-mark { border-radius: 0; color: var(--paper); }
.brand strong, .hero h1, .page-heading h1, .home-bottom h2,
.project-info h2, .content-panel h2, .contact-panel h2,
.booking-heading h2 { font-family: Arial, Tahoma, sans-serif; }
.brand strong { font-size: 27px; }
.group-note, .brand small { letter-spacing: .04em; }
.nav-wrap { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.main-nav a { letter-spacing: .02em; }
.hero { grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 6vw, 76px); padding: 68px 0 58px; }
.hero-copy { max-width: 510px; }
.hero h1 { font-size: clamp(42px, 5.3vw, 68px); line-height: 1.18; letter-spacing: -.035em; }
.eyebrow { letter-spacing: .12em; text-transform: uppercase; }
.button { border-radius: 0; }
.hero-media { border-radius: 0; border: 1px solid var(--rule); }
.hero-sticker { border-right-width: 2px; box-shadow: none; outline: 1px solid rgba(103, 60, 40, .12); }
.benefits { grid-template-columns: 1.15fr .85fr; column-gap: 36px; row-gap: 0; padding: 0; }
.benefit { padding: 22px 0; }
.benefit + .benefit { border-right: 1px solid var(--rule); padding-right: 24px; }
.benefit:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--rule); }
.benefit-number { font-family: Arial, Tahoma, sans-serif; font-size: 16px; }
.home-bottom { border-right: 3px solid var(--accent); background: var(--paper-deep); }
.student-grid > div, .content-panel, .contact-panel, .booking-section { border-radius: 0; }
.student-grid > div { background: var(--paper-deep); }
.page-heading { padding: 48px 0 32px; }
.page-heading h1 { font-size: clamp(36px, 4vw, 50px); letter-spacing: -.025em; }
.content-panel { border-color: var(--rule); }
.contact-panel { border-color: var(--rule); }
.branch-icon { flex-basis: 42px; height: 42px; border: 1px solid var(--rule); background: transparent; font-family: Arial, Tahoma, sans-serif; }
.notice-bar { border-right-width: 2px; }
.car-fieldset, #bookingForm fieldset { border-color: var(--rule); }
.cars-table th { background: var(--ink); }
.cars-table td { padding-top: 15px; padding-bottom: 15px; }
.car-thumb { border-radius: 0; box-shadow: none; }
.booking-section { background: var(--paper); }
.form-group input { background: var(--paper); border-radius: 0; }
.form-group input:focus { outline-offset: 2px; }
.result-table th { background: #eadbce; }
.site-footer { border-color: var(--rule); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 38px 0; gap: 26px; }
  .hero-media, .hero-image { min-height: 220px; }
  .benefits { grid-template-columns: 1fr; }
  .benefit + .benefit { border-right: 0; padding-right: 0; border-top: 1px solid var(--rule); }
  .benefit:nth-child(3) { grid-column: auto; }
}
