/* ==========================================================================
   Offmyyard — static site styles
   ========================================================================== */

:root {
  --orange: #ff9226;
  --orange-600: #ef7f10;
  --orange-300: #f6c48a;
  --orange-50: #fff7f0;
  --navy: #283d71;
  --navy-700: #31488a;
  --navy-800: #253350;
  --navy-900: #1f2a40;
  --brand: #4a66ac;
  --social: #2a303f;
  --ink: #2b2b2b;
  --text: #4a4d55;
  --muted: #8a8f98;
  --placeholder: #a9aeb6;
  --line: #e3e5ea;
  --input: #c9cee0;
  --success: #2ead5b;
  --danger: #e5484d;
  --shadow-sm: 0 6px 18px rgba(31, 42, 64, .08);
  --shadow: 0 12px 36px rgba(31, 42, 64, .1);
  --radius: 8px;
  --container: 1140px;
  --header-h: 100px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 32px; border: 0; border-radius: 4px;
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .2s, color .2s;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(255, 146, 38, .28); }
.btn-primary:hover { background: var(--orange-600); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { background: var(--orange-300); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }

.text-link { color: var(--orange); font-weight: 600; font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.logo {
  font-weight: 800; font-size: 24px; letter-spacing: -.5px; line-height: 1;
  color: var(--brand); white-space: nowrap;
}
.logo span { color: var(--orange); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 36px; height: var(--header-h); }
.primary-nav { display: flex; gap: 28px; }
.nav-link { font-size: 14px; color: #555a63; transition: color .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--orange); }

.header-actions { margin-left: auto; display: flex; align-items: center; }
.header-actions a { font-size: 14px; font-weight: 600; color: var(--ink); padding: 8px 16px; transition: color .2s; }
.header-actions a + a { border-left: 1px solid #cfd2d8; }
.header-actions a:hover, .header-actions a[aria-current="page"] { color: var(--orange); }
.site-header .logo { font-size: 30px; }
.site-header .nav-link, .header-actions a { font-size: 14px; }
.site-header .primary-nav { gap: 22px; }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .25s, opacity .25s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: grid; gap: 4px; padding: 12px 24px 24px;
  border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Service tabs bar
   -------------------------------------------------------------------------- */
.service-tabs { display: grid; grid-template-columns: 1fr 1.2fr 1fr; background: var(--navy); }
.service-tabs a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 112px; padding: 16px;
  color: #fff; font-size: 22px; font-weight: 600;
  transition: background-color .2s;
}
.service-tabs a + a { border-left: 1px solid rgba(255, 255, 255, .22); }
.service-tabs a:hover { background: var(--navy-700); }
.service-tabs a[aria-current="page"] { background: var(--orange); border-color: transparent; }
.service-tabs a[aria-current="page"] + a { border-left-color: transparent; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: 64px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero:not(.hero--stacked) .hero-copy { align-self: start; padding-top: 50px; }
.hero h1 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; margin-bottom: 28px; }
.hero .lead { max-width: 500px; font-size: 19px; line-height: 1.9; margin: 0; }
.hero-art img { width: 100%; max-width: 500px; margin-left: auto; }

/* Role tabs (Shippers / Carriers) */
.booking { margin-top: -42px; position: relative; }
.role-tabs { display: flex; gap: 6px; }
.role-tab {
  display: block; padding: 16px 24px 12px; text-align: center; cursor: pointer;
  background: none; border: 1px solid transparent; border-radius: 4px 4px 0 0; border-bottom: 0;
  transition: border-color .2s, background-color .2s;
}
.role-tab strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); transition: color .2s; }
.role-tab small { display: block; font-size: 12px; font-style: italic; color: var(--muted); }
.role-tab:hover strong { color: var(--orange); }
.role-tab[aria-selected="true"] { border-color: var(--orange); background: #fff; }
.role-tab[aria-selected="true"] strong { color: var(--orange); }

.booking-card {
  position: relative; background: #fff; border-radius: 0 6px 6px 6px;
  box-shadow: var(--shadow); padding: 60px 32px;
}

.booking-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 36px; align-items: end; }
.booking-form--login { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; max-width: 820px; }

.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.field .req { color: var(--orange); }

.line-input {
  display: block; width: 100%; height: 40px; padding: 6px 2px;
  border: 0; border-bottom: 1px solid #dadde3; border-radius: 0; background: transparent;
  font-size: 14px; outline: none; transition: border-color .2s;
}
.line-input:focus { border-bottom-color: var(--orange); }
.line-input::placeholder, .box-input::placeholder, .input-group input::placeholder {
  font-style: italic; font-size: 13px; color: var(--placeholder); opacity: 1;
}
.line-input:user-invalid, .box-input:user-invalid { border-color: var(--danger); }

.date-wrap { position: relative; }
.date-wrap input { padding-right: 34px; }
.date-wrap .date-icon {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center;
  background: none; border: 0; padding: 0; color: #9aa0a8; cursor: pointer;
}
.date-wrap input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }

.form-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.form-note a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.login-action { display: flex; flex-direction: column; align-items: flex-start; }
.login-action .form-note { position: absolute; margin-top: 54px; white-space: nowrap; }
.booking-form .form-status { grid-column: 1 / -1; margin-top: 8px; }

.form-status {
  margin: 18px 0 0; padding: 10px 14px; border-radius: 4px;
  background: var(--orange-50); border: 1px solid #ffd9b3; color: #8a4a08; font-size: 13px;
}
.form-status[hidden] { display: none; }

/* Stacked hero variant (form card on the right) */
.hero--stacked .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; }
.booking-panel { background: #fff; border-radius: 6px; box-shadow: var(--shadow); overflow: hidden; }
.booking-panel .role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.booking-panel .role-tab { border: 0; border-top: 3px solid transparent; border-radius: 0; padding: 14px 12px 12px; }
.booking-panel .role-tab[aria-selected="true"] { border-top-color: var(--navy); background: #fff; }
.booking-panel .role-tab[aria-selected="true"] strong { color: var(--ink); }
.booking-panel .role-tab[aria-selected="true"] small { text-decoration: underline; text-underline-offset: 3px; }
.booking-panel .role-tab:not([aria-selected="true"]) { background: #fafbfc; }
.stack-form { display: grid; gap: 18px; padding: 24px 24px 28px; }
.stack-form .btn { justify-self: start; }

.box-input {
  display: block; width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid #d8dbe1; border-radius: 4px; background: #fff;
  font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.box-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 146, 38, .15); }
select.box-input {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a8f98' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
}

/* --------------------------------------------------------------------------
   Split sections (Shippers / Carriers)
   -------------------------------------------------------------------------- */
.split-section { background: var(--orange-50); padding: 96px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 112px; }
.split h2 { font-size: 30px; font-weight: 600; margin-bottom: 18px; }
.split p { max-width: 480px; font-size: 18px; line-height: 2; }
.split-art img { width: 100%; max-width: 440px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Generic sections
   -------------------------------------------------------------------------- */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 44px; }
.section-intro { text-align: center; max-width: 620px; margin: -28px auto 44px; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.testimonial { margin: 0; padding: 30px 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.testimonial:nth-child(2) { margin-top: 36px; }
.testimonial blockquote { margin: 0 0 18px; font-size: 16px; line-height: 1.95; }
.testimonial figcaption { font-size: 13px; font-weight: 700; color: var(--ink); }

/* FAQ */
.faq-section { padding-top: 0; }
.faq-section .section-title { margin-bottom: 84px; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 500; color: var(--ink); transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange); }
.faq summary svg { flex: none; transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(90deg); }
.faq details[open] summary { color: var(--orange); }
.faq .answer { padding: 0 4px 22px; font-size: 14px; line-height: 1.95; }
.faq .answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Content pages
   -------------------------------------------------------------------------- */
.page-hero { background: var(--orange-50); padding: 64px 0; }
.page-hero h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.page-hero p { max-width: 640px; margin: 0; font-size: 16px; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

.page-hero--split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero--split img { width: 100%; max-width: 460px; margin-left: auto; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.feature {
  padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px;
  border-radius: 12px; background: var(--orange-50); color: var(--orange);
}
.feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.feature p { margin: 0; font-size: 14px; line-height: 1.85; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.service-card { display: flex; flex-direction: column; padding: 36px; }
.service-card > img { width: 100%; height: 190px; object-fit: contain; margin-bottom: 28px; }
.service-card h3 { font-size: 24px; }
.service-card ul { padding-left: 20px; font-size: 14px; margin-bottom: 24px; }
.service-card .text-link { margin-top: auto; }
.section-tinted { background: var(--orange-50); }
.page-hero .actions { align-items: center; }
.topic-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.topic-links a { padding: 10px 18px; border: 1px solid #f1d8bf; border-radius: 24px; background: #fff; font-size: 13px; font-weight: 600; }
.topic-links a:hover { border-color: var(--orange); color: var(--orange-600); }
.faq-page { max-width: 900px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: 24px; margin-bottom: 20px; }
.faq-group .faq { max-width: none; }
.faq summary span { color: var(--orange-600); font-size: 24px; font-weight: 400; flex: none; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.contact-intro h2, .contact-panel h2 { font-size: 28px; }
.contact-intro .check-list { margin-top: 28px; }
.contact-note { margin: 28px 0 0; font-size: 13px; color: var(--muted); }
.contact-panel { padding: 36px; background: var(--orange-50); border: 1px solid #f1e4d8; border-radius: var(--radius); }
.contact-topic { display: block; padding: 18px 0; border-bottom: 1px solid #eadccc; }
.contact-topic strong { display: block; color: var(--ink); font-size: 15px; }
.contact-topic span { display: block; margin-top: 4px; font-size: 13px; }
.contact-topic:hover strong { color: var(--orange-600); }
.contact-panel .form-note { margin-top: 24px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 28px 24px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700;
}
.steps h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 14px; }

.cta-band { background: var(--navy); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: 28px; }
.cta-band p { color: #d5dbeb; max-width: 560px; margin: 0 auto 28px; }
.cta-band .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 20px; font-weight: 600; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--orange); font-weight: 600; }
.prose .updated { color: var(--muted); font-size: 13px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
}

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); text-align: center; }
.contact-card .feature-icon { margin: 0 auto 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 14px; }
.contact-card a { color: var(--orange); font-weight: 600; }

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
/* Keep the footer at the bottom of the (short) 404 page on tall screens. */
body:has(.not-found) { min-height: 100vh; display: flex; flex-direction: column; }
body:has(.not-found) main { flex: 1 0 auto; display: grid; }
.not-found .code { font-size: clamp(72px, 12vw, 128px); font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #fff; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { color: #fff; font-size: 15px; margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 500; }
.footer-links a { opacity: .92; transition: color .2s, opacity .2s; }
.footer-links a:hover { color: var(--orange); opacity: 1; }
.footer-copy { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; font-size: 12px; color: rgba(255, 255, 255, .65); }

/* --------------------------------------------------------------------------
   Auth pages (Log In / Create Account)
   -------------------------------------------------------------------------- */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-header { background: #fff; border-bottom: 1px solid var(--line); }
.auth-header .header-inner { max-width: none; height: 80px; padding: 0 44px; }
.auth-header .logo { font-size: 30px; }
.auth-header .nav-link { margin-left: auto; font-size: 13px; color: var(--ink); font-weight: 500; }

.auth-main { flex: 1; display: grid; grid-template-columns: minmax(0, .463fr) minmax(0, .537fr); }
.auth-art {
  position: relative; overflow: hidden; min-height: 600px;
  background: linear-gradient(170deg, var(--navy-800) 0%, var(--navy-900) 100%);
}
.auth-art .swoosh { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-art .truck { position: absolute; left: -4%; top: 53%; transform: translateY(-50%); width: 100%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .25)); }

.auth-panel { display: flex; justify-content: center; padding: 56px 24px 72px; }
.auth-card { width: 100%; max-width: 410px; margin-right: 80px; }

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 78px; }
.auth-tabs a {
  padding: 10px; text-align: center; font-size: 18px; color: var(--ink);
  border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s;
}
.auth-tabs a:hover { color: var(--orange); }
.auth-tabs a[aria-current="page"] { border-bottom: 2px solid var(--orange); }

.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 44px; margin-bottom: 12px; border: 0; border-radius: 4px;
  background: var(--social); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background-color .2s;
}
.social-btn:hover { background: #3a4256; }
.social-btn svg { flex: none; }

.or-divider { text-align: center; margin: 24px 0 20px; color: var(--muted); font-size: 13px; letter-spacing: 1px; }

.auth-field { margin-bottom: 22px; }
.auth-field > label, .auth-field .label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 12px; color: var(--orange); font-weight: 600; }

.input-group {
  display: flex; align-items: center; height: 60px;
  border: 1px solid var(--input); border-radius: 4px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input-group:focus-within { border-color: var(--orange); box-shadow: 0 4px 14px rgba(255, 146, 38, .2); }
.input-group .icon { flex: none; width: 44px; display: grid; place-items: center; color: #7d8597; }
.input-group input { flex: 1; min-width: 0; height: 100%; padding: 0 12px 0 0; border: 0; outline: none; background: transparent; font-size: 14px; }
.input-group input:user-invalid { color: var(--danger); }

.pw-toggle { flex: none; height: 100%; padding: 0 14px; background: none; border: 0; color: var(--orange); font-size: 12px; font-weight: 600; cursor: pointer; }

.phone-prefix { flex: none; display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 4px 0 12px; border-right: 1px solid var(--line); margin-right: 12px; }
.phone-prefix img { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.phone-prefix select {
  appearance: none; -webkit-appearance: none; height: 100%; padding: 0 20px 0 2px; border: 0; outline: none; cursor: pointer; font-size: 13px; color: var(--text);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0h8L4 5z' fill='%234a4d55'/%3E%3C/svg%3E") no-repeat right 6px center;
}

.strength { height: 3px; margin-top: 8px; border-radius: 2px; background: var(--line); overflow: hidden; }
.strength span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .25s, background-color .25s; }
.strength span[data-level="1"] { background: var(--danger); }
.strength span[data-level="4"] { background: var(--success); }
.strength-hint { min-height: 18px; margin: 4px 0 0; font-size: 11px; color: var(--muted); }

.check { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--ink); cursor: pointer; }
.check input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.check a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }

.auth-submit { width: 100%; height: 48px; margin-top: 22px; }
.auth-alt { margin: 30px 0 0; text-align: center; font-size: 13px; color: var(--ink); }
.auth-alt a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.notice {
  margin-bottom: 24px; padding: 12px 14px; border-radius: 4px; font-size: 13px;
  background: var(--orange-50); border-left: 3px solid var(--orange); color: var(--ink);
}
.notice[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero--stacked .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .booking-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking-form > .btn { grid-column: 1 / -1; justify-self: start; }
  .booking-form--login { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-form--login .login-action { grid-column: 1 / -1; }
  .login-action .form-note { position: static; margin-top: 10px; }
  .feature-grid, .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .primary-nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
}

@media (max-width: 900px) {
  .hero { padding: 44px 0 56px; }
  .hero:not(.hero--stacked) .hero-copy { padding-top: 0; }
  .booking { margin-top: 32px; }
  .hero-grid, .hero--stacked .hero-grid, .page-hero--split .container, .two-col { grid-template-columns: 1fr; }
  .hero-art img { margin: 0 auto; max-width: 480px; }
  .page-hero--split img { margin: 0 auto; max-width: 380px; }
  .hero--stacked .booking-panel { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split + .split { margin-top: 64px; }
  .split-art { order: -1; }
  .split-art img { max-width: 360px; }
  .testimonials { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .testimonial:nth-child(2) { margin-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .auth-main { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-card { margin-right: 0; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 14px; }
  .container { padding: 0 20px; }
  .logo { font-size: 22px; }
  .site-header .logo, .auth-header .logo { font-size: 22px; }
  .primary-nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .auth-header .header-inner { height: 64px; padding: 0 20px; }

  .service-tabs a { min-height: 52px; padding: 10px 8px; font-size: 12.5px; line-height: 1.3; }

  .role-tabs { gap: 2px; }
  .role-tab { flex: 1; padding: 10px 8px 8px; }
  .booking-card { padding: 24px 20px; border-radius: 0 0 6px 6px; }
  .booking-form, .booking-form--login { grid-template-columns: 1fr; gap: 22px; }
  .booking-form > .btn, .login-action .btn { width: 100%; }
  .login-action { align-items: stretch; }

  .split-section, .section { padding: 56px 0; }
  .split h2 { font-size: 22px; }
  .hero .lead, .split p { font-size: 16px; }
  .section-title { font-size: 20px; margin-bottom: 32px; }
  .faq-section .section-title { margin-bottom: 32px; }
  .faq summary { font-size: 15px; padding: 18px 2px; }

  .feature-grid, .contact-cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .contact-panel { padding: 24px; }
  .contact-intro h2, .contact-panel h2 { font-size: 24px; }
  .page-hero { padding: 44px 0; }
  .footer-grid { gap: 32px 20px; }
  .auth-panel { padding: 32px 20px 48px; }
  .auth-tabs { margin-bottom: 32px; }
  .input-group { height: 48px; }
}

@media (min-width: 1101px) {
  .mobile-menu { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
