:root {
  --navy: #031426;
  --navy-2: #082a4d;
  --blue: #00aaf8;
  --cyan: #76e2ff;
  --orange: #ff851b;
  --white: #f7fbff;
  --ink: #0d2136;
  --muted: #5e7184;
  --line: #d7e4ee;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.65; }
h1, h2, h3, .brand { font-family: "Barlow Condensed", sans-serif; line-height: .94; margin: 0; }
h1 { font-size: clamp(4rem, 8.6vw, 8.3rem); letter-spacing: -.045em; max-width: 980px; text-transform: uppercase; }
h1 em { font-style: normal; color: var(--cyan); text-shadow: 0 0 35px rgba(0,170,248,.38); }
h2 { font-size: clamp(2.7rem, 5.3vw, 5.3rem); letter-spacing: -.035em; }
h3 { font-size: 1.75rem; }
p { margin: .75rem 0; }
a { color: inherit; }

.site-header { height: 86px; padding: 0 clamp(20px,5vw,80px); display: flex; align-items: center; justify-content: space-between; background: rgba(3,20,38,.94); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(118,226,255,.18); backdrop-filter: blur(15px); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 2rem; font-weight: 800; letter-spacing: .01em; }
.brand img { object-fit: contain; }
.brand span span { color: var(--blue); }
nav { display: flex; align-items: center; gap: clamp(15px,2vw,30px); }
nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
nav a:hover { color: var(--cyan); }
.nav-cta { padding: 11px 18px; border: 1px solid var(--blue); border-radius: 99px; }
.menu-button { display: none; }

.hero { min-height: calc(100vh - 86px); position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(70px,9vw,130px) clamp(20px,6vw,100px); display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 50px; }
.hero-photo { position: absolute; inset: 0; background-image: linear-gradient(90deg,rgba(3,20,38,.99) 0%,rgba(3,20,38,.91) 31%,rgba(3,20,38,.28) 68%,rgba(3,20,38,.12) 100%), linear-gradient(0deg,rgba(3,20,38,.66),transparent 56%), url('assets/houston-freight-hero.png'); background-size: cover; background-position: center; }
.hero-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(118,226,255,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(118,226,255,.14) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right,#000,transparent 58%); }
.hero::after { content: "SPACE CITY → BAYOU CITY → EVERY CITY"; position: absolute; left: 6vw; bottom: 20px; font-family: "Barlow Condensed"; font-weight: 800; letter-spacing: .22em; font-size: .72rem; color: rgba(255,255,255,.48); }
.hero-copy { position: relative; z-index: 2; max-width: 1050px; }
.houston-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; text-transform: uppercase; font-weight: 800; letter-spacing: .15em; font-size: .78rem; }
.houston-kicker span { background: var(--orange); color: var(--navy); padding: 4px 8px; }
.houston-kicker i { width: 36px; height: 2px; background: var(--cyan); }
.houston-kicker b { color: var(--cyan); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; color: var(--blue); font-size: .78rem; font-weight: 800; margin-bottom: 20px; }
.hero-lede { font-size: clamp(1.05rem,1.6vw,1.3rem); max-width: 690px; color: #d4e6f3; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; padding: 15px 24px; font-weight: 700; text-decoration: none; border: 0; font: inherit; cursor: pointer; }
.primary { background: var(--orange); color: #071a30; box-shadow: 0 12px 35px rgba(255,133,27,.28); }
.primary:hover { background: #ffa04d; }
.secondary { border: 1px solid #66829a; color: #fff; background: rgba(3,20,38,.35); }
.trust-row { display: flex; gap: 26px; flex-wrap: wrap; color: #b0c7d8; font-size: .84rem; }
.trust-row span::before { content: "✓"; color: var(--cyan); margin-right: 8px; }
.htx-seal { position: relative; z-index: 2; width: 158px; height: 158px; border: 2px solid rgba(118,226,255,.6); border-radius: 50%; display: grid; place-items: center; align-content: center; background: rgba(3,20,38,.58); backdrop-filter: blur(10px); box-shadow: 0 0 0 8px rgba(0,170,248,.08),0 18px 60px rgba(0,0,0,.35); transform: rotate(4deg); }
.htx-seal strong { font-family: "Barlow Condensed"; font-size: 3.5rem; line-height: .8; color: #fff; }
.htx-seal span { font-size: .62rem; letter-spacing: .2em; color: var(--cyan); font-weight: 800; }
.ticker { display: flex; gap: 25px; align-items: center; justify-content: center; flex-wrap: wrap; background: linear-gradient(90deg,var(--blue),var(--cyan)); color: var(--navy); padding: 17px 20px; text-transform: uppercase; font-family: "Barlow Condensed"; font-weight: 800; letter-spacing: .1em; }
.ticker i { width: 5px; height: 5px; border-radius: 50%; background: var(--navy); }

.section { padding: clamp(80px,10vw,140px) clamp(20px,7vw,110px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: start; background-image: radial-gradient(circle at 8% 14%,rgba(0,170,248,.12),transparent 22%); }
.about-copy { font-size: 1.13rem; color: var(--muted); max-width: 650px; }
.city-tag { display: inline-flex; gap: 12px; align-items: center; background: var(--navy); color: #fff; padding: 8px 13px; margin-bottom: 12px; font-family: "Barlow Condensed"; font-weight: 800; letter-spacing: .13em; transform: rotate(-1deg); }
.city-tag span { color: var(--orange); }
.dark { background: linear-gradient(145deg,#031426 0%,#082a4d 70%,#073b62 100%); color: #fff; position: relative; overflow: hidden; }
.dark::before { content: "HTX"; position: absolute; right: -.04em; top: -.17em; font-family: "Barlow Condensed"; font-size: 30vw; font-weight: 800; line-height: 1; color: rgba(118,226,255,.035); }
.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 60px; position: relative; }
.section-heading > p { max-width: 370px; color: #8194a8; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #2c5578; border-radius: var(--radius); overflow: hidden; position: relative; }
.service-grid article { padding: 34px; border-right: 1px solid #2c5578; border-bottom: 1px solid #2c5578; min-height: 250px; background: rgba(2,16,31,.22); }
.service-grid article:nth-child(3n) { border-right: 0; }
.service-grid article:nth-child(n+4) { border-bottom: 0; }
.service-grid b { color: var(--cyan); font-size: .78rem; }
.service-grid h3 { margin: 35px 0 12px; }
.service-grid p { color: #afc4d4; }
.equipment-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.equipment-grid div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 25px 18px; box-shadow: 0 12px 30px rgba(10,35,60,.06); transition: .25s; position: relative; overflow: hidden; }
.equipment-grid div::after { content: "HTX"; position: absolute; right: -5px; bottom: -12px; font-family: "Barlow Condensed"; font-weight: 800; font-size: 3.6rem; color: rgba(0,170,248,.055); }
.equipment-grid div:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 18px 40px rgba(0,95,145,.12); }
.equipment-grid span { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; background: #e8f7ff; color: #007fb8; font-weight: 800; margin-bottom: 38px; }

.forms-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; background: linear-gradient(135deg,#eaf5fb,#f8fbfd); position: relative; overflow: hidden; }
.forms-section::before { content: "59"; position: absolute; left: -20px; bottom: -120px; font-family: "Barlow Condensed"; font-size: 25rem; font-weight: 800; line-height: 1; color: rgba(0,170,248,.045); }
.forms-intro { position: sticky; top: 120px; align-self: start; z-index: 1; }
.privacy-note { margin-top: 30px; padding: 18px; border-left: 4px solid var(--orange); background: #fff; font-size: .9rem; }
.privacy-note strong { display: block; }
.form-list { display: grid; gap: 12px; position: relative; }
.form-card { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; text-align: left; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); cursor: pointer; transition: .2s; }
.form-card:hover { transform: translateX(6px); border-color: var(--blue); box-shadow: 0 12px 30px rgba(6,26,51,.08); }
.form-card > span { font-family: "Barlow Condensed"; color: var(--blue); font-size: 1.4rem; }
.form-card strong, .form-card small { display: block; }
.form-card strong { font-size: 1.03rem; }
.form-card small { color: var(--muted); margin-top: 3px; }
.form-card b { color: var(--blue); }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; background: #fff; }
.contact > div > p { color: var(--muted); max-width: 530px; }
.contact address { font-style: normal; margin-top: 30px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px; background: linear-gradient(145deg,var(--navy),var(--navy-2)); border-radius: var(--radius); color: #fff; box-shadow: 0 25px 70px rgba(3,20,38,.18); }
.contact-form label, .online-form label { display: grid; gap: 7px; font-size: .84rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea, .online-form input, .online-form select, .online-form textarea { width: 100%; border: 1px solid #38516a; border-radius: 10px; padding: 12px 13px; background: #102e4b; color: #fff; font: inherit; }
.contact-form select option { color: #000; }
.full { grid-column: 1 / -1; }
.form-status { color: var(--cyan); font-size: .85rem; margin: 0; }
footer { padding: 35px clamp(20px,7vw,110px); background: #020e1a; color: #8da1b5; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
footer .brand { color: #fff; font-size: 1.5rem; }
.footer-center { text-align: center; }
.footer-center p { margin: 0 0 6px; }
.legal-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.legal-links a { color: #a9c1d4; font-size: .78rem; text-decoration: none; }
.legal-links a:hover { color: var(--cyan); text-decoration: underline; }
.back-home { color: var(--cyan); text-decoration: none; font-weight: 700; }
.legal-page { background: #edf5fa; }
.legal-shell { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); min-height: calc(100vh - 86px); }
.legal-hero { color: #fff; background: linear-gradient(180deg,rgba(3,20,38,.85),rgba(3,20,38,.98)),url('assets/houston-freight-hero.png') center/cover; padding: clamp(70px,10vw,150px) clamp(25px,6vw,90px); position: sticky; top: 86px; height: calc(100vh - 86px); }
.legal-hero h1 { font-size: clamp(3.6rem,7vw,7.2rem); }
.legal-hero > p:last-child { color: #b8ccda; margin-top: 24px; }
.legal-document { max-width: 890px; padding: clamp(55px,8vw,110px) clamp(25px,7vw,95px); background: #fff; }
.legal-document > p:first-child { font-size: 1.15rem; color: #43586b; }
.legal-document h2 { font-size: 1.8rem; margin-top: 38px; letter-spacing: -.01em; }
.legal-document p { color: #4f6272; }
.legal-notice { margin-top: 45px; padding: 22px; border-left: 5px solid var(--orange); background: #eff7fc; }
.legal-notice strong { font-family: "Barlow Condensed"; color: var(--navy); font-size: 1.25rem; }
.legal-notice p { margin-bottom: 0; }
.legal-footer { background: #020e1a; color: #94aabd; padding: 28px clamp(20px,7vw,110px); display: flex; justify-content: space-between; align-items: center; }

dialog { width: min(880px,calc(100% - 30px)); max-height: 90vh; border: 0; border-radius: 22px; padding: 0; box-shadow: 0 30px 100px rgba(0,0,0,.45); color: var(--ink); }
dialog::backdrop { background: rgba(2,15,28,.8); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; color: #9ab1c4; z-index: 2; }
.dialog-head { padding: 34px 65px 25px 34px; background: linear-gradient(135deg,var(--navy),#0a3a61); color: #fff; }
.dialog-head p { color: #b6cad9; }
.dialog-body { padding: 30px 34px; }
.legal-copy { font-size: .9rem; color: #344b61; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.legal-copy h3 { font-size: 1.25rem; margin: 18px 0 6px; color: var(--navy); }
.legal-copy p { margin: 5px 0; }
.online-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.online-form input, .online-form select, .online-form textarea { background: #f6f9fc; color: var(--ink); border-color: var(--line); }
.online-form .checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.online-form .checkbox input { width: auto; margin-top: 5px; }
.dialog-actions { display: flex; gap: 10px; margin-top: 25px; flex-wrap: wrap; }
.dialog-actions .secondary { color: var(--navy); border-color: #a9bbc9; background: transparent; }
.secure-payment-panel { display: grid; gap: 18px; }
.secure-payment-panel .legal-copy { margin-bottom: 0; }
.secure-badge { width: fit-content; padding: 8px 12px; border-radius: 999px; background: #e7f7ed; color: #17653a; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.stripe-consent-form { grid-template-columns: 1fr; }
.stripe-consent-form a { color: #095ea8; text-decoration: underline; text-underline-offset: 3px; }
.payment-return { position: fixed; z-index: 30; right: 22px; bottom: 22px; width: min(520px,calc(100% - 44px)); display: flex; gap: 18px; justify-content: space-between; align-items: flex-start; padding: 20px 22px; border: 1px solid rgba(255,255,255,.18); border-left: 5px solid var(--orange); border-radius: 16px; color: #fff; background: #092943; box-shadow: 0 20px 60px rgba(1,16,29,.35); }
.payment-return[hidden] { display: none; }
.payment-return strong { display: block; margin-bottom: 4px; font-family: 'Barlow Condensed',sans-serif; font-size: 1.4rem; }
.payment-return p { margin: 0; color: #c6d7e4; font-size: .9rem; line-height: 1.55; }
.payment-return button { border: 0; padding: 0; color: #fff; background: transparent; font-size: 1.8rem; cursor: pointer; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.button:disabled { cursor: wait; opacity: .65; }
.form-status:not(:empty) { padding: 12px 14px; border-radius: 10px; background: #fff2ef; color: #8a2d18; font-weight: 700; }
.submission-success { padding: 30px 22px; border: 1px solid #bddfca; border-radius: 16px; background: #edf9f1; text-align: center; }
.submission-success > span { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: #17653a; color: #fff; font-size: 1.6rem; font-weight: 800; }
.submission-success h3 { margin: 0 0 8px; color: #0d4b2a; font-size: 1.5rem; }
.submission-success p { margin: 6px auto; max-width: 540px; }
.submission-success .button { margin-top: 18px; }
.fine-print { font-size: .8rem; color: var(--muted); }

@media (max-width: 1000px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 90px; }
  .hero-photo { background-position: 62% center; }
  .htx-seal { position: absolute; right: 25px; bottom: 50px; width: 120px; height: 120px; }
  .htx-seal strong { font-size: 2.7rem; }
  .split, .forms-section, .contact { grid-template-columns: 1fr; }
  .forms-intro { position: static; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .service-grid article { border: 1px solid #2c5578 !important; }
  .equipment-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 650px) {
  .site-header { height: 74px; }
  .brand { font-size: 1.6rem; }
  .brand img { width: 44px; height: 44px; }
  .menu-button { display: block; background: transparent; border: 1px solid #547089; color: #fff; border-radius: 99px; padding: 8px 13px; }
  nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--navy); padding: 20px; flex-direction: column; align-items: stretch; }
  nav.open { display: flex; }
  nav a:not(.nav-cta) { display: block; }
  .hero { min-height: 760px; grid-template-columns: 1fr; padding-top: 70px; align-items: start; }
  .hero-photo { background-image: linear-gradient(180deg,rgba(3,20,38,.96) 0%,rgba(3,20,38,.75) 55%,rgba(3,20,38,.25) 100%),url('assets/houston-freight-hero.png'); background-position: 67% center; }
  .hero::after { left: 20px; }
  .htx-seal { width: 100px; height: 100px; right: 20px; bottom: 55px; }
  .htx-seal strong { font-size: 2.2rem; }
  .htx-seal span { font-size: .5rem; }
  .section-heading { display: block; }
  .service-grid, .equipment-grid { grid-template-columns: 1fr; }
  .online-form, .contact-form { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .form-card { grid-template-columns: 38px 1fr; }
  .form-card > b { display: none; }
  footer { flex-direction: column; text-align: center; }
  .legal-shell { grid-template-columns: 1fr; }
  .legal-hero { position: relative; top: 0; height: auto; min-height: 420px; }
  .legal-footer { flex-direction: column; text-align: center; }
}

@media print {
  body > #site-root > *:not(dialog) { display: none !important; }
  dialog { position: static; display: block; width: 100%; max-height: none; box-shadow: none; }
  dialog::backdrop, .dialog-close, .dialog-actions { display: none; }
  .dialog-head { color: #000; background: #fff; border-bottom: 2px solid #000; }
}
