/* ============================================================
   AeromechanicalRopes.com — Shared Stylesheet
   Primary:   #0057B8 (blue)
   Emergency: #C96000 (amber)
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #0057B8;
  --blue-dark: #004494;
  --blue-light:#E8F0FA;
  --amber:     #C96000;
  --amber-bg:  #FFF4EB;
  --text:      #1A1A1A;
  --text-mid:  #555;
  --text-light:#888;
  --border:    #E0E0E0;
  --bg:        #fff;
  --bg-off:    #F7F8FA;
  --radius:    8px;
  --radius-lg: 12px;
  --shadow:    0 2px 12px rgba(0,0,0,0.07);
  --nav-h:     68px;
  --max-w:     1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Layout helpers --------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--off { background: var(--bg-off); }
.section--blue { background: var(--blue); color: #fff; }

/* --- Typography ------------------------------------------- */
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 700; line-height: 1.2;  letter-spacing: -0.01em; }
h3 { font-size: clamp(16px, 2vw, 20px); font-weight: 600; line-height: 1.3; }
h4 { font-size: 15px; font-weight: 600; }
p  { color: var(--text-mid); }

.section__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  display: block;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .15s, box-shadow .15s;
  text-decoration: none;
}
.btn:hover { opacity: .88; text-decoration: none; }

.btn--primary  { background: var(--blue);  color: #fff; }
.btn--outline  { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--amber    { background: var(--amber); color: #fff; }
.btn--white    { background: #fff; color: var(--blue); }
.btn--white-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }

.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }

/* --- Navigation ------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__logo span { color: var(--blue); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex: 1;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color .15s;
}
.nav__links a:hover { color: var(--blue); }
.nav__links a.active { color: var(--blue); }

.nav__emergency {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
}
.nav__emergency:hover { opacity: .8; text-decoration: none; }

.nav__emergency-label {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  display: block;
  line-height: 1.2;
}

.nav__cta { margin-left: 12px; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all .2s;
}

/* --- Emergency bar ---------------------------------------- */
.emergency-bar {
  background: var(--amber);
  color: #fff;
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
}
.emergency-bar a { color: #fff; font-weight: 700; text-decoration: underline; }

/* --- Hero ------------------------------------------------- */
.hero {
  padding: 80px 0 72px;
  background: var(--bg-off);
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero h1 { margin-bottom: 18px; }
.hero p  { font-size: 17px; margin-bottom: 32px; max-width: 480px; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__emergency {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 18px;
  background: var(--amber-bg);
  border: 1px solid rgba(201,96,0,0.2);
  border-radius: var(--radius);
  font-size: 13px;
}
.hero__emergency strong { color: var(--amber); font-size: 14px; display: block; margin-bottom: 2px; }
.hero__emergency a { color: var(--amber); font-weight: 700; }

.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
}

/* --- Brand strip ------------------------------------------ */
.brands {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.brands__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brands__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 4px;
}

.brands__item {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg);
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.brands__item:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.brands__item--more { font-weight: 400; color: var(--text-light); font-style: italic; border-style: dashed; }

/* --- Value props ------------------------------------------ */
.props__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prop {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.prop--amber { border-color: rgba(201,96,0,0.3); background: var(--amber-bg); }

.prop__icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.prop--amber .prop__icon { background: rgba(201,96,0,0.1); }

.prop h3 { margin-bottom: 8px; font-size: 17px; }
.prop p  { font-size: 14px; }

/* --- How it works ----------------------------------------- */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  text-align: center;
  padding: 32px 24px;
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.step h3 { margin-bottom: 10px; }
.step p  { font-size: 14px; }

/* --- CTA band --------------------------------------------- */
.cta-band {
  background: var(--blue);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 36px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Content sections ------------------------------------- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.content-grid--reverse { }
.content-grid__text h2 { margin-bottom: 16px; }
.content-grid__text p  { margin-bottom: 14px; }

/* --- Cards ------------------------------------------------ */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* --- Table ------------------------------------------------ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th {
  background: var(--bg-off);
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-mid);
}
.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table tr:last-child td { border-bottom: none; }

/* --- Info / alert boxes ----------------------------------- */
.info-box {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
}
.info-box--blue { background: var(--blue-light); border-left: 3px solid var(--blue); color: var(--text); }
.info-box--amber { background: var(--amber-bg); border-left: 3px solid var(--amber); color: var(--text); }

/* --- Footer ----------------------------------------------- */
.footer {
  background: #111;
  color: rgba(255,255,255,0.65);
  padding: 56px 0 32px;
  font-size: 14px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__logo {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer__logo span { color: var(--blue); }

.footer__tagline {
  font-size: 13px;
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 20px;
}

.footer__col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color .15s;
}
.footer__links a:hover { color: #fff; }

.footer__contact a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* --- Form elements ---------------------------------------- */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,184,0.1);
}

/* --- Page header ------------------------------------------ */
.page-hero {
  background: var(--bg-off);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.page-hero__breadcrumb {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.page-hero__breadcrumb a { color: var(--blue); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p  { font-size: 18px; max-width: 600px; }

/* --- Wizard (Rope Finder) --------------------------------- */
.wizard {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}

.wizard__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}

.wizard__step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background .2s;
}
.wizard__step-dot--done    { background: var(--blue); color: #fff; }
.wizard__step-dot--current { background: var(--blue); color: #fff; }
.wizard__step-dot--pending { background: var(--bg-off); color: var(--text-light); border: 1px solid var(--border); }

.wizard__connector {
  flex: 1;
  height: 1px;
  max-width: 32px;
  background: var(--border);
  transition: background .2s;
}
.wizard__connector--done { background: var(--blue); }

.wizard__panel {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: flex-start;
}

.wizard__main h2 { font-size: 22px; margin-bottom: 6px; }
.wizard__main > p { font-size: 14px; margin-bottom: 22px; }

.wizard__sidebar {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  font-size: 13px;
}
.wizard__sidebar h4 { margin-bottom: 12px; color: var(--text); }

.wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Option grids */
.opt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.opt-btn {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}
.opt-btn:hover   { border-color: var(--blue); color: var(--blue); }
.opt-btn.selected { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }

.opt-card {
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.opt-card:hover    { border-color: var(--blue); }
.opt-card.selected { border-color: var(--blue); background: var(--blue-light); }
.opt-card--amber.selected { border-color: var(--amber); background: var(--amber-bg); }

.opt-card h4 { margin-bottom: 4px; }
.opt-card p  { font-size: 13px; margin: 0; }

/* Radio indicator */
.radio-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
}
.selected .radio-dot { border-color: var(--blue); }
.selected .radio-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.opt-card--amber.selected .radio-dot { border-color: var(--amber); }
.opt-card--amber.selected .radio-dot::after { background: var(--amber); }

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .hero__inner       { grid-template-columns: 1fr; }
  .hero__image       { display: none; }
  .props__grid       { grid-template-columns: 1fr; }
  .steps__grid       { grid-template-columns: 1fr; }
  .footer__grid      { grid-template-columns: 1fr 1fr; }
  .content-grid      { grid-template-columns: 1fr; }
  .wizard__panel     { grid-template-columns: 1fr; }
  .wizard__sidebar   { display: none; }
}

@media (max-width: 640px) {
  .nav__links        { display: none; }
  .nav__toggle       { display: block; }
  .footer__grid      { grid-template-columns: 1fr; }
  .brands__list      { gap: 6px; }
  .opt-grid-3,
  .opt-grid-4        { grid-template-columns: repeat(2, 1fr); }
}
