/*
Theme Name: metalprocessingcorp
Theme URI: https://www.metalprocessingcorp.com/
Author: TURNkey IT
Author URI: https://turnkey.pro/
Description: 
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: metalprocessingcorp
*/

  :root {
    color-scheme: light;
    --accent: #E2711D;
    --navy-900: #04182B;
    --navy-800: #052039;
    --navy-700: #0B2A4A;
    --ink: #101820;
    --ink-2: #2B3947;
    --body: #3E4C5A;
    --body-2: #4B5A69;
    --muted: #5B6B7A;
    --line: #E3E7ED;
    --tint: #EEF3F8;
    --panel: #F6F7F9;
    --panel-2: #F8FAFC;
    --pad-x: 40px;
    --sec-y: 96px;
    --header-h: 88px;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--navy-900);
  }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
  *, *::before, *::after { box-sizing: border-box; }
  body {
    margin: 0;
    background: #FFFFFF;
    font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  body.menu-open { overflow: hidden; }
  img { max-width: 100%; }
  a { color: var(--accent); text-decoration: none; }
  a:hover { color: var(--navy-700); }
  .form-stack :focus, :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--navy-900); padding: 10px 14px; z-index: 100; }
  .skip-link:focus { left: 12px; top: 12px; }

  .display { font-family: 'Archivo', system-ui, sans-serif; font-weight: 900; letter-spacing: -0.01em; line-height: 1.04; margin: 0; }
  .eyebrow { font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px 0; }
  .eyebrow.dark { color: var(--navy-700); }
  .wrap { max-width: 1280px; margin: 0 auto; padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px)); }
  .section { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
  .bg-white { background: #FFFFFF; }
  .bg-panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .bg-grad { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); }

  /* Type scale — fluid so headlines shrink gracefully on phones */
  .h-hero { font-size: clamp(38px, 8vw, 56px); color: #FFFFFF; margin-bottom: 4px; }
  .h-page { font-size: clamp(30px, 6.5vw, 44px); color: #FFFFFF; max-width: 720px; }
  .h-xl { font-size: clamp(28px, 5.4vw, 38px); color: var(--navy-900); margin-bottom: 20px; }
  .h-lg { font-size: clamp(26px, 5vw, 34px); color: var(--navy-900); }
  .h-md { font-size: clamp(24px, 4.6vw, 32px); color: var(--navy-900); }
  .h-sm { font-size: clamp(22px, 4.2vw, 28px); color: var(--navy-900); }
  .h-xs { font-size: clamp(21px, 4vw, 26px); color: var(--navy-900); }
  .lead { font-size: 16.5px; line-height: 1.7; color: var(--body); max-width: 540px; margin: 0 0 16px 0; }
  .copy { font-size: 15.5px; line-height: 1.7; color: var(--body-2); margin: 0 0 14px 0; }
  .copy:last-child, .lead:last-child { margin-bottom: 0; }
  .note { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 24px 0; max-width: 680px; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; font-size: 15px;
    padding: 14px 26px; min-height: 48px; border-radius: 3px; cursor: pointer; white-space: nowrap;
    border: 1.5px solid transparent;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
  }
  a.btn-primary, button.btn-primary, input[type="submit"] { background: var(--accent); color: #FFFFFF; }
  a.btn-secondary { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.45); }
  a.btn-secondary.on-light { color: var(--navy-900); border-color: var(--navy-900); }
  @media (hover: hover) {
    a.btn-primary:hover, button.btn-primary:hover { color: var(--navy-700); }
    a.btn-secondary:hover { color: #FFFFFF; border-color: #FFFFFF; }
    a.btn-secondary.on-light:hover { color: #FFFFFF; background: var(--navy-900); border-color: var(--navy-900); }
  }
  a.btn-primary:active, button.btn-primary:active { color: var(--navy-700); }

  .chip {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--navy-700);
    background: var(--tint); border: 1px solid #D7E1EC; border-radius: 999px; padding: 8px 14px;
  }
  .chip.sm { padding: 4px 11px; font-size: 12px; }
  .chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .stat-num { font-family: 'Archivo', sans-serif; font-weight: 800; color: var(--accent); overflow-wrap: anywhere; }
  .wrap.home-pillars { padding-bottom: 20px; }
  .home-prg-logo { display: block; margin-top: 20px; border-radius: 4px; overflow: hidden; text-align: center; }
  .home-prg-logo h3 { font-size: 1.25em; }
  .home-prg-logo a { display: inline-block; }
  .home-prg-logo img { display: block; margin: auto; max-width: 200px; }

  /* Utility bar */
  .topbar { background: var(--navy-900); color: #AFC2D6; font-size: 12.5px; }
  .topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; gap: 8px 24px; flex-wrap: wrap; }
  .topbar-left { display: flex; gap: 24px; flex-wrap: wrap; }
  .topbar a { color: #DCE7F2; font-weight: 500; }
  .topbar a.plain { color: inherit; font-weight: 400; }

  /* Header */
  .site-header { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid var(--line); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
  .logo { display: flex; align-items: center; }
  .logo img { height: 34px; width: auto; display: block; }
  .nav { display: flex; align-items: center; gap: 22px; }
  .nav a { font-size: 14px; font-weight: 500; color: var(--ink-2); }
  .nav a:hover { color: var(--accent); }
  .nav a.active { color: var(--accent); font-weight: 700;}
  .header-cta { padding: 11px 22px; font-size: 14px; min-height: 44px; }
  .menu-btn {
    display: none; width: 48px; height: 48px; margin-right: -10px;
    border: 0; background: transparent; cursor: pointer; border-radius: 4px;
    align-items: center; justify-content: center; color: var(--navy-900);
  }
  .menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after {
    content: ""; display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease; position: relative;
  }
  .menu-btn .bars::before { position: absolute; top: -7px; }
  .menu-btn .bars::after { position: absolute; top: 7px; }
  .menu-btn[aria-expanded="true"] .bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile drawer */
  .drawer {
    display: none; position: fixed; left: 0; right: 0; bottom: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    background: #FFFFFF; z-index: 49; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
  }
  .drawer.open { display: block; animation: drawerIn .18s ease-out; }
  @keyframes drawerIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .drawer nav a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 56px; font-size: 18px; font-weight: 600; color: var(--navy-900);
    border-bottom: 1px solid var(--line);
  }
  .drawer nav a.active { color: var(--accent); }
  .drawer nav a svg { color: #9AA8B6; }
  .drawer .btn { width: 100%; margin-top: 24px; }
  .drawer-contact { margin-top: 24px; font-size: 14px; color: var(--muted); line-height: 1.8; }
  .drawer-contact a { font-weight: 600; }

  /* Page hero */
  .page-hero { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); }
  .page-hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .page-hero .intro { font-size: 17px; line-height: 1.6; color: #C4D2E0; max-width: 660px; margin: 18px 0 0 0; }

  /* Home hero */
  .hero { background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%); overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
  .hero-text { font-size: 18px; line-height: 1.6; color: #C4D2E0; max-width: 520px; margin: 0 0 16px 0; }
  .btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
  .hero .btn-row { margin-bottom: 24px; }
  .hero-art {
    position: relative; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08; )
  }
  .hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid rgba(255,255,255,0.08); }
  .hero-badge {
    position: absolute; left: 24px; bottom: 24px; right: 24px; background: rgba(4,24,43,0.72);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px; padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px;
    color: #DCE7F2; font-size: 13px;
  }
  .hero-badge b { color: #FFFFFF; }

  /* Stats band */
  .stats { background: var(--navy-700); }
  .stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 44px; padding-bottom: 44px; }
  .stats-grid .stat-num { font-size: 34px; }
  .stat-label { color: #B9C9D9; font-size: 13.5px; margin-top: 4px; line-height: 1.4; }

  /* Trust */
  .trust-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
  .stack { display: flex; flex-direction: column; gap: 16px; }
  .spec-card { border: 1px solid var(--line); border-radius: 4px; padding: 24px 26px; background: var(--panel-2); }
  .spec-card .stat-num { font-size: 26px; }
  .spec-card.lg .stat-num { font-size: 28px; }
  .spec-card.md .stat-num { font-size: 24px; }
  .spec-label { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.45; }
  .spec-card.lg .spec-label { font-size: 14px; margin-top: 4px; }

  /* Pillars */
  .section-head { max-width: 620px; margin: 0 0 48px 0; }
  .pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .pillar-card { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #FFFFFF; display: flex; flex-direction: column; color: inherit; }
  .pillar-card:hover { color: inherit; }
  .pillar-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
  .pillar-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
  .pillar-body h3 { font-size: 20px; color: var(--navy-900); }
  .pillar-body p { font-size: 14.5px; line-height: 1.6; color: var(--body-2); margin: 0; }
  .learn-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--accent); margin-top: auto; }
  .pillar-card:hover .learn-link { color: var(--navy-700); }

  /* Features */
  .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .feature { display: flex; gap: 18px; }
  .feature-icon { width: 56px; height: 56px; border-radius: 3px; background: var(--tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .feature h3 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 17px; color: var(--navy-900); margin: 0 0 8px 0; }
  .feature p { font-size: 14.5px; line-height: 1.6; color: var(--body-2); margin: 0; }

  /* Band (About → Team teaser) */
  .band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 72px; padding-bottom: 72px; }
  .band > div { max-width: 600px; }
  .band p { font-size: 15.5px; line-height: 1.6; color: var(--body-2); margin: 0; }

  /* Milestones */
  .milestones-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .timeline-item { display: flex; gap: 20px; }
  .timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; }
  .timeline-year { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 18px; color: var(--navy-900); }
  .timeline-item p { font-size: 15px; line-height: 1.6; color: var(--body-2); margin: 6px 0 0 0; }

  /* Specs */
  .specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .specs-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

  /* Tables → cards on phones */
  .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; -webkit-overflow-scrolling: touch; }
  table.spec { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
  table.spec th { text-align: left; padding: 13px 18px; color: #FFFFFF; background: var(--navy-900); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
  table.spec td { padding: 13px 18px; color: var(--ink-2); border-top: 1px solid var(--line); }
  table.spec tbody tr:nth-child(odd) { background: var(--panel-2); }
  table.spec tbody tr:nth-child(even) { background: #FFFFFF; }
  table.spec td.line-name { font-family: 'Archivo', sans-serif; font-weight: 800; color: var(--navy-900); }
  table.spec td.na { color: #8A97A6; }

  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
  .feature-photo { width: 100%; height: 320px; object-fit: cover; border-radius: 4px; display: block; border: 1px solid var(--line); }

  /* Team */
  .team-section-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px 0; }
  .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
  .team-grid:last-child { margin-bottom: 0; }
  .team-card { border: 1px solid var(--line); border-radius: 4px; background: #FFFFFF; padding: 20px; display: flex; align-items: center; gap: 14px; }
  .team-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--accent); font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .team-name { font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
  .team-title { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

  /* RFQ */
  .rfq-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 96px; align-items: start; }
  .form-card { border: 1px solid var(--line); border-radius: 6px; background: #FFFFFF; padding: 40px; }
  .form-stack { display: flex; flex-direction: column; gap: 18px; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .field > label, .field > .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .field input, .field select, .field textarea {
    font-family: 'IBM Plex Sans', sans-serif; font-size: 14.5px; color: var(--ink);
    border: 1px solid #D3DBE3; border-radius: 3px; padding: 11px 12px; background: #FFFFFF; width: 100%; min-height: 44px;
  }
  .field textarea { resize: vertical; min-height: 96px; }
  .checkbox-row { display: flex; gap: 8px 20px; flex-wrap: wrap; }
  .checkbox-row label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; min-height: 36px; cursor: pointer; }
  .checkbox-row input { width: 18px; height: 18px; accent-color: var(--accent); }
  .form-card .btn { align-self: flex-start; }
  .form-status { font-size: 14px; color: var(--navy-700); margin: 0; }
  .contact-card { border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); padding: 32px; }
  .contact-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .contact-row:last-of-type { border-bottom: none; }
  .contact-k { font-size: 13px; font-weight: 600; color: var(--muted); }
  .contact-v { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; overflow-wrap: anywhere; }
  .contact-fine { font-size: 12.5px; color: #8A98A6; margin: 18px 0 0 0; line-height: 1.5; }

  /* CTA + footer */
  .cta .wrap { padding-top: 80px; padding-bottom: 80px; text-align: center; }
  .cta h2 { font-size: clamp(26px, 5.4vw, 34px); color: #FFFFFF; margin-bottom: 14px; }
  .cta p { font-size: 16px; color: #B9C9D9; margin: 0 0 32px 0; }
  .cta .btn-row { justify-content: center; margin-bottom: 40px; }
  .cta-meta { display: flex; gap: 8px 32px; justify-content: center; flex-wrap: wrap; color: #8FA6BD; font-size: 13.5px; }
  .cta-meta a { color: inherit; }
  .footer { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.08); }
  .footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
  .footer small { color: #7C93AB; font-size: 13px; }
  .footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
  .footer nav a { color: #B9C9D9; font-size: 13px; }
  .footer nav a:hover { color: #FFFFFF; }

  /* Contact Form 7 */

  .wpcf7 form.sent .wpcf7-response-output,
  .wpcf7 form .wpcf7-response-output {
    background-color: var(--accent);
    color: #ffffff;
    font-size: 1.25em;
    margin: 0;
    border-width: 0;
    border-radius: 3px;
}

  /* ---------- Tablet ---------- */
  @media (max-width: 1100px) {
    .nav { gap: 16px; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 980px) {
    :root { --pad-x: 28px; --sec-y: 72px; --header-h: 72px; }
    .nav, .header-cta { display: none; }
    .menu-btn { display: inline-flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-art { max-width: 560px; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
    .trust-grid { grid-template-columns: 1fr; gap: 40px; }
    .pillars-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .features-grid { grid-template-columns: 1fr; gap: 28px; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .split { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
    .split .feature-photo { height: auto; aspect-ratio: 241 / 125; }
    .two-col { grid-template-columns: 1fr; gap: 28px; }
    .rfq-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 64px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (min-width: 981px) { .drawer { display: none !important; } }

  /* ---------- Phone ---------- */
  @media (max-width: 640px) {
    :root { --pad-x: 20px; --sec-y: 56px; --header-h: 64px; }
    .topbar .wrap { justify-content: center; text-align: center; }
    .topbar-left .addr { display: none; }
    .logo img { height: 30px; }
    .hero-grid { gap: 36px; }
    .hero-text { font-size: 16.5px; margin-bottom: 26px; }
    .hero .btn-row { margin-bottom: 26px; }
    .btn-row { flex-direction: column; gap: 12px; }
    .btn-row .btn { width: 100%; }
    .hero-badge { left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; font-size: 12.5px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 36px; padding-bottom: 36px; }
    .stats-grid > :last-child { grid-column: 1 / -1; }
    .stats-grid .stat-num { font-size: 30px; }
    .page-hero .wrap { padding-top: 44px; padding-bottom: 44px; }
    .page-hero .intro { font-size: 16px; }
    .lead { font-size: 16px; }
    .section-head { margin-bottom: 32px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar-card img { height: auto; aspect-ratio: 241 / 125; }
    .pillar-body { padding: 22px 20px 24px; }
    .spec-card { padding: 20px; }
    .specs-grid, .specs-grid.cols-3 { grid-template-columns: 1fr; gap: 12px; }
    .milestones-grid { grid-template-columns: 1fr; gap: 28px; }
    .band { padding-top: 56px; padding-bottom: 56px; gap: 24px; }
    .band .btn { width: 100%; }
    .team-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
    .team-card { padding: 16px; }

    /* Spec tables become stacked cards */
    .table-wrap { border: 0; overflow: visible; }
    table.spec, table.spec tbody, table.spec tr, table.spec td { display: block; width: 100%; white-space: normal; }
    table.spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    table.spec tbody { display: flex; flex-direction: column; gap: 12px; }
    table.spec tbody tr, table.spec tbody tr:nth-child(odd), table.spec tbody tr:nth-child(even) { background: #FFFFFF; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
    table.spec td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 16px; border-top: 1px solid var(--line); text-align: right; }
    table.spec td::before { content: attr(data-label); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); text-align: left; }
    table.spec td.line-name { background: var(--navy-900); color: #FFFFFF; border-top: 0; font-size: 16px; }
    table.spec td.line-name::before { content: none; }

    .form-card { padding: 24px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .field input, .field select, .field textarea { font-size: 16px; min-height: 48px; }
    .form-card .btn { align-self: stretch; width: 100%; }
    .contact-card { padding: 24px 20px; }
    .cta .wrap { padding-top: 56px; padding-bottom: 56px; }
    .cta .btn-row { margin-bottom: 32px; }
    .cta-meta { flex-direction: column; }
    .footer .wrap { flex-direction: column; align-items: center; text-align: center; padding-top: 28px; padding-bottom: 28px; }
    .footer nav { justify-content: center; gap: 4px 18px; }
    .footer nav a { display: inline-block; padding: 8px 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }